longzhicheng 1 рік тому
батько
коміт
e3bc6b1f26

+ 1 - 0
src/apis/model/common.model.ts

@@ -16,6 +16,7 @@ export enum KINGKONGKEY  {
16 16
 	SMZQ= 'SMZQ', //商贸专区
17 17
 	FGQ= 'FGQ', //复购区
18 18
 	SXY= 'SXY', //商学院
19
+	XFXD='XFXD',
19 20
 	JPSC= 'JPSC', //精品商城
20 21
 	XSMS= 'XSMS', //限时秒杀
21 22
 	LNZQ= 'LNZQ', //老年专区

+ 14 - 0
src/apis/order.api.ts

@@ -73,6 +73,7 @@ enum API {
73 73
     // 三方订单
74 74
    // USER_THIRD_ORDER = '/api/user/third_order',
75 75
 	USER_THIRD_ORDER = '/api/user/third_order_bill',
76
+	USER_THIRD_NEW_ORDER = '/api/user/third_order',
76 77
     // 全部订单
77 78
     ORDER_ALL = '/api/order/all',
78 79
     // 获取微信支付小程序原始id和支付链接
@@ -225,6 +226,19 @@ export function getThirdOrder(params: { type: string, page: number, limit: 20 |
225 226
     })
226 227
 }
227 228
 
229
+/**
230
+ * 三方订单
231
+ * @param params
232
+ */
233
+export function getThirdOrderNew(params: { type: string, page: number, limit: 20 | number }): Promise<ThirdOrderResult> {
234
+    return defHttp.get({
235
+        url: API.USER_THIRD_NEW_ORDER,
236
+        data: {
237
+            ...params
238
+        }
239
+    })
240
+}
241
+
228 242
 // 检查大仓会员
229 243
 export function checkGroupOrder(id: string) {
230 244
     return defHttp.get({

+ 18 - 0
src/apis/user.ts

@@ -54,6 +54,8 @@ enum API {
54 54
 	USER_TOKEN = '/api/tokenList',
55 55
     // 个人资料编辑
56 56
     UPDATE_USER = '/api/user/update/user',
57
+	// 修改密码
58
+	CHANGE_PWD = '/api/auth/reset',
57 59
     // 获取协议
58 60
     GET_XIEYI = '/api/xieyi/detail',
59 61
     GET_USER_UNION_ID = '/api/userMp/getUserUnionid',
@@ -242,6 +244,9 @@ enum API {
242 244
 	//获取话费数据
243 245
 	HUAFEI_RECORD ='/api/huafei/record',
244 246
 	
247
+	
248
+	
249
+	
245 250
 }
246 251
 
247 252
 export function apiGetHuafeiList(data:any) {
@@ -1038,6 +1043,19 @@ export function getUserInfo(): Promise<UserInfoModel> {
1038 1043
     })
1039 1044
 }
1040 1045
 
1046
+
1047
+/**
1048
+ * 修改密码
1049
+ * @param params
1050
+ */
1051
+export function apiChangePwd(params:any) {
1052
+    return defHttp.post({
1053
+        url: API.CHANGE_PWD,
1054
+        data: {
1055
+            ...params
1056
+        }
1057
+    })
1058
+}
1041 1059
 /**
1042 1060
  * 更新用户信息
1043 1061
  * @param params

Різницю між файлами не показано, бо вона завелика
+ 1 - 1
src/pages.json


+ 6 - 0
src/pages/home/components/navs.vue

@@ -63,6 +63,12 @@
63 63
 				})
64 64
 				break
65 65
 			}
66
+			case KINGKONGKEY.XFXD:{
67
+				uni.navigateTo({
68
+					url: `/subPages/pages/quick-fuc/store?id=3279&title=幸福小店`
69
+				})
70
+				break
71
+			}
66 72
 			case KINGKONGKEY.JD:
67 73
 			case KINGKONGKEY.PDD:
68 74
 			case KINGKONGKEY.WPH:

+ 2 - 2
src/pages/home/constants.js

@@ -135,8 +135,8 @@ export const NAVS_HOT_ARR = [{
135 135
 	key: KINGKONGKEY.SXY,
136 136
 }, {
137 137
 	image: `${ICON_CDN_URL}icon_rx.png`,
138
-	title: '热销榜单',
139
-	key: KINGKONGKEY.RXBD,
138
+	title: '幸福小店',
139
+	key: KINGKONGKEY.XFXD,
140 140
 }, {
141 141
 	image: `${ICON_CDN_URL}icon_jd.png`,
142 142
 	title: '京东',

+ 4 - 2
src/pages/order/components/AllItemList.vue

@@ -2,6 +2,7 @@
2 2
 import { getAllOrder } from "~/apis/order.api";
3 3
 import OrderItem from "~/pages/order/components/OrderItem.vue";
4 4
 import OtherOrderItem from "~/pages/order/components/OtherOrderItem.vue";
5
+import OrderObligationItem from "~/pages/order/components/OrderObligationItem.vue";
5 6
 import CXBEmpty from "~/components/CXBEmpty/CXBEmpty.vue";
6 7
 
7 8
 const props = defineProps({
@@ -142,8 +143,9 @@ onUnmounted(() => {
142 143
   <div class="p-3 flex flex-col">
143 144
     <div v-if="state.list.length > 0" class="flex flex-col gap-3">
144 145
       <div v-for="(orderItem, index) in state.list" :key="index">
145
-        <OrderItem :receivegoods="0" :order-item="orderItem" v-if="orderItem.source == 7" />
146
-        <OtherOrderItem :item="orderItem" v-else />
146
+		  {{orderItem.status }}
147
+       <OrderItem :receivegoods="0" :order-item="orderItem" v-if="orderItem.source == 7" />
148
+		<OtherOrderItem :item="orderItem" v-else />
147 149
       </div>
148 150
       <div class=" flex justify-center items-center text-[12px] text-gray-500" v-if="state.list && state.list.length > 0">
149 151
         <div v-if="state.status === 'loading'">

+ 23 - 1
src/pages/order/components/OrderObligationItem.vue

@@ -116,8 +116,30 @@ function handleCancelOrder() {
116 116
 
117 117
 function handlePayment() {
118 118
   const { orderItem } = props
119
+  console.log("====orderItem",orderItem);
120
+  
121
+let labItem = orderItem.fzone_paytype
122
+  let showPrice=''
123
+  if (labItem.type == 'b1') {
124
+  	showPrice = '¥' +labItem.price + 'VR+' + labItem.other + '积分'
125
+  } else if (labItem.type == 'b2') {
126
+  	showPrice = '¥' + labItem.price + '+' + labItem.other + '积分'
127
+  } else if (labItem.type == 'b3') {
128
+  	showPrice = '¥' + labItem.price + 'VR+' + labItem.other + '京豆'
129
+  } else if (labItem.type == 'b4') {
130
+  	showPrice = '¥' + labItem.price + '+' + labItem.other + '京豆'
131
+  }  else if (labItem.type == 'b5'|| labItem.type == 'a1') {
132
+  	showPrice = '¥' +labItem.price + 'VR'
133
+  } else if (labItem.type == 'b6' ||  labItem.type == 'a2') {
134
+  	showPrice= '¥' + labItem.price
135
+  }else if (labItem.type == 'c1') {
136
+  	showPrice = '¥' +labItem.price +  '复购金'
137
+  }else if(labItem.type == 'a3'){
138
+  	showPrice = '¥' + labItem.price +'+'+  labItem.other + 'VR'
139
+  
140
+  }
119 141
   uni.navigateTo({
120
-    url: '/pages/payment/index?' + `pay_price=${orderItem.pay_price}&order_id=${orderItem.group_order_id}&OrderList=${JSON.stringify(orderItem)}&tabIndex=${props.tabValue}`
142
+    url: '/pages/payment/index?' + `pay_price=${showPrice}&order_id=${orderItem.group_order_id}&OrderList=${JSON.stringify(orderItem)}&tabIndex=${props.tabValue}`
121 143
     // url: `/pages/payment/index`
122 144
   })
123 145
 }

+ 2 - 1
src/pages/order/index.vue

@@ -52,10 +52,11 @@ const state = reactive({
52 52
 const nomore = ref('')
53 53
 const toshow = ref(false)
54 54
 onLoad(options => {
55
-  console.log('我是options》》', options)
55
+  
56 56
   if (options && options.tabIndex) {
57 57
     state.tabvalue = options.tabIndex
58 58
   }
59
+  console.log('我是options》》', state.tabvalue)
59 60
   if (options && options.from) {
60 61
     state.from = options.from
61 62
   }

+ 6 - 6
src/pages/payment/index.vue

@@ -72,15 +72,15 @@ function handleConfirm() {
72 72
     success(res) {
73 73
 		console.log("res===",res);
74 74
       // 打开成功
75
-      uni.showToast({
76
-        title: '跳转成功',
77
-      })
75
+      // uni.showToast({
76
+      //   title: '跳转成功',
77
+      // })
78 78
     },
79 79
     fail(err) {
80 80
       // 打开失败/取消
81
-      uni.showToast({
82
-        title: '跳转不成功',
83
-      })
81
+      // uni.showToast({
82
+      //   title: '跳转不成功',
83
+      // })
84 84
     },
85 85
   })
86 86
 }

+ 7 - 11
src/pages/pension_choice_platform/index.vue

@@ -1,5 +1,5 @@
1 1
 <script lang="ts" setup>
2
-import {CDN_URL} from "~/config/app";
2
+import {CDN_URL,IMG_CDN_URL,ICON_CDN_URL} from "~/config/app";
3 3
 
4 4
 const list = [{
5 5
   title: '京东',
@@ -14,21 +14,17 @@ const list = [{
14 14
   title: '苏宁易购',
15 15
   icon: CDN_URL + '/static/assets/suningyigou_d.png'
16 16
 }, {
17
-  type: '5',
18
-  title: '淘宝',
19
-  icon: CDN_URL + '/static/assets/taobaoyanglao_d.png'
20
-}, {
21
-  type: '9',
22
-  title: '抖音',
23
-  icon: CDN_URL + '/static/assets/douyin_d_230313.png'
24
-}, {
25 17
   type: '1',
26 18
   title: '拼多多',
27 19
   icon: CDN_URL + '/static/assets/pinduoduo_d.png'
28 20
 }, {
29 21
   type: '90',
30
-  title: '华夏幸福保',
31
-  icon: CDN_URL + '/static/assets/cxb_logo_230316.png'
22
+  title: '幸福保',
23
+  icon: IMG_CDN_URL + 'logo_220607.png'
24
+}, {
25
+  type: '10',
26
+  title: '话费充值',
27
+  icon: ICON_CDN_URL + 'icon_recharge.png'
32 28
 }]
33 29
 
34 30
 function handleItemClick(item) {

+ 6 - 2
src/pages/pension_record/list.vue

@@ -6,8 +6,10 @@ import CXBYaojinTag from "~/components/CXBYaojinTag/CXBYaojinTag.vue";
6 6
 import {encodeBase64} from "~/utils/http/helper";
7 7
 import CXBEmpty from "~/components/CXBEmpty/CXBEmpty.vue";
8 8
 import {searchProductList} from "~/apis/product";
9
+import {CDN_URL,IMG_CDN_URL,ICON_CDN_URL} from "~/config/app";
9 10
 
10 11
 const list = ref([])
12
+const defaultImg =ref(ICON_CDN_URL + 'icon_recharge.png')
11 13
 const state = reactive({
12 14
   type: '',
13 15
 
@@ -21,6 +23,8 @@ const state = reactive({
21 23
 })
22 24
 onLoad((options) => {
23 25
   state.type = options.type
26
+  
27
+  console.log("=== state.type",state.type);
24 28
   loadList('reload')
25 29
 })
26 30
 
@@ -272,7 +276,7 @@ function handleItemClick(item) {
272 276
           @tap="handleItemClick(item)"
273 277
           v-for="(item, index) in state.list" :key="index" class="bg-white rounded p-3 text-[12px]">
274 278
         <div class="flex items-center gap-3 text-[12px]">
275
-          <image :src="item.goods_img" mode="widthFix" class="w-15 h-15"></image>
279
+          <image :src="state.type==10?defaultImg:item.goods_img" mode="widthFix" class="w-15 h-15"></image>
276 280
           <div class="flex flex-col">
277 281
             <div class=" text-[12px] line-clamp-2 w-[90%]">{{ item.goods_name }}</div>
278 282
             <CXBYaojinTag :amount="item.yanglao"/>
@@ -287,7 +291,7 @@ function handleItemClick(item) {
287 291
           </div>
288 292
           <div class="flex justify-between items-center">
289 293
             <div>
290
-              养老金来源:购买商品
294
+              养老金来源:{{state.type==10?'话费充值':'购买商品'}}
291 295
             </div>
292 296
             <div class="flex items-center text-gray">
293 297
               <div>详情</div>

+ 43 - 5
src/pages/setting/index.vue

@@ -5,7 +5,10 @@ import CXBBasePage from "~/components/CXBBasePage/CXBBasePage.vue";
5 5
 import {reLogin} from "~/apis/user";
6 6
 
7 7
 const modalVisible = ref(false)
8
-const list = [{
8
+const list =ref( [{
9
+  title: '设置密码',
10
+  url: '/subPages/pages/user/changePwd'
11
+},{
9 12
   title: '反馈回复',
10 13
   url: '/subPages/pages/feedback/index'
11 14
 }, {
@@ -29,15 +32,50 @@ const list = [{
29 32
 }, {
30 33
   title: '隐私协议',
31 34
   url: '/pages/webview/agreement?type=1'
35
+},{
36
+  title: '清除缓存',
37
+  url: '/pages/webview/agreement?type=1'
32 38
 }, {
33 39
   title: '账号注销',
34 40
   url: '/pages/account-cancel/index'
35
-}]
41
+}])
42
+
43
+onLoad(()=>{
44
+	let storageInfo = uni.getStorageInfoSync()
45
+	console.log(storageInfo)
46
+    console.log(storageInfo.currentSize)
47
+	list.value[9].title =`清除缓存(${storageInfo.currentSize}KB)`
48
+})
36 49
 
37 50
 function handleClick(item: any) {
38
-  uni.navigateTo({
39
-    url: item.url
40
-  })
51
+	if(item.title.indexOf('清除缓存')!=-1){
52
+		uni.showModal({
53
+			title:'温馨提示',
54
+			content:'是否清除本地缓存',
55
+			complete: (res) => {
56
+				if(res.confirm){
57
+					uni.showToast({
58
+					  title: '修改成功',
59
+					  icon: 'none'
60
+					}).then(() => {
61
+					  setTimeout(() => {
62
+						  uni.clearStorageSync()
63
+					    const userStore = useUserStore()
64
+					    userStore.logout()
65
+					    uni.switchTab({
66
+					        url: '/pages/home/index'
67
+					    })
68
+					  }, 200)
69
+					})
70
+				}
71
+			}
72
+		})
73
+	}else {
74
+		uni.navigateTo({
75
+		  url: item.url
76
+		})
77
+	}
78
+ 
41 79
 }
42 80
 
43 81
 function handleLogout() {

+ 2 - 2
src/subPages/pages/order/third-order.vue

@@ -41,7 +41,7 @@
41 41
 </template>
42 42
 <script setup lang="ts">
43 43
 import CXBEmpty from "~/components/CXBEmpty/CXBEmpty.vue";
44
-import {getOrderListFromStatus, getThirdOrder} from "~/apis/order.api";
44
+import {getOrderListFromStatus, getThirdOrderNew} from "~/apis/order.api";
45 45
 import FPrice from "~/components/FPrice/FPrice.vue";
46 46
 import CXBBasePage from "~/components/CXBBasePage/CXBBasePage.vue";
47 47
 import OtherOrderItem from "~/pages/order/components/OtherOrderItem.vue";
@@ -163,7 +163,7 @@ function loadList(action: 'page' | 'reload', callback?: (items) => void) {
163 163
     params.keyword = state.keyword
164 164
   }
165 165
 
166
-  getThirdOrder({
166
+  getThirdOrderNew({
167 167
     page: state.currentPage,
168 168
     limit: state.pageSize,
169 169
     type: state.type,

+ 9 - 4
src/subPages/pages/phone-bill/index.vue

@@ -16,9 +16,14 @@
16 16
 				</view>
17 17
 			</view>
18 18
 			<text class="bottom-title">特别提醒:</text>
19
-			<text class="bottom-title">为了给大家带来更多的优惠,我们会结合三大运营商的市场政策,话费可能有阶段性的上下浮动,请大家多多理解~</text>
20
-			<text class="bottom-title">需要特别提醒大家,在充值时一定要仔细核对电话号码,一旦充错号码,费用无法追回,还望大家多多留意,避免给自己造成不必要的损失</text>
21
-			<text class="bottom-title">关于话费到账时间,一般时1-72小时内,若到账时间稍有延迟,也请您耐心等待</text>
19
+			<text class="bottom-title">1、为了给大家带来更多的优惠,我们会结合三大运营商的市场政策,话费可能会有阶段性的上下浮动,请大家多多理解。</text>
20
+			<text class="bottom-title">2、需要提别提醒大家,在充值时一定要仔细核对充值号码,一旦充错号码,费用无法追回,还望大家多多留意,避免给自己造成不必要的损失。</text>
21
+			<text class="bottom-title">3、不支持虚拟号,空号,携号转网,集团代充值号码,副卡充值,一旦提交无法修改,退款,不支持售后。</text>
22
+			<text class="bottom-title">4、如果同一个号码需要提交多笔充值,必须等前一笔充值成功才能提交下一笔,否则造成纠纷不做售后处理。</text>
23
+			<text class="bottom-title">5、若您已在我司提交充值,请勿再提交其他渠道充包括但不限于微信支付等渠道,否则售后不处理。</text>
24
+			<text class="bottom-title">6、月初月末订单量巨大,会导致充值到账延迟,并且会加长充值时间呢,请错峰提交。</text>
25
+			<text class="bottom-title">7、该充值为慢充,1~72小时到账,急用勿充。</text>
26
+			<text class="bottom-title">8、若发现充值话费72小时未到账,请及时与我们客服联系。</text>
22 27
 		</view>
23 28
 		
24 29
 		<view @click="onSubmitClick" class="bottom-btn">立即购买</view>
@@ -235,7 +240,7 @@
235 240
 			.bottom-title{
236 241
 				font-size: 26rpx;
237 242
 				color: #333;
238
-				margin-bottom: 30rpx;
243
+				margin-bottom: 10rpx;
239 244
 			}
240 245
 			.lab-content{
241 246
 				display: flex;

+ 3 - 2
src/subPages/pages/store/product/other.vue

@@ -145,7 +145,7 @@ function mergeProductDetail(data: Partial<IProductDetail> = {}) {
145 145
 }
146 146
 function mergeProductDetailclone(data: Partial<IProductDetail> = {}) {
147 147
   detail.value = merge(detailclone.value, data)
148
-  // console.log(detail.value);
148
+  console.log("mergeProductDetailclone===",detail.value);
149 149
 }
150 150
 
151 151
 function loadProductDetail(product: Partial<IProductDetail>) {
@@ -278,8 +278,9 @@ function loadProductDetail(product: Partial<IProductDetail>) {
278 278
           images: product.goodsDetailPictures,
279 279
           mallName: '唯品自营',
280 280
           ...product,
281
-          ...res,
281
+          ...data,
282 282
         })
283
+		
283 284
         if (product.couponInfo) {
284 285
           mergeProductDetailclone({
285 286
             coupon: {

+ 1 - 1
src/subPages/pages/user/about/index.vue

@@ -27,7 +27,7 @@ onLoad(() => {
27 27
     </div>
28 28
     <div class="absolute bottom-0 pb-safe w-full">
29 29
       <div class="text-center text-xs flex flex-col text-gray">
30
-        地址:北京市通州区北京经开壹中心14号楼<br />北京天地博爱科技有限公司 <br />客服电话:4000013088 <br />Email:tdba@tiandiboa
30
+        地址:北京市通州区经济技术开发区南区漷兴三街1号-B2178室<br />北京融合华夏数字文化科技有限公司 <br />客服电话:4000013088 
31 31
       </div>
32 32
     </div>
33 33
   </CXBBasePage>

+ 240 - 0
src/subPages/pages/user/changePwd.vue

@@ -0,0 +1,240 @@
1
+<template>
2
+	<div  class="login-container">
3
+		<view class="input-content" >
4
+			<nut-input  v-model="state.phone" placeholder="请输入手机号" clearable type="number">
5
+				<template #right>
6
+					<nut-button type='primary' size="small" @click="handleGetCode" :loading="state.isAuthVerify">
7
+						{{ state.buttonText }}
8
+					</nut-button>
9
+				</template>
10
+			</nut-input>
11
+			
12
+			<nut-input v-model="state.code" placeholder="请输入验证码" clearable type="number">
13
+			</nut-input>
14
+			
15
+			<nut-input v-model="state.pwd" placeholder="请输入密码" clearable type="number">
16
+			</nut-input>
17
+			
18
+			<nut-input v-model="state.newPwd" placeholder="请再次输入密码" clearable type="number">
19
+			</nut-input>
20
+		</view>
21
+		<div class="flex w-full" >
22
+			<div class="p-3 w-full">
23
+				<nut-button type="primary" @click="handleLogin" block :disabled="!isFormVerify">确定</nut-button>
24
+			</div>
25
+		</div>
26
+	</div>
27
+</template>
28
+<script setup lang="ts">
29
+	import {authVerify } from "~/apis/auth.api";
30
+	import {apiChangePwd} from "~/apis/user";
31
+	import Cache from "~/utils/cache";
32
+	import { IMG_CDN_URL } from '~/config/app'
33
+	import { useUserStore } from "~/stores/userStore";
34
+	const state = reactive({
35
+		phone: '',
36
+		code: '',
37
+		spread: '',
38
+		pwd: '',
39
+		newPwd:'',
40
+		isAuthVerify: false,
41
+		buttonText: '获取验证码',
42
+	})
43
+	
44
+	
45
+
46
+	function sendCode() {
47
+		if (state.isAuthVerify) return
48
+		state.isAuthVerify = true
49
+		let n = 60;
50
+		state.buttonText = "剩余 " + n + "s";
51
+		const run = setInterval(() => {
52
+			n = n - 1;
53
+			if (n < 0) {
54
+				clearInterval(run);
55
+				n = 0
56
+			}
57
+			state.buttonText = "剩余 " + n + "s";
58
+			if (state.buttonText === "剩余 " + 0 + "s") {
59
+				state.isAuthVerify = false;
60
+				state.buttonText = "重新获取";
61
+			}
62
+		}, 1000);
63
+	}
64
+
65
+	const isFormVerify = computed(() => {
66
+		if (state.phone !== '' && state.code !== '') {
67
+			return true
68
+		}
69
+	})
70
+	
71
+	
72
+	
73
+	function handleGetCode() {
74
+		if (!state.phone) {
75
+			return uni.showToast({
76
+				title: '请填写手机号码',
77
+				icon: 'none'
78
+			})
79
+		}
80
+		if (!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(state.phone)) {
81
+			return uni.showToast({
82
+				title: '请输入正确的手机号码',
83
+				icon: 'none'
84
+			})
85
+		}
86
+
87
+		state.isAuthVerify = true
88
+		authVerify(state.phone).then(res => {
89
+			state.isAuthVerify = false
90
+			sendCode()
91
+		}).catch(res => {
92
+		})
93
+	}
94
+	
95
+	
96
+	function handleLogin() {
97
+		uni.showLoading({
98
+			title: '提交中...'
99
+		});
100
+		
101
+		if (!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(state.phone)) {
102
+			return uni.showToast({
103
+				title: '请输入正确的手机号码',
104
+				icon: 'none'
105
+			})
106
+		}
107
+		
108
+		if(state.pwd != state.newPwd){
109
+			uni.showToast({
110
+				title:'两次密码不一致',
111
+				icon:'none'
112
+			})
113
+			return
114
+		}
115
+		
116
+		let params = {
117
+			account: state.phone,
118
+			password: state.pwd,
119
+			captcha:state.code
120
+		}
121
+		apiChangePwd({
122
+			...params
123
+		}).then(authRes => {
124
+			uni.showToast({
125
+			  title: '修改成功',
126
+			  icon: 'none'
127
+			}).then(() => {
128
+			//	uni.$emit('isUploadInfo')
129
+			  setTimeout(() => {
130
+			    const userStore = useUserStore()
131
+			    userStore.logout()
132
+			    uni.switchTab({
133
+			        url: '/pages/home/index'
134
+			    })
135
+			  }, 200)
136
+			})
137
+		}).catch((errorMsg) => {
138
+			console.log(errorMsg)
139
+			uni.showToast({
140
+				title: errorMsg,
141
+				icon: 'none'
142
+			})
143
+		})
144
+	}
145
+	
146
+	
147
+</script>
148
+
149
+<route lang="yaml">
150
+style:
151
+  navigationBarTitleText: 密码设置
152
+</route>
153
+
154
+<style>
155
+	page {
156
+		background: #f8f8f8;
157
+	}
158
+</style>
159
+<style scoped lang="scss">
160
+	.login-container {
161
+		display: flex;
162
+		flex-direction: column;
163
+		
164
+		
165
+		.phone-content{
166
+			display: flex;
167
+			flex-direction: column;
168
+			margin-top: 20rpx;
169
+			padding-top: 48rpx;
170
+			padding-left: 40rpx;
171
+			background: #FFFFFF;
172
+			border-radius: 8rpx 8rpx 0rpx 0rpx;
173
+		}
174
+		
175
+		.item-title{
176
+			font-size:22rpx ;
177
+			color: #7B7B7B;
178
+			margin-bottom: 28rpx;
179
+		}
180
+		
181
+		.item-value{
182
+			font-size:30rpx ;
183
+			color: #333;
184
+		}
185
+		
186
+		.item-content{
187
+			display: flex;
188
+			width: 100%;
189
+			flex-direction: row;
190
+			align-items: center;
191
+			
192
+		}
193
+		.item-line{
194
+			height: 1rpx;
195
+			color: #D8D8D8;
196
+			width: 100%;
197
+			margin-top: 36rpx;
198
+			margin-bottom: 36rpx;
199
+		}
200
+
201
+		.input-content {
202
+			display: flex;
203
+			flex-direction: column;
204
+			width:100%;
205
+		}
206
+
207
+		.logo-icon {
208
+			width: 200rpx;
209
+			height: 200rpx;
210
+			margin-top: 160rpx;
211
+			margin-bottom: 120rpx;
212
+		}
213
+
214
+		.choose-content {
215
+			display: flex;
216
+			flex-direction: row;
217
+			align-items: center;
218
+			margin-bottom: 20rpx;
219
+
220
+			.choose-item {
221
+				font-size: 32rpx;
222
+				color: #333;
223
+				padding: 20rpx;
224
+				font-weight: bolder;
225
+			}
226
+
227
+			.choose-default-item {
228
+				font-size: 32rpx;
229
+				color: #999;
230
+				padding: 20rpx;
231
+			}
232
+
233
+			.choose-line {
234
+				width: 1rpx;
235
+				background-color: #999;
236
+				height: 30rpx;
237
+			}
238
+		}
239
+	}
240
+</style>

+ 1 - 0
uni-pages.d.ts

@@ -138,6 +138,7 @@ interface NavigateToOptions {
138 138
        "/subPages/pages/search/index" |
139 139
        "/subPages/pages/search/search-dacang" |
140 140
        "/subPages/pages/submit-order/index" |
141
+       "/subPages/pages/user/changePwd" |
141 142
        "/subPages/pages/vr-list/index" |
142 143
        "/subPages/pages/withdrawal-record/index" |
143 144
        "/subPages/pages/order/components/AllItemList" |