Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
user
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hooloo
mp
user
Commits
90d0313f
Commit
90d0313f
authored
Jun 21, 2022
by
宋冰琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7ebf4441
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
21 deletions
+26
-21
pages/order/order.vue
+26
-21
No files found.
pages/order/order.vue
View file @
90d0313f
...
@@ -2,14 +2,18 @@
...
@@ -2,14 +2,18 @@
<view
class=
"pages"
>
<view
class=
"pages"
>
<view
v-show=
"false"
>
{{
userms
}}
</view>
<view
v-show=
"false"
>
{{
userms
}}
</view>
<view
class=
"empty"
v-show=
"userms && empty == true"
>
<view
class=
"empty"
v-show=
"userms && empty == true"
>
<view
:style=
"
{'text-align':'center'}">
<image
class=
"empty_icon"
src=
"/static/imgs/none_content.png"
></image>
<image
class=
"empty_icon"
src=
"/static/imgs/none_content.png"
></image>
<view
class=
"empty_text"
>
---您还未下单,下单品尝一下吧---
</view>
</view>
<button
class=
"empty_button"
@
click=
"goHome"
>
去品尝
</button>
<view
class=
"empty_text"
>
——您还未下单,下单品尝一下吧——
</view>
<button
class=
"empty_button"
@
click=
"goHome"
></button>
</view>
</view>
<view
class=
"empty"
v-show=
"!userms"
>
<view
class=
"empty"
v-show=
"!userms"
>
<view
:style=
"
{'text-align':'center'}">
<image
class=
"empty_icon"
src=
"/static/imgs/none_content.png"
></image>
<image
class=
"empty_icon"
src=
"/static/imgs/none_content.png"
></image>
<view
class=
"empty_text"
>
---您还未登录,请先登录---
</view>
</view>
<button
class=
"empty_button"
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
>
去登录
</button>
<view
class=
"empty_text"
>
——您还未登录,请先登录——
</view>
<button
class=
"empty_button"
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
></button>
</view>
</view>
<view
class=
"orders"
>
<view
class=
"orders"
>
<view
class=
"order_item"
v-for=
"item in list"
:key=
"item.id"
@
click=
"openInfo(item)"
>
<view
class=
"order_item"
v-for=
"item in list"
:key=
"item.id"
@
click=
"openInfo(item)"
>
...
@@ -227,31 +231,32 @@ export default {
...
@@ -227,31 +231,32 @@ export default {
left
:
50%
;
left
:
50%
;
/* 兼容老版本的方法 */
/* 兼容老版本的方法 */
-webkit-transform
:
translateX
(
-50%
);
-webkit-transform
:
translateX
(
-50%
);
transform
:
translate
X
(
-50%
);
transform
:
translate
(
-50%
);
margin-top
:
200
rpx
;
margin-top
:
311
rpx
;
.empty_icon
{
.empty_icon
{
width
:
325
rpx
;
width
:
280
rpx
;
height
:
2
9
6
rpx
;
height
:
2
6
6
rpx
;
}
}
.empty_text
{
.empty_text
{
font-size
:
20
rpx
;
margin-top
:
35
rpx
;
margin-top
:
10
rpx
;
font-family
:
ArialMT
;
color
:
#666666
;
text-align
:
center
;
text-align
:
center
;
font-size
:
24
rpx
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
color
:
#999999
;
}
}
.empty_button
{
.empty_button
{
width
:
128
rpx
;
margin-top
:
35
rpx
;
height
:
46
rpx
;
width
:
167
rpx
;
margin-top
:
10
rpx
;
height
:
64
rpx
;
background
:
#006ECF
;
background
:
url('@/static/imgs/qupinchang.png')
center
center
no-repeat
;
border-radius
:
10
rpx
;
border-radius
:
0
rpx
;
text-align
:
center
;
}
line-height
:
46
rpx
;
.empty_button
::after
{
font-size
:
20
rpx
;
border-radius
:
0
rpx
;
color
:
#fff
;
}
}
}
}
...
...
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