Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a9f3543a
authored
May 15, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
8226644a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
10 deletions
src/views/wallet/Record.vue
src/views/wallet/WalletDetail.vue
view/24.js
view/26.js
src/views/wallet/Record.vue
View file @
a9f3543a
...
...
@@ -24,16 +24,14 @@
</
template
>
<
template
v-else
>
<li
class=
"no-data"
>
<
p
style=
"color: #333;width: 80%;margin: 0 auto;font-size: 13px;margin-top: 28px;"
>
您的钱包当前还没有记录哦,去看看商品吧~
<a
style=
"color: #1080d0;"
href=
"/v3/s"
>
去搜索
</a></p
>
</li>
<
i
class=
"iconfont icon-zanwushuju"
style=
"color: #999;margin: 0 auto;display: block;text-align: center;font-size: 90px;padding-top: 60px;"
></i
>
<p
style=
"color: #333;width: 80%;margin: 0 auto;font-size: 13px;margin-top: 28px;"
>
您的钱包当前还没有记录哦,去看看商品吧~
<a
style=
"color: #1080d0;"
href=
"/v3/s"
>
去搜索
</a></p>
</li>
</
template
>
</ul>
<van-popup
v-model=
"dateShow"
position=
"bottom"
:overlay=
"true"
>
<van-datetime-picker
v-model=
"currentDate"
type=
"year-month"
:formatter=
"formatter"
@
cancel=
"onDateCancel"
@
confirm=
"onDateConfirm"
@
change=
"dateChange"
/>
</van-popup>
<van-popup
v-model=
"typeShow"
position=
"bottom"
:overlay=
"true"
>
<van-picker
show-toolbar
title=
"交易类型"
:columns=
"columns"
@
cancel=
"onTypeCancel"
@
confirm=
"onTypeConfirm"
/>
</van-popup>
</div>
<!--记录类型弹出框-->
<div
class=
"dialog-layer-shade"
v-if=
"dialog"
>
...
...
@@ -209,15 +207,13 @@
})
},
onTypeConfirm
(
value
,
index
)
{
this
.
dialog
=
false
;
this
.
active
=
index
;
this
.
text
=
this
.
columns
[
index
].
text
;
this
.
typeCheckedkeyId
=
value
.
keyId
;
this
.
typeCheckedText
=
value
.
text
;
this
.
typeCheckedkeyId
=
value
;
this
.
recordYear
=
this
.
updateYear
||
this
.
recordYear
;
this
.
recordMonth
=
this
.
updateMonth
||
this
.
recordMonth
;
...
...
src/views/wallet/WalletDetail.vue
View file @
a9f3543a
...
...
@@ -214,8 +214,7 @@
this
.
active
=
index
;
this
.
text
=
this
.
columns
[
index
].
text
;
this
.
typeCheckedkeyId
=
value
.
keyId
;
this
.
typeCheckedText
=
value
.
text
;
this
.
typeCheckedkeyId
=
value
;
this
.
dateYear
=
this
.
updateYear
||
this
.
dateYear
;
this
.
dateMonth
=
this
.
updateMonth
||
this
.
dateMonth
;
...
...
view/24.js
View file @
a9f3543a
This diff is collapsed.
Click to expand it.
view/26.js
View file @
a9f3543a
This diff is collapsed.
Click to expand it.
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