Commit b77798b6 by 杨北旺

申请售后

1 parent 25acd2b6
......@@ -9,10 +9,11 @@ Page({
},
onLoad: function (options) {
console.log(options);
let query = null
let isPackage = false
if (options.item) {
let temp = JSON.parse(options.item)
if (options) {
let temp = options
query = {
orderCode: temp.orderCode,
orderPrices: temp.payPrice
......@@ -46,7 +47,7 @@ Page({
encoding: 'base64', //编码格式
success(_res) {
wx.p.wxApi.showLoading('上传中...')
wx.p.api.commonApi.uploadImg({
wx.p.api.common.uploadImg({
file: `${type}@${_res.data}`
})
.then(img => {
......
......@@ -44,7 +44,7 @@
.box_price{
font-size: 40rpx;
font-weight: 500;
color: #008FFF;
color: #8A303A;
}
.apply_btn{
display: flex;
......@@ -54,7 +54,7 @@
height: 88rpx;
color: #FFFFFF;
font-weight: 500;
background: #008FFF;
background: #8A303A;
border-radius: 44rpx;
margin: 40rpx auto;
font-size: 36rpx;
......
......@@ -8,7 +8,7 @@
</view>
<view wx:if="{{!isPackage}}" class="box">
<view class="box_title">上传图片</view>
<image webp wx:if="{{!upImageURL.length}}" bind:tap="toUploadImage" class="image_up_load" src="{{IMGURL}}equity/upload.png?v={{img_version}}" />
<glsx-image webp wx:if="{{!upImageURL.length}}" bind:tap="toUploadImage" class="image_up_load" src="equity/upload.png" />
<image webp wx:else bind:tap="toUploadImage" class="image_up_load" src="{{upImageURL[0]}}" />
</view>
<view class="box_wrap">
......@@ -19,7 +19,7 @@
</block>
<block wx:if="{{showWaiting}}">
<view class="sales-h">
<image webp class="successIcon" src="{{IMGURL}}coupons/success.png?v={{img_version}}" />
<glsx-image webp class="successIcon" src="coupons/success.png" />
<view class="sales-status-1">等待处理</view>
<view class="sales-status-2">已提交申请,等待处理</view>
</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!