improve: 移动端问题处理

This commit is contained in:
From-wh 2023-03-23 14:02:53 +08:00
parent bed6e22a21
commit c963500a95
7 changed files with 2219 additions and 2223 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -718,7 +718,6 @@
.order-details .wrapper .item .conter {
color: #868686;
width: 500upx;
text-align: right;
}

View File

@ -1,13 +1,13 @@
<template>
<view class="chat-box" :style="colorStyle">
<!-- #ifdef MP -->
<view class="head-box">
<!-- <view class="head-box">
<view class="system-head" :style="{ height: sysHead }"></view>
<view class="title-hd">
<view class="iconfont icon-fanhui" @click="goBack"></view>
<view>{{ titleName }}</view>
</view>
</view>
</view> -->
<!-- #endif -->
<view class="broadcast-details_order">
<!-- 商品信息 -->

View File

@ -59,6 +59,7 @@
<view class='noCommodity' v-if="productList.length==0 && where.page > 1">
<view class='emptyBox'>
<image :src="imgHost + '/statics/images/no-thing.png'"></image>
<view class="tips">{{$t(`暂无商品,去看点别的吧`)}}</view>
</view>
<recommend :hostProduct="hostProduct"></recommend>
</view>

View File

@ -38,9 +38,11 @@
<view @tap="goOrderDetails" v-if="status==0">
<button formType="submit" class='returnBnt bg-color' hover-class='none'>{{$t(`查看订单`)}}</button>
</view>
<view @tap="getOrderPayInfo" v-if="payType == 'ALLINPAY_PAY'">
<!-- #ifdef H5 -->
<view @tap="getOrderPayInfo" v-if="order_pay_info.paid==0">
<button class='returnBnt bg-color' hover-class='none'>{{$t(`刷新支付状态`)}}</button>
</view>
<!-- #endif -->
<view @tap="goOrderDetails" v-if="order_pay_info.paid==0 && status==1">
<button class='returnBnt bg-color' hover-class='none'>{{$t(`重新购买`)}}</button>
</view>

View File

@ -529,30 +529,30 @@
})
},
getphonenumber(e) {
Routine.getCode()
.then(code => {
let data = {
code,
iv: e.detail.iv,
encryptedData: e.detail.encryptedData,
}
mpBindingPhone(data).then(res => {
this.getUserInfo()
this.$util.Tips({
title: res.msg,
icon: 'success'
});
}).catch(err => {
return this.$util.Tips({
title: err
});
if (e.detail.errMsg == 'getPhoneNumber:ok') {
Routine.getCode()
.then(code => {
let data = {
code,
iv: e.detail.iv,
encryptedData: e.detail.encryptedData,
}
mpBindingPhone(data).then(res => {
this.getUserInfo()
this.$util.Tips({
title: res.msg,
icon: 'success'
});
}).catch(err => {
return this.$util.Tips({
title: err
});
})
})
})
.catch(error => {
uni.hideLoading();
});
console.log(e)
.catch(error => {
uni.hideLoading();
});
}
},
/**
* 获取个人用户信息