Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
hmd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b77798b6
authored
Jul 21, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
申请售后
1 parent
25acd2b6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
packageEquity/pages/saleApply/saleApply.js
packageEquity/pages/saleApply/saleApply.scss
packageEquity/pages/saleApply/saleApply.wxml
packageEquity/pages/saleApply/saleApply.js
View file @
b77798b
...
@@ -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
.
common
Api
.
uploadImg
({
wx
.
p
.
api
.
common
.
uploadImg
({
file
:
`
${
type
}
@
${
_res
.
data
}
`
file
:
`
${
type
}
@
${
_res
.
data
}
`
})
})
.
then
(
img
=>
{
.
then
(
img
=>
{
...
...
packageEquity/pages/saleApply/saleApply.scss
View file @
b77798b
...
@@ -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
;
...
...
packageEquity/pages/saleApply/saleApply.wxml
View file @
b77798b
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment