| | |
| | | } |
| | | }, |
| | | { |
| | | "path": "afterSales/afterSalesDetailExpress" |
| | | "path": "afterSales/afterSalesDetailExpress", |
| | | "style": { |
| | | "componentPlaceholder":{ |
| | | "u-image": "view", |
| | | "u-icon": "view", |
| | | "u-form": "view", |
| | | "u-form-item": "view", |
| | | "u-input": "view", |
| | | "u-button": "view", |
| | | "u-select": "view", |
| | | "u-calendar": "view", |
| | | "u-toast": "view" |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "afterSales/afterSalesSelect", |
| | |
| | | "navigationBarTitleText": "申请售后", |
| | | "componentPlaceholder": { |
| | | "u-image": "view", |
| | | "u-icon": "view" |
| | | "u-icon": "view", |
| | | "u-form": "view", |
| | | "u-form-item": "view", |
| | | "u-input": "view", |
| | | "u-button": "view", |
| | | "u-select": "view", |
| | | "u-calendar": "view", |
| | | "u-toast": "view" |
| | | |
| | | } |
| | | } |
| | | }, |
| | |
| | | <view class="goodsContent" style="font-size: 24rpx;"> |
| | | {{item.sellingPoint}} |
| | | </view> |
| | | <view v-if="item.goodsType !=='VIRTUAL_GOODS'" |
| | | style="display: flex; justify-content: space-between;align-items:center; 100%;width: 100%;"> |
| | | <view class="goodsPrice">¥{{item.price}}</view> |
| | | <view class="addCard" style="display: flex; align-items: center;"> |
| | | <view |
| | | style="display: flex; justify-content: space-between;align-items:center;height: 100%;width: 100%;"> |
| | | <view class="goodsPrice" style="padding: 20rpx 0;">¥{{item.price}}</view> |
| | | <view class="addCard" style="display: flex; align-items: center;" v-if="item.goodsType !=='VIRTUAL_GOODS'"> |
| | | <view style="padding: 20rpx 0 20rpx 20rpx;" v-show="item.cardNum && item.cardNum>0" |
| | | @click.stop="miousCardNum($event,item.id)"> |
| | | <uni-icons type="minus" size="30" color="#96a6bc"></uni-icons> |
| | |
| | | </u-form-item> |
| | | |
| | | <u-form-item label="手机号码" label-width="130" prop="mobile"> |
| | | <u-input v-model="form.mobile" type="number" maxlength="11" placeholder="请输入收货人手机号码" /> |
| | | <u-input v-model="form.mobile" type="number" maxlength="15" placeholder="请输入收货人手机号码" /> |
| | | </u-form-item> |
| | | <u-form-item label="所在区域" label-width="130" prop="___path"> |
| | | <div @click="showPicker" > |
| | |
| | | // 判断当前系统权限定位是否开启 |
| | | }, |
| | | methods: { |
| | | changePhone(e) { |
| | | console.log('-------------------->手机号码修改', e); |
| | | // 去除空格 |
| | | this.form.mobile = this.form.mobile.replace(/\s/g, ''); |
| | | }, |
| | | // 关闭地图 |
| | | closeMap() { |
| | | this.mapFlag = false; |
| | |
| | | |
| | | // 保存当前 地址 |
| | | save() { |
| | | this.$refs.uForm.setRules(this.rules); |
| | | this.$refs.uForm.validate((valid) => { |
| | | if (valid) { |
| | | let pages = getCurrentPages(); //获取页面栈 |
| | |
| | | }, |
| | | // 初始化rules必须要在onReady生命周期,因为onLoad生命周期组件可能尚未创建完毕 |
| | | onReady() { |
| | | this.$refs.uForm.setRules(this.rules); |
| | | // this.$refs.uForm.setRules(this.rules); |
| | | }, |
| | | watch:{ |
| | | 'form.mobile': function(newVal, oldVal) { |
| | | // 当手机号变化时,自动去除空格 |
| | | if (newVal && typeof newVal === 'string') { |
| | | this.form.mobile = newVal.replace(/\s/g, ''); |
| | | } |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | | <style scoped lang="scss"> |
| | |
| | | shape="circle" |
| | | class="cancel-btn" |
| | | size="mini" |
| | | v-if="order.couponFlag === 'COUPON'" |
| | | v-if="order.couponFlag === 'COUPON'&& order.orderStatus ==='COMPLETED'" |
| | | @click="openCouponPackage(order)" |
| | | > |
| | | 优惠券卡包 |
| | |
| | | whetherNavigate("wx"); |
| | | }, |
| | | backToHome() { |
| | | uni.switchTab({ |
| | | url: `/pages/tabbar/home/index`, |
| | | uni.redirectTo({ |
| | | url: `/pages/tabbar/index/home`, |
| | | }); |
| | | }, |
| | | |
| | |
| | | |
| | | |
| | | <!-- 悬挂商品链接层 --> |
| | | <view class="goods-link-warp" v-if="item.goodsList.length > 0"> |
| | | <view class="goods-link-warp" :style="{ bottom: marginBottom + 55 + 'px' }" v-if="item.goodsList.length > 0"> |
| | | <view class="goods-link"> |
| | | <swiper @change="goodsChange" :autoplay="true" :interval="4000" style="height: 120rpx;"> |
| | | <swiper-item v-for="goods in item.goodsList" :key="goods.goodsId"> |