瀏覽代碼

feat:提交代码,调整分享相关

longzhicheng 1 年之前
父節點
當前提交
15e98f44a9

+ 5 - 0
src/constants/index.ts

@@ -45,3 +45,8 @@ export const CACHE_LATITUDE= 'LATITUDE'
45 45
 export const CITIC_NOTARY_OFFICE_APPLET_ID = "gh_d16d6a5102db"
46 46
 export const SHOPS_IN_APPLET_ID = "gh_c4351acfff77"
47 47
 export const SHOPS_IN_OFFICE_URL = "pages/index/index"
48
+
49
+
50
+export const SHARE_TITLE = "融合幸福  保障未来"
51
+export const SHARE_ICON = "https://api.hxxfb.com/share/xcx/logo_220607.png"
52
+export const SHARE_BANNER = "https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png"

+ 6 - 4
src/pages/dacang/list/index.vue

@@ -44,6 +44,8 @@
44 44
 	import { apiGetClassity, apiBanner, apiGetProduct } from '~/apis/quickLink'
45 45
 	import ProductList from './components/life-product.vue'
46 46
 	import { IMG_CDN_URL } from '~/config/app.ts'
47
+	
48
+	import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
47 49
 	const pageStore = usePageStoreWidthOut()
48 50
 	const userStore = useUserStore()
49 51
 	const state = reactive({
@@ -160,18 +162,18 @@
160 162
 	onShareAppMessage(() => {
161 163
 		const shareId = Cache.get('SHARE_ID')
162 164
 		return {
163
-			title: `消费储蓄 保障未来`,
165
+			title: SHARE_TITLE,
164 166
 			path: `/pages/dacang/list/index?shareId=${shareId}`,
165
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
167
+			imageUrl:SHARE_BANNER
166 168
 		}
167 169
 	})
168 170
 
169 171
 	onShareTimeline(() => {
170 172
 		const shareId = Cache.get('SHARE_ID')
171 173
 		return {
172
-			title: `消费储蓄 保障未来`,
174
+			title: SHARE_TITLE,
173 175
 			query: `from=share&shareId=${shareId}`,
174
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
176
+			imageUrl: SHARE_ICON
175 177
 		}
176 178
 	})
177 179
 

+ 8 - 4
src/pages/home/index.vue

@@ -15,10 +15,14 @@
15 15
 	import CXBPrivacyPopup from '~/components/CXBPrivacyPopup/CXBPrivacyPopup.vue'
16 16
 	import { PRODUCT_TAB_ARR } from "./constants.js"
17 17
 	import Cache from '~/utils/cache'
18
+	import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
19
+	
20
+	
18 21
 	import CXBBackTop from '~/components/CXBBackTop/CXBBackTop.vue'
19 22
 	import { getDcSeckill } from '~/apis/dacang'
20 23
 	const userStore = useUserStore()
21 24
 	const usePageStore = usePageStoreWidthOut()
25
+	
22 26
 	usePageStore.setPageConfig({
23 27
 		currentPage: {
24 28
 			type: 'tab',
@@ -164,9 +168,9 @@
164 168
 		const shareId = Cache.get('SHARE_ID')
165 169
 
166 170
 		return {
167
-			title: '消费储蓄 保障未来',
171
+			title: SHARE_TITLE,
168 172
 			path: `/pages/home/index?shareId=${shareId}`,
169
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png',
173
+			imageUrl: SHARE_BANNER,
170 174
 		}
171 175
 	})
172 176
 
@@ -174,8 +178,8 @@
174 178
 		const shareId = Cache.get('SHARE_ID')
175 179
 
176 180
 		return {
177
-			title: '消费储蓄 保障未来',
178
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png',
181
+			title: SHARE_TITLE,
182
+			imageUrl: SHARE_ICON,
179 183
 			query: `from=share&shareId=${shareId}`,
180 184
 		}
181 185
 	})

+ 6 - 4
src/pages/store/nearby/index.vue

@@ -7,6 +7,8 @@ import { getLocal, getProductShare } from '~/apis/common'
7 7
 import { useUserStore } from '~/stores/userStore'
8 8
 import Cache from '~/utils/cache'
9 9
 import { ICON_CDN_URL } from '~/config/app'
10
+import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
11
+
10 12
 const usePageStore = usePageStoreWidthOut()
11 13
 const userStore = useUserStore()
12 14
 
@@ -96,9 +98,9 @@ onShareAppMessage(() => {
96 98
 
97 99
   // const shareId = userStore.shareId
98 100
   return {
99
-    title: '消费储蓄 保障未来',
101
+    title: SHARE_TITLE,
100 102
     path: `/pages/store/nearby/index?shareId=${shareId}`,
101
-    imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png',
103
+    imageUrl: SHARE_BANNER,
102 104
   }
103 105
 })
104 106
 
@@ -106,8 +108,8 @@ onShareTimeline(() => {
106 108
   const shareId = Cache.get('SHARE_ID')
107 109
 
108 110
   return {
109
-    title: '消费储蓄 保障未来',
110
-    imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png',
111
+    title: SHARE_TITLE,
112
+    imageUrl: SHARE_ICON,
111 113
     query: `from=share&shareId=${shareId}`,
112 114
 
113 115
     // imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'

+ 2 - 0
src/pages/user/index.vue

@@ -7,6 +7,8 @@
7 7
 	import type { OrderQuantityModel } from '~/apis/model/order.model'
8 8
 	import CXBDialogSIgnIn from '~/components/CXBDialogSignIn/CXBDialogSIgnIn.vue'
9 9
 	import FPopup from '~/components/FPopup/FPopup.vue'
10
+	
11
+	
10 12
 	const pageStore = usePageStoreWidthOut()
11 13
 	const userStore = useUserStore()
12 14
 	const userTokenInfo = ref()

+ 5 - 5
src/pages/vip/index.vue

@@ -100,7 +100,7 @@ import CXBEmpty from "~/components/CXBEmpty/CXBEmpty.vue";
100 100
 import { getHomeBanner, getProductShare } from "~/apis/common";
101 101
 import { useUserStore } from "~/stores/userStore";
102 102
 import Cache from "~/utils/cache";
103
-
103
+import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
104 104
 const homeBanner = CDN_URL + '/static/assets/home-banner.png'
105 105
 
106 106
 const systemInfo = uni.getSystemInfoSync()
@@ -186,9 +186,9 @@ onShareAppMessage(() => {
186 186
   const shareId = Cache.get('SHARE_ID')
187 187
 
188 188
   return {
189
-    title: `消费储蓄 保障未来`,
189
+    title: SHARE_TITLE,
190 190
     path: `/pages/vip/index?shareId=${shareId}`,
191
-    imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
191
+    imageUrl: SHARE_BANNER
192 192
   }
193 193
 })
194 194
 
@@ -196,9 +196,9 @@ onShareTimeline(() => {
196 196
   const shareId = Cache.get('SHARE_ID')
197 197
 
198 198
   return {
199
-    title: `消费储蓄 保障未来`,
199
+    title: SHARE_TITLE,
200 200
     query: `from=share&shareId=${shareId}`,
201
-    imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
201
+    imageUrl: SHARE_ICON
202 202
     // imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
203 203
   }
204 204
 })

+ 19 - 18
src/subPages/pages/mine-top/brokerage.vue

@@ -88,6 +88,7 @@
88 88
 		IMG_CDN_URL,
89 89
 		IMG_CDN_NEW_URL
90 90
 	} from '~/config/app.ts'
91
+	import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
91 92
 	let id = ''
92 93
 	const topBanner =ref(`${IMG_CDN_NEW_URL}bg_my_commission.png`)
93 94
 	const userStore = useUserStore()
@@ -225,7 +226,7 @@
225 226
 			dataNameInfo.value = res
226 227
 		})
227 228
 	}
228
-
229
+	
229 230
 	function getList() {
230 231
 		uni.showLoading({
231 232
 			title:'加载中...',
@@ -243,23 +244,23 @@
243 244
 		}).finally(()=>{uni.hideLoading()})
244 245
 	}
245 246
 
246
-	onShareAppMessage(() => {
247
-		const shareId = Cache.get('SHARE_ID')
248
-		return {
249
-			title: `消费储蓄 保障未来`,
250
-			path: `/pages/vip/index?shareId=${shareId}`,
251
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
252
-		}
253
-	})
254
-
255
-	onShareTimeline(() => {
256
-		const shareId = Cache.get('SHARE_ID')
257
-		return {
258
-			title: `消费储蓄 保障未来`,
259
-			query: `from=share&shareId=${shareId}`,
260
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
261
-		}
262
-	})
247
+	// onShareAppMessage(() => {
248
+	// 	const shareId = Cache.get('SHARE_ID')
249
+	// 	return {
250
+	// 		title: SHARE_TITLE,
251
+	// 		path: `/subPages/pages/mine-top/brokerage?shareId=${shareId}`,
252
+	// 		imageUrl:SHARE_BANNER
253
+	// 	}
254
+	// })
255
+
256
+	// onShareTimeline(() => {
257
+	// 	const shareId = Cache.get('SHARE_ID')
258
+	// 	return {
259
+	// 		title:SHARE_TITLE,
260
+	// 		query: `from=share&shareId=${shareId}`,
261
+	// 		imageUrl: SHARE_ICON
262
+	// 	}
263
+	// })
263 264
 
264 265
 	onReachBottom(() => {
265 266
 		console.log('到底了。。。')

+ 16 - 16
src/subPages/pages/mine-top/contribute.vue

@@ -106,23 +106,23 @@
106 106
 			}
107 107
 		}).finally(()=>{uni.hideLoading()})
108 108
 	}
109
-	onShareAppMessage(() => {
110
-		const shareId = Cache.get('SHARE_ID')
111
-		return {
112
-			title: `消费储蓄 保障未来`,
113
-			path: `/pages/vip/index?shareId=${shareId}`,
114
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
115
-		}
116
-	})
109
+	// onShareAppMessage(() => {
110
+	// 	const shareId = Cache.get('SHARE_ID')
111
+	// 	return {
112
+	// 		title: SHARE_TITLE,
113
+	// 		path: `/subPages/pages/mine-top/contribute?shareId=${shareId}`,
114
+	// 		imageUrl: SHARE_BANNER
115
+	// 	}
116
+	// })
117 117
 
118
-	onShareTimeline(() => {
119
-		const shareId = Cache.get('SHARE_ID')
120
-		return {
121
-			title: `消费储蓄 保障未来`,
122
-			query: `from=share&shareId=${shareId}`,
123
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
124
-		}
125
-	})
118
+	// onShareTimeline(() => {
119
+	// 	const shareId = Cache.get('SHARE_ID')
120
+	// 	return {
121
+	// 		title:SHARE_TITLE,
122
+	// 		query: `from=share&shareId=${shareId}`,
123
+	// 		imageUrl: SHARE_ICON
124
+	// 	}
125
+	// })
126 126
 
127 127
 	onReachBottom(() => {
128 128
 		state.page += 1

+ 18 - 17
src/subPages/pages/mine-top/department.vue

@@ -98,6 +98,7 @@
98 98
 		useUserStore
99 99
 	} from '~/stores/userStore'
100 100
 	import CXBEmpty from "~/components/CXBEmpty/CXBEmpty.vue";
101
+	import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
101 102
 	const currentIndex = ref(0)
102 103
 	const tabList = ref([{
103 104
 		name: '小部门',
@@ -154,23 +155,23 @@
154 155
 		})
155 156
 	}
156 157
 
157
-	onShareAppMessage(() => {
158
-		const shareId = Cache.get('SHARE_ID')
159
-		return {
160
-			title: `消费储蓄 保障未来`,
161
-			path: `/pages/vip/index?shareId=${shareId}`,
162
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
163
-		}
164
-	})
165
-
166
-	onShareTimeline(() => {
167
-		const shareId = Cache.get('SHARE_ID')
168
-		return {
169
-			title: `消费储蓄 保障未来`,
170
-			query: `from=share&shareId=${shareId}`,
171
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
172
-		}
173
-	})
158
+	// onShareAppMessage(() => {
159
+	// 	const shareId = Cache.get('SHARE_ID')
160
+	// 	return {
161
+	// 		title: SHARE_TITLE,
162
+	// 		path: `/subPages/pages/mine-top/contribute?shareId=${shareId}`,
163
+	// 		imageUrl: SHARE_BANNER
164
+	// 	}
165
+	// })
166
+
167
+	// onShareTimeline(() => {
168
+	// 	const shareId = Cache.get('SHARE_ID')
169
+	// 	return {
170
+	// 		title: SHARE_TITLE,
171
+	// 		query: `from=share&shareId=${shareId}`,
172
+	// 		imageUrl: SHARE_ICON
173
+	// 	}
174
+	// })
174 175
 
175 176
 	onReachBottom(() => {
176 177
 		console.log('到底了。。。')

+ 18 - 17
src/subPages/pages/mine-top/jifen.vue

@@ -63,6 +63,7 @@
63 63
 		useUserStore
64 64
 	} from '~/stores/userStore'
65 65
 	import CXBEmpty from "~/components/CXBEmpty/CXBEmpty.vue";
66
+	import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
66 67
 	const currentIndex = ref(0)
67 68
 	const tabList = ref([{
68 69
 		name: '入账积分'
@@ -142,23 +143,23 @@
142 143
 		}).finally(()=>{uni.hideLoading()})
143 144
 	}
144 145
 
145
-	onShareAppMessage(() => {
146
-		const shareId = Cache.get('SHARE_ID')
147
-		return {
148
-			title: `消费储蓄 保障未来`,
149
-			path: `/pages/vip/index?shareId=${shareId}`,
150
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
151
-		}
152
-	})
153
-
154
-	onShareTimeline(() => {
155
-		const shareId = Cache.get('SHARE_ID')
156
-		return {
157
-			title: `消费储蓄 保障未来`,
158
-			query: `from=share&shareId=${shareId}`,
159
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
160
-		}
161
-	})
146
+	// onShareAppMessage(() => {
147
+	// 	const shareId = Cache.get('SHARE_ID')
148
+	// 	return {
149
+	// 		title: SHARE_TITLE,
150
+	// 		path: `/pages/vip/index?shareId=${shareId}`,
151
+	// 		imageUrl: SHARE_BANNER
152
+	// 	}
153
+	// })
154
+
155
+	// onShareTimeline(() => {
156
+	// 	const shareId = Cache.get('SHARE_ID')
157
+	// 	return {
158
+	// 		title: SHARE_TITLE,
159
+	// 		query: `from=share&shareId=${shareId}`,
160
+	// 		imageUrl: SHARE_ICON
161
+	// 	}
162
+	// })
162 163
 
163 164
 	onReachBottom(() => {
164 165
 		console.log('到底了。。。')

+ 18 - 17
src/subPages/pages/mine-top/jingdou.vue

@@ -53,6 +53,7 @@
53 53
 		useUserStore
54 54
 	} from '~/stores/userStore'
55 55
 	import CXBEmpty from "~/components/CXBEmpty/CXBEmpty.vue";
56
+	import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
56 57
 	import {
57 58
 		IMG_CDN_URL
58 59
 	} from '~/config/app.ts'
@@ -111,23 +112,23 @@
111 112
 		})
112 113
 	}
113 114
 
114
-	onShareAppMessage(() => {
115
-		const shareId = Cache.get('SHARE_ID')
116
-		return {
117
-			title: `消费储蓄 保障未来`,
118
-			path: `/pages/vip/index?shareId=${shareId}`,
119
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
120
-		}
121
-	})
122
-
123
-	onShareTimeline(() => {
124
-		const shareId = Cache.get('SHARE_ID')
125
-		return {
126
-			title: `消费储蓄 保障未来`,
127
-			query: `from=share&shareId=${shareId}`,
128
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
129
-		}
130
-	})
115
+	// onShareAppMessage(() => {
116
+	// 	const shareId = Cache.get('SHARE_ID')
117
+	// 	return {
118
+	// 		title:SHARE_TITLE,
119
+	// 		path: `/pages/vip/index?shareId=${shareId}`,
120
+	// 		imageUrl: SHARE_BANNER
121
+	// 	}
122
+	// })
123
+
124
+	// onShareTimeline(() => {
125
+	// 	const shareId = Cache.get('SHARE_ID')
126
+	// 	return {
127
+	// 		title:SHARE_TITLE,
128
+	// 		query: `from=share&shareId=${shareId}`,
129
+	// 		imageUrl:SHARE_ICON
130
+	// 	}
131
+	// })
131 132
 
132 133
 	onReachBottom(() => {
133 134
 		console.log('到底了。。。')

+ 18 - 17
src/subPages/pages/mine-top/qianbao.vue

@@ -57,6 +57,7 @@
57 57
 		useUserStore
58 58
 	} from '~/stores/userStore'
59 59
 	import CXBEmpty from "~/components/CXBEmpty/CXBEmpty.vue";
60
+	import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
60 61
 	import {
61 62
 		IMG_CDN_URL
62 63
 	} from '~/config/app.ts'
@@ -179,23 +180,23 @@
179 180
 		})
180 181
 	}
181 182
 
182
-	onShareAppMessage(() => {
183
-		const shareId = Cache.get('SHARE_ID')
184
-		return {
185
-			title: `消费储蓄 保障未来`,
186
-			path: `/pages/vip/index?shareId=${shareId}`,
187
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
188
-		}
189
-	})
190
-
191
-	onShareTimeline(() => {
192
-		const shareId = Cache.get('SHARE_ID')
193
-		return {
194
-			title: `消费储蓄 保障未来`,
195
-			query: `from=share&shareId=${shareId}`,
196
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
197
-		}
198
-	})
183
+	// onShareAppMessage(() => {
184
+	// 	const shareId = Cache.get('SHARE_ID')
185
+	// 	return {
186
+	// 		title: SHARE_TITLE,
187
+	// 		path: `/pages/vip/index?shareId=${shareId}`,
188
+	// 		imageUrl: SHARE_BANNER
189
+	// 	}
190
+	// })
191
+
192
+	// onShareTimeline(() => {
193
+	// 	const shareId = Cache.get('SHARE_ID')
194
+	// 	return {
195
+	// 		title: SHARE_TITLE,
196
+	// 		query: `from=share&shareId=${shareId}`,
197
+	// 		imageUrl: SHARE_ICON
198
+	// 	}
199
+	// })
199 200
 
200 201
 	onReachBottom(() => {
201 202
 		console.log('到底了。。。')

+ 17 - 16
src/subPages/pages/mine-top/repurchase.vue

@@ -51,6 +51,7 @@
51 51
 	import { getProductShare } from "~/apis/common";
52 52
 	import { useUserStore } from '~/stores/userStore'
53 53
 	import CXBEmpty from "~/components/CXBEmpty/CXBEmpty.vue";
54
+    import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
54 55
 	const currentIndex = ref(0)
55 56
 	const tabList = ref([{name:'入账复购金'},{name:'消费复购金'},{name:'未生效复购金'}])
56 57
     const userStore = useUserStore()
@@ -102,23 +103,23 @@
102 103
 		})
103 104
 	}
104 105
 
105
-	onShareAppMessage(() => {
106
-		const shareId = Cache.get('SHARE_ID')
107
-		return {
108
-			title: `消费储蓄 保障未来`,
109
-			path: `/pages/vip/index?shareId=${shareId}`,
110
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
111
-		}
112
-	})
106
+	// onShareAppMessage(() => {
107
+	// 	const shareId = Cache.get('SHARE_ID')
108
+	// 	return {
109
+	// 		title: SHARE_TITLE,
110
+	// 		path: `/pages/vip/index?shareId=${shareId}`,
111
+	// 		imageUrl: SHARE_BANNER
112
+	// 	}
113
+	// })
113 114
 
114
-	onShareTimeline(() => {
115
-		const shareId = Cache.get('SHARE_ID')
116
-		return {
117
-			title: `消费储蓄 保障未来`,
118
-			query: `from=share&shareId=${shareId}`,
119
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
120
-		}
121
-	})
115
+	// onShareTimeline(() => {
116
+	// 	const shareId = Cache.get('SHARE_ID')
117
+	// 	return {
118
+	// 		title: SHARE_TITLE,
119
+	// 		query: `from=share&shareId=${shareId}`,
120
+	// 		imageUrl:SHARE_ICON
121
+	// 	}
122
+	// })
122 123
 
123 124
 	onReachBottom(() => {
124 125
 		console.log('到底了。。。')

+ 17 - 16
src/subPages/pages/mine-top/vr.vue

@@ -51,6 +51,7 @@
51 51
 	import { useUserStore } from '~/stores/userStore'
52 52
 	import CXBEmpty from "~/components/CXBEmpty/CXBEmpty.vue";
53 53
 	import{IMG_CDN_URL} from '~/config/app.ts'
54
+	import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
54 55
 	const currentIndex = ref(0)
55 56
 	const tabList = ref([{name:'入账VR'},{name:'消费VR'}])
56 57
 	const goodsList = ref([1,1,1,1,1,1,1,1,1])
@@ -118,23 +119,23 @@
118 119
 		})
119 120
 	}
120 121
 
121
-	onShareAppMessage(() => {
122
-		const shareId = Cache.get('SHARE_ID')
123
-		return {
124
-			title: `消费储蓄 保障未来`,
125
-			path: `/pages/vip/index?shareId=${shareId}`,
126
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
127
-		}
128
-	})
122
+	// onShareAppMessage(() => {
123
+	// 	const shareId = Cache.get('SHARE_ID')
124
+	// 	return {
125
+	// 		title: SHARE_TITLE,
126
+	// 		path: `/pages/vip/index?shareId=${shareId}`,
127
+	// 		imageUrl: SHARE_BANNER
128
+	// 	}
129
+	// })
129 130
 
130
-	onShareTimeline(() => {
131
-		const shareId = Cache.get('SHARE_ID')
132
-		return {
133
-			title: `消费储蓄 保障未来`,
134
-			query: `from=share&shareId=${shareId}`,
135
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
136
-		}
137
-	})
131
+	// onShareTimeline(() => {
132
+	// 	const shareId = Cache.get('SHARE_ID')
133
+	// 	return {
134
+	// 		title: SHARE_TITLE,
135
+	// 		query: `from=share&shareId=${shareId}`,
136
+	// 		imageUrl: SHARE_ICON
137
+	// 	}
138
+	// })
138 139
 
139 140
 	onReachBottom(() => {
140 141
 		console.log('到底了。。。')

+ 3 - 0
src/subPages/pages/movies/moviesOrder.vue

@@ -239,6 +239,9 @@
239 239
 			film_sign: orderDetail.value.film_sign,
240 240
 			relation_id: orderDetail.value.relation_id,
241 241
 		}
242
+		
243
+		
244
+		
242 245
 		console.log("===params",params);
243 246
 		
244 247
 		apiSubmitOrder(params).then(res => {

+ 1 - 1
src/subPages/pages/movies/orderDetail.vue

@@ -68,7 +68,7 @@
68 68
 		</view>
69 69
 
70 70
 
71
-		<view class="bottom-btn-content" v-if="detailInfo.status==0 &&detailInfo.order_price ">
71
+		<view class="bottom-btn-content" v-if="detailInfo.status==0 &&detailInfo.order_price &&isShowTimer ">
72 72
 			<view class="left-content">
73 73
 				<view class="left-top-info">
74 74
 					<text class="pay-price-title">应付:</text>

+ 4 - 1
src/subPages/pages/movies/orderList.vue

@@ -109,15 +109,18 @@
109 109
 	}
110 110
 	
111 111
 	function dealStatus(item){
112
+		
113
+		console.log("===item",item);
112 114
 		let name 
113 115
 		let status =item.status
114 116
 		let isShowTimer=true
115
-	    let totalTime = parseInt((item.create_time * 1000 + 300000 - new Date().getTime()) / 1000)
117
+	    let totalTime = parseInt((new Date(item.create_time).getTime() + 300000 - new Date().getTime()) / 1000)
116 118
 		if (totalTime > 0) {
117 119
 			isShowTimer = true
118 120
 		} else {
119 121
 			isShowTimer = false
120 122
 		}
123
+		console.log("===isShowTimer",isShowTimer);
121 124
 		
122 125
 		if(status==0 && isShowTimer){
123 126
 			name='待支付'

+ 17 - 17
src/subPages/pages/phone-bill/index.vue

@@ -36,7 +36,7 @@
36 36
 	import { useUserStore } from '~/stores/userStore'
37 37
 	import CXBEmpty from "~/components/CXBEmpty/CXBEmpty.vue";
38 38
 	import{IMG_CDN_URL} from '~/config/app.ts'
39
-	
39
+	import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
40 40
 	const currentIndex = ref(0)
41 41
 	const tabList = ref([])
42 42
     const userStore = useUserStore()
@@ -118,23 +118,23 @@
118 118
 	}
119 119
 	
120 120
 	
121
-	onShareAppMessage(() => {
122
-		const shareId = Cache.get('SHARE_ID')
123
-		return {
124
-			title: `消费储蓄 保障未来`,
125
-			path: `/pages/vip/index?shareId=${shareId}`,
126
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
127
-		}
128
-	})
121
+	// onShareAppMessage(() => {
122
+	// 	const shareId = Cache.get('SHARE_ID')
123
+	// 	return {
124
+	// 		title: SHARE_TITLE,
125
+	// 		path: `/pages/vip/index?shareId=${shareId}`,
126
+	// 		imageUrl: SHARE_BANNER
127
+	// 	}
128
+	// })
129 129
 
130
-	onShareTimeline(() => {
131
-		const shareId = Cache.get('SHARE_ID')
132
-		return {
133
-			title: `消费储蓄 保障未来`,
134
-			query: `from=share&shareId=${shareId}`,
135
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
136
-		}
137
-	})
130
+	// onShareTimeline(() => {
131
+	// 	const shareId = Cache.get('SHARE_ID')
132
+	// 	return {
133
+	// 		title: SHARE_TITLE,
134
+	// 		query: `from=share&shareId=${shareId}`,
135
+	// 		imageUrl: SHARE_ICON
136
+	// 	}
137
+	// })
138 138
 
139 139
 
140 140
 </script>

+ 18 - 18
src/subPages/pages/quick-fuc/business.vue

@@ -81,7 +81,7 @@
81 81
 		IMG_CDN_URL,
82 82
 		BASE_URL
83 83
 	} from '~/config/app.ts'
84
-	
84
+	import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
85 85
 	const currentIndex = ref(0)
86 86
 	const tabList = ref([])
87 87
 	const goodsList = ref([])
@@ -109,23 +109,23 @@
109 109
 		}).catch(message => {})
110 110
 	})
111 111
 
112
-	onShareAppMessage(() => {
113
-		const shareId = Cache.get('SHARE_ID')
114
-		return {
115
-			title: `消费储蓄 保障未来`,
116
-			path: `/pages/vip/index?shareId=${shareId}`,
117
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
118
-		}
119
-	})
120
-
121
-	onShareTimeline(() => {
122
-		const shareId = Cache.get('SHARE_ID')
123
-		return {
124
-			title: `消费储蓄 保障未来`,
125
-			query: `from=share&shareId=${shareId}`,
126
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
127
-		}
128
-	})
112
+	// onShareAppMessage(() => {
113
+	// 	const shareId = Cache.get('SHARE_ID')
114
+	// 	return {
115
+	// 		title: SHARE_TITLE,
116
+	// 		path: `/pages/vip/index?shareId=${shareId}`,
117
+	// 		imageUrl: SHARE_BANNER
118
+	// 	}
119
+	// })
120
+
121
+	// onShareTimeline(() => {
122
+	// 	const shareId = Cache.get('SHARE_ID')
123
+	// 	return {
124
+	// 		title: SHARE_TITLE,
125
+	// 		query: `from=share&shareId=${shareId}`,
126
+	// 		imageUrl: SHARE_ICON
127
+	// 	}
128
+	// })
129 129
 
130 130
 	onReachBottom(() => {
131 131
 		console.log('到底了。。。')

+ 17 - 17
src/subPages/pages/quick-fuc/life.vue

@@ -56,7 +56,7 @@
56 56
 	import { apiGetClassity, apiBanner, apiGetProduct } from '~/apis/quickLink'
57 57
 	import ProductList from './components/life-product.vue'
58 58
 	import { IMG_CDN_URL} from '~/config/app.ts'
59
-	
59
+	import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
60 60
 	const userStore = useUserStore()
61 61
 	const state = reactive({
62 62
 		currentPage: 1,
@@ -156,23 +156,23 @@
156 156
 		getProduct()
157 157
 	}
158 158
 
159
-	onShareAppMessage(() => {
160
-		const shareId = Cache.get('SHARE_ID')
161
-		return {
162
-			title: `消费储蓄 保障未来`,
163
-			path: `/pages/vip/index?shareId=${shareId}`,
164
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
165
-		}
166
-	})
159
+	// onShareAppMessage(() => {
160
+	// 	const shareId = Cache.get('SHARE_ID')
161
+	// 	return {
162
+	// 		title: SHARE_TITLE,
163
+	// 		path: `/pages/vip/index?shareId=${shareId}`,
164
+	// 		imageUrl: SHARE_BANNER
165
+	// 	}
166
+	// })
167 167
 
168
-	onShareTimeline(() => {
169
-		const shareId = Cache.get('SHARE_ID')
170
-		return {
171
-			title: `消费储蓄 保障未来`,
172
-			query: `from=share&shareId=${shareId}`,
173
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
174
-		}
175
-	})
168
+	// onShareTimeline(() => {
169
+	// 	const shareId = Cache.get('SHARE_ID')
170
+	// 	return {
171
+	// 		title: SHARE_TITLE,
172
+	// 		query: `from=share&shareId=${shareId}`,
173
+	// 		imageUrl: SHARE_ICON
174
+	// 	}
175
+	// })
176 176
 
177 177
 	function handleItemClick(item) {
178 178
 		uni.navigateTo({

+ 17 - 17
src/subPages/pages/quick-fuc/repurchase.vue

@@ -56,7 +56,7 @@
56 56
 	import { apiGetClassity, apiBanner, apiGetReProduct } from '~/apis/quickLink'
57 57
 	import ProductList from './components/life-product.vue'
58 58
 	import { IMG_CDN_URL} from '~/config/app.ts'
59
-	
59
+	import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
60 60
 	const userStore = useUserStore()
61 61
 	const state = reactive({
62 62
 		currentPage: 1,
@@ -156,23 +156,23 @@
156 156
 		getProduct()
157 157
 	}
158 158
 
159
-	onShareAppMessage(() => {
160
-		const shareId = Cache.get('SHARE_ID')
161
-		return {
162
-			title: `消费储蓄 保障未来`,
163
-			path: `/pages/vip/index?shareId=${shareId}`,
164
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
165
-		}
166
-	})
159
+	// onShareAppMessage(() => {
160
+	// 	const shareId = Cache.get('SHARE_ID')
161
+	// 	return {
162
+	// 		title: SHARE_TITLE,
163
+	// 		path: `/pages/vip/index?shareId=${shareId}`,
164
+	// 		imageUrl: SHARE_BANNER
165
+	// 	}
166
+	// })
167 167
 
168
-	onShareTimeline(() => {
169
-		const shareId = Cache.get('SHARE_ID')
170
-		return {
171
-			title: `消费储蓄 保障未来`,
172
-			query: `from=share&shareId=${shareId}`,
173
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
174
-		}
175
-	})
168
+	// onShareTimeline(() => {
169
+	// 	const shareId = Cache.get('SHARE_ID')
170
+	// 	return {
171
+	// 		title: SHARE_TITLE,
172
+	// 		query: `from=share&shareId=${shareId}`,
173
+	// 		imageUrl: SHARE_ICON
174
+	// 	}
175
+	// })
176 176
 
177 177
 	function handleItemClick(item) {
178 178
 		console.log("===item",item);

+ 17 - 16
src/subPages/pages/quick-fuc/shop.vue

@@ -43,6 +43,7 @@
43 43
 	import { KINGKONGKEY } from '~/apis/model/common.model'
44 44
 	import {TOP_LAB_ARR} from './constants.js'
45 45
 	import { IMG_CDN_URL,IMG_CDN_NEW_URL } from '~/config/app.ts'
46
+	import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
46 47
 	const userStore = useUserStore()
47 48
 
48 49
 	const state = reactive({
@@ -101,23 +102,23 @@
101 102
 		});
102 103
 	})
103 104
 
104
-	onShareAppMessage(() => {
105
-		const shareId = Cache.get('SHARE_ID')
106
-		return {
107
-			title: `消费储蓄 保障未来`,
108
-			path: `/pages/vip/index?shareId=${shareId}`,
109
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
110
-		}
111
-	})
105
+	// onShareAppMessage(() => {
106
+	// 	const shareId = Cache.get('SHARE_ID')
107
+	// 	return {
108
+	// 		title: SHARE_TITLE,
109
+	// 		path: `/pages/vip/index?shareId=${shareId}`,
110
+	// 		imageUrl: SHARE_BANNER
111
+	// 	}
112
+	// })
112 113
 
113
-	onShareTimeline(() => {
114
-		const shareId = Cache.get('SHARE_ID')
115
-		return {
116
-			title: `消费储蓄 保障未来`,
117
-			query: `from=share&shareId=${shareId}`,
118
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
119
-		}
120
-	})
114
+	// onShareTimeline(() => {
115
+	// 	const shareId = Cache.get('SHARE_ID')
116
+	// 	return {
117
+	// 		title: SHARE_TITLE,
118
+	// 		query: `from=share&shareId=${shareId}`,
119
+	// 		imageUrl: SHARE_ICON
120
+	// 	}
121
+	// })
121 122
 
122 123
 	onReachBottom(() => {
123 124
 		state.page += 1

+ 17 - 16
src/subPages/pages/quick-fuc/vip.vue

@@ -45,6 +45,7 @@
45 45
 	import { apiVipBanner, apiGetVipProduct } from '~/apis/quickLink'
46 46
 	import ProductList from './components/life-product.vue'
47 47
 	import { IMG_CDN_URL } from '~/config/app.ts'
48
+	import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
48 49
 	const userStore = useUserStore()
49 50
 
50 51
 	const state = reactive({
@@ -130,23 +131,23 @@
130 131
 		getProduct()
131 132
 	}
132 133
 
133
-	onShareAppMessage(() => {
134
-		const shareId = Cache.get('SHARE_ID')
135
-		return {
136
-			title: `消费储蓄 保障未来`,
137
-			path: `/pages/vip/index?shareId=${shareId}`,
138
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
139
-		}
140
-	})
134
+	// onShareAppMessage(() => {
135
+	// 	const shareId = Cache.get('SHARE_ID')
136
+	// 	return {
137
+	// 		title: SHARE_TITLE,
138
+	// 		path: `/pages/vip/index?shareId=${shareId}`,
139
+	// 		imageUrl: SHARE_BANNER
140
+	// 	}
141
+	// })
141 142
 
142
-	onShareTimeline(() => {
143
-		const shareId = Cache.get('SHARE_ID')
144
-		return {
145
-			title: `消费储蓄 保障未来`,
146
-			query: `from=share&shareId=${shareId}`,
147
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
148
-		}
149
-	})
143
+	// onShareTimeline(() => {
144
+	// 	const shareId = Cache.get('SHARE_ID')
145
+	// 	return {
146
+	// 		title: SHARE_TITLE,
147
+	// 		query: `from=share&shareId=${shareId}`,
148
+	// 		imageUrl: SHARE_ICON
149
+	// 	}
150
+	// })
150 151
 
151 152
 
152 153
 

+ 18 - 17
src/subPages/pages/search/index.vue

@@ -41,6 +41,7 @@
41 41
 	import { apigetSearchProduct} from '~/apis/quickLink'
42 42
 	import { KINGKONGKEY } from '~/apis/model/common.model'
43 43
 	import { CDN_URL, IMG_CDN_URL, IMG_CDN_NEW_URL } from '~/config/app.ts'
44
+	import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
44 45
 	const userStore = useUserStore()
45 46
 
46 47
 	const tabList = <Array<TabItem>>[{
@@ -99,23 +100,23 @@
99 100
 
100 101
 
101 102
 
102
-	onShareAppMessage(() => {
103
-		const shareId = Cache.get('SHARE_ID')
104
-		return {
105
-			title: `消费储蓄 保障未来`,
106
-			path: `/pages/vip/index?shareId=${shareId}`,
107
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
108
-		}
109
-	})
110
-
111
-	onShareTimeline(() => {
112
-		const shareId = Cache.get('SHARE_ID')
113
-		return {
114
-			title: `消费储蓄 保障未来`,
115
-			query: `from=share&shareId=${shareId}`,
116
-			imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png'
117
-		}
118
-	})
103
+	// onShareAppMessage(() => {
104
+	// 	const shareId = Cache.get('SHARE_ID')
105
+	// 	return {
106
+	// 		title: SHARE_TITLE,
107
+	// 		path: `/pages/vip/index?shareId=${shareId}`,
108
+	// 		imageUrl: SHARE_BANNER
109
+	// 	}
110
+	// })
111
+
112
+	// onShareTimeline(() => {
113
+	// 	const shareId = Cache.get('SHARE_ID')
114
+	// 	return {
115
+	// 		title: SHARE_TITLE,
116
+	// 		query: `from=share&shareId=${shareId}`,
117
+	// 		imageUrl: SHARE_ICON
118
+	// 	}
119
+	// })
119 120
 
120 121
 	onReachBottom(() => {
121 122
 		state.page += 1

+ 5 - 4
src/subPages/pages/store/home/index.vue

@@ -14,6 +14,7 @@ import { getProductShare } from "~/apis/common";
14 14
 import { useUserStore } from "~/stores/userStore";
15 15
 import Cache from "~/utils/cache";
16 16
 import { CDN_URL ,ICON_CDN_URL} from "~/config/app";
17
+import {SHARE_TITLE,SHARE_BANNER,SHARE_ICON} from '~/constants/index'
17 18
 const usePageStore = usePageStoreWidthOut()
18 19
 const userStore = useUserStore()
19 20
 
@@ -116,9 +117,9 @@ onShareAppMessage(() => {
116 117
   const shareId = Cache.get('SHARE_ID')
117 118
 
118 119
   return {
119
-    title: `消费储蓄 保障未来`,
120
+    title: SHARE_TITLE,
120 121
     path: `/subPages/pages/store/home/index?id=${id.value}&shareId=${shareId}`,
121
-    imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png'
122
+    imageUrl: SHARE_BANNER
122 123
   }
123 124
 })
124 125
 
@@ -126,8 +127,8 @@ onShareTimeline(() => {
126 127
   const shareId = Cache.get('SHARE_ID')
127 128
 
128 129
   return {
129
-    title: `消费储蓄 保障未来`,
130
-    imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-11/20231011062523504.png',
130
+    title: SHARE_TITLE,
131
+    imageUrl: SHARE_ICON,
131 132
     // imageUrl: 'https://cdn.bjtdba.com/vod/image/2023-10-09/20231009202402136.png',
132 133
     query: `id=${id.value}&shareId=${shareId}`
133 134
 

+ 2 - 0
src/subPages/pages/store/product/detail.vue

@@ -67,6 +67,8 @@
67 67
 		pageSize: 10,
68 68
 		totalPage: 0
69 69
 	})
70
+	
71
+	
70 72
 	const detail : any = ref(null)
71 73
 	const isTo = ref(3)
72 74
 	let isShow = ref(false)

+ 1 - 1
src/subPages/pages/store/product/other.vue

@@ -487,7 +487,7 @@ function handleBuyNow() {
487 487
         uni.hideLoading()
488 488
         return {
489 489
           title: `${detail.value.title}`,
490
-          path: `subPages/pages/store/product/detail?id=${detail.value.id}&from=share&shareID=${state.shareId}`,
490
+          path: `subPages/pages/store/product/other?id=${detail.value.id}&from=share&shareID=${state.shareId}`,
491 491
         }
492 492
       }
493 493
     }).catch((error) => {