|
@@ -17,7 +17,7 @@
|
|
<view class="flex-y-center">
|
|
<view class="flex-y-center">
|
|
<image style="width: 135rpx; height: 135rpx;border-radius: 50%;" src="/static/img/ic-message.png"></image>
|
|
<image style="width: 135rpx; height: 135rpx;border-radius: 50%;" src="/static/img/ic-message.png"></image>
|
|
<view style="margin-left: 29rpx;">
|
|
<view style="margin-left: 29rpx;">
|
|
- <view class="send-name">到哪里收</view>
|
|
+ <view class="send-name">送到哪里</view>
|
|
<view class="send-tips">请输入收件人信息</view>
|
|
<view class="send-tips">请输入收件人信息</view>
|
|
<view style="font-weight: 500;font-size: 23rpx;color: #FF6702;">可送单时间段00:00——23:59</view>
|
|
<view style="font-weight: 500;font-size: 23rpx;color: #FF6702;">可送单时间段00:00——23:59</view>
|
|
</view>
|
|
</view>
|
|
@@ -27,8 +27,8 @@
|
|
<view class="flex-y-center flex-between-center" style="margin-bottom: 20rpx">
|
|
<view class="flex-y-center flex-between-center" style="margin-bottom: 20rpx">
|
|
<view class="flex-y-center">
|
|
<view class="flex-y-center">
|
|
<image style="width: 135rpx; height: 135rpx;border-radius: 50%;" src="/static/img/ic-message.png"></image>
|
|
<image style="width: 135rpx; height: 135rpx;border-radius: 50%;" src="/static/img/ic-message.png"></image>
|
|
- <view style="margin-left: 29rpx;">
|
|
+ <view style="margin-left: 29rpx;" @tap="isPoint = true">
|
|
- <view class="send-name">到哪里收</view>
|
|
+ <view class="send-name">到哪里取</view>
|
|
<view class="send-tips">请输入寄件人信息</view>
|
|
<view class="send-tips">请输入寄件人信息</view>
|
|
<view style="font-weight: 500;font-size: 23rpx;color: #FF6702;">可送单时间段00:00——17:00</view>
|
|
<view style="font-weight: 500;font-size: 23rpx;color: #FF6702;">可送单时间段00:00——17:00</view>
|
|
</view>
|
|
</view>
|
|
@@ -71,7 +71,7 @@
|
|
<view class="flex-between-center">
|
|
<view class="flex-between-center">
|
|
<view class="remark-name">小费</view>
|
|
<view class="remark-name">小费</view>
|
|
<view class="flex-y-center" @tap="isTip = true">
|
|
<view class="flex-y-center" @tap="isTip = true">
|
|
- <text style="font-weight: 400;font-size: 27rpx;color: #646464;">{{tipValue ? '¥' + tipValue : ''}}</text>
|
|
+ <text style="font-weight: 400;font-size: 27rpx;color: #646464;">{{fastMailObj.tipValue ? '¥' + fastMailObj.tipValue : ''}}</text>
|
|
<view class='iconfont icon-jiantou' style="font-size: 30rpx;margin: 0 19rpx;"></view>
|
|
<view class='iconfont icon-jiantou' style="font-size: 30rpx;margin: 0 19rpx;"></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -80,7 +80,8 @@
|
|
</view>
|
|
</view>
|
|
<fast-mail-tip v-if="isTip" @tipValue="onTipValue" @onCancel="onCanCel"></fast-mail-tip>
|
|
<fast-mail-tip v-if="isTip" @tipValue="onTipValue" @onCancel="onCanCel"></fast-mail-tip>
|
|
<fast-mail-specs v-if="isSpecs" @specsValue="onSpecsValue" @onCancel="onCanCel"></fast-mail-specs>
|
|
<fast-mail-specs v-if="isSpecs" @specsValue="onSpecsValue" @onCancel="onCanCel"></fast-mail-specs>
|
|
- <fast-mail-figure v-if="isFigure" @specsValue="onSpecsValue" @onCancel="onCanCel"></fast-mail-figure>
|
|
+ <fast-mail-figure v-if="isFigure" @figureValue="onFigureValue" @onCancel="onCanCel"></fast-mail-figure>
|
|
|
|
+ <fast-mail-point v-if="isPoint" @pointValue="onPointValue" @onCancel="onCanCel"></fast-mail-point>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -109,8 +110,9 @@
|
|
return {
|
|
return {
|
|
isTip: false, // 小费弹窗
|
|
isTip: false, // 小费弹窗
|
|
isSpecs: false, // 规格弹窗
|
|
isSpecs: false, // 规格弹窗
|
|
- isFigure : false, // 附图弹窗
|
|
+ isFigure: false, // 附图弹窗
|
|
- specsObj: {},
|
|
+ isPoint: false, // 选择快递点弹窗
|
|
|
|
+ fastMailObj: {},
|
|
tipValue: 0,
|
|
tipValue: 0,
|
|
winHeight: 0,
|
|
winHeight: 0,
|
|
isNodes: 0, //控制什么时候开始抓取元素节点,只要数值改变就重新抓取
|
|
isNodes: 0, //控制什么时候开始抓取元素节点,只要数值改变就重新抓取
|
|
@@ -144,18 +146,30 @@
|
|
// this.scrollLeft = e * 60;
|
|
// this.scrollLeft = e * 60;
|
|
},
|
|
},
|
|
onTipValue(value) {
|
|
onTipValue(value) {
|
|
- this.tipValue = value
|
|
+ this.fastMailObj.tipValue = value
|
|
this.isTip = false;
|
|
this.isTip = false;
|
|
console.log(value)
|
|
console.log(value)
|
|
},
|
|
},
|
|
onCanCel(val) {
|
|
onCanCel(val) {
|
|
this.isTip = val
|
|
this.isTip = val
|
|
- this.isSpecs = val;
|
|
+ this.isSpecs = val
|
|
|
|
+ this.isFigure = val
|
|
|
|
+ this.isPoint = val
|
|
},
|
|
},
|
|
- onSpecsValue(value) {
|
|
+ onSpecsValue(obj) {
|
|
- this.specsObj = value
|
|
+ this.fastMailObj.specsObj = obj
|
|
- this.isSpecs = false;
|
|
+ this.isSpecs = false
|
|
- console.log(value)
|
|
+ console.log(obj)
|
|
|
|
+ },
|
|
|
|
+ onFigureValue(obj) {
|
|
|
|
+ this.fastMailObj.figureObj = obj
|
|
|
|
+ this.isFigure = false
|
|
|
|
+ console.log(obj)
|
|
|
|
+ },
|
|
|
|
+ onPointValue(obj) {
|
|
|
|
+ this.fastMailObj.pointObj = obj
|
|
|
|
+ this.isPoint = false
|
|
|
|
+ console.log(obj)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|