Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘文虎
account-book
Commits
ac2a9e32
Commit
ac2a9e32
authored
Jul 27, 2022
by
Facius
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.banshouhui.com/liuwenhu/account-book
parents
41d059df
51c85c19
Pipeline
#2973
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
15 deletions
+12
-15
drap-view.vue
pages/mine/payments-setting/components/drap-view.vue
+11
-14
payments-setting.vue
pages/mine/payments-setting/payments-setting.vue
+1
-1
No files found.
pages/mine/payments-setting/components/drap-view.vue
View file @
ac2a9e32
...
...
@@ -19,9 +19,7 @@
>
<view
class=
"item-view"
>
<view
class=
"left-view"
>
<view
class=
"image-view"
>
<image
:src=
"billStaticBaseUrl+item.icon"
v-if=
"item.icon"
></image>
</view>
<view
class=
"image-view"
><image
:src=
"billStaticBaseUrl + item.icon"
v-if=
"item.icon"
></image></view>
<view
class=
"name-view"
>
{{
item
.
label
}}
</view>
</view>
</view>
...
...
@@ -41,9 +39,7 @@
>
<view
class=
"item-view"
>
<view
class=
"left-view"
>
<view
class=
"image-view"
>
<image
:src=
"billStaticBaseUrl+movableViewInfo.data.icon"
class=
"image-view"
v-if=
"movableViewInfo.data.icon"
></image>
</view>
<view
class=
"image-view"
><image
:src=
"billStaticBaseUrl + movableViewInfo.data.icon"
class=
"image-view"
v-if=
"movableViewInfo.data.icon"
></image></view>
<view
class=
"name-view"
>
{{
movableViewInfo
.
data
&&
movableViewInfo
.
data
.
label
}}
</view>
</view>
</view>
...
...
@@ -56,7 +52,7 @@
<
script
>
import
PopInput
from
'@/components/pop-input-view'
;
import
{
billStaticBaseUrl
}
from
'@/utils/config.js'
import
{
billStaticBaseUrl
}
from
'@/utils/config.js'
;
export
default
{
name
:
'dragEdit'
,
props
:
[
'list'
],
...
...
@@ -112,14 +108,13 @@ export default {
deep
:
true
}
},
computed
:
{
},
computed
:
{},
mounted
()
{
this
.
systemInfo
=
uni
.
getSystemInfoSync
();
this
.
optionLists
=
[...
this
.
list
];
},
methods
:
{
contentClick
(
e
){
contentClick
(
e
)
{
console
.
log
(
'contentClick'
,
e
);
setTimeout
(()
=>
{
this
.
closeAll
();
...
...
@@ -153,7 +148,7 @@ export default {
}
});
}
console
.
log
(
"open"
,
this
.
optionLists
)
console
.
log
(
'open'
,
this
.
optionLists
);
},
toEdit
(
index
)
{
...
...
@@ -167,11 +162,11 @@ export default {
});
uni
.
$once
(
`input-sure-payments-setting`
,
res
=>
{
this
.
optionLists
[
index
].
label
=
res
.
content
;
this
.
$emit
(
"onEdit"
,
this
.
optionLists
[
index
])
this
.
$emit
(
'onEdit'
,
this
.
optionLists
[
index
]);
});
},
handleConfirm
()
{
let
row
=
this
.
optionLists
[
this
.
readyDeleteIndex
]
let
row
=
this
.
optionLists
[
this
.
readyDeleteIndex
];
// this.optionLists.splice(this.readyDeleteIndex, 1);
this
.
optionLists
[
this
.
readyDeleteIndex
].
show
=
false
;
this
.
$emit
(
'onDelete'
,
row
);
...
...
@@ -370,6 +365,7 @@ export default {
// margin-bottom: 12px;
border-radius
:
8rpx
;
background-color
:
#fff
;
width
:
100%
;
}
.movable-area
{
position
:
absolute
;
...
...
@@ -405,7 +401,7 @@ export default {
.left-view
{
display
:
flex
;
align-items
:
center
;
width
:
100%
;
width
:
100%
;
.image-view
{
width
:
72rpx
;
height
:
72rpx
;
...
...
@@ -413,6 +409,7 @@ export default {
}
.name-view
{
flex
:
1
;
font-size
:
32rpx
;
font-weight
:
bold
;
}
...
...
pages/mine/payments-setting/payments-setting.vue
View file @
ac2a9e32
...
...
@@ -58,7 +58,7 @@ export default {
listHeight
:
0
,
showTip
:
false
,
imageTop
:
0
,
notification
:
'update-payments-setting'
notification
:
'update-payments-setting'
,
};
},
computed
:
{
...
...
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