Browse Source

加入卡单

master
前端-胡立永 9 months ago
parent
commit
c4b6b95590
4 changed files with 4 additions and 12 deletions
  1. +1
    -1
      locale/en.js
  2. +1
    -1
      locale/es.js
  3. +1
    -1
      locale/pt.js
  4. +1
    -9
      pages/order/order.vue

+ 1
- 1
locale/en.js View File

@ -106,7 +106,7 @@ export default {
"confirm_pay" : "Do you confirm payment?", "confirm_pay" : "Do you confirm payment?",
"ok" : "Confirm", "ok" : "Confirm",
"no" : "Cancel", "no" : "Cancel",
"Need": "Need to recharge",
"Need": "Balance after payment",
}, },
"center": { "center": {
"invtantion_code": "Invitation Code", "invtantion_code": "Invitation Code",


+ 1
- 1
locale/es.js View File

@ -106,7 +106,7 @@ export default {
"confirm_pay": "¿Confirma el pago?", "confirm_pay": "¿Confirma el pago?",
"ok": "confirmar", "ok": "confirmar",
"no": "cancelar", "no": "cancelar",
"Need": "Necesidad de recarga",
"Need": "Balance después del pago",
}, },
"center": { "center": {
"invtantion_code": "Código de invitación", "invtantion_code": "Código de invitación",


+ 1
- 1
locale/pt.js View File

@ -106,7 +106,7 @@ export default {
"confirm_pay": "Confirmar pagamento?", "confirm_pay": "Confirmar pagamento?",
"ok": "Confirmar", "ok": "Confirmar",
"no": "Cancelar", "no": "Cancelar",
"Need": "Quantidade necessária",
"Need": "Equilíbrio após o pagamento",
}, },
"center": { "center": {
"invtantion_code": "Código de Convite", "invtantion_code": "Código de Convite",


+ 1
- 9
pages/order/order.vue View File

@ -76,7 +76,7 @@
</view> </view>
</view> </view>
<view class="con" <view class="con"
v-if="item.state == 0 && isOrder"
v-if="item.state == 0 && userInfo.money < item.price"
style="margin-top: 10rpx; style="margin-top: 10rpx;
color: #f40;font-weight: 900;font-size: 28rpx;"> color: #f40;font-weight: 900;font-size: 28rpx;">
<view style="flex: 1;"> <view style="flex: 1;">
@ -164,14 +164,6 @@
parseInt(localStorage.getItem('orderIndex')) : 0 parseInt(localStorage.getItem('orderIndex')) : 0
localStorage.removeItem('orderIndex') localStorage.removeItem('orderIndex')
}, },
computed : {
isOrder(){
if(this.userInfo.isOpen == 'Y' &&
this.userInfo.orderNum == this.userInfo.encourageNum + 1){
return true
}
}
},
methods: { methods: {
getUserInfo() { getUserInfo() {
this.request('userInfo').then(res => { this.request('userInfo').then(res => {


Loading…
Cancel
Save