Merge branch 'develop' of http://25.13.9.101:9000/K17_AITS/tra-app into develop
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
</view>
|
||||
|
||||
<!-- 文字logo -->
|
||||
<view class="title_logo" @click="common.navigateTo('/pages/login/login')">
|
||||
<view class="title_logo">
|
||||
<image src="@/static/images/index/logo_text.png" class="log_img"></image>
|
||||
<view class="fl1"></view>
|
||||
</view>
|
||||
|
||||
+19
-8
@@ -94,7 +94,7 @@
|
||||
<view class="cell_div">
|
||||
<uv-cell-group :border="false">
|
||||
<uv-cell title="设置" :isLink="true" @click="common.navigateTo('/pages/setting/index')"></uv-cell>
|
||||
<uv-cell title="客服" :isLink="true" @click="common.navigateTo('/pages/test/index')"></uv-cell>
|
||||
<uv-cell title="客服" :isLink="true" @click="goTest"></uv-cell>
|
||||
<uv-cell title="退出登录" :isLink="true" :clickable="false" :border="false" @click="click_loginout()"></uv-cell>
|
||||
</uv-cell-group>
|
||||
</view>
|
||||
@@ -177,13 +177,19 @@ const user_info = reactive({
|
||||
userId: '',
|
||||
imageAddr: '',
|
||||
});
|
||||
const goTest = () => {
|
||||
const now = Date.now();
|
||||
if (now - lastClickTime.value > 500) {
|
||||
clickCount.value = 0;
|
||||
}
|
||||
clickCount.value++;
|
||||
lastClickTime.value = now;
|
||||
if (clickCount.value == 6) {
|
||||
common.navigateTo('/pages/test/index');
|
||||
clickCount.value = 0;
|
||||
}
|
||||
};
|
||||
|
||||
onShow(() => {
|
||||
const user_info_cache = getUserInfo();
|
||||
Object.assign(user_info, user_info_cache);
|
||||
console.log('user_info', user_info);
|
||||
statistics_data['get_statistics_data'](); // 获取统计数据
|
||||
});
|
||||
|
||||
const click_loginout = () => {
|
||||
common.show('确定退出登录?').then(async (res) => {
|
||||
@@ -199,7 +205,12 @@ const click_loginout = () => {
|
||||
common.reLaunch('/pages/login/login');
|
||||
});
|
||||
};
|
||||
|
||||
onShow(() => {
|
||||
const user_info_cache = getUserInfo();
|
||||
Object.assign(user_info, user_info_cache);
|
||||
console.log('user_info', user_info);
|
||||
statistics_data['get_statistics_data'](); // 获取统计数据
|
||||
});
|
||||
onPullDownRefresh(() => {
|
||||
console.log('下拉刷新');
|
||||
uni.stopPullDownRefresh();
|
||||
|
||||
Reference in New Issue
Block a user