Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sim
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
limeimei
sim
Commits
c160cb72
Commit
c160cb72
authored
Nov 15, 2023
by
limeimei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ce2c9a01
Pipeline
#1943
canceled with stages
Changes
11
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
38 additions
and
17 deletions
+38
-17
common.vue
src/views/common.vue
+11
-1
common2.vue
src/views/common2.vue
+10
-1
pay.vue
src/views/sim/pay.vue
+5
-4
phone.vue
src/views/sim/phone.vue
+2
-1
register.vue
src/views/sim/register.vue
+3
-3
roomcard.vue
src/views/sim/roomcard.vue
+2
-2
success.vue
src/views/sim/success.vue
+1
-1
authSuccess.vue
src/views/visitor/authSuccess.vue
+1
-1
card.vue
src/views/visitor/card.vue
+1
-1
reserved.vue
src/views/visitor/reserved.vue
+1
-1
send.vue
src/views/visitor/send.vue
+1
-1
No files found.
src/views/common.vue
View file @
c160cb72
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"common"
>
<div
class=
"common"
>
<img
src=
"@/assets/visitor/home.png"
alt=
""
class=
"home"
>
<img
src=
"@/assets/visitor/home.png"
alt=
""
class=
"home"
>
<div
class=
"common_btn"
>
返回主页
</div>
<div
class=
"common_btn"
@
click=
"gohome"
>
返回主页
</div>
<div
class=
"common_title"
>
<div
class=
"common_title"
>
{{
title
}}
{{
title
}}
</div>
</div>
...
@@ -76,11 +76,21 @@
...
@@ -76,11 +76,21 @@
// 返回主页
// 返回主页
gohome
()
{
gohome
()
{
console
.
log
(
234
)
clearInterval
(
this
.
timer
);
clearInterval
(
this
.
timer
);
this
.
$router
.
replace
({
this
.
$router
.
replace
({
name
:
"visitor"
,
name
:
"visitor"
,
});
});
},
},
},
beforeDestroy
()
{
// 销毁定时器
clearInterval
(
this
.
timer
);
this
.
timer
=
null
;
}
}
}
}
</
script
>
</
script
>
...
...
src/views/common2.vue
View file @
c160cb72
...
@@ -118,6 +118,15 @@
...
@@ -118,6 +118,15 @@
name
:
"sim"
,
name
:
"sim"
,
});
});
},
},
},
beforeDestroy
()
{
// 销毁定时器
clearInterval
(
this
.
timer
);
this
.
timer
=
null
;
}
}
}
}
</
script
>
</
script
>
...
@@ -218,7 +227,7 @@
...
@@ -218,7 +227,7 @@
.hotel_content
{
.hotel_content
{
width
:
100%
;
width
:
100%
;
padding
:
0
36
px
;
padding
:
0
54
px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
...
...
src/views/sim/pay.vue
View file @
c160cb72
<
template
>
<
template
>
<div
class=
"order"
>
<div
class=
"order"
>
<div
class=
"order_top"
>
<div
class=
"order_top"
>
<div
class=
"goback"
@
click=
"goba
c
k"
>
返回上一步
</div>
<div
class=
"goback"
@
click=
"gobak"
>
返回上一步
</div>
<div
class=
"order_title"
>
订单支付
</div>
<div
class=
"order_title"
>
订单支付
</div>
</div>
</div>
<div
class=
"collection"
>
<div
class=
"collection"
>
...
@@ -9,11 +9,11 @@
...
@@ -9,11 +9,11 @@
<div
class=
"price"
>
¥
<span>
99
</span></div>
<div
class=
"price"
>
¥
<span>
99
</span></div>
<div
class=
"price_type"
>
<div
class=
"price_type"
>
<div
class=
"price_wechat"
>
<div
class=
"price_wechat"
>
<img
src=
""
class=
"price_img"
/>
<img
class=
"price_img"
/>
<div
class=
"price_tips"
>
使用
<span>
微信
</span>
扫一扫进行支付
</div>
<div
class=
"price_tips"
>
使用
<span>
微信
</span>
扫一扫进行支付
</div>
</div>
</div>
<div
class=
"price_alipay"
>
<div
class=
"price_alipay"
>
<img
src=
""
class=
"price_img"
/>
<img
class=
"price_img"
/>
<div
class=
"price_tips"
>
使用
<span>
支付宝
</span>
扫一扫进行支付
</div>
<div
class=
"price_tips"
>
使用
<span>
支付宝
</span>
扫一扫进行支付
</div>
</div>
</div>
</div>
</div>
...
@@ -25,11 +25,12 @@
...
@@ -25,11 +25,12 @@
<
script
>
<
script
>
export
default
{
export
default
{
methods
:
{
methods
:
{
goba
c
k
()
{
gobak
()
{
this
.
$router
.
go
(
-
1
);
this
.
$router
.
go
(
-
1
);
},
},
comfim
()
{
comfim
()
{
console
.
log
(
111
)
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
"simCard"
,
name
:
"simCard"
,
});
});
...
...
src/views/sim/phone.vue
View file @
c160cb72
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
position
:
relative
;
position
:
relative
;
padding
:
0
86px
;
/* padding: 0 0px; */
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
...
@@ -101,6 +101,7 @@
...
@@ -101,6 +101,7 @@
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
min-height
:
471px
;
min-height
:
471px
;
align-content
:
flex-start
;
align-content
:
flex-start
;
justify-content
:
space-around
;
}
}
.phone_list_item
{
.phone_list_item
{
...
...
src/views/sim/register.vue
View file @
c160cb72
<
template
>
<
template
>
<div
class=
"order"
>
<div
class=
"order"
>
<div
class=
"order_top"
>
<div
class=
"order_top"
>
<div
class=
"goba
c
k"
@
click=
"gobak"
>
返回上一步
</div>
<div
class=
"gobak"
@
click=
"gobak"
>
返回上一步
</div>
<div
class=
"order_title"
>
确认订单
</div>
<div
class=
"order_title"
>
确认订单
</div>
</div>
</div>
<div
class=
"collection"
>
<div
class=
"collection"
>
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
name
:
"payment"
,
name
:
"payment"
,
});
});
},
},
goba
c
k
()
{
gobak
()
{
this
.
$router
.
go
(
-
1
);
this
.
$router
.
go
(
-
1
);
},
},
},
},
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
position
:
relative
;
position
:
relative
;
}
}
.goba
c
k
{
.gobak
{
width
:
141px
;
width
:
141px
;
height
:
51px
;
height
:
51px
;
position
:
absolute
;
position
:
absolute
;
...
...
src/views/sim/roomcard.vue
View file @
c160cb72
<
template
>
<
template
>
<div
class=
"order"
>
<div
class=
"order"
>
<div
class=
"order_top"
>
<div
class=
"order_top"
>
<div
class=
"order_title"
>
发放
房
卡
</div>
<div
class=
"order_title"
>
发放
SIM
卡
</div>
</div>
</div>
<div
class=
"collection"
>
<div
class=
"collection"
>
<img
src=
"@/assets/sim/simCard.png"
class=
"grant"
/>
<img
src=
"@/assets/sim/simCard.png"
class=
"grant"
/>
<div
class=
"waiting"
>
房
卡发放中,请耐心等待...
</div>
<div
class=
"waiting"
>
SIM
卡发放中,请耐心等待...
</div>
<el-progress
:show-text=
"false"
color=
"#61ABEC"
:percentage=
"50"
class=
"progress"
<el-progress
:show-text=
"false"
color=
"#61ABEC"
:percentage=
"50"
class=
"progress"
:stroke-width=
"21"
></el-progress>
:stroke-width=
"21"
></el-progress>
<div
class=
"progress_schedule"
>
40%
</div>
<div
class=
"progress_schedule"
>
40%
</div>
...
...
src/views/sim/success.vue
View file @
c160cb72
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
</div>
</div>
<div
class=
"collection"
>
<div
class=
"collection"
>
<img
src=
"@/assets/hotel/success2.png"
class=
"success_icon"
/>
<img
src=
"@/assets/hotel/success2.png"
class=
"success_icon"
/>
<div
class=
"success_text"
>
房卡发放成功,请拿好您的房卡
</div>
<div
class=
"success_text"
>
SIM发放成功,请拿好您的SIM
</div>
<div
class=
"success_text"
>
感谢您的使用
</div>
<div
class=
"success_text"
>
感谢您的使用
</div>
<div
class=
"success_back"
@
click=
"goback"
>
回到首页
</div>
<div
class=
"success_back"
@
click=
"goback"
>
回到首页
</div>
</div>
</div>
...
...
src/views/visitor/authSuccess.vue
View file @
c160cb72
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
this
.
$router
.
go
(
-
1
);
this
.
$router
.
go
(
-
1
);
},
},
toNext
()
{
toNext
()
{
this
.
$router
.
push
({
name
:
"
card"
,
params
:
{
title
:
'发放访客卡'
,
}
});
this
.
$router
.
push
({
name
:
"
send"
});
},
},
}
}
...
...
src/views/visitor/card.vue
View file @
c160cb72
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
.card_body
{
.card_body
{
width
:
100%
;
width
:
100%
;
height
:
729
px
;
height
:
810
px
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
...
...
src/views/visitor/reserved.vue
View file @
c160cb72
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
clickBtn
(
val
)
{
clickBtn
(
val
)
{
val
==
11
?
this
.
phone
=
''
:
''
val
==
11
?
this
.
phone
=
''
:
''
if
(
this
.
phone
.
length
>
10
)
return
if
(
this
.
phone
.
length
>
10
&&
val
!=
10
)
return
val
<=
9
?
val
<=
9
?
this
.
phone
=
this
.
phone
+
val
.
toString
()
:
''
;
this
.
phone
=
this
.
phone
+
val
.
toString
()
:
''
;
...
...
src/views/visitor/send.vue
View file @
c160cb72
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
.card_body
{
.card_body
{
width
:
100%
;
width
:
100%
;
height
:
729
px
;
height
:
810
px
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
...
...
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