Commit b77798b6 by 杨北旺

申请售后

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