个人订单
Showing
5 changed files
with
16 additions
and
8 deletions
| 1 | // dev | 1 | // dev |
| 2 | // const baseUrl_api = 'http://192.168.1.125:8787' | 2 | const baseUrl_api = 'http://192.168.1.134:8787' |
| 3 | // const baseUrl_api = 'http://47.98.186.233:8787' | 3 | // const baseUrl_api = 'http://47.98.186.233:8787' |
| 4 | const baseUrl_api = 'https://tk001.wxjylt.com/stage-api/' | 4 | // const baseUrl_api = 'https://tk001.wxjylt.com/stage-api/' |
| 5 | const loginImage_api = 'https://tk001.wxjylt.com/stage-api' | 5 | const loginImage_api = 'https://tk001.wxjylt.com/stage-api' |
| 6 | const payUrl = 'https://wxpay.cmbc.com.cn/mobilePlatform/appserver/lcbpPay.do' | 6 | const payUrl = 'https://wxpay.cmbc.com.cn/mobilePlatform/appserver/lcbpPay.do' |
| 7 | 7 | ... | ... |
| ... | @@ -110,13 +110,16 @@ | ... | @@ -110,13 +110,16 @@ |
| 110 | const searchNoData = ref(false) | 110 | const searchNoData = ref(false) |
| 111 | const pageType = ref('') | 111 | const pageType = ref('') |
| 112 | onLoad((option) => { | 112 | onLoad((option) => { |
| 113 | if(option.pageType ){ | 113 | if(option.pageType){ |
| 114 | pageType.value = option.pageType || '' | 114 | pageType.value = option.pageType || '' |
| 115 | }else{ | 115 | } |
| 116 | if(option.chosen){ | ||
| 116 | chosen = JSON.parse(decodeURIComponent(option.chosen || '[]')) | 117 | chosen = JSON.parse(decodeURIComponent(option.chosen || '[]')) |
| 117 | ec = option.ec | ||
| 118 | } | 118 | } |
| 119 | 119 | if(option.ec){ | |
| 120 | ec = option.ec | ||
| 121 | } | ||
| 122 | |||
| 120 | getList() | 123 | getList() |
| 121 | }) | 124 | }) |
| 122 | onShow(()=> { | 125 | onShow(()=> { | ... | ... |
| ... | @@ -1029,10 +1029,15 @@ function checkDialogs() { | ... | @@ -1029,10 +1029,15 @@ function checkDialogs() { |
| 1029 | const memberInfoData = app.globalData.memberInfo || {} | 1029 | const memberInfoData = app.globalData.memberInfo || {} |
| 1030 | 1030 | ||
| 1031 | // 密码长期未更新提示: changePassFlag='1' && activeStatus=1 && authenticationStatus=2 | 1031 | // 密码长期未更新提示: changePassFlag='1' && activeStatus=1 && authenticationStatus=2 |
| 1032 | // 只提示一次 | ||
| 1032 | if (app.globalData.changePassFlag == '1' && | 1033 | if (app.globalData.changePassFlag == '1' && |
| 1033 | app.globalData.memberInfo?.activeStatus == '1' && | 1034 | app.globalData.memberInfo?.activeStatus == '1' && |
| 1034 | app.globalData.authenticationStatus == 2) { | 1035 | app.globalData.authenticationStatus == 2) { |
| 1035 | passwordTipPopup.value.open() | 1036 | const hasShown = uni.getStorageSync('passwordTipShown') |
| 1037 | if (!hasShown) { | ||
| 1038 | uni.setStorageSync('passwordTipShown', true) | ||
| 1039 | passwordTipPopup.value.open() | ||
| 1040 | } | ||
| 1036 | } | 1041 | } |
| 1037 | 1042 | ||
| 1038 | // 绑定手机号条件: changePassFlag='1' && activeStatus=1 && authenticationStatus=2 && phonenumber为空 && checkFlag=1 | 1043 | // 绑定手机号条件: changePassFlag='1' && activeStatus=1 && authenticationStatus=2 && phonenumber为空 && checkFlag=1 | ... | ... |
| ... | @@ -454,7 +454,7 @@ const goToOrder = () => { | ... | @@ -454,7 +454,7 @@ const goToOrder = () => { |
| 454 | return | 454 | return |
| 455 | } | 455 | } |
| 456 | uni.navigateTo({ | 456 | uni.navigateTo({ |
| 457 | url: '/personal/order' | 457 | url: '/personal/order?perId=' + userInfo.value.perId |
| 458 | }); | 458 | }); |
| 459 | }; | 459 | }; |
| 460 | 460 | ... | ... |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment