|
|
@@ -103,17 +103,32 @@
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
|
|
|
- <!-- 新增顺丰下单弹窗 -->
|
|
|
- <uni-popup ref="expressDialog" background-color="#fff" type="center" :animation="true" class="class-popup-style" :mask-click="false">
|
|
|
- <view style="padding:40upx 50upx;width:70vw;">
|
|
|
- <view style="font-size:32upx;font-weight:bold;text-align:center;margin-bottom:30upx;">顺丰下单信息</view>
|
|
|
- <view style="margin-bottom:20upx;">省市区:广东省 深圳市 南山区</view>
|
|
|
- <view style="margin-bottom:20upx;">详细地址:科技园南区高新南一道1号</view>
|
|
|
- <view style="margin-bottom:20upx;">姓名:张三</view>
|
|
|
- <view style="margin-bottom:20upx;">电话:13800138000</view>
|
|
|
- <view style="text-align:center;margin-top:40upx;">
|
|
|
- <button class="admin-button-com bule" style="width:200upx;" @click="confirmExpress">确认下单</button>
|
|
|
- <button class="admin-button-com default" style="width:120upx;margin-left:30upx;" @click="closeExpressDialog">取消</button>
|
|
|
+ <!-- 新增物流下单弹窗 -->
|
|
|
+ <uni-popup ref="expressAddressRef" background-color="#fff" type="center" :animation="true" class="class-popup-style" :mask-click="false">
|
|
|
+ <view style="padding:40upx 50upx;width:90vw;">
|
|
|
+ <view style="font-size:32upx;font-weight:bold;text-align:center;margin-bottom:30upx;">提交地址</view>
|
|
|
+ <view style="display:flex;flex-direction:column;gap:18upx;">
|
|
|
+ <view style="display:flex;align-items:center;">
|
|
|
+ <view style="width:120upx;color:#888;font-size:28upx;">城市:</view>
|
|
|
+ <view style="flex:1;font-size:28upx;">广东省 深圳市 南山区</view>
|
|
|
+ </view>
|
|
|
+ <view style="display:flex;align-items:center;">
|
|
|
+ <view style="width:120upx;color:#888;font-size:28upx;">地址:</view>
|
|
|
+ <view style="flex:1;font-size:28upx;">科技园南区高新南一道1号</view>
|
|
|
+ </view>
|
|
|
+ <view style="display:flex;align-items:center;">
|
|
|
+ <view style="width:120upx;color:#888;font-size:28upx;">姓名:</view>
|
|
|
+ <view style="flex:1;font-size:28upx;">张三</view>
|
|
|
+ </view>
|
|
|
+ <view style="display:flex;align-items:center;">
|
|
|
+ <view style="width:120upx;color:#888;font-size:28upx;">电话:</view>
|
|
|
+ <view style="flex:1;font-size:28upx;">13800138000</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view style="display:flex;justify-content:space-around;margin-top:40upx;">
|
|
|
+ <button class="admin-button-com default" style="width:160upx;" @click="closeExpressPop">取消</button>
|
|
|
+ <button class="admin-button-com bule" style="width:160upx;" @click="modifyAddress(item)">修改地址</button>
|
|
|
+ <button class="admin-button-com bule" style="width:160upx;" @click="confirmAddExpress(item)">提交</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
@@ -145,6 +160,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ modifyAddress(item){
|
|
|
+ this.$util.pageTo({url: "/pagesClient/member/modify?id="+item.customId+"&name="+item.customName})
|
|
|
+ },
|
|
|
shareOrder(info){
|
|
|
this.$emit('shareOrder',info)
|
|
|
},
|
|
|
@@ -175,14 +193,13 @@ export default {
|
|
|
this.$refs.morePopup.close();
|
|
|
},
|
|
|
addExpress(item) {
|
|
|
- this.$refs.expressDialog.open('center');
|
|
|
+ this.closeMore()
|
|
|
+ this.$refs.expressAddressRef.open('center');
|
|
|
},
|
|
|
- closeExpressDialog() {
|
|
|
- this.$refs.expressDialog.close();
|
|
|
+ closeExpressPop() {
|
|
|
+ this.$refs.expressAddressRef.close();
|
|
|
},
|
|
|
- confirmExpress() {
|
|
|
- this.closeExpressDialog();
|
|
|
- this.$util && this.$util.toast ? this.$util.toast('已下单(示例)') : alert('已下单(示例)');
|
|
|
+ confirmAddExpress(item) {
|
|
|
},
|
|
|
}
|
|
|
};
|