Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
f93951f7
Commit
f93951f7
authored
Aug 26, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve: 悬浮弹窗关闭按钮自定义
parent
183ec30b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
22 deletions
+30
-22
fiveOrders.vue
src/components/order/fiveOrders.vue
+30
-22
No files found.
src/components/order/fiveOrders.vue
View file @
f93951f7
<
template
>
<
template
>
<u-popup
<u-popup
v-model=
"
show
"
v-model=
"
visible
"
mode=
"center"
mode=
"center"
safe-area-inset-bottom
safe-area-inset-bottom
closeable
width=
"690rpx"
width=
"690rpx"
border-radius=
"12"
border-radius=
"12"
@
close=
"handleClose"
@
close=
"handleClose"
...
@@ -12,9 +11,14 @@
...
@@ -12,9 +11,14 @@
<view
class=
"pop-view"
>
<view
class=
"pop-view"
>
<image
:src=
"chakanjiluImage"
class=
"back-image"
mode=
"widthFix"
></image>
<image
:src=
"chakanjiluImage"
class=
"back-image"
mode=
"widthFix"
></image>
<view
class=
"head-view"
>
<view
class=
"head-view"
>
<view
class=
"left-view"
>
<view>
最近查看记录
</view>
<view>
最近查看记录
</view>
<view
class=
"head-message"
>
最近查看或操作过的5条订单
</view>
<view
class=
"head-message"
>
最近查看或操作过的5条订单
</view>
</view>
</view>
<view
class=
"close-button"
@
click=
"$u.throttle(handleClose, 500)"
>
<u-icon
name=
"close"
></u-icon>
</view>
</view>
<view
class=
"none-view"
v-if=
"orderList.length
<
=
0
"
>
<view
class=
"none-view"
v-if=
"orderList.length
<
=
0
"
>
<NoOrder
text=
"当前暂无查看记录"
/>
<NoOrder
text=
"当前暂无查看记录"
/>
</view>
</view>
...
@@ -59,7 +63,6 @@ export default {
...
@@ -59,7 +63,6 @@ export default {
data
()
{
data
()
{
return
{
return
{
// orderList: [],
// orderList: [],
show
:
false
,
loaded
:
false
,
loaded
:
false
,
}
}
},
},
...
@@ -71,14 +74,6 @@ export default {
...
@@ -71,14 +74,6 @@ export default {
return
process
.
uniEnv
.
qn_base_url
+
'chakanjilu.png'
return
process
.
uniEnv
.
qn_base_url
+
'chakanjilu.png'
},
},
},
},
watch
:
{
visible
(
val
)
{
this
.
show
=
val
},
},
created
()
{
this
.
show
=
this
.
visible
},
methods
:
{
methods
:
{
// getOrderList() {
// getOrderList() {
// this.loaded = false
// this.loaded = false
...
@@ -163,6 +158,10 @@ export default {
...
@@ -163,6 +158,10 @@ export default {
z-index
:
-1
;
z-index
:
-1
;
}
}
.head-view
{
.head-view
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
flex-start
;
.left-view
{
padding
:
30rpx
30rpx
20rpx
30rpx
;
padding
:
30rpx
30rpx
20rpx
30rpx
;
font-size
:
48rpx
;
font-size
:
48rpx
;
font-weight
:
bold
;
font-weight
:
bold
;
...
@@ -174,6 +173,15 @@ export default {
...
@@ -174,6 +173,15 @@ export default {
margin-top
:
14rpx
;
margin-top
:
14rpx
;
}
}
}
}
.close-button
{
width
:
60rpx
;
height
:
60rpx
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
margin
:
14rpx
;
}
}
.none-view
{
.none-view
{
margin-top
:
30rpx
;
margin-top
:
30rpx
;
margin-bottom
:
50rpx
;
margin-bottom
:
50rpx
;
...
...
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