From 5bebf53d62c3519cf7be3e2217c5249e540173ec Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期四, 07 九月 2023 17:09:08 +0800
Subject: [PATCH] 操作指引修改
---
pages/customer-page/customer-my/customer-my.vue | 43 +++++++++++++++++++++++++++++++++++++++++--
1 files changed, 41 insertions(+), 2 deletions(-)
diff --git a/pages/customer-page/customer-my/customer-my.vue b/pages/customer-page/customer-my/customer-my.vue
index 7d3cf26..e41ecbb 100644
--- a/pages/customer-page/customer-my/customer-my.vue
+++ b/pages/customer-page/customer-my/customer-my.vue
@@ -79,6 +79,30 @@
type="primary"
@click="logout()"></u-button></view>
</view>
+ <view class="noob-tour"
+ style="margin-top: 80rpx;"
+ v-if="roleType===4">
+ <combined-title title="鎿嶄綔鎸囧紩"></combined-title>
+ <u-cell-group>
+ <u-cell title="鏂版墜鎸囧紩"
+ name='1'
+ :clickable="true"
+ @click="noobTour">
+ <u-badge type="primary"
+ value="01"
+ slot='icon'></u-badge>
+ <u-icon slot="value"
+ name="arrow-right"
+ size="30"
+ color="#b8b8b8"></u-icon>
+ </u-cell>
+ </u-cell-group>
+ </view>
+ <view class="previewImage-container">
+ <previewImage ref="previewImage"
+ :imgs="TourImgList"
+ :saveBtn='false'></previewImage>
+ </view>
<u-toast ref="uToast"></u-toast>
<!-- 鏂板缓杞﹂槦寮瑰嚭妗� -->
<view class="addNewGroup">
@@ -152,10 +176,12 @@
<script>
import combinedTitle from '@/components/combined-title/combined-title.vue';
+ import previewImage from '@/components/kxj-previewImage/kxj-previewImage.vue';
import { customerId, redirectLogin } from '@/utils/status';
export default {
components: {
- combinedTitle
+ combinedTitle,
+ previewImage
},
data() {
return {
@@ -185,7 +211,13 @@
logoutTitle: '鎻愮ず',
logoutContent: '鏄惁纭閫�鍑�',
// 鐢ㄦ埛淇℃伅瀵硅薄
- userEntity: {}
+ userEntity: {},
+ TourImgList: ['https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality01.jpg',
+ 'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality02.jpg',
+ 'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality03.jpg',
+ 'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality04.jpg',
+ 'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality05.jpg'
+ ],
};
},
computed: {
@@ -360,6 +392,8 @@
},
logoutConfirm() {
redirectLogin();
+ this.$store.commit('changeisLogin', false)
+ this.$store.dispatch('websocketOnClose')
},
logoutCancel() {
this.logoutShow = false;
@@ -369,6 +403,11 @@
uni.navigateTo({
url: '/pages/customer-page/customer-my/userMange/userMange'
});
+ },
+ noobTour() {
+ this.$nextTick(() => {
+ this.$refs.previewImage.open('https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality01.jpg')
+ })
}
}
};
--
Gitblit v1.9.1