Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant
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 d78400a6
authored
Oct 21, 2022
by
张晓玮
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.0' into 'zhangxw_dev_3.0'
V3.0 See merge request
!51
2 parents
b0dbc48e
16a35b54
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
8 deletions
packageMine/pages/withdrawal/index.js
packageMine/pages/withdrawal/index.scss
pages/tab/mine/components/userInfo/userInfo.scss
pages/tab/mine/components/userInfo/userInfo.wxml
packageMine/pages/withdrawal/index.js
View file @
d78400a
...
...
@@ -9,10 +9,12 @@ Page({
},
toSumbitData
()
{
let
{
sumbitScore
,
withdrawalScore
}
=
this
.
data
let
isString
=
typeof
sumbitScore
==
'string'
if
(
!
sumbitScore
)
return
wx
.
$api
.
showToast
(
'请输入有效的积分值'
)
if
(
sumbitScore
==
0
)
return
wx
.
$api
.
showToast
(
'请输入有效的积分值'
)
if
(
isString
&&
sumbitScore
.
indexOf
(
'.'
)
==
(
sumbitScore
.
length
-
1
))
return
wx
.
$api
.
showToast
(
'请输入有效的积分值'
)
if
(
sumbitScore
<
0.3
)
return
wx
.
$api
.
showToast
(
'至少提现0.3'
)
if
(
Number
(
sumbitScore
)
>
Number
(
withdrawalScore
))
return
wx
.
$api
.
showToast
(
'请输入有效的积分值'
)
if
(
Number
(
sumbitScore
)
>
Number
(
withdrawalScore
))
return
wx
.
$api
.
showToast
(
`当前可提现最大积分为
${
Number
(
withdrawalScore
)}
`
)
Dialog
.
confirm
({
title
:
'提示'
,
message
:
`请确认是否将
${
sumbitScore
}
积分进行提现`
,
...
...
packageMine/pages/withdrawal/index.scss
View file @
d78400a
...
...
@@ -51,6 +51,7 @@ page {
box-sizing
:
border-box
;
padding
:
8rpx
0
;
margin-top
:
32rpx
;
line-height
:
60rpx
;
.input-placeholder
{
font-weight
:
400
;
...
...
@@ -61,9 +62,10 @@ page {
.intClass
{
width
:
calc
(
100%
-
174rpx
);
font-weight
:
400
;
font-size
:
24
rpx
;
font-size
:
60
rpx
;
color
:
#333
;
caret-color
:
#556AF5
;
height
:
62rpx
;
}
.btn
{
...
...
pages/tab/mine/components/userInfo/userInfo.scss
View file @
d78400a
...
...
@@ -96,4 +96,7 @@
}
.marleft158
{
margin-left
:
158rpx
;
}
}
\ No newline at end of file
pages/tab/mine/components/userInfo/userInfo.wxml
View file @
d78400a
...
...
@@ -32,12 +32,14 @@
</view>
<view class="logout flex_cc" bind:tap="toLogout">退出登录</view>
</view>
<view class="store_widget flex_cc">
<view class="flex_sc label">
<image class="icon" src="{{IMGURL}}merchant_icon.png" />
<view class="tip">{{user.seriseName}}</view>
</view>
<view class="line"></view>
<view class="store_widget {{user.seriseName?'flex_cc':'flex_sc marleft158'}}">
<block wx:if="{{user.seriseName}}">
<view class="flex_sc label">
<image class="icon" src="{{IMGURL}}merchant_icon.png" />
<view class="tip">{{user.seriseName}}</view>
</view>
<view class="line"></view>
</block>
<view class="flex_sc label">
<image class="icon" src="{{IMGURL}}shop_icon.png" />
<view class="tip">{{strSubstr.getString(user.merchantName,10)}}</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