Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sfp-program
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
sfp-program
Commits
a763ebe2
Commit
a763ebe2
authored
Sep 07, 2022
by
Chao Sun
Browse files
Options
Browse Files
Download
Plain Diff
gitignore
parents
f1c3f8b4
6c3581fb
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
39 additions
and
23 deletions
+39
-23
main.js
+1
-2
pages/dataImport/data-import.css
+1
-0
pages/dataImport/data-import.vue
+2
-2
pages/index/index.css
+14
-6
pages/index/index.vue
+19
-10
unpackage/dist/build/h5/assets/batchFileImport.f45bf5a6.png
+0
-0
unpackage/dist/build/h5/assets/index.13d2da89.css
+0
-1
unpackage/dist/build/h5/assets/policyIrrBanner.05908eaf.png
+0
-0
unpackage/dist/build/h5/assets/qrcodeBg.672cc012.png
+0
-0
unpackage/dist/build/h5/assets/uni.fae7f8c0.css
+0
-1
util/numberPipe.ts
+2
-1
No files found.
main.js
View file @
a763ebe2
...
@@ -10,10 +10,9 @@ Vue.config.productionTip = false;
...
@@ -10,10 +10,9 @@ Vue.config.productionTip = false;
Vue
.
prototype
.
axios
=
axios
;
Vue
.
prototype
.
axios
=
axios
;
Vue
.
prototype
.
$api
=
api
;
Vue
.
prototype
.
$api
=
api
;
import
{
numberToCurrencyNo
}
from
'
@/utils/numberToCurrency'
import
{
numberToCurrencyNo
}
from
'
./util/numberPipe'
;
// 配置全局过滤器,实现数字千分位格式
// 配置全局过滤器,实现数字千分位格式
Vue
.
filter
(
'numberToCurrency'
,
numberToCurrencyNo
)
Vue
.
filter
(
'numberToCurrency'
,
numberToCurrencyNo
)
App
.
mpType
=
'app'
App
.
mpType
=
'app'
const
app
=
new
Vue
({
const
app
=
new
Vue
({
api
,
api
,
...
...
pages/dataImport/data-import.css
View file @
a763ebe2
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
border-top-right-radius
:
40
rpx
;
border-top-right-radius
:
40
rpx
;
padding
:
20
rpx
30
rpx
0
;
padding
:
20
rpx
30
rpx
0
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
overflow-y
:
scroll
;
}
}
.policyYearContainer
.modalTitle
{
.policyYearContainer
.modalTitle
{
display
:
flex
;
display
:
flex
;
...
...
pages/dataImport/data-import.vue
View file @
a763ebe2
...
@@ -91,8 +91,8 @@
...
@@ -91,8 +91,8 @@
},
},
name
:
'dataImport'
,
name
:
'dataImport'
,
onLoad
()
{
onLoad
()
{
this
.
bindPickerChange
({
detail
:{
value
:
this
.
index
}})
this
.
bindPickerChange
({
detail
:{
value
:
this
.
index
}})
;
this
.
calcuteData
=
uni
.
getStorageSync
(
'calcuteData'
)
this
.
calcuteData
=
uni
.
getStorageSync
(
'calcuteData'
)
;
},
},
methods
:{
methods
:{
// 选择间隔
// 选择间隔
...
...
pages/index/index.css
View file @
a763ebe2
...
@@ -25,15 +25,26 @@
...
@@ -25,15 +25,26 @@
width
:
100%
;
width
:
100%
;
}
}
.banner
{
.banner
{
height
:
400
rpx
;
width
:
100%
;
position
:
relative
;
}
.banner
text
{
position
:
absolute
;
bottom
:
40px
;
left
:
0
;
color
:
#fff
;
background
:
rgba
(
0
,
0
,
0
,
0.35
);
padding
:
2px
10px
;
border-top-right-radius
:
20px
;
border-bottom-right-radius
:
20px
;
}
}
.banner
img
{
.banner
img
{
max-
width
:
100%
;
width
:
100%
;
}
}
.tabTitle
{
.tabTitle
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-around
;
justify-content
:
space-around
;
font-size
:
16
px
;
font-size
:
32
r
px
;
font-family
:
Source
Han
Sans
CN-Regular
,
Source
Han
Sans
CN
;
font-family
:
Source
Han
Sans
CN-Regular
,
Source
Han
Sans
CN
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#333333
;
color
:
#333333
;
...
@@ -238,9 +249,6 @@
...
@@ -238,9 +249,6 @@
height
:
40
rpx
!important
;
height
:
40
rpx
!important
;
line-height
:
40
rpx
!important
;
line-height
:
40
rpx
!important
;
text-align
:
center
;
text-align
:
center
;
border
:
3
rpx
#CEB07D
solid
;
color
:
#CEB07D
;
border-radius
:
50%
;
font-size
:
24
rpx
;
font-size
:
24
rpx
;
}
}
.qrcodeContainer
{
.qrcodeContainer
{
...
...
pages/index/index.vue
View file @
a763ebe2
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
<view
class=
"content"
v-show=
"!isNeedOfficialAccountQrcode"
>
<view
class=
"content"
v-show=
"!isNeedOfficialAccountQrcode"
>
<view
class=
"banner"
>
<view
class=
"banner"
>
<img
src=
"/static/images/policyIrrBanner.png"
alt=
""
srcset=
""
>
<img
src=
"/static/images/policyIrrBanner.png"
alt=
""
srcset=
""
>
<!-- 使用说明 -->
<v-text>
使用说明
</v-text>
</view>
</view>
<scroll-view
scroll-y=
"true"
class=
"formInfoContainer"
>
<scroll-view
scroll-y=
"true"
class=
"formInfoContainer"
>
<view
class=
"tabTitle"
>
<view
class=
"tabTitle"
>
...
@@ -69,7 +71,7 @@
...
@@ -69,7 +71,7 @@
</view>
</view>
</view>
</view>
<view
class=
"inputItem"
>
<view
class=
"inputItem"
>
<text>
每年提取金额:
</text>
<text
style=
"white-space: nowrap;"
>
每年提取金额:
</text>
<view
class=
"inputContent"
>
<view
class=
"inputContent"
>
<input
class=
"uni-input"
type=
"number"
placeholder=
"请输入"
<input
class=
"uni-input"
type=
"number"
placeholder=
"请输入"
v-model=
"item.yearWithdrawalAmount"
/><label
for=
""
>
元
</label>
v-model=
"item.yearWithdrawalAmount"
/><label
for=
""
>
元
</label>
...
@@ -93,10 +95,12 @@
...
@@ -93,10 +95,12 @@
<input
class=
"uni-input withdrawNumber"
type=
"number"
placeholder=
"请输入"
<input
class=
"uni-input withdrawNumber"
type=
"number"
placeholder=
"请输入"
v-model=
"item.yearWithdrawalAmount"
/>
v-model=
"item.yearWithdrawalAmount"
/>
<view
v-show=
"yearWithdrawalInfos.length>1"
>
<view
v-show=
"yearWithdrawalInfos.length>1"
>
<text
@
click=
"reduce(idx)"
>
-
</text>
<text
@
click=
"reduce(idx)"
>
<svg
t=
"1662455801913"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"3447"
width=
"20"
height=
"20"
><path
d=
"M512 0c-285.257143 0-512 226.742857-512 512s226.742857 512 512 512 512-226.742857 512-512-226.742857-512-512-512z m0 950.857143c-241.371429 0-438.857143-197.485714-438.857143-438.857143s197.485714-438.857143 438.857143-438.857143 438.857143 197.485714 438.857143 438.857143-197.485714 438.857143-438.857143 438.857143z"
p-id=
"3448"
fill=
"#CEB07D"
></path><path
d=
"M731.428571 475.428571h-438.857142c-21.942857 0-36.571429 14.628571-36.571429 36.571429s14.628571 36.571429 36.571429 36.571429h438.857142c21.942857 0 36.571429-14.628571 36.571429-36.571429s-14.628571-36.571429-36.571429-36.571429z"
p-id=
"3449"
fill=
"#CEB07D"
></path></svg>
</text>
</view>
</view>
</view>
</view>
<text
@
click=
"add()"
style=
"position: absolute;right: 0;"
>
+
</text>
<text
@
click=
"add()"
style=
"position: absolute;right: 0;"
>
<svg
t=
"1662455996735"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"4399"
width=
"20"
height=
"20"
><path
d=
"M512 0c-285.257143 0-512 226.742857-512 512s226.742857 512 512 512 512-226.742857 512-512-226.742857-512-512-512z m0 950.857143c-241.371429 0-438.857143-197.485714-438.857143-438.857143s197.485714-438.857143 438.857143-438.857143 438.857143 197.485714 438.857143 438.857143-197.485714 438.857143-438.857143 438.857143z"
p-id=
"4400"
fill=
"#CEB07D"
></path><path
d=
"M731.428571 475.428571h-182.857142v-182.857142c0-21.942857-14.628571-36.571429-36.571429-36.571429s-36.571429 14.628571-36.571429 36.571429v182.857142h-182.857142c-21.942857 0-36.571429 14.628571-36.571429 36.571429s14.628571 36.571429 36.571429 36.571429h182.857142v182.857142c0 21.942857 14.628571 36.571429 36.571429 36.571429s36.571429-14.628571 36.571429-36.571429v-182.857142h182.857142c21.942857 0 36.571429-14.628571 36.571429-36.571429s-14.628571-36.571429-36.571429-36.571429z"
p-id=
"4401"
fill=
"#CEB07D"
></path></svg>
</text>
</view>
</view>
</view>
</view>
<!-- 现金价值信息 -->
<!-- 现金价值信息 -->
...
@@ -118,7 +122,7 @@
...
@@ -118,7 +122,7 @@
</view>
</view>
</view>
</view>
<view
class=
"inputItem"
>
<view
class=
"inputItem"
>
<text>
总生存利益
<text
style=
"font-size: 14px;"
>
(总领取金额+现金价值)
</text>
:
</text>
<text>
总生存利益
<text
style=
"font-size: 14px;"
>
{{
irrAndSimpleCalcuteParam
.
allFirstPayment
>
0
?
'(万能账户现价+现金价值)'
:
'(现金价值)'
}}
</text>
:
</text>
<view
class=
"inputContent"
>
<view
class=
"inputContent"
>
<input
class=
"uni-input"
type=
"number"
placeholder=
"请输入"
min=
'1'
<input
class=
"uni-input"
type=
"number"
placeholder=
"请输入"
min=
'1'
v-model=
"irrAndSimple.cashValue"
/>
v-model=
"irrAndSimple.cashValue"
/>
...
@@ -138,11 +142,11 @@
...
@@ -138,11 +142,11 @@
<view
class=
"simpleDataResult"
v-if=
"resultShowFlag && calcuteMethod == '1'"
>
<view
class=
"simpleDataResult"
v-if=
"resultShowFlag && calcuteMethod == '1'"
>
<view
class=
"inputItem"
>
<view
class=
"inputItem"
>
<text
class=
"resultTitle"
>
IRR复利
</text>
<text
class=
"resultTitle"
>
IRR复利
</text>
<text
class=
"calcNumber"
>
{{
irrAndSimpleResInfos
.
length
>
0
?(
irrAndSimpleResInfos
[
0
][
'irrValue'
]
*
100
).
toFixed
(
5
)
:
null
}}
%
</text>
<text
class=
"calcNumber"
>
{{
irrAndSimpleResInfos
.
length
>
0
?(
irrAndSimpleResInfos
[
0
][
'irrValue'
]
*
100
).
toFixed
(
3
)
|
numberToCurrency
:
null
}}
%
</text>
</view>
</view>
<view
class=
"inputItem"
>
<view
class=
"inputItem"
>
<text
class=
"resultTitle"
>
单利
</text>
<text
class=
"resultTitle"
>
单利
</text>
<text
class=
"calcNumber"
>
{{
irrAndSimpleResInfos
.
length
>
0
?(
irrAndSimpleResInfos
[
0
][
'simpleValue'
]
*
100
).
toFixed
(
5
)
:
null
}}
%
</text>
<text
class=
"calcNumber"
>
{{
irrAndSimpleResInfos
.
length
>
0
?(
irrAndSimpleResInfos
[
0
][
'simpleValue'
]
*
100
).
toFixed
(
3
)
|
numberToCurrency
:
null
}}
%
</text>
</view>
</view>
</view>
</view>
<!-- 批量计算显示结果 -->
<!-- 批量计算显示结果 -->
...
@@ -157,9 +161,9 @@
...
@@ -157,9 +161,9 @@
</view>
</view>
<view
class=
"resultTd"
v-for=
"item in resIrrAndSimpleResInfos"
>
<view
class=
"resultTd"
v-for=
"item in resIrrAndSimpleResInfos"
>
<text>
{{
item
.
nyear
}}
</text>
<text>
{{
item
.
nyear
}}
</text>
<text>
{{
item
.
cashValue
}}
</text>
<text>
{{
item
.
cashValue
|
numberToCurrency
}}
</text>
<text
class=
"resultNumber"
>
{{
(
item
.
simpleValue
*
100
).
toFixed
(
5
)
}}
%
</text>
<text
class=
"resultNumber"
>
{{
(
item
.
simpleValue
*
100
).
toFixed
(
3
)
}}
%
</text>
<text
class=
"resultNumber"
>
{{
(
item
.
irrValue
*
100
).
toFixed
(
5
)
}}
%
</text>
<text
class=
"resultNumber"
>
{{
(
item
.
irrValue
*
100
).
toFixed
(
3
)
}}
%
</text>
</view>
</view>
</view>
</view>
</scroll-view>
</scroll-view>
...
@@ -190,7 +194,7 @@
...
@@ -190,7 +194,7 @@
import
api
from
"../../api/api"
;
import
api
from
"../../api/api"
;
import
{
nanoid
}
from
'nanoid'
;
import
{
nanoid
}
from
'nanoid'
;
import
dataHandling
from
"../../util/dataHandling"
;
import
dataHandling
from
"../../util/dataHandling"
;
import
dataImport
from
"../dataImport/data-import.vue"
import
dataImport
from
"../dataImport/data-import.vue"
;
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -266,10 +270,15 @@
...
@@ -266,10 +270,15 @@
this
.
yearWithdrawalInfos
=
[].
concat
([{
withdrawalType
:
'1'
,
this
.
yearWithdrawalInfos
=
[].
concat
([{
withdrawalType
:
'1'
,
withdrawalStart
:
null
,
withdrawalStart
:
null
,
yearWithdrawalAmount
:
null
}]);
yearWithdrawalAmount
:
null
}]);
<<<<<<<
HEAD
}
else
{
}
else
{
//年金切换到增额时万能账户清空,提领信息清空
//年金切换到增额时万能账户清空,提领信息清空
this
.
irrAndSimpleCalcuteParam
.
allFirstPayment
=
null
;
this
.
irrAndSimpleCalcuteParam
.
allFirstPayment
=
null
;
this
.
yearWithdrawalInfos
=
[];
this
.
yearWithdrawalInfos
=
[];
=======
}
else
if
(
e
==
'1'
){
this
.
irrAndSimpleCalcuteParam
.
allFirstPayment
=
null
;
>>>>>>>
6
c3581fb58cc1331532f1e352624a05e5ba80ba7
}
}
this
.
resultShowFlag
=
false
;
this
.
resultShowFlag
=
false
;
}
}
...
...
unpackage/dist/build/h5/assets/batchFileImport.f45bf5a6.png
deleted
100644 → 0
View file @
f1c3f8b4
32.5 KB
unpackage/dist/build/h5/assets/index.13d2da89.css
deleted
100644 → 0
View file @
f1c3f8b4
*
{
margin
:
0
;
-webkit-tap-highlight-color
:
transparent
}
html
,
body
{
-webkit-user-select
:
none
;
user-select
:
none
;
width
:
100%
;
height
:
100%
}
body
{
overflow-x
:
hidden
;
font-size
:
16px
}
uni-app
,
uni-page
,
uni-page-wrapper
,
uni-page-body
{
display
:
block
;
box-sizing
:
border-box
;
width
:
100%
}
uni-page-wrapper
{
position
:
relative
}
#app
,
uni-app
,
uni-page
,
uni-page-wrapper
{
height
:
100%
}
.uni-mask
{
position
:
fixed
;
z-index
:
999
;
top
:
0
;
right
:
0
;
left
:
0
;
bottom
:
0
;
background
:
rgba
(
0
,
0
,
0
,
.5
)}
.uni-fade-enter-active
,
.uni-fade-leave-active
{
transition-duration
:
.25s
;
transition-property
:
opacity
;
transition-timing-function
:
ease
}
.uni-fade-enter-from
,
.uni-fade-leave-active
{
opacity
:
0
}
.uni-loading
,
uni-button
[
loading
]
:before
{
background-color
:
transparent
;
background-image
:
url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=)
;
background-repeat
:
no-repeat
}
.uni-loading
{
width
:
20px
;
height
:
20px
;
display
:
inline-block
;
vertical-align
:
middle
;
animation
:
uni-loading
1s
steps
(
12
,
end
)
infinite
;
background-size
:
100%
}
@keyframes
uni-loading
{
0
%
{
transform
:
rotate3d
(
0
,
0
,
1
,
0
)}
to
{
transform
:
rotate3d
(
0
,
0
,
1
,
360deg
)}}
body
:after
{
position
:
fixed
;
content
:
""
;
left
:
-1000px
;
top
:
-1000px
;
animation
:
shadow-preload
.1s
;
animation-delay
:
3s
}
@keyframes
shadow-preload
{
0
%
{
background-image
:
url(https://cdn.dcloud.net.cn/img/shadow-grey.png)
}
to
{
background-image
:
url(https://cdn.dcloud.net.cn/img/shadow-grey.png)
}}
.uni-async-error
{
position
:
absolute
;
left
:
0
;
right
:
0
;
top
:
0
;
bottom
:
0
;
color
:
#999
;
padding
:
100px
10px
;
text-align
:
center
}
.uni-async-loading
{
box-sizing
:
border-box
;
width
:
100%
;
padding
:
50px
;
text-align
:
center
}
.uni-async-loading
.uni-loading
{
width
:
30px
;
height
:
30px
}
unpackage/dist/build/h5/assets/policyIrrBanner.05908eaf.png
deleted
100644 → 0
View file @
f1c3f8b4
132 KB
unpackage/dist/build/h5/assets/qrcodeBg.672cc012.png
deleted
100644 → 0
View file @
f1c3f8b4
635 KB
unpackage/dist/build/h5/assets/uni.fae7f8c0.css
deleted
100644 → 0
View file @
f1c3f8b4
uni-view
{
display
:
block
}
uni-view
[
hidden
]
{
display
:
none
}
uni-text
[
selectable
]
{
cursor
:
auto
;
user-select
:
text
}
uni-text
{
white-space
:
pre-line
}
uni-input
{
display
:
block
;
font-size
:
16px
;
line-height
:
1.4em
;
height
:
1.4em
;
min-height
:
1.4em
;
overflow
:
hidden
}
uni-input
[
hidden
]
{
display
:
none
}
.uni-input-wrapper
,
.uni-input-placeholder
,
.uni-input-form
,
.uni-input-input
{
outline
:
none
;
border
:
none
;
padding
:
0
;
margin
:
0
;
text-decoration
:
inherit
}
.uni-input-wrapper
,
.uni-input-form
{
display
:
flex
;
position
:
relative
;
width
:
100%
;
height
:
100%
;
flex-direction
:
column
;
justify-content
:
center
}
.uni-input-placeholder
,
.uni-input-input
{
width
:
100%
}
.uni-input-placeholder
{
position
:
absolute
;
top
:
auto
!important
;
left
:
0
;
color
:
gray
;
overflow
:
hidden
;
text-overflow
:
clip
;
white-space
:
pre
;
word-break
:
keep-all
;
pointer-events
:
none
;
line-height
:
inherit
}
.uni-input-input
{
position
:
relative
;
display
:
block
;
height
:
100%
;
background
:
none
;
color
:
inherit
;
opacity
:
1
;
font
:
inherit
;
line-height
:
inherit
;
letter-spacing
:
inherit
;
text-align
:
inherit
;
text-indent
:
inherit
;
text-transform
:
inherit
;
text-shadow
:
inherit
}
.uni-input-input
[
type
=
search
]
::-webkit-search-cancel-button
,
.uni-input-input
[
type
=
search
]
::-webkit-search-decoration
{
display
:
none
}
.uni-input-input
::-webkit-outer-spin-button
,
.uni-input-input
::-webkit-inner-spin-button
{
appearance
:
none
;
margin
:
0
}
.uni-input-input
[
type
=
number
]
{
-moz-appearance
:
textfield
}
.uni-input-input
:disabled
{
-webkit-text-fill-color
:
currentcolor
}
.uni-label-pointer
{
cursor
:
pointer
}
uni-button
{
position
:
relative
;
display
:
block
;
margin-left
:
auto
;
margin-right
:
auto
;
padding-left
:
14px
;
padding-right
:
14px
;
box-sizing
:
border-box
;
font-size
:
18px
;
text-align
:
center
;
text-decoration
:
none
;
line-height
:
2.55555556
;
border-radius
:
5px
;
-webkit-tap-highlight-color
:
transparent
;
overflow
:
hidden
;
color
:
#000
;
background-color
:
#f8f8f8
;
cursor
:
pointer
}
uni-button
[
hidden
]
{
display
:
none
!important
}
uni-button
:after
{
content
:
" "
;
width
:
200%
;
height
:
200%
;
position
:
absolute
;
top
:
0
;
left
:
0
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
.2
);
transform
:
scale
(
.5
);
transform-origin
:
0
0
;
box-sizing
:
border-box
;
border-radius
:
10px
}
uni-button
[
native
]
{
padding-left
:
0
;
padding-right
:
0
}
uni-button
[
native
]
.uni-button-cover-view-wrapper
{
border
:
inherit
;
border-color
:
inherit
;
border-radius
:
inherit
;
background-color
:
inherit
}
uni-button
[
native
]
.uni-button-cover-view-inner
{
padding-left
:
14px
;
padding-right
:
14px
}
uni-button
uni-cover-view
{
line-height
:
inherit
;
white-space
:
inherit
}
uni-button
[
type
=
default
]
{
color
:
#000
;
background-color
:
#f8f8f8
}
uni-button
[
type
=
primary
]
{
color
:
#fff
;
background-color
:
#007aff
}
uni-button
[
type
=
warn
]
{
color
:
#fff
;
background-color
:
#e64340
}
uni-button
[
disabled
]
{
color
:
rgba
(
255
,
255
,
255
,
.6
);
cursor
:
not-allowed
}
uni-button
[
disabled
][
type
=
default
],
uni-button
[
disabled
]
:not
([
type
])
{
color
:
rgba
(
0
,
0
,
0
,
.3
);
background-color
:
#f7f7f7
}
uni-button
[
disabled
][
type
=
primary
]
{
background-color
:
rgba
(
0
,
122
,
255
,
.6
)}
uni-button
[
disabled
][
type
=
warn
]
{
background-color
:
#ec8b89
}
uni-button
[
type
=
primary
][
plain
]
{
color
:
#007aff
;
border
:
1px
solid
#007aff
;
background-color
:
transparent
}
uni-button
[
type
=
primary
][
plain
][
disabled
]
{
color
:
rgba
(
0
,
0
,
0
,
.2
);
border-color
:
rgba
(
0
,
0
,
0
,
.2
)}
uni-button
[
type
=
primary
][
plain
]
:after
{
border-width
:
0
}
uni-button
[
type
=
default
][
plain
]
{
color
:
#353535
;
border
:
1px
solid
#353535
;
background-color
:
transparent
}
uni-button
[
type
=
default
][
plain
][
disabled
]
{
color
:
rgba
(
0
,
0
,
0
,
.2
);
border-color
:
rgba
(
0
,
0
,
0
,
.2
)}
uni-button
[
type
=
default
][
plain
]
:after
{
border-width
:
0
}
uni-button
[
plain
]
{
color
:
#353535
;
border
:
1px
solid
#353535
;
background-color
:
transparent
}
uni-button
[
plain
][
disabled
]
{
color
:
rgba
(
0
,
0
,
0
,
.2
);
border-color
:
rgba
(
0
,
0
,
0
,
.2
)}
uni-button
[
plain
]
:after
{
border-width
:
0
}
uni-button
[
plain
][
native
]
.uni-button-cover-view-inner
{
padding
:
0
}
uni-button
[
type
=
warn
][
plain
]
{
color
:
#e64340
;
border
:
1px
solid
#e64340
;
background-color
:
transparent
}
uni-button
[
type
=
warn
][
plain
][
disabled
]
{
color
:
rgba
(
0
,
0
,
0
,
.2
);
border-color
:
rgba
(
0
,
0
,
0
,
.2
)}
uni-button
[
type
=
warn
][
plain
]
:after
{
border-width
:
0
}
uni-button
[
size
=
mini
]
{
display
:
inline-block
;
line-height
:
2.3
;
font-size
:
13px
;
padding
:
0
1.34em
}
uni-button
[
size
=
mini
][
native
]
{
padding
:
0
}
uni-button
[
size
=
mini
][
native
]
.uni-button-cover-view-inner
{
padding
:
0
1.34em
}
uni-button
[
loading
]
:not
([
disabled
])
{
cursor
:
progress
}
uni-button
[
loading
]
:before
{
content
:
" "
;
display
:
inline-block
;
width
:
18px
;
height
:
18px
;
vertical-align
:
middle
;
animation
:
uni-loading
1s
steps
(
12
,
end
)
infinite
;
background-size
:
100%
}
uni-button
[
loading
][
type
=
primary
]
{
color
:
rgba
(
255
,
255
,
255
,
.6
);
background-color
:
#0062cc
}
uni-button
[
loading
][
type
=
primary
][
plain
]
{
color
:
#007aff
;
background-color
:
transparent
}
uni-button
[
loading
][
type
=
default
]
{
color
:
rgba
(
0
,
0
,
0
,
.6
);
background-color
:
#dedede
}
uni-button
[
loading
][
type
=
default
][
plain
]
{
color
:
#353535
;
background-color
:
transparent
}
uni-button
[
loading
][
type
=
warn
]
{
color
:
rgba
(
255
,
255
,
255
,
.6
);
background-color
:
#ce3c39
}
uni-button
[
loading
][
type
=
warn
][
plain
]
{
color
:
#e64340
;
background-color
:
transparent
}
uni-button
[
loading
][
native
]
:before
{
content
:
none
}
.button-hover
{
color
:
rgba
(
0
,
0
,
0
,
.6
);
background-color
:
#dedede
}
.button-hover
[
plain
]
{
color
:
rgba
(
53
,
53
,
53
,
.6
);
border-color
:
rgba
(
53
,
53
,
53
,
.6
);
background-color
:
transparent
}
.button-hover
[
type
=
primary
]
{
color
:
rgba
(
255
,
255
,
255
,
.6
);
background-color
:
#0062cc
}
.button-hover
[
type
=
primary
][
plain
]
{
color
:
rgba
(
26
,
173
,
25
,
.6
);
border-color
:
rgba
(
26
,
173
,
25
,
.6
);
background-color
:
transparent
}
.button-hover
[
type
=
default
]
{
color
:
rgba
(
0
,
0
,
0
,
.6
);
background-color
:
#dedede
}
.button-hover
[
type
=
default
][
plain
]
{
color
:
rgba
(
53
,
53
,
53
,
.6
);
border-color
:
rgba
(
53
,
53
,
53
,
.6
);
background-color
:
transparent
}
.button-hover
[
type
=
warn
]
{
color
:
rgba
(
255
,
255
,
255
,
.6
);
background-color
:
#ce3c39
}
.button-hover
[
type
=
warn
][
plain
]
{
color
:
rgba
(
230
,
67
,
64
,
.6
);
border-color
:
rgba
(
230
,
67
,
64
,
.6
);
background-color
:
transparent
}
uni-scroll-view
{
display
:
block
;
width
:
100%
}
uni-scroll-view
[
hidden
]
{
display
:
none
}
.uni-scroll-view
{
position
:
relative
;
-webkit-overflow-scrolling
:
touch
;
width
:
100%
;
height
:
100%
;
max-height
:
inherit
}
.uni-scroll-view-content
{
width
:
100%
;
height
:
100%
}
.uni-scroll-view-refresher
{
position
:
relative
;
overflow
:
hidden
}
.uni-scroll-view-refresh
{
position
:
absolute
;
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
center
;
align-items
:
center
}
.uni-scroll-view-refresh-inner
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
line-height
:
0
;
width
:
40px
;
height
:
40px
;
border-radius
:
50%
;
background-color
:
#fff
;
box-shadow
:
0
1px
6px
rgba
(
0
,
0
,
0
,
.118
),
0
1px
4px
rgba
(
0
,
0
,
0
,
.118
)}
.uni-scroll-view-refresh__spinner
{
transform-origin
:
center
center
;
animation
:
uni-scroll-view-refresh-rotate
2s
linear
infinite
}
.uni-scroll-view-refresh__spinner
>
circle
{
stroke
:
currentColor
;
stroke-linecap
:
round
;
animation
:
uni-scroll-view-refresh-dash
2s
linear
infinite
}
@keyframes
uni-scroll-view-refresh-rotate
{
0
%
{
transform
:
rotate
(
0
)}
to
{
transform
:
rotate
(
360deg
)}}
@keyframes
uni-scroll-view-refresh-dash
{
0
%
{
stroke-dasharray
:
1
,
200
;
stroke-dashoffset
:
0
}
50
%
{
stroke-dasharray
:
89
,
200
;
stroke-dashoffset
:
-35px
}
to
{
stroke-dasharray
:
89
,
200
;
stroke-dashoffset
:
-124px
}}
uni-toast
{
position
:
fixed
;
top
:
0
;
right
:
0
;
bottom
:
0
;
left
:
0
;
z-index
:
999
;
display
:
block
;
box-sizing
:
border-box
;
pointer-events
:
none
;
font-size
:
16px
}
.uni-sample-toast
{
position
:
fixed
;
z-index
:
999
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
text-align
:
center
;
max-width
:
80%
}
.uni-simple-toast__text
{
display
:
inline-block
;
vertical-align
:
middle
;
color
:
#fff
;
background-color
:
rgba
(
17
,
17
,
17
,
.7
);
padding
:
10px
20px
;
border-radius
:
5px
;
font-size
:
13px
;
text-align
:
center
;
max-width
:
100%
;
word-break
:
break-all
;
white-space
:
normal
}
uni-toast
.uni-mask
{
pointer-events
:
auto
}
.uni-toast
{
position
:
fixed
;
z-index
:
999
;
width
:
8em
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
background
:
rgba
(
17
,
17
,
17
,
.7
);
text-align
:
center
;
border-radius
:
5px
;
color
:
#fff
}
.uni-toast
*
{
box-sizing
:
border-box
}
.uni-toast__icon
{
margin
:
20px
0
0
;
width
:
38px
;
height
:
38px
;
vertical-align
:
baseline
}
.uni-icon_toast
{
margin
:
15px
0
0
}
.uni-icon_toast.uni-icon-success-no-circle
:before
{
color
:
#fff
;
font-size
:
55px
}
.uni-icon_toast.uni-loading
{
margin
:
20px
0
0
;
width
:
38px
;
height
:
38px
;
vertical-align
:
baseline
}
.uni-toast__content
{
margin
:
0
0
15px
}
uni-picker
{
position
:
relative
;
display
:
block
;
cursor
:
pointer
}
uni-picker
[
hidden
]
{
display
:
none
}
uni-picker
[
disabled
]
{
cursor
:
not-allowed
}
.uni-picker-container
{
display
:
none
;
position
:
fixed
;
left
:
0
;
right
:
0
;
top
:
0
;
bottom
:
0
;
box-sizing
:
border-box
;
z-index
:
999
;
font-size
:
16px
}
.uni-picker-container
.uni-picker-custom
*
{
box-sizing
:
border-box
}
.uni-picker-container
.uni-picker-custom
{
position
:
fixed
;
left
:
0
;
bottom
:
0
;
transform
:
translateY
(
100%
);
backface-visibility
:
hidden
;
z-index
:
999
;
width
:
100%
;
background-color
:
#efeff4
;
visibility
:
hidden
;
transition
:
transform
.3s
,
visibility
.3s
}
.uni-picker-container
.uni-picker-custom.uni-picker-toggle
{
visibility
:
visible
;
transform
:
translate
(
0
)}
.uni-picker-container
.uni-picker-content
{
position
:
relative
;
display
:
block
;
width
:
100%
;
height
:
238px
;
background-color
:
#fff
}
.uni-picker-container
.uni-picker-item
{
padding
:
0
;
height
:
34px
;
line-height
:
34px
;
text-align
:
center
;
color
:
#000
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
cursor
:
pointer
}
.uni-picker-container
.uni-picker-header
{
display
:
block
;
position
:
relative
;
text-align
:
center
;
width
:
100%
;
height
:
45px
;
background-color
:
#fff
}
.uni-picker-container
.uni-picker-header
:after
{
content
:
""
;
position
:
absolute
;
left
:
0
;
bottom
:
0
;
right
:
0
;
height
:
1px
;
clear
:
both
;
border-bottom
:
1px
solid
#e5e5e5
;
color
:
#e5e5e5
;
transform-origin
:
0
100%
;
transform
:
scaleY
(
.5
)}
.uni-picker-container
.uni-picker-action
{
display
:
block
;
max-width
:
50%
;
top
:
0
;
height
:
100%
;
box-sizing
:
border-box
;
padding
:
0
14px
;
font-size
:
17px
;
line-height
:
45px
;
overflow
:
hidden
;
cursor
:
pointer
}
.uni-picker-container
.uni-picker-action.uni-picker-action-cancel
{
float
:
left
;
color
:
#888
}
.uni-picker-container
.uni-picker-action.uni-picker-action-confirm
{
float
:
right
;
color
:
#007aff
}
.uni-picker-container
.uni-picker-select
{
display
:
none
}
.uni-picker-system
{
position
:
absolute
;
display
:
none
;
display
:
block
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
overflow
:
hidden
}
.uni-picker-system
>
.uni-picker-system_input
{
position
:
absolute
;
border
:
none
;
height
:
100%
;
opacity
:
0
;
cursor
:
pointer
}
.uni-picker-system
>
.uni-picker-system_input.firefox
{
top
:
0
;
left
:
0
;
width
:
100%
}
.uni-picker-system
>
.uni-picker-system_input.chrome
{
top
:
0
;
left
:
0
;
width
:
2em
;
font-size
:
32px
;
height
:
32px
}
@media
screen
and
(
min-width
:
500px
)
and
(
min-height
:
500px
){
.uni-mask.uni-picker-mask
{
background
:
none
}
.uni-picker-container
.uni-picker-custom
{
width
:
300px
;
left
:
50%
;
right
:
auto
;
top
:
50%
;
bottom
:
auto
;
transform
:
translate
(
-50%
,
-50%
);
opacity
:
0
;
border-radius
:
5px
;
transition
:
opacity
.3s
,
visibility
.3s
;
box-shadow
:
0
0
20px
5px
rgba
(
0
,
0
,
0
,
.3
)}
.uni-picker-container
.uni-picker-header
{
border-radius
:
5px
5px
0
0
}
.uni-picker-container
.uni-picker-content
{
transform
:
translate
(
0
0
);
overflow
:
hidden
;
border-radius
:
0
0
5px
5px
}
.uni-picker-container
.uni-picker-custom.uni-picker-toggle
{
opacity
:
1
;
transform
:
translate
(
-50%
,
-50%
)}
.uni-selector-select
.uni-picker-header
,
.uni-selector-select
.uni-picker-content
{
display
:
none
}
.uni-selector-select
.uni-picker-select
{
display
:
block
;
max-height
:
300px
;
overflow
:
auto
;
background-color
:
#fff
;
border-radius
:
5px
;
padding
:
6px
0
}
.uni-selector-select
.uni-picker-item
{
padding
:
0
10px
;
color
:
#555
}
.uni-selector-select
.uni-picker-item
:hover
{
background-color
:
#f6f6f6
}
.uni-selector-select
.uni-picker-item.selected
{
color
:
#007aff
}}
@keyframes
once-show
{
0
%
{
top
:
0
}}
uni-resize-sensor
,
uni-resize-sensor
>
div
{
position
:
absolute
;
left
:
0
;
top
:
0
;
right
:
0
;
bottom
:
0
;
overflow
:
hidden
}
uni-resize-sensor
{
display
:
block
;
z-index
:
-1
;
visibility
:
hidden
;
animation
:
once-show
1ms
}
uni-resize-sensor
>
div
>
div
{
position
:
absolute
;
left
:
0
;
top
:
0
}
uni-resize-sensor
>
div
:first-child
>
div
{
width
:
100000px
;
height
:
100000px
}
uni-resize-sensor
>
div
:last-child
>
div
{
width
:
200%
;
height
:
200%
}
uni-picker-view
{
display
:
block
}
.uni-picker-view-wrapper
{
display
:
flex
;
position
:
relative
;
overflow
:
hidden
;
height
:
100%
}
uni-picker-view
[
hidden
]
{
display
:
none
}
uni-picker-view-column
{
flex
:
1
;
position
:
relative
;
height
:
100%
;
overflow
:
hidden
}
uni-picker-view-column
[
hidden
]
{
display
:
none
}
.uni-picker-view-group
{
height
:
100%
;
overflow
:
hidden
}
.uni-picker-view-mask
{
transform
:
translateZ
(
0
)}
.uni-picker-view-indicator
,
.uni-picker-view-mask
{
position
:
absolute
;
left
:
0
;
width
:
100%
;
z-index
:
3
;
pointer-events
:
none
}
.uni-picker-view-mask
{
top
:
0
;
height
:
100%
;
margin
:
0
auto
;
background
:
linear-gradient
(
180deg
,
hsla
(
0
,
0%
,
100%
,
.95
),
hsla
(
0
,
0%
,
100%
,
.6
)),
linear-gradient
(
0deg
,
hsla
(
0
,
0%
,
100%
,
.95
),
hsla
(
0
,
0%
,
100%
,
.6
));
background-position
:
top
,
bottom
;
background-size
:
100%
102px
;
background-repeat
:
no-repeat
}
.uni-picker-view-indicator
{
height
:
34px
;
top
:
50%
;
transform
:
translateY
(
-50%
)}
.uni-picker-view-content
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
will-change
:
transform
;
padding
:
102px
0
;
cursor
:
pointer
}
.uni-picker-view-content
>*
{
height
:
34px
;
overflow
:
hidden
}
.uni-picker-view-indicator
:before
{
top
:
0
;
border-top
:
1px
solid
#e5e5e5
;
transform-origin
:
0
0
;
transform
:
scaleY
(
.5
)}
.uni-picker-view-indicator
:after
{
bottom
:
0
;
border-bottom
:
1px
solid
#e5e5e5
;
transform-origin
:
0
100%
;
transform
:
scaleY
(
.5
)}
.uni-picker-view-indicator
:after
,
.uni-picker-view-indicator
:before
{
content
:
" "
;
position
:
absolute
;
left
:
0
;
right
:
0
;
height
:
1px
;
color
:
#e5e5e5
}
uni-textarea
{
width
:
300px
;
height
:
150px
;
display
:
block
;
position
:
relative
;
font-size
:
16px
;
line-height
:
normal
;
white-space
:
pre-wrap
;
word-break
:
break-all
}
uni-textarea
[
hidden
]
{
display
:
none
}
.uni-textarea-wrapper
,
.uni-textarea-placeholder
,
.uni-textarea-line
,
.uni-textarea-compute
,
.uni-textarea-textarea
{
outline
:
none
;
border
:
none
;
padding
:
0
;
margin
:
0
;
text-decoration
:
inherit
}
.uni-textarea-wrapper
{
display
:
block
;
position
:
relative
;
width
:
100%
;
height
:
100%
;
min-height
:
inherit
}
.uni-textarea-placeholder
,
.uni-textarea-line
,
.uni-textarea-compute
,
.uni-textarea-textarea
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
left
:
0
;
top
:
0
;
white-space
:
inherit
;
word-break
:
inherit
}
.uni-textarea-placeholder
{
color
:
gray
;
overflow
:
hidden
}
.uni-textarea-line
,
.uni-textarea-compute
{
visibility
:
hidden
;
height
:
auto
}
.uni-textarea-line
{
width
:
1em
}
.uni-textarea-textarea
{
resize
:
none
;
background
:
none
;
color
:
inherit
;
opacity
:
1
;
font
:
inherit
;
line-height
:
inherit
;
letter-spacing
:
inherit
;
text-align
:
inherit
;
text-indent
:
inherit
;
text-transform
:
inherit
;
text-shadow
:
inherit
}
.uni-textarea-textarea-fix-margin
{
width
:
auto
;
right
:
0
;
margin
:
0
-3px
}
.uni-textarea-textarea
:disabled
{
-webkit-text-fill-color
:
currentcolor
}
uni-icon
{
display
:
inline-block
;
font-size
:
0
;
box-sizing
:
border-box
}
uni-icon
[
hidden
]
{
display
:
none
}
uni-modal
{
position
:
fixed
;
top
:
0
;
right
:
0
;
bottom
:
0
;
left
:
0
;
z-index
:
999
;
display
:
block
;
box-sizing
:
border-box
}
.uni-modal
{
position
:
fixed
;
z-index
:
999
;
width
:
80%
;
max-width
:
300px
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
background-color
:
#fff
;
text-align
:
center
;
border-radius
:
3px
;
overflow
:
hidden
}
.uni-modal
*
{
box-sizing
:
border-box
}
.uni-modal__hd
{
padding
:
1em
1.6em
.3em
}
.uni-modal__title
{
font-weight
:
400
;
font-size
:
18px
;
word-wrap
:
break-word
;
word-break
:
break-all
;
white-space
:
pre-wrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
}
.uni-modal__bd
{
padding
:
1.3em
1.6em
;
min-height
:
40px
;
font-size
:
15px
;
line-height
:
1.4
;
word-wrap
:
break-word
;
word-break
:
break-all
;
white-space
:
pre-wrap
;
color
:
#999
;
max-height
:
400px
;
overflow-x
:
hidden
;
overflow-y
:
auto
}
.uni-modal__textarea
{
resize
:
none
;
border
:
0
;
margin
:
0
;
width
:
90%
;
padding
:
10px
;
font-size
:
20px
;
outline
:
none
;
border
:
none
;
background-color
:
#eee
;
text-decoration
:
inherit
}
.uni-modal__ft
{
position
:
relative
;
line-height
:
48px
;
font-size
:
18px
;
display
:
flex
}
.uni-modal__ft
:after
{
content
:
" "
;
position
:
absolute
;
left
:
0
;
top
:
0
;
right
:
0
;
height
:
1px
;
border-top
:
1px
solid
#d5d5d6
;
color
:
#d5d5d6
;
transform-origin
:
0
0
;
transform
:
scaleY
(
.5
)}
.uni-modal__btn
{
display
:
block
;
flex
:
1
;
color
:
#3cc51f
;
text-decoration
:
none
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
);
position
:
relative
;
cursor
:
pointer
}
.uni-modal__btn
:active
{
background-color
:
#eee
}
.uni-modal__btn
:after
{
content
:
" "
;
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
1px
;
bottom
:
0
;
border-left
:
1px
solid
#d5d5d6
;
color
:
#d5d5d6
;
transform-origin
:
0
0
;
transform
:
scaleX
(
.5
)}
.uni-modal__btn
:first-child:after
{
display
:
none
}
.uni-modal__btn_default
{
color
:
#353535
}
.uni-modal__btn_primary
{
color
:
#007aff
}
util/numerPipe.ts
→
util/num
b
erPipe.ts
View file @
a763ebe2
export
function
numberToCurrencyNo
(
value
)
{
export
function
numberToCurrencyNo
(
value
)
{
if
(
!
value
)
return
0
debugger
;
if
(
!
value
)
return
0
;
// 获取整数部分
// 获取整数部分
const
intPart
=
Math
.
trunc
(
value
)
const
intPart
=
Math
.
trunc
(
value
)
// 整数部分处理,增加,
// 整数部分处理,增加,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment