订单刷新 文字益处隐藏 店铺详情 提现

This commit is contained in:
1154079537 2024-05-16 14:12:36 +08:00
parent 189a7000b9
commit a96332fa2d
7 changed files with 52 additions and 21 deletions

View File

@ -308,12 +308,11 @@
} }
}, },
{ {
"path" : "pages/cashier/cashier", "path": "pages/cashier/cashier",
"style" : "style": {
{ "navigationBarTitleText": "收银",
"navigationBarTitleText" : "收银", "enablePullDownRefresh": true
"enablePullDownRefresh" : true }
}
} }
], ],
"subPackages": [{ "subPackages": [{
@ -1286,7 +1285,9 @@
{ {
"path": "orderList/index", "path": "orderList/index",
"style": { "style": {
"navigationBarTitleText": "订单列表" "navigationBarTitleText": "订单列表",
"enablePullDownRefresh": true
} }
}, },
{ {

View File

@ -466,6 +466,14 @@
this.getIndex(); this.getIndex();
}, },
onPullDownRefresh() {
this.loaded = false;
this.where.page = 1;
this.list = [];
this.getIndex();
},
methods: { methods: {
// //
statusParse(item) { statusParse(item) {
@ -522,12 +530,14 @@
that.loading = true; that.loading = true;
if (that.where.status == 6) { if (that.where.status == 6) {
getRefundOrderList(that.where, that.merId).then(res => { getRefundOrderList(that.where, that.merId).then(res => {
uni.stopPullDownRefresh();
that.loading = false; that.loading = false;
that.loaded = res.data.list.length < that.where.limit; that.loaded = res.data.list.length < that.where.limit;
that.list.push.apply(that.list, res.data.list); that.list.push.apply(that.list, res.data.list);
that.where.page = that.where.page + 1; that.where.page = that.where.page + 1;
}, err => { }, err => {
uni.stopPullDownRefresh();
that.$util.Tips({ that.$util.Tips({
title: err title: err
}); });
@ -539,6 +549,7 @@
that.list.push.apply(that.list, res.data.list); that.list.push.apply(that.list, res.data.list);
that.where.page = that.where.page + 1; that.where.page = that.where.page + 1;
}, err => { }, err => {
uni.stopPullDownRefresh();
that.$util.Tips({ that.$util.Tips({
title: err title: err
}); });
@ -550,11 +561,12 @@
that.loaded = res.data.list.length < that.where.limit; that.loaded = res.data.list.length < that.where.limit;
that.list.push.apply(that.list, res.data.list); that.list.push.apply(that.list, res.data.list);
that.where.page = that.where.page + 1; that.where.page = that.where.page + 1;
// console.log(that.list) uni.stopPullDownRefresh();
// console.log(that.list); // console.log(that.list);
}, },
err => { err => {
uni.stopPullDownRefresh();
that.$util.Tips({ that.$util.Tips({
title: err title: err
}); });

View File

@ -25,7 +25,7 @@
<view class="shop-type-list-item-con"> <view class="shop-type-list-item-con">
<view class="shop-type-list-item-con-item"> <view class="shop-type-list-item-con-item">
<view class="shop-type-list-item-con-key">变更商户</view> <view class="shop-type-list-item-con-key">变更商户</view>
<view class="shop-type-list-item-con-val">{{item.mer_name}}</view> <view class="shop-type-list-item-con-val line1">{{item.mer_name}}</view>
</view> </view>
<view class="shop-type-list-item-con-item"> <view class="shop-type-list-item-con-item">
<view class="shop-type-list-item-con-key">变更类型</view> <view class="shop-type-list-item-con-key">变更类型</view>
@ -171,6 +171,7 @@
.shop-type-list-item-con-val { .shop-type-list-item-con-val {
font-size: 26rpx; font-size: 26rpx;
color: #333333; color: #333333;
max-width: 360rpx;
} }
} }
} }

View File

@ -15,7 +15,7 @@
<view class="shop-type-con-item"> <view class="shop-type-con-item">
<view class="shop-type-con-item-info"> <view class="shop-type-con-item-info">
<view class="shop-type-con-item-info-label">变更商户</view> <view class="shop-type-con-item-info-label">变更商户</view>
<view class="shop-type-con-item-info-val">{{form.mer_name}}</view> <view class="shop-type-con-item-info-val line1">{{form.mer_name}}</view>
</view> </view>
<view class="shop-type-con-item-info"> <view class="shop-type-con-item-info">
<view class="shop-type-con-item-info-label">变更类型</view> <view class="shop-type-con-item-info-label">变更类型</view>
@ -171,6 +171,7 @@
.shop-type-con-item-info-label { .shop-type-con-item-info-label {
margin-right: 50rpx; margin-right: 50rpx;
max-width: 400rpx;
font-weight: 400; font-weight: 400;
font-size: 28rpx; font-size: 28rpx;
color: #666666; color: #666666;
@ -180,6 +181,7 @@
font-weight: 400; font-weight: 400;
font-size: 28rpx; font-size: 28rpx;
color: #333333; color: #333333;
max-width: 360rpx;
} }
} }

View File

@ -66,8 +66,8 @@
</navigator> </navigator>
<view class="section info"> <view class="section info">
<view class="item very"> <view class="item very">
<view class="name">店铺简介</view> <view class="name">店铺名称</view>
<view class="value">{{ store.mer_info }}</view> <view class="value">{{ store.mer_name }}</view>
</view> </view>
<view class="item very"> <view class="item very">
<view class="name">店铺地址</view> <view class="name">店铺地址</view>
@ -75,14 +75,22 @@
<view v-if="store.lat && store.long && mer_location == 1" class="iconfont icon-dingwei" <view v-if="store.lat && store.long && mer_location == 1" class="iconfont icon-dingwei"
@click="showMaoLocation(store.lat, store.long)"></view> @click="showMaoLocation(store.lat, store.long)"></view>
</view> </view>
<view v-if="store.service_phone" class="item"> <view v-if="store.service_phone" class="item">
<view class="name">联系电话</view> <view class="name">联系电话</view>
<view class="value">{{ store.service_phone }}</view> <view class="value">{{ store.service_phone }}</view>
</view> </view>
<view class="item"> <view class="item">
<view class="name">开店时间</view> <view class="name">开店时间</view>
<view class="value">{{ store.create_time | dateFormat }}</view> <view class="value">{{ store.create_time | dateFormat }}</view>
</view> </view>
<view class="item">
<view class="name">营业时间</view>
<view class="value">{{ store.mer_info.mer_take_time[0] +"-"+ store.mer_info.mer_take_time[1] }}
</view>
</view>
</view> </view>
<view :class="{ mask: popupShow }" @click="popupShow = false"></view> <view :class="{ mask: popupShow }" @click="popupShow = false"></view>
<view :class="{ 'popup-active': popupShow }" class="popup-qrcode"> <view :class="{ 'popup-active': popupShow }" class="popup-qrcode">
@ -372,6 +380,7 @@
margin-top: -35rpx; margin-top: -35rpx;
margin-right: 30rpx; margin-right: 30rpx;
image { image {
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -388,7 +397,7 @@
border-radius: 10rpx; border-radius: 10rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
background-color: #ffffff; background-color: #ffffff;
border-radius: 21rpx 21rpx ; border-radius: 21rpx 21rpx;
} }
.head { .head {

View File

@ -128,7 +128,7 @@
<text>点击提现</text> <text>点击提现</text>
</view> </view>
<view class="withdrawal-btn-wrap" v-if="bankList.length == 0 && progressCount > 0"> <view class="withdrawal-btn-wrap" v-if="bankList.length == 0 && progressCount > 0">
<text>点击查看提现进度</text> <text>点击查看审核进度</text>
</view> </view>
</view> </view>

View File

@ -52,12 +52,14 @@
<view style="margin-bottom: 10rpx;"> <view style="margin-bottom: 10rpx;">
审批人{{item.adminInfo.real_name?item.adminInfo.real_name:item.adminInfo.account?item.adminInfo.account:''}} 审批人{{item.adminInfo.real_name?item.adminInfo.real_name:item.adminInfo.account?item.adminInfo.account:''}}
</view> </view>
<view class="audit-info-txt" v-if="item.is_check == 2">审核不通过{{item.fail_msg}}</view> <view class="audit-info-txt" v-if="item.is_check == 2">
<view style="text-align: right;color:#46B03A;font-weight: bold;" v-if="item.is_check == 2" 审核不通过{{item.fail_msg}}
@click="handleToUpdate(item)">
去修改
</view> </view>
</view> </view>
<view style="text-align: right;color:#46B03A;font-weight: bold;font-size: 26rpx;"
v-if="item.is_check == 2" @click="handleToUpdate(item)">
去修改
</view>
</view> </view>
</view> </view>
</view> </view>
@ -181,7 +183,7 @@
} }
.shop-type-con-progress-right { .shop-type-con-progress-right {
flex: 1; width: 88%;
margin-bottom: 40rpx; margin-bottom: 40rpx;
&:nth-last-child(1) { &:nth-last-child(1) {
@ -223,6 +225,10 @@
.audit-info { .audit-info {
font-size: 22rpx; font-size: 22rpx;
color: #666666; color: #666666;
.audit-info-txt {
word-break: break-all;
}
} }
} }
} }