Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
A
app-web
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ling
app-web
Commits
8e59ca0b
提交
8e59ca0b
authored
2月 02, 2023
作者:
ling
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Integrated home page
上级
259704e4
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
123 行增加
和
112 行删除
+123
-112
h5Index.vue
components/h5Index.vue
+2
-2
pcIndex.vue
components/pcIndex.vue
+114
-0
index.vue
pages/index.vue
+7
-110
没有找到文件。
pages/m_i
ndex.vue
→
components/h5I
ndex.vue
浏览文件 @
8e59ca0b
...
...
@@ -153,7 +153,7 @@
<
script
>
export
default
{
name
:
"
IndexPage
"
,
name
:
"
H5Index
"
,
data
()
{
return
{
isiOS
:
null
,
...
...
@@ -167,7 +167,7 @@ export default {
},
};
</
script
>
<
style
>
<
style
scoped
>
body
{
margin
:
0
;
padding
:
0
;
...
...
components/pcIndex.vue
0 → 100644
浏览文件 @
8e59ca0b
<
template
>
<div
class=
"body"
>
<div
class=
"bg"
>
<div
class=
"mobile_box"
>
<div
class=
"logo"
>
<img
class=
"mobile_logo"
src=
"../assets/images/bob-logo.png"
/>
</div>
<div
class=
"ewm"
>
<div
id=
"qrcode1"
>
<vue-qr
:text=
"url"
:size=
"192"
></vue-qr>
</div>
</div>
<span
class=
"title1"
>
TG体育手机客户端下载
</span>
<br
/>
<span
class=
"scan1"
>
扫一扫下载APP
</span>
<span
class=
"cnt"
>
在这里,有全网最丰富的游戏、最贴心的优惠、最卓越的用户体验,全年无休的技术支持,稳定陪伴您畅快游戏。小体积,大容量,娱乐真的可以信手拈来!
</span
>
</div>
</div>
</div>
</
template
>
<
script
>
import
VueQr
from
"vue-qr"
;
export
default
{
name
:
"PcIndex"
,
components
:
{
VueQr
},
computed
:
{
url
()
{
return
location
.
href
;
},
},
};
</
script
>
<
style
>
body
{
margin
:
0
;
padding
:
0
;
}
</
style
>
<
style
scoped
>
.body
{
font-family
:
-apple-system
,
BlinkMacSystemFont
,
Helvetica
Neue
,
PingFang
SC
,
Microsoft
YaHei
,
Source
Han
Sans
SC
,
Noto
Sans
CJK
SC
,
sans-serif
;
}
.bg
{
width
:
100%
;
height
:
100vh
;
margin
:
0
auto
;
background
:
url(../assets/images/bg_down2.jpg)
top
center
no-repeat
;
background-size
:
cover
;
}
.mobile_box
{
width
:
380px
;
text-align
:
center
;
position
:
absolute
;
left
:
10%
;
top
:
14%
;
}
.logo
{
display
:
inline-block
;
width
:
239px
;
margin-bottom
:
30px
;
}
.mobile_logo
{
width
:
239px
;
text-align
:
center
;
}
.ewm
{
display
:
inline-block
;
background
:
#fff
;
width
:
235px
;
height
:
235px
;
box-sizing
:
border-box
;
margin-bottom
:
30px
;
border-radius
:
6px
;
}
.title1
{
display
:
inline-block
;
font-size
:
30px
;
font-weight
:
700
;
color
:
#8d531b
;
font-style
:
italic
;
letter-spacing
:
2px
;
}
.scan1
{
display
:
inline-block
;
font-size
:
18px
;
color
:
#8d531b
;
font-weight
:
700
;
line-height
:
40px
;
font-style
:
italic
;
}
.cnt
{
display
:
inline-block
;
font-size
:
15px
;
color
:
#5c5e6a
;
text-align
:
center
;
line-height
:
24px
;
margin-top
:
30px
;
font-weight
:
600
;
}
#qrcode1
{
width
:
205px
;
height
:
205px
;
box-sizing
:
border-box
;
border
:
1px
solid
#d7cec5
;
background
:
#fff
;
padding
:
5px
;
margin
:
0
auto
;
margin-top
:
15px
;
}
</
style
>
>
pages/index.vue
浏览文件 @
8e59ca0b
<
template
>
<div
v-if=
"isDisplay"
class=
"body"
>
<div
class=
"bg"
>
<div
class=
"mobile_box"
>
<div
class=
"logo"
>
<img
class=
"mobile_logo"
src=
"../assets/images/bob-logo.png"
/>
</div>
<div
class=
"ewm"
>
<div
id=
"qrcode1"
>
<vue-qr
:text=
"url"
:size=
"192"
></vue-qr>
</div>
</div>
<span
class=
"title1"
>
TG体育手机客户端下载
</span>
<br
/>
<span
class=
"scan1"
>
扫一扫下载APP
</span>
<span
class=
"cnt"
>
在这里,有全网最丰富的游戏、最贴心的优惠、最卓越的用户体验,全年无休的技术支持,稳定陪伴您畅快游戏。小体积,大容量,娱乐真的可以信手拈来!
</span
>
</div>
</div>
<div>
<PcIndex
v-if=
"isPc"
></PcIndex>
<h5Index
v-else
></h5Index>
</div>
</
template
>
<
script
>
import
VueQr
from
"vue-qr"
;
export
default
{
name
:
"IndexPage"
,
components
:
{
VueQr
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
((
vm
)
=>
{
if
(
/Mobi|Android|iPhone/i
.
test
(
navigator
.
userAgent
))
{
vm
.
$router
.
push
({
name
:
"m_index"
});
}
else
{
vm
.
isDisplay
=
true
;
vm
.
isPc
=
false
;
}
});
},
data
()
{
return
{
is
Display
:
fals
e
,
is
Pc
:
tru
e
,
};
},
computed
:
{
url
()
{
return
location
.
href
;
},
},
};
</
script
>
<
style
>
body
{
margin
:
0
;
padding
:
0
;
}
</
style
>
<
style
scoped
>
.body
{
font-family
:
-apple-system
,
BlinkMacSystemFont
,
Helvetica
Neue
,
PingFang
SC
,
Microsoft
YaHei
,
Source
Han
Sans
SC
,
Noto
Sans
CJK
SC
,
sans-serif
;
}
.bg
{
width
:
100%
;
height
:
100vh
;
margin
:
0
auto
;
background
:
url(../assets/images/bg_down2.jpg)
top
center
no-repeat
;
background-size
:
cover
;
}
.mobile_box
{
width
:
380px
;
text-align
:
center
;
position
:
absolute
;
left
:
10%
;
top
:
14%
;
}
.logo
{
display
:
inline-block
;
width
:
239px
;
margin-bottom
:
30px
;
}
.mobile_logo
{
width
:
239px
;
text-align
:
center
;
}
.ewm
{
display
:
inline-block
;
background
:
#fff
;
width
:
235px
;
height
:
235px
;
box-sizing
:
border-box
;
margin-bottom
:
30px
;
border-radius
:
6px
;
}
.title1
{
display
:
inline-block
;
font-size
:
30px
;
font-weight
:
700
;
color
:
#8d531b
;
font-style
:
italic
;
letter-spacing
:
2px
;
}
.scan1
{
display
:
inline-block
;
font-size
:
18px
;
color
:
#8d531b
;
font-weight
:
700
;
line-height
:
40px
;
font-style
:
italic
;
}
.cnt
{
display
:
inline-block
;
font-size
:
15px
;
color
:
#5c5e6a
;
text-align
:
center
;
line-height
:
24px
;
margin-top
:
30px
;
font-weight
:
600
;
}
#qrcode1
{
width
:
205px
;
height
:
205px
;
box-sizing
:
border-box
;
border
:
1px
solid
#d7cec5
;
background
:
#fff
;
padding
:
5px
;
margin
:
0
auto
;
margin-top
:
15px
;
}
</
style
>
>
</
script
>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论