Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_wechat
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
pseer
gxpt_wechat
Commits
98fe9c9a
Commit
98fe9c9a
authored
Jun 18, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页添加提示弹框
parent
60f094c8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
1 deletions
+54
-1
App.vue
App.vue
+4
-0
index.vue
pages/index/index.vue
+50
-1
No files found.
App.vue
View file @
98fe9c9a
...
@@ -51,6 +51,10 @@
...
@@ -51,6 +51,10 @@
uni
.
removeStorageSync
(
"storePopShow"
)
uni
.
removeStorageSync
(
"storePopShow"
)
}
}
if
(
uni
.
getStorageSync
(
"popupTipStatus"
)){
uni
.
removeStorageSync
(
"popupTipStatus"
)
}
uni
.
getSystemInfo
({
uni
.
getSystemInfo
({
success
:
(
e
)
=>
{
success
:
(
e
)
=>
{
Vue
.
prototype
.
screenHeight
=
e
.
screenHeight
;
Vue
.
prototype
.
screenHeight
=
e
.
screenHeight
;
...
...
pages/index/index.vue
View file @
98fe9c9a
...
@@ -243,7 +243,24 @@
...
@@ -243,7 +243,24 @@
</view>
</view>
</uni-popup>
</uni-popup>
<uni-popup
ref=
"popupTip"
type=
"center"
:isMaskClick =
"false"
>
<view
class=
"flex-col content-tip"
>
<view
class=
"title"
>
<text
class=
"text-black text-xl text-bold"
>
温馨提示
</text>
</view>
<view
class=
"content"
>
<text
class=
"text-black text-lg"
>
欢迎来到凑角自助共享棋牌,凑角品牌致力于打造环境舒适、风格独特的棋牌共享空间,门店24小时无人值守,房间使用期间,如有问题请联系门店客服,将一对一为您服务。
本空间使用者需遵守治安管理条列,注意个人安全,违者自行承担相应责任及后果:
一、严禁未成年人进入本场所
二、严禁黄、赌、毒
三、本所提供的设备设施,损坏需照价赔偿
四、本店为自助共享空间,需自行保管好私人物品,如有遗失,概不负责
</text>
</view>
<view
class=
"btn-box"
>
<button
class=
"cu-btn bg-pink block"
@
tap=
"onCloseTip"
>
好的 知道了
</button>
</view>
</view>
</uni-popup>
<!--
<LoginPop
ref=
"loginPop"
/>
-->
<!--
<LoginPop
ref=
"loginPop"
/>
-->
<f-tabbar></f-tabbar>
<f-tabbar></f-tabbar>
</view>
</view>
...
@@ -377,6 +394,10 @@
...
@@ -377,6 +394,10 @@
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
if
(
!
uni
.
getStorageSync
(
"popupTipStatus"
)){
this
.
$refs
.
popupTip
.
open
();
}
this
.
list
=
[];
this
.
list
=
[];
this
.
onGetDicts
();
this
.
onGetDicts
();
this
.
onSetShowPoint
();
this
.
onSetShowPoint
();
...
@@ -385,6 +406,10 @@
...
@@ -385,6 +406,10 @@
// this.$refs.loginPop.open();
// this.$refs.loginPop.open();
},
},
methods
:
{
methods
:
{
onCloseTip
(){
this
.
$refs
.
popupTip
.
close
();
uni
.
setStorageSync
(
"popupTipStatus"
,
true
)
},
onStoreChage
(
id
)
{
onStoreChage
(
id
)
{
uni
.
setStorageSync
(
"storeId"
,
id
);
uni
.
setStorageSync
(
"storeId"
,
id
);
this
.
onStoreClose
(
false
);
this
.
onStoreClose
(
false
);
...
@@ -1537,4 +1562,27 @@
...
@@ -1537,4 +1562,27 @@
padding
:
0
2%
3%
;
padding
:
0
2%
3%
;
}
}
}
}
.content-tip
{
display
:
flex
;
flex-direction
:
column
;
background-color
:
#ffffff
;
width
:
92%
;
margin
:
0
auto
;
border-radius
:
20
upx
;
box-shadow
:
0
8
upx
20
upx
rgba
(
185
,
75
,
112
,
0.7
);
.title{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
padding
:
24
upx
0
;
border-bottom
:
1px
solid
rgba
(
185
,
75
,
112
,
0.7
);
}
.content
{
padding
:
20
upx
30
upx
;
}
.btn-box
{
width
:
90%
;
margin
:
24
upx
auto
30
upx
;
}
}
</
style
>
</
style
>
\ No newline at end of file
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