Browse Source

修改客服电话

zs 1 year ago
parent
commit
7523cddf18
81 changed files with 270 additions and 159 deletions
  1. 1 3
      pagesHome/hotel/detail.vue
  2. 1 3
      pagesHome/info/index.vue
  3. 1 3
      pagesHome/news/detail.vue
  4. 1 3
      pagesHome/notice/detail.vue
  5. 1 3
      pagesHome/ticket/info.vue
  6. 1 3
      pagesHome/type/info.vue
  7. 1 3
      pagesIndex/order/after.vue
  8. 1 3
      pagesIndex/order/rate.vue
  9. 1 3
      pagesMy/account/index.vue
  10. 1 3
      pagesMy/article/add.vue
  11. 1 3
      pagesMy/opinion/index.vue
  12. 70 5
      pagesMy/service/index.vue
  13. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  14. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/components/swiper/index.js.map
  15. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/components/tabs/index.js.map
  16. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/components/upload/index.js.map
  17. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/customer/common/submit_1.js.map
  18. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/customer/index.js.map
  19. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/home/index.js.map
  20. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  21. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/map/index.js.map
  22. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/index.js.map
  23. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/article/index.js.map
  24. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/hotel/detail.js.map
  25. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/hotel/index.js.map
  26. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/hotel/info.js.map
  27. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/info/index.js.map
  28. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/news/detail.js.map
  29. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/news/index.js.map
  30. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/notice/detail.js.map
  31. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/notice/index.js.map
  32. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/ticket/index.js.map
  33. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/ticket/info.js.map
  34. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/type/index.js.map
  35. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/type/info.js.map
  36. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/collect/index.js.map
  37. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/comment/index.js.map
  38. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/like/index.js.map
  39. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/login/index.js.map
  40. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/order/after.js.map
  41. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/order/detail.js.map
  42. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/order/index.js.map
  43. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/order/info.js.map
  44. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/order/order.js.map
  45. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/order/rate.js.map
  46. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/other/agree.js.map
  47. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/account/index.js.map
  48. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/article/add.js.map
  49. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/article/index.js.map
  50. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/coupon/index.js.map
  51. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/opinion/index.js.map
  52. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/service/index.js.map
  53. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-badge/components/uni-badge/uni-badge.js.map
  54. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.js.map
  55. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.js.map
  56. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.js.map
  57. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-collapse/components/uni-collapse/uni-collapse.js.map
  58. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.js.map
  59. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js.map
  60. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-fav/components/uni-fav/uni-fav.js.map
  61. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.js.map
  62. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-forms/components/uni-forms/uni-forms.js.map
  63. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map
  64. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-notice-bar/components/uni-notice-bar/uni-notice-bar.js.map
  65. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.js.map
  66. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js.map
  67. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-rate/components/uni-rate/uni-rate.js.map
  68. 1 3
      unpackage/dist/dev/mp-weixin/pagesHome/hotel/detail.js
  69. 1 3
      unpackage/dist/dev/mp-weixin/pagesHome/info/index.js
  70. 1 3
      unpackage/dist/dev/mp-weixin/pagesHome/news/detail.js
  71. 1 3
      unpackage/dist/dev/mp-weixin/pagesHome/notice/detail.js
  72. 1 3
      unpackage/dist/dev/mp-weixin/pagesHome/ticket/info.js
  73. 1 3
      unpackage/dist/dev/mp-weixin/pagesHome/type/info.js
  74. 1 3
      unpackage/dist/dev/mp-weixin/pagesIndex/order/after.js
  75. 1 3
      unpackage/dist/dev/mp-weixin/pagesIndex/order/rate.js
  76. 1 3
      unpackage/dist/dev/mp-weixin/pagesMy/account/index.js
  77. 1 3
      unpackage/dist/dev/mp-weixin/pagesMy/article/add.js
  78. 1 3
      unpackage/dist/dev/mp-weixin/pagesMy/opinion/index.js
  79. 103 30
      unpackage/dist/dev/mp-weixin/pagesMy/service/index.js
  80. 1 1
      unpackage/dist/dev/mp-weixin/pagesMy/service/index.wxml
  81. 19 2
      unpackage/dist/dev/mp-weixin/pagesMy/service/index.wxss

+ 1 - 3
pagesHome/hotel/detail.vue

@@ -62,9 +62,7 @@
 				const that = this;
 				try {
 					const res = uni.getStorageSync('token');
-					if (res) {
-						that.$set(that, `user`, res);
-					}
+					if (res) that.$set(that, `user`, res);
 				} catch (e) {
 					uni.showToast({
 						title: err.errmsg,

+ 1 - 3
pagesHome/info/index.vue

@@ -70,9 +70,7 @@
 				const that = this;
 				try {
 					const res = uni.getStorageSync('token');
-					if (res) {
-						that.$set(that, `user`, res);
-					}
+					if (res) that.$set(that, `user`, res);
 				} catch (e) {
 					uni.showToast({
 						title: err.errmsg,

+ 1 - 3
pagesHome/news/detail.vue

@@ -47,9 +47,7 @@
 				const that = this;
 				try {
 					const res = uni.getStorageSync('token');
-					if (res) {
-						that.$set(that, `user`, res);
-					}
+					if (res) that.$set(that, `user`, res);
 				} catch (e) {
 					uni.showToast({
 						title: err.errmsg,

+ 1 - 3
pagesHome/notice/detail.vue

@@ -42,9 +42,7 @@
 				const that = this;
 				try {
 					const res = uni.getStorageSync('token');
-					if (res) {
-						that.$set(that, `user`, res);
-					}
+					if (res) that.$set(that, `user`, res);
 				} catch (e) {
 					uni.showToast({
 						title: err.errmsg,

+ 1 - 3
pagesHome/ticket/info.vue

@@ -119,9 +119,7 @@
 				const that = this;
 				try {
 					const res = uni.getStorageSync('token');
-					if (res) {
-						that.$set(that, `user`, res);
-					}
+					if (res) that.$set(that, `user`, res);
 				} catch (e) {
 					uni.showToast({
 						title: err.errmsg,

+ 1 - 3
pagesHome/type/info.vue

@@ -86,9 +86,7 @@
 				const that = this;
 				try {
 					const res = uni.getStorageSync('token');
-					if (res) {
-						that.$set(that, `user`, res);
-					}
+					if (res) that.$set(that, `user`, res);
 				} catch (e) {
 					uni.showToast({
 						title: err.errmsg,

+ 1 - 3
pagesIndex/order/after.vue

@@ -118,9 +118,7 @@
 				const that = this;
 				try {
 					const res = uni.getStorageSync('token');
-					if (res) {
-						that.$set(that, `user`, res);
-					}
+					if (res) that.$set(that, `user`, res);
 				} catch (e) {
 					uni.showToast({
 						title: err.errmsg,

+ 1 - 3
pagesIndex/order/rate.vue

@@ -127,9 +127,7 @@
 				const that = this;
 				try {
 					const res = uni.getStorageSync('token');
-					if (res) {
-						that.$set(that, `user`, res);
-					}
+					if (res) that.$set(that, `user`, res);
 				} catch (e) {
 					uni.showToast({
 						title: err.errmsg,

+ 1 - 3
pagesMy/account/index.vue

@@ -91,9 +91,7 @@
 				const that = this;
 				try {
 					const res = uni.getStorageSync('token');
-					if (res) {
-						that.$set(that, `user`, res);
-					}
+					if (res) that.$set(that, `user`, res);
 				} catch (e) {
 					uni.showToast({
 						title: err.errmsg,

+ 1 - 3
pagesMy/article/add.vue

@@ -80,9 +80,7 @@
 				const that = this;
 				try {
 					const res = uni.getStorageSync('token');
-					if (res) {
-						that.$set(that, `user`, res);
-					}
+					if (res) that.$set(that, `user`, res);
 				} catch (e) {
 					uni.showToast({
 						title: err.errmsg,

+ 1 - 3
pagesMy/opinion/index.vue

@@ -48,9 +48,7 @@
 				const that = this;
 				try {
 					const res = uni.getStorageSync('token');
-					if (res) {
-						that.$set(that, `user`, res);
-					}
+					if (res) that.$set(that, `user`, res);
 				} catch (e) {
 					uni.showToast({
 						title: err.errmsg,

+ 70 - 5
pagesMy/service/index.vue

@@ -1,20 +1,85 @@
 <template>
 	<view class="main">
-		客服电话
+		<view class="one">客服电话</view>
+		<view class="two">
+			<text>{{config.phone||'暂无联系电话'}}</text>
+			<button class="button" type="primary" size="mini" @tap="copy(config.phone)">复制</button>
+		</view>
 	</view>
 </template>
 
 <script>
 	export default {
 		data() {
-			return {}
+			return {
+				user: {},
+				config: {}
+			}
+		},
+		onLoad: async function(e) {
+			const that = this;
+			that.searchToken();
+			that.searchConfig();
 		},
 		methods: {
-
+			searchToken() {
+				const that = this;
+				try {
+					const res = uni.getStorageSync('token');
+					if (res) that.$set(that, `user`, res);
+				} catch (e) {
+					uni.showToast({
+						title: err.errmsg,
+						icon: 'error',
+						duration: 2000
+					});
+				}
+			},
+			searchConfig() {
+				const that = this;
+				try {
+					const res = uni.getStorageSync('config');
+					if (res) that.$set(that, `config`, res);
+				} catch (e) {
+					uni.showToast({
+						title: err.errmsg,
+						icon: 'error',
+						duration: 2000
+					});
+				}
+			},
+			// 复制
+			copy(context) {
+				uni.setClipboardData({
+					data: context, //被复制的内容
+					success: () => { //复制成功的回调函数
+						uni.showToast({
+							title: '复制成功'
+						})
+					}
+				});
+			}
 		}
 	}
 </script>
 
-<style>
-	.main {}
+<style lang="scss" scoped>
+	.main {
+		padding: 2vw;
+		text-align: center;
+		font-size: var(--font18Size);
+		font-weight: bold;
+
+		.two {
+			display: flex;
+			align-items: center;
+			justify-content: center;
+
+			.button {
+				margin: 10px;
+				font-size: var(--font12Size);
+				background-color: var(--f3CColor);
+			}
+		}
+	}
 </style>

File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/components/swiper/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/components/tabs/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/components/upload/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/customer/common/submit_1.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/customer/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/home/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/map/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/my/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/article/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/hotel/detail.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/hotel/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/hotel/info.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/info/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/news/detail.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/news/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/notice/detail.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/notice/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/ticket/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/ticket/info.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/type/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/type/info.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/collect/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/comment/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/like/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/login/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/order/after.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/order/detail.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/order/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/order/info.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/order/order.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/order/rate.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesIndex/other/agree.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/account/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/article/add.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/article/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/coupon/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/opinion/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/service/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-badge/components/uni-badge/uni-badge.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-collapse/components/uni-collapse/uni-collapse.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-fav/components/uni-fav/uni-fav.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-forms/components/uni-forms/uni-forms.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-notice-bar/components/uni-notice-bar/uni-notice-bar.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-rate/components/uni-rate/uni-rate.js.map


+ 1 - 3
unpackage/dist/dev/mp-weixin/pagesHome/hotel/detail.js

@@ -255,9 +255,7 @@ var _default = {
       var that = this;
       try {
         var res = uni.getStorageSync('token');
-        if (res) {
-          that.$set(that, "user", res);
-        }
+        if (res) that.$set(that, "user", res);
       } catch (e) {
         uni.showToast({
           title: err.errmsg,

+ 1 - 3
unpackage/dist/dev/mp-weixin/pagesHome/info/index.js

@@ -264,9 +264,7 @@ var _default = {
       var that = this;
       try {
         var res = uni.getStorageSync('token');
-        if (res) {
-          that.$set(that, "user", res);
-        }
+        if (res) that.$set(that, "user", res);
       } catch (e) {
         uni.showToast({
           title: err.errmsg,

+ 1 - 3
unpackage/dist/dev/mp-weixin/pagesHome/news/detail.js

@@ -206,9 +206,7 @@ var _default = {
       var that = this;
       try {
         var res = uni.getStorageSync('token');
-        if (res) {
-          that.$set(that, "user", res);
-        }
+        if (res) that.$set(that, "user", res);
       } catch (e) {
         uni.showToast({
           title: err.errmsg,

+ 1 - 3
unpackage/dist/dev/mp-weixin/pagesHome/notice/detail.js

@@ -201,9 +201,7 @@ var _default = {
       var that = this;
       try {
         var res = uni.getStorageSync('token');
-        if (res) {
-          that.$set(that, "user", res);
-        }
+        if (res) that.$set(that, "user", res);
       } catch (e) {
         uni.showToast({
           title: err.errmsg,

+ 1 - 3
unpackage/dist/dev/mp-weixin/pagesHome/ticket/info.js

@@ -372,9 +372,7 @@ var _default = {
       var that = this;
       try {
         var res = uni.getStorageSync('token');
-        if (res) {
-          that.$set(that, "user", res);
-        }
+        if (res) that.$set(that, "user", res);
       } catch (e) {
         uni.showToast({
           title: err.errmsg,

+ 1 - 3
unpackage/dist/dev/mp-weixin/pagesHome/type/info.js

@@ -307,9 +307,7 @@ var _default = {
       var that = this;
       try {
         var res = uni.getStorageSync('token');
-        if (res) {
-          that.$set(that, "user", res);
-        }
+        if (res) that.$set(that, "user", res);
       } catch (e) {
         uni.showToast({
           title: err.errmsg,

+ 1 - 3
unpackage/dist/dev/mp-weixin/pagesIndex/order/after.js

@@ -335,9 +335,7 @@ var _default = {
       var that = this;
       try {
         var res = uni.getStorageSync('token');
-        if (res) {
-          that.$set(that, "user", res);
-        }
+        if (res) that.$set(that, "user", res);
       } catch (e) {
         uni.showToast({
           title: err.errmsg,

+ 1 - 3
unpackage/dist/dev/mp-weixin/pagesIndex/order/rate.js

@@ -347,9 +347,7 @@ var _default = {
       var that = this;
       try {
         var res = uni.getStorageSync('token');
-        if (res) {
-          that.$set(that, "user", res);
-        }
+        if (res) that.$set(that, "user", res);
       } catch (e) {
         uni.showToast({
           title: err.errmsg,

+ 1 - 3
unpackage/dist/dev/mp-weixin/pagesMy/account/index.js

@@ -213,9 +213,7 @@ var _default = {
       var that = this;
       try {
         var res = uni.getStorageSync('token');
-        if (res) {
-          that.$set(that, "user", res);
-        }
+        if (res) that.$set(that, "user", res);
       } catch (e) {
         uni.showToast({
           title: err.errmsg,

+ 1 - 3
unpackage/dist/dev/mp-weixin/pagesMy/article/add.js

@@ -256,9 +256,7 @@ var _default = {
       var that = this;
       try {
         var res = uni.getStorageSync('token');
-        if (res) {
-          that.$set(that, "user", res);
-        }
+        if (res) that.$set(that, "user", res);
       } catch (e) {
         uni.showToast({
           title: err.errmsg,

+ 1 - 3
unpackage/dist/dev/mp-weixin/pagesMy/opinion/index.js

@@ -209,9 +209,7 @@ var _default = {
       var that = this;
       try {
         var res = uni.getStorageSync('token');
-        if (res) {
-          that.$set(that, "user", res);
-        }
+        if (res) that.$set(that, "user", res);
       } catch (e) {
         uni.showToast({
           title: err.errmsg,

File diff suppressed because it is too large
+ 103 - 30
unpackage/dist/dev/mp-weixin/pagesMy/service/index.js


+ 1 - 1
unpackage/dist/dev/mp-weixin/pagesMy/service/index.wxml

@@ -1 +1 @@
-<view class="main">客服电话</view>
+<view class="main data-v-7e1446ca"><view class="one data-v-7e1446ca">客服电话</view><view class="two data-v-7e1446ca"><text class="data-v-7e1446ca">{{config.phone||'暂无联系电话'}}</text><button class="button data-v-7e1446ca" type="primary" size="mini" data-event-opts="{{[['tap',[['copy',['$0'],['config.phone']]]]]}}" bindtap="__e">复制</button></view></view>

+ 19 - 2
unpackage/dist/dev/mp-weixin/pagesMy/service/index.wxss

@@ -1,3 +1,20 @@
-
-.main {}
+@charset "UTF-8";
+/* 水平间距 */
+/* 水平间距 */
+.main.data-v-7e1446ca {
+  padding: 2vw;
+  text-align: center;
+  font-size: var(--font18Size);
+  font-weight: bold;
+}
+.main .two.data-v-7e1446ca {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+}
+.main .two .button.data-v-7e1446ca {
+  margin: 10px;
+  font-size: var(--font12Size);
+  background-color: var(--f3CColor);
+}