|
@@ -31,7 +31,7 @@
|
|
|
<text>{{number||0}}</text>
|
|
|
<u-image mode="scaleToFill" width="40rpx" height="40rpx" src="/static/ledou.png"></u-image>
|
|
|
</view>
|
|
|
- <u-button @click="handlePay" type="error" >确认支付</u-button>
|
|
|
+ <u-button :custom-style="btnStyle" @click="handlePay" type="error" >确认支付</u-button>
|
|
|
</view>
|
|
|
<!-- 确认支付弹窗 -->
|
|
|
<u-popup mode="center" closeable @close="closeModal" v-model="showPayModal" width="600rpx" >
|
|
@@ -63,7 +63,7 @@
|
|
|
/>
|
|
|
</view>
|
|
|
<view class="fot-btn">
|
|
|
- <u-button @click="confirm" type="error" >确认支付</u-button>
|
|
|
+ <u-button :custom-style="btnStyle" @click="confirm" type="error" >确认支付</u-button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</u-popup>
|
|
@@ -86,6 +86,9 @@
|
|
|
export default{
|
|
|
data() {
|
|
|
return {
|
|
|
+ btnStyle: {
|
|
|
+ backgroundColor : '#07c160'
|
|
|
+ },
|
|
|
showSetPswModal: false,
|
|
|
store: null, // 门店信息
|
|
|
remarks: '', // 备注
|
|
@@ -105,6 +108,10 @@
|
|
|
sellerFindByPartnerNo({officialPartnerNo: this.partnerNo}).then(res => {
|
|
|
if(res.status == 200){
|
|
|
this.store = res.data
|
|
|
+ } else {
|
|
|
+ setTimeout(()=>{
|
|
|
+ uni.navigateBack()
|
|
|
+ },500)
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -167,7 +174,7 @@
|
|
|
sellerReceive(data).then(res => {
|
|
|
console.log(res)
|
|
|
if(res.status == 200){
|
|
|
- uni.navigateTo({
|
|
|
+ uni.redirectTo({
|
|
|
url: '/pages/checkOut/checkFinish?num='+this.number
|
|
|
})
|
|
|
} else {
|