Commit 6b93300b by 谢中龙

优化部分功能

parent 2e0da3ef
......@@ -46,7 +46,7 @@ Component({
bind: 'richText',
html: this.data.html || ``,
target: this,
enablePreviewImage: true, // 禁用图片预览功能
enablePreviewImage: false, // 禁用图片预览功能
tapLink: (url) => { // 点击超链接时的回调函数
// url 就是 HTML 富文本中 a 标签的 href 属性值
// 这里可以自定义点击事件逻辑,比如页面跳转
......
......@@ -739,6 +739,7 @@ wxService.page({
success(res) {
wx.hideLoading()
// 支付成功页面
//消息订阅
let baseUserInfo = wx.getStorageSync('_baseUserInfo');
wxService.post(`${'/merchant/message/wxSubMsgMapping/getListByParams'}`, {
scenarioIds: ['ordersend', 'ordersign'],
......
......@@ -211,6 +211,10 @@ wxService.page({
item.count = item.canRefundNum;
});
// let obj = {
// id :
// }
let params = JSON.stringify(copyOrderInfo);
// 退款申请
......
......@@ -192,7 +192,12 @@ wxService.page({
this.data.productInfo.stock = data.stock;
this.data.productInfo.productSku = data.productSku;
this.data.productInfo.productStatus = data.productStatus;
this.data.productInfo.productStatusDesc = data.productStatus == 1 ? '已下架' : (data.productStatus == 2 ? '已上架' : '已删除');
this.data.productInfo.minSalePrice = data.minSalePrice;
this.data.productInfo.maxSalePrice = data.maxSalePrice;
this.data.productInfo.productStatusDesc = data.productStatus == 1 ? '已下架' :
(data.productStatus == 2 ? '已上架' : '已删除');
this.data.productInfo.productName = data.productName;
if (data.descHtml){
this.data.productInfo.descHtml = data.descHtml;
}
......
......@@ -84,7 +84,11 @@ wxService.page({
const { result, data } = res.data
if (result == 0) {
wx.hideLoading()
wx.showToast({
title: '申请退款成功',
});
// 订单列表
// 消息订阅
let baseUserInfo = wx.getStorageSync('_baseUserInfo');
wxService.post(`${'/merchant/message/wxSubMsgMapping/getListByParams'}`, {
scenarioIds: ['orderrefundfinsh', 'orderrefundcheck'],
......@@ -122,11 +126,6 @@ wxService.page({
}
})
})
}
}
})
......
......@@ -64,7 +64,7 @@
<!-- 订单金额 -->
<view class="order-price">
共计<label>5</label>件商品,实付<label>¥{{orderInfo.payAmount}}</label>
共计<label>{{orderInfo.skuCount}}</label>件商品,实付<label>¥{{orderInfo.payAmount}}</label>
</view>
</view>
......
......@@ -255,7 +255,7 @@ view{
}
.order-goods .order-price label{
color: #333333;
color: #fa6d0d;
font-weight: 550;
}
......
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