Commit 190431d9 authored by zhangjianguo's avatar zhangjianguo

修改样式

parent 83de98fd
......@@ -36,25 +36,25 @@
<view
style="margin-top: 40rpx;"
class="block"
v-if="d.ReOrderStatusName=='已换货'"
v-if="d.ReOrderStatus=='3'"
>
<view class="good-title">换货物流</view>
<view class="good-title">{{d.Type==1?'退货物流':'换货物流'}} </view>
<view class="filed">
<view class="key">快递公司</view>
<view class="val">
{{ d.TExpressList[0].ExpressName }}
{{d.Type==1? d.TExpressList[0].ExpressName: d.HExpressList[0].ExpressName }}
</view>
</view>
<view class="filed">
<view class="key">快递单号</view>
<view class="val">
{{ d.TExpressList[0].ExpressNumber }}
{{d.Type==1? d.TExpressList[0].ExpressNumber: d.HExpressList[0].ExpressNumber }}
</view>
</view>
<view class="filed">
<view class="key">商家留言</view>
<view class="key">快递类型</view>
<view class="val" style="color:#c0392b">
{{ d.merchant_remark }}
{{d.Type==1? (d.TExpressList[0].Type==1?'快递':"其他") : (d.HExpressList[0].Type==1?'快递':"其他") }}
</view>
</view>
</view>
......@@ -81,7 +81,7 @@
>{{ d.OrderInfo.Number }}</text
>
</view>
</view>
</view>
</view>
<view class="customer">
<button
......@@ -140,19 +140,19 @@
</view>
<view class="filed">
<view class="key">收件地址</view>
<view class="val">{{ d.refundAddress.address }}</view>
<view class="val">{{RecipientInfo.DistrictAddress }}{{RecipientInfo.Address}}</view>
</view>
<view class="filed">
<view class="key">收件人</view>
<view class="val">{{ d.refundAddress.name }}</view>
<view class="val">{{ RecipientInfo.Name }}</view>
</view>
<view class="filed">
<view class="key">联系电话</view>
<view class="val">{{ d.refundAddress.mobile }}</view>
<view class="val">{{ RecipientInfo.Mobile }}</view>
</view>
<view class="filed">
<view class="key">快递备注</view>
<view class="val">{{ d.refundAddress.remark }}</view>
<view class="val">{{ RecipientInfo.Remarks }}</view>
</view>
</template>
</view>
......@@ -176,7 +176,7 @@
v-model="showExpress"
:default-selector="[0]"
:range="expressList"
range-key="name"
range-key="Name"
:safe-area-inset-bottom="true"
@confirm="chosenExpressHandler"
></u-picker>
......@@ -283,6 +283,7 @@ export default {
submitStatus: false,
expressList: [],
showExpress: false,
RecipientInfo:{},
forms: {
ReOrderId:-1,
ExpressId: -1,
......@@ -333,29 +334,21 @@ export default {
tmplIds: that.d.template_message_list,
complete(res) {
let msg = "";
if (that.forms.ExpressId == -1) {
msg = "请选择快递公司";
} else if (that.forms.ExpressNumber == "") {
msg = "请输入快递单号";
}
if (msg == "") {
let h = that.apiheader();
h["content-type"] = "application/x-www-form-urlencoded";
that.request(
that.request2(
{
url: "",
header: h,
data: {
r: "api/order/refund-send",
id: that.id,
express: that.forms.expressName,
customer_name: "",
express_no: that.forms.ExpressNumber,
},
method: "POST",
url: '/api/AppletOrder/SetAppletOrderSendGoods',
data: that.forms
},
(res) => {
if (res.code == 0) {
if (res.resultCode == 1) {
that.$refs.uTips.show({
title: "已提交快递信息,请等待商家签收",
type: "success",
......@@ -364,7 +357,7 @@ export default {
that.init();
} else {
that.$refs.uTips.show({
title: res.msg,
title: res.message,
type: "error",
duration: "2300",
});
......@@ -387,8 +380,9 @@ export default {
this.showExpress = true;
},
chosenExpressHandler(i) {
this.forms.ExpressId = this.expressList[i[0]].id;
this.forms.expressName = this.expressList[i[0]].name;
this.forms.ExpressId = this.expressList[i].ID;
this.forms.expressName = this.expressList[i].Name;
},
previewImage(i, images) {
uni.previewImage({
......@@ -426,17 +420,33 @@ export default {
this.loading = false;
this.currentStatus = this.d.ReOrderStatus - 1;
this.getExpressInfo()
// if (this.d.ReOrderStatusName == 1) {
// this.currentStatus += 1;
// } else if (this.d.ReOrderStatusName == "待退款" || this.d.status_text == "已换货") {
// this.currentStatus += 2;
// } else if (this.d.status_text == "已退款") {
// this.currentStatus += 3;
// }
this.forms.ReOrderId = res.data.ReOrderId
if(res.data.ReOrderStatus==2){
this.init2()
this.getExpressInfo();
}
}
);
},
init2(){
this.request2(
{
url: '/api/AppletOrder/GetAppletOrderBuyerToDeliverInfo',
data: {
ReOrderId:this.id
}
},
(res) => {
this.RecipientInfo = res.data.RecipientInfo;
}
);
},
getExpressInfo(){
this.request2(
{
......
......@@ -141,8 +141,7 @@ export default {
fontSize: "13px",
width: "100%",
},
action:
"https://wx.weibaoge.cn/web/index.php?_mall_id=1285&r=api/attachment/upload",
action:this.host2+'/api/File/UploadTencent',
};
},
onLoad(option) {
......
......@@ -8,14 +8,14 @@
</view>
</view>
<view v-if="sharestatus.Status==2" style="width: 100%;display: flex;flex-direction: column;align-items: center;">
<image :src="bg_img" style="width: 100%;height: 165px;"></image>
<image src="../../../static/images/icon/img-share-status.png" style="width: 100%;height: 165px;"></image>
<Text style='margin-top: 70px;'>谢谢您的支持,请等待审核</Text>
<view style="display: flex;align-items: center;justify-content: center;margin-top: 60rpx;">
<u-button shape="circle" type="error" size="medium" @click='goshoping'>去商城逛逛</u-button>
</view>
</view>
<view v-if="sharestatus.Status==4" style="width: 100%;display: flex;flex-direction: column;align-items: center;">
<image :src="bg_img" style="width: 100%;height: 165px;"></image>
<image src="../../../static/images/icon/img-share-status.png" style="width: 100%;height: 165px;"></image>
<Text style='margin-top: 70px;'>{{sharestatus.Msg}}</Text>
<!-- <view style="display: flex;align-items: center;justify-content: center;margin-top: 60rpx;">
<u-button shape="circle" type="error" size="medium" @click='goshoping'>去商城逛逛</u-button>
......
<template>
<view :style="{'height':contentHeight}" class="levelStyle">
<image :src="level_bg" v-if="level=='' " style="width: 100%;height: 100%;"></image>
<image src="../../../static/images/icon/no-level-bg.png" v-if="level=='' " style="width: 100%;height: 100%;"></image>
<view :style="{ 'background-image': 'url(' + level_bg2 + ')', backgroundSize: '100%' }" v-if='level_bg2!="" ' class="imgbg">
<Text class='leveltop'>满足以下条件即可升级</Text>
<view class='levelc'>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment