liudan 4 months ago
parent 1069c3aed9
commit 359e740708
  1. 13
      components/orderGoods/index.vue
  2. 6
      components/productWindow/index.vue
  3. 2
      pages.json
  4. 15
      pages/goods/cashier/index.vue
  5. 2
      pages/goods/goods_search/index.vue
  6. 44
      pages/goods/order_confirm/index.vue
  7. 29
      pages/goods/order_details/index.vue
  8. 102
      pages/goods/order_list/index.vue
  9. 12
      pages/goods_details/index.vue
  10. 45
      pages/user/index.vue
  11. 1
      pages/users/shiming/index.vue
  12. 1
      pages/users/user_address_list/index.vue
  13. 5
      pages/users/user_bill/index.vue
  14. 7
      pages/users/user_info/index.vue
  15. 14
      static/css/style.scss

@ -30,11 +30,13 @@
<view class='text'>
<view class='acea-row row-between-wrapper'>
<view class='name line2'>{{item.productInfo.store_name}}</view>
<view class='num'>x {{item.cart_num}}</view>
</view>
<view class='attr line1' v-if="item.productInfo.attrInfo">{{item.productInfo.attrInfo.suk}}
<view class='attr line1' style="display: flex;justify-content: space-between;align-items: center;" v-if="item.productInfo.attrInfo">
<text>{{item.productInfo.attrInfo.suk}}</text>
<view class='num'>x {{item.cart_num}}</view>
</view>
<view class='money font-color pic' v-if="item.productInfo.attrInfo">
<view class='money pic' style="color:#E48A4F" v-if="item.productInfo.attrInfo">
<text :class="{gray:!item.is_valid}">
{{$t(``)}}{{item.productInfo.attrInfo.price}}
</text>
@ -55,10 +57,10 @@
<view class='logistics' v-if="item.is_reply==0 && evaluate==3 && pid != -1 && isShow"
@click.stop="evaluateTap(item.unique,orderId)">
{{$t(`评价`)}}</view>
<view class='logistics'
<!-- <view class='logistics'
v-if="paid === 1 && refund_status === 0 && item.refund_num !=item.cart_num && !is_confirm && is_refund_available && isShow && (virtualType == 0 || (virtualType > 0 && statusType == 1))"
@click.stop="openSubcribe(item)">
{{$t(`申请退款`)}}</view>
{{$t(`申请退款`)}}</view> -->
<view class="rig-btn" v-if="status_type === 2 && index === cartInfo.length - 1 || !split">
<view v-if="delivery_type === 'express'" class="logistics" @click.stop="logistics(orderId)">{{$t(`查看物流`)}}
</view>
@ -257,6 +259,7 @@
background: #fff;
margin: 0 24rpx;
border-radius: 20rpx;
margin-top: 20rpx;
}
.goodWrapper{

@ -42,7 +42,7 @@
</view>
</view>
<view class="cart acea-row row-between-wrapper" v-if="!is_virtual">
<view class="title">{{$t(`数量`)}}</view>
<view class="title">{{$t(`数量`)}}<text style="margin-left:20rpx;color: #E4884E;font-size: 24rpx;">只能是{{stepNum}}的倍数</text></view>
<view class="carnum acea-row row-left">
<text class='stock' v-if="limitNum && !type">{{$t(`限购`)}}{{limitNum + unitName}}</text>
<text class='stock line' v-if='limitNum && !type && minQty > 1'> | </text>
@ -106,6 +106,10 @@
type: Number,
value: 0
},
stepNum:{
type: Number,
value: 1
},
minQty: {
type: Number,
value: 0

@ -497,7 +497,7 @@
{
"path": "user_info/index",
"style": {
"navigationBarTitleText": "设置",
"navigationBarTitleText": "账户管理",
"app-plus": {
// #ifdef APP-PLUS
"titleNView": {

@ -12,9 +12,9 @@
</view>
</view>
<view class="payment">
<view class="title">
<!-- <view class="title">
{{$t(`支付方式`)}}
</view>
</view> -->
<view class="item acea-row row-between-wrapper" v-for="(item,index) in cartArr" :key="index"
v-show='item.payStatus' @click="payType(item.number || 0, item.value, index)">
<view class="left acea-row row-between-wrapper">
@ -59,7 +59,8 @@
checked: false,
datatime: 1676344056,
//
cartArr: [{
cartArr: [
{
"name": this.$t(`微信支付`),
"icon": "icon-weixin2",
value: 'weixin',
@ -635,6 +636,8 @@
font-size: 34rpx;
font-weight: 500;
line-height: 41rpx;
position: relative;
top: -10rpx;
}
.num {
@ -665,7 +668,7 @@
.payment {
width: 690rpx;
border-radius: 14rpx 14rpx;
border-radius: 20rpx;
background-color: #fff;
z-index: 999;
margin: 0 30rpx;
@ -699,7 +702,7 @@
}
.icon-xuanzhong11 {
color: #E93323 !important;
color: #A8D178 !important;
}
.payment .item {
@ -788,7 +791,7 @@
height: 90rpx;
border-radius: 45rpx;
color: #FFFFFF;
background-color: #E93323;
background-color: #A8D178;
}

@ -350,7 +350,7 @@
}
.goodsContainer{
background: #F5F6F7;
// background: #F5F6F7;
padding: 24rpx;
.goodList {
background: #fff;

@ -186,29 +186,32 @@
</view>
</view>
<view class='moneyList'>
<view class='item acea-row row-between-wrapper'>
<view>{{$t(`总计`)}}</view>
<view class='item acea-row'>
<view class="monetItem">{{$t(`总计`)}}</view>
<view class='money'>
{{$t(``)}}{{allPrice || 0}}
</view>
</view>
<view class='item acea-row row-between-wrapper'>
<view>{{$t(`本次支付`)}}</view>
<view class='item acea-row'>
<view class="monetItem">{{$t(`本次支付`)}}</view>
<view class='money'>
{{$t(``)}}{{priceGroup.sum_price_ding || 0}}
<text style="font-size: 30rpx;color: #A8D178;">{{priceGroup.percentage}}定金</text>
<text style="font-size: 30rpx;color: #A8D178;margin-left:30rpx;">{{priceGroup.percentage||0}}定金</text>
</view>
</view>
<view class='item acea-row row-between-wrapper'>
<view>{{$t(`待支付尾款`)}}</view>
<view class='money'>
<view class='item acea-row'>
<view class="monetItem">{{$t(`待支付尾款`)}}</view>
<view class='money' style="color: #E48A4F;">
{{$t(``)}}{{priceGroup.sum_price_wei || 0}}
</view>
</view>
<view class='item acea-row row-between-wrapper'>
<view>{{$t(`销售编码`)}}</view>
<view class='item acea-row' style="align-items: center;">
<view class="monetItem">{{$t(`销售编码`)}}</view>
<view class='money'>
{{$t(``)}}{{allPrice || 0}}
<!-- {{$t(``)}}{{allPrice || 0}} -->
<input type="text" placeholder="请输入"
style="height: 71rpx;background: #F5F6F7;border-radius: 10rpx;border: 1px solid #EAEAEA;padding-left:25rpx;width:100%;"
v-model="xsbm" />
</view>
</view>
<!-- <view class='item acea-row row-between-wrapper'
@ -243,8 +246,11 @@
</view>
<view style='height:120rpx;'></view>
<view class='footer acea-row row-between-wrapper'>
<view>{{$t(`合计`)}}:
<text class='font-color'>{{$t(``)}}{{totalPrice || 0}}</text>
<view>{{$t(`本次支付`)}}:
<text style="font-size: 30rpx;">
<text style="color:#E48A4F;">{{$t(``)}}{{priceGroup.sum_price_ding || 0}}</text>
<text style="margin-left:30rpx;color: #A8D178;">{{priceGroup.percentage || 0}}定金</text>
</text>
</view>
<view class='settlement' style='z-index:100' @tap.stop="SubOrder"
v-if="(valid_count>0&&!discount_id) || (valid_count==cartInfo.length&&discount_id)">{{$t(`提交订单`)}}
@ -252,6 +258,7 @@
<view class='settlement bg-color-hui' style='z-index:100' v-else>{{$t(`提交订单`)}}</view>
</view>
</view>
<zmm-watermark></zmm-watermark>
<view class="alipaysubmit" v-html="formContent"></view>
<couponListWindow :coupon='coupon' @ChangCouponsClone="ChangCouponsClone" :openType='openType' :cartId='cartId'
@ChangCoupons="ChangCoupons"></couponListWindow>
@ -327,6 +334,7 @@
format: true
})
return {
xsbm:null,
confirm: '', //
date: this.$t(`请选择`),
time: this.$t(`请选择`),
@ -1123,6 +1131,7 @@
advanceId: that.advanceId,
seckill_id: that.seckillId,
mark: that.mark,
xsbm:that.xsbm,
store_id: that.system_store ? that.system_store.id : 0,
'from': that.from,
shipping_type: that.$util.$h.Add(that.shippingType, 1),
@ -1592,6 +1601,12 @@
margin-top: 12rpx;
background-color: #fff;
padding: 30rpx;
margin: 24rpx;
border-radius: 20rpx;
.monetItem{
color: #999999;
width:170rpx;
}
}
.order-submission .moneyList .item {
@ -1604,7 +1619,8 @@
}
.order-submission .moneyList .item .money {
color: #868686;
color: #333333;
font-size: 30rpx;
}
.order-submission .footer {

@ -47,7 +47,7 @@
<image src="@/static/images/line.jpg"></image>
</view>
<view v-if="isGoodsReturn == false">
<view class="nav">
<!-- <view class="nav">
<view class="navCon acea-row row-between-wrapper">
<view :class="status.type == 0 || status.type == -9 ? 'on' : ''">{{ $t(`待付款`) }}</view>
<view :class="status.type == 1 || status.type == 5 ? 'on' : ''">
@ -76,7 +76,7 @@
<view class="line" :class="status.type > 3 && status.type != 5 ? 'bg-color' : ''"></view>
<view class="iconfont" :class="(status.type == 4 ? 'icon-webicon318' : 'icon-yuandianxiao') + ' ' + (status.type >= 4 && status.type != 5 ? 'font-num' : '')"></view>
</view>
</view>
</view> -->
<!-- <view class="writeOff" v-if="orderInfo.shipping_type == 2 && orderInfo.paid"> -->
<view class="writeOff" v-if="orderInfo.verify_code && orderInfo.paid == 1">
@ -210,13 +210,13 @@
@openSubcribe="openSubcribe"
></orderGoods>
<!-- #ifdef H5 || APP-PLUS -->
<div class="goodCall" @click="goGoodCall">
<!-- <div class="goodCall" @click="goGoodCall">
<span class="iconfont icon-kefu"></span>
<span>{{ $t(`联系客服`) }}</span>
</div>
</div> -->
<!-- #endif -->
<!-- #ifdef MP -->
<div class="goodCall" @click="goGoodCall" v-if="routineContact == 0">
<!-- <div class="goodCall" @click="goGoodCall" v-if="routineContact == 0">
<button hover-class="none">
<span class="iconfont icon-kefu"></span>
<span>{{ $t(`联系客服`) }}</span>
@ -227,7 +227,7 @@
<span class="iconfont icon-kefu"></span>
<span>{{ $t(`联系客服`) }}</span>
</button>
</div>
</div> -->
<!-- #endif -->
<view class="wrapper" v-if="isReturen == 1">
<view class="item acea-row row-between">
@ -251,7 +251,7 @@
</view>
<view class="wrapper">
<view class="item acea-row row-between">
<view>{{ $t(`订单号`) }}</view>
<view>{{ $t(`订单`) }}</view>
<view class="conter acea-row row-middle row-right">
<text>{{ orderInfo.order_id }}</text>
<!-- #ifndef H5 -->
@ -263,7 +263,11 @@
</view>
</view>
<view class="item acea-row row-between">
<view>{{ $t(`下单时间`) }}</view>
<view>{{ $t(`定金时间`) }}</view>
<view class="conter">{{ (orderInfo.add_time_y || '') + ' ' + (orderInfo.add_time_h || 0) }}</view>
</view>
<view class="item acea-row row-between">
<view>{{ $t(`尾款时间`) }}</view>
<view class="conter">{{ (orderInfo.add_time_y || '') + ' ' + (orderInfo.add_time_h || 0) }}</view>
</view>
<view class="item acea-row row-between">
@ -422,13 +426,13 @@
{{ $t(`取消订单`) }}
</view>
<view class="bnt bg-color" v-if="status.type == 0" @tap="pay_open(orderInfo.order_id)">{{ $t(`立即付款`) }}</view>
<view
<!-- <view
@click="openSubcribe(`/pages/goods/${cartInfo.length > 1 ? 'goods_return_list' : 'goods_return'}/index?orderId=` + orderInfo.order_id + '&id=' + orderInfo.id)"
class="bnt cancel"
v-else-if="orderInfo.is_apply_refund && orderInfo.refund_status == 0 && cartInfo.length > 1 && !orderInfo.virtual_type && orderInfo.is_refund_available"
>
{{ cartInfo.length > 1 ? $t(`批量退款`) : $t(`申请退款`) }}
</view>
</view> -->
<navigator
class="bnt cancel"
v-if="orderInfo.delivery_type == 'express' && status.class_status == 3 && status.type == 2 && !split.length"
@ -469,6 +473,7 @@
</view>
</view>
<home v-show="!aleartStatus && !invShow"></home>
<zmm-watermark></zmm-watermark>
<view class="mask" v-if="refund_close" @click="refund_close = false"></view>
<!-- <view class="refund-input" :class="refund_close ? 'on' : ''">
<view class="input-msg">
@ -1544,6 +1549,8 @@ export default {
background-color: #fff;
margin-top: 12rpx;
padding: 30rpx;
margin: 24rpx;
border-radius: 20rpx;
}
.order-details .wrapper .acea-row {
@ -2035,7 +2042,7 @@ export default {
}
.order-details .wrapper .item ~ .item {
margin-top: 20rpx;
margin-top: 30rpx;
}
.order-details .wrapper .item .conter {

@ -1,7 +1,7 @@
<template>
<view :style="colorStyle">
<view class="my-order">
<view class="header bg-color">
<!-- <view class="header bg-color">
<view class="picTxt acea-row row-between-wrapper">
<view class="text">
<view class="name">{{$t(`订单信息`)}}</view>
@ -13,27 +13,31 @@
<image src="../static/orderTime.png"></image>
</view>
</view>
</view>
</view> -->
<view class="nav acea-row row-around">
<view class="item" :class="orderStatus == 9 ? 'on' : ''" @click="statusClick(9)">
<view>{{$t(`全部`)}}</view>
<view class="num">{{ orderData.order_count || 0 }}</view>
<!-- <view class="num">{{ orderData.order_count || 0 }}</view> -->
</view>
<view class="item" :class="orderStatus == 0 ? 'on' : ''" @click="statusClick(0)">
<view>{{$t(`待付`)}}</view>
<view class="num">{{ orderData.unpaid_count || 0 }}</view>
<view>{{$t(``)}}</view>
<!-- <view class="num">{{ orderData.unpaid_count || 0 }}</view> -->
</view>
<view class="item" :class="orderStatus == 1 ? 'on' : ''" @click="statusClick(1)">
<view>{{$t(`待发货`)}}</view>
<view class="num">{{ orderData.unshipped_count || 0 }}</view>
<view>{{$t(`备货中`)}}</view>
<!-- <view class="num">{{ orderData.unshipped_count || 0 }}</view> -->
</view>
<view class="item" :class="orderStatus == 6 ? 'on' : ''" @click="statusClick(6)">
<view>{{$t(`待付尾款`)}}</view>
<!-- <view class="num">{{ orderData.unshipped_count || 0 }}</view> -->
</view>
<view class="item" :class="orderStatus == 2 ? 'on' : ''" @click="statusClick(2)">
<view>{{$t(`待收货`)}}</view>
<view class="num ">{{ orderData.received_count || 0 }}</view>
<view>{{$t(`运输中`)}}</view>
<!-- <view class="num ">{{ orderData.received_count || 0 }}</view> -->
</view>
<view class="item" :class="orderStatus == 3 ? 'on' : ''" @click="statusClick(3)">
<view>{{$t(`待评价`)}}</view>
<view class="num">{{ orderData.evaluated_count || 0 }}</view>
<view>{{$t(`已完成`)}}</view>
<!-- <view class="num">{{ orderData.evaluated_count || 0 }}</view> -->
</view>
</view>
@ -53,19 +57,20 @@
<view>{{ item._add_time }}</view>
</view>
<view v-if="item._status._type == 9" class="font-color">{{$t(`线下付款,未支付`)}}</view>
<view v-else-if="item._status._type == 0" class="font-color">{{$t(`待付款`)}}</view>
<view v-if="item._status._type == 6" class="font-color">{{$t(`待付尾款`)}}</view>
<view v-else-if="item._status._type == 0" class="font-color">{{$t(`待支付`)}}</view>
<view v-else-if="item._status._type == 1 && item.shipping_type == 1" class="font-color">
{{$t(`待发货`)}}
{{$t(`备货中`)}}
<text v-if="item.refund.length">{{item.is_all_refund?$t(`退款中`):$t(`部分退款中`)}}</text>
</view>
<view v-else-if="item._status._type == 1 && item.shipping_type == 2" class="font-color">
{{$t(`待核销`)}}
<text v-if="item.refund.length">{{item.is_all_refund?$t(`退款中`):$t(`部分退款中`)}}</text>
</view>
<view v-else-if="item._status._type == 2" class="font-color">{{$t(`待收货`)}}
<view v-else-if="item._status._type == 2" class="font-color">{{$t(`运输中`)}}
<text v-if="item.refund.length">{{item.is_all_refund?$t(`退款中`):$t(`部分退款中`)}}</text>
</view>
<view v-else-if="item._status._type == 3" class="font-color">{{$t(`待评价`)}}
<view v-else-if="item._status._type == 3" class="font-color">{{$t(`已完成`)}}
<text v-if="item.refund.length">{{item.is_all_refund?$t(`退款中`):$t(`部分退款中`)}}</text>
</view>
<view v-else-if="item._status._type == 4" class="font-color">{{$t(`已完成`)}}
@ -85,14 +90,19 @@
<easy-loadimage mode="widthFix" :image-src="items.productInfo.image"></easy-loadimage>
<!-- <image :src="items.productInfo.image"></image> -->
</view>
<view class="text row-between">
<view class="text">
<text class="name line2">{{ items.productInfo.store_name }}</text>
<view class="money">
<view v-if="items.productInfo.attrInfo">
{{$t(``)}}{{ items.productInfo.attrInfo.price }}
<view v-if="items.productInfo.attrInfo" style="display: flex;justify-content: space-between;width: 100%;">
<text style="font-size: 26rpx;color: #E48A4F;">{{$t(``)}}{{ items.productInfo.attrInfo.price }}</text>
<view style="font-size: 30rpx;color: #333333;">x{{ items.cart_num }}</view>
</view>
<view v-else style="display: flex;justify-content: space-between;width: 100%;">
<text style="font-size: 26rpx;color: #E48A4F;">{{$t(``)}}{{ items.productInfo.price }}</text>
<view style="font-size: 30rpx;color: #333333;">x{{ items.cart_num }}</view>
</view>
<view v-else>{{$t(``)}}{{ items.productInfo.price }}</view>
<view>x{{ items.cart_num }}</view>
<view v-if="items.refund_num && item._status._type != -2" class="return">
{{ items.refund_num }}{{$t(`件退款中`)}}
</view>
@ -100,15 +110,18 @@
</view>
</view>
<view class="totalPrice">
{{$t(``)}}{{ item.total_num || 0 }}{{$t(`件商品,总金额`)}}
<text class="money">{{$t(``)}}{{ item.pay_price }}</text>
<text style="font-size: 24rpx;color: #999999;">总计<text style="color: #333333;">¥{{item.total_price}}</text></text>
<text style="font-size: 24rpx;color: #999999;margin:0 30rpx;">本次支付<text style="color: #E4884E;">¥{{item.pay_price}}</text></text>
<text style="color: #A8D178;font-size: 24rpx;">{{item.percentage}}定金</text>
<!-- {{$t(``)}}{{ item.total_num || 0 }}{{$t(`件商品,总金额`)}}
<text class="money">{{$t(``)}}{{ item.pay_price }}</text> -->
</view>
</view>
<view class="bottom acea-row row-right row-middle">
<view class="bnt cancelBnt" v-if="item._status._type == 0 || item._status._type == 9"
@click="cancelOrder(index, item.order_id)">{{$t(`取消订单`)}}</view>
<view class="bnt bg-color" v-if="item._status._type == 0"
@click="goPay(item.pay_price, item.order_id)">{{$t(`立即付款`)}}</view>
@click="goPay(item.pay_price, item.order_id)">{{$t(`支付定金`)}}</view>
<!-- <view class="bnt bg-color" v-else-if="item._status._type == 3"
@click="goOrderDetails(item.order_id)">去评价</view> -->
<!-- <view class="bnt bg-color"
@ -133,6 +146,7 @@
</view>
</view>
</view>
<zmm-watermark></zmm-watermark>
<!-- #ifndef MP -->
<home></home>
<!-- #endif -->
@ -462,20 +476,20 @@
}
.my-order .nav {
background-color: #fff;
width: 690rpx;
height: 140rpx;
// background-color: #fff;
width: 100%;
// height: 140rpx;
border-radius: 6rpx;
margin: -73rpx auto 0 auto;
margin: 0rpx auto 0 auto;
}
.my-order .nav .item {
text-align: center;
font-size: 26rpx;
font-size: 30rpx;
color: #282828;
width: 3rem;
// width: 3rem;
padding: 27rpx 0;
border-bottom: 5rpx solid transparent;
border-bottom: 8rpx solid transparent;
}
.my-order .nav .item.on {
@ -501,6 +515,7 @@
background-color: #fff;
border-radius: 6rpx;
margin-bottom: 14rpx;
border-radius: 20rpx;
}
.my-order .list .item .title {
@ -524,17 +539,17 @@
}
.my-order .list .item .item-info .pictrue {
width: 120rpx;
height: 120rpx;
width: 160rpx;
height: 160rpx;
/deep/,
/deep/image,
/deep/.easy-loadimage,
/deep/uni-image {
width: 120rpx;
height: 120rpx;
border-radius: 6rpx;
width: 160rpx;
height: 160rpx;
border-radius: 20rpx;
}
}
@ -545,29 +560,36 @@
}
.my-order .list .item .item-info .text {
width: 486rpx;
// width: 486rpx;
font-size: 28rpx;
color: #999;
margin-top: 6rpx;
display: flex;
// display: flex;
line-height: 39rpx;
flex: 1;
margin-left: 20rpx;
}
.my-order .list .item .item-info .text .name {
width: 306rpx;
color: #282828;
height: 78rpx;
// height: 78rpx;
}
.my-order .list .item .item-info .text .money {
text-align: right;
// text-align: right;
display: flex;
justify-content: space-between;
width: 100%;
flex: 1;
margin-top:30rpx;
}
.my-order .list .item .totalPrice {
font-size: 26rpx;
color: #282828;
text-align: right;
// text-align: right;
margin: 27rpx 0 0 30rpx;
padding: 0 30rpx 30rpx 0;
border-bottom: 1rpx solid #eee;

@ -326,6 +326,7 @@
@iptCartNum="iptCartNum"
id="product-window"
:is_vip="is_vip"
:stepNum="stepNum"
@getImg="showImg"
:is_virtual="storeInfo.is_virtual"
></productWindow>
@ -415,6 +416,7 @@
/>
<!-- #endif -->
</view>
<zmm-watermark></zmm-watermark>
</view>
</template>
@ -478,6 +480,7 @@ export default {
data() {
let that = this;
return {
stepNum:1,
imgHost: HTTP_REQUEST_URL,
sysHeight: sysHeight,
noGoods: false,
@ -885,7 +888,7 @@ export default {
* 购物车数量加和数量减
*
*/
ChangeCartNum: function (changeValue) {
ChangeCartNum (changeValue) {
//changeValue: |
//
let productSelect = this.productValue[this.attrValue];
@ -896,13 +899,13 @@ export default {
let num = this.attr.productSelect;
if (productSelect === undefined || (this.storeInfo.limit_num && num.cart_num >= this.storeInfo.limit_num && changeValue)) return;
if (changeValue) {
num.cart_num++;
num.cart_num+=this.stepNum;
if (num.cart_num > stock) {
this.$set(this.attr.productSelect, 'cart_num', stock ? stock : this.storeInfo.min_qty);
this.$set(this, 'cart_num', stock ? stock : 1);
}
} else {
num.cart_num--;
num.cart_num-=this.stepNum;
if (num.cart_num < 1) {
this.$set(this.attr.productSelect, 'cart_num', this.storeInfo.min_qty);
this.$set(this, 'cart_num', 1);
@ -1019,7 +1022,8 @@ export default {
that.$set(that, 'systemStore', res.data.system_store);
that.$set(that, 'storeSelfMention', res.data.store_self_mention);
that.$set(that, 'good_list', goodArray);
that.$set(that, 'stepNum', res.data.storeInfo.min_qty);
if (!storeInfo.wechat_code) {
// #ifdef H5
this.codeVal = window.location.origin + '/pages/goods_details/index?id=' + this.id + '&spid=' + this.$store.state.app.uid;

@ -130,7 +130,7 @@
<view class="num-wrapper">
<view class="num-item"
@click="goMenuPage('/pages/users/user_money/index')">
@click="goMenuPage('/pages/users/user_bill/index')">
<text class="num">{{userInfo.now_money || 0}}</text>
<view class="txt">{{$t('余额(元)')}}</view>
</view>
@ -390,34 +390,40 @@
orderMenu: [{
pic: '/static/images/m1.png',
img: 'icon-daifukuan',
title: '待付',
title: '待付',
url: '/pages/goods/order_list/index?status=0',
},
{
pic: '/static/images/m2.png',
img: 'icon-daifahuo',
title: '待发货',
title: '备货中',
url: '/pages/goods/order_list/index?status=1'
},
{
pic: '/static/images/m3.png',
img: 'icon-daishouhuo',
title: '待收货',
url: '/pages/goods/order_list/index?status=2'
title: '待付尾款',
url: '/pages/goods/order_list/index?status=6'
},
{
pic: '/static/images/m4.png',
img: 'icon-daipingjia',
title: '待评价',
url: '/pages/goods/order_list/index?status=3'
img: 'icon-daishouhuo',
title: '运输中',
url: '/pages/goods/order_list/index?status=2'
},
{
pic: '/static/images/m5.png',
img: 'icon-a-shouhoutuikuan',
title: '售后/退款',
url: '/pages/users/user_return_list/index'
img: 'icon-daipingjia',
title: '已完成',
url: '/pages/goods/order_list/index?status=3'
},
// {
// pic: '/static/images/m5.png',
// img: 'icon-a-shouhoutuikuan',
// title: '/退',
// url: '/pages/users/user_return_list/index'
// },
],
imgUrls: [],
autoplay: true,
@ -606,21 +612,24 @@
that.$store.commit("SETUID", res.data.uid);
that.orderMenu.forEach((item, index) => {
switch (item.title) {
case '待付':
case '待付':
item.num = res.data.orderStatusNum.unpaid_count
break
case '待发货':
case '备货中':
item.num = res.data.orderStatusNum.unshipped_count
break
case '待收货':
case '待付尾款':
item.num = res.data.orderStatusNum.unshipped_count
break
case '运输中':
item.num = res.data.orderStatusNum.received_count
break
case '待评价':
case '已完成':
item.num = res.data.orderStatusNum.evaluated_count
break
case '售后/退款':
item.num = res.data.orderStatusNum.refunding_count
break
// case '/退':
// item.num = res.data.orderStatusNum.refunding_count
// break
}
})
uni.stopPullDownRefresh();

@ -100,6 +100,7 @@
</view>
</view>
<zmm-watermark></zmm-watermark>
</view>
</template>

@ -408,6 +408,7 @@
background-color: #fff;
/* padding: 0 30rpx; */
margin-bottom: 12rpx;
border-radius: 20rpx;
}
.address-management .item .address {

@ -10,8 +10,8 @@
<view class='list' v-for="(item,index) in userBillList" :key="index">
<view class='item'>
<view class='data'>{{item.time}}</view>
<view class='listn'>
<view class='itemn acea-row row-between-wrapper' v-for="(vo,indexn) in item.child" :key="indexn">
<view class='listn' style="background: transparent;">
<view class='itemn acea-row row-between-wrapper' style="margin: 0 24rpx 24rpx 24rpx;background: #fff;border-radius: 20rpx;" v-for="(vo,indexn) in item.child" :key="indexn">
<view>
<view class='name line1'>{{$t(vo.title)}}</view>
<view>{{vo.add_time}}</view>
@ -30,6 +30,7 @@
</view>
</view>
</view>
<zmm-watermark></zmm-watermark>
<!-- #ifdef MP -->
<!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize> -->
<!-- #endif -->

@ -95,7 +95,7 @@
</view>
</view>
<!-- #endif -->
<view class="item acea-row row-between-wrapper" v-if="array.length">
<!-- <view class="item acea-row row-between-wrapper" v-if="array.length">
<view>{{$t(`语言切换`)}}</view>
<view class="uni-list-cell-db">
<picker @change="bindPickerChange" range-key="name" :value="setIndex" :range="array">
@ -103,7 +103,7 @@
class="iconfont icon-xiangyou"></text></view>
</picker>
</view>
</view>
</view> -->
<view class="item acea-row row-between-wrapper">
<view>{{$t(`地址管理`)}}</view>
<navigator url="/pages/users/user_address_list/index" hover-class="none" class="input">
@ -125,7 +125,7 @@
<view class="item acea-row row-between-wrapper">
<view>{{$t(`实名认证`)}}</view>
<navigator url="/pages/users/shiming/index" hover-class="none" class="input">
{{$t(`未认证`)}}<text class="iconfont icon-xiangyou"></text>
{{userInfo.renzheng.status?(userInfo.renzheng.status==0?'未认证':userInfo.renzheng.status==1?'已通过':userInfo.renzheng.status==2?'已拒绝':userInfo.renzheng.status==3?'审核中':''):'未认证'}}<text class="iconfont icon-xiangyou"></text>
</navigator>
</view>
<view class="item acea-row row-between-wrapper">
@ -152,6 +152,7 @@
<!-- #endif -->
</view>
</form>
<zmm-watermark></zmm-watermark>
<!-- #ifdef MP -->
<!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize> -->
<!-- #endif -->

@ -243,21 +243,22 @@
.goodWrapper .item {
margin-left: 30rpx;
margin-right: 30rpx;
height: 180rpx;
// height: 180rpx;
display: flex;
align-items: center;
flex-wrap: nowrap;
padding: 30rpx 0;
}
.goodWrapper .item .pictrue {
width: 130rpx;
height: 130rpx;
width: 160rpx;
height: 160rpx;
}
.goodWrapper .item .pictrue image {
width: 100%;
height: 100%;
border-radius: 6rpx
border-radius: 20rpx
}
.goodWrapper .item .text {
@ -273,8 +274,9 @@
}
.goodWrapper .item .text .num {
font-size: 26rpx;
color: #868686
font-size: 30rpx;
color: #333333;
}
.goodWrapper .item .text .attr {

Loading…
Cancel
Save