Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
transport-show-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
transport-show-h5
Commits
98ac5a10
提交
98ac5a10
authored
9月 07, 2020
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug fixes
上级
42d078f3
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
71 行增加
和
50 行删除
+71
-50
Before.js
src/components/beforeEnter/Before.js
+3
-1
index.vue
src/pages/my/alarm/index.vue
+3
-2
service.vue
src/pages/my/service.vue
+54
-47
style.scss
src/style.scss
+11
-0
没有找到文件。
src/components/beforeEnter/Before.js
浏览文件 @
98ac5a10
...
@@ -17,7 +17,9 @@ export default class Before {
...
@@ -17,7 +17,9 @@ export default class Before {
isLogin
&&
wx
.
miniProgram
.
postMessage
({
data
:
{
token
:
store
.
state
.
token
}
})
isLogin
&&
wx
.
miniProgram
.
postMessage
({
data
:
{
token
:
store
.
state
.
token
}
})
if
(
to
.
meta
.
requiredLogin
&&
!
isLogin
)
{
if
(
to
.
meta
.
requiredLogin
&&
!
isLogin
)
{
store
.
state
.
isWeapp
?
wx
.
miniProgram
.
redirectTo
({
url
:
'/pages/login/index'
})
:
next
(
'/login'
)
store
.
state
.
isWeapp
?
wx
.
miniProgram
.
redirectTo
({
url
:
'/pages/login/index'
})
:
next
(
`/login?redirect_uri=
${
encodeURIComponent
(
window
.
location
.
href
)}
`
)
return
return
}
}
next
()
next
()
...
...
src/pages/my/alarm/index.vue
浏览文件 @
98ac5a10
...
@@ -25,8 +25,9 @@
...
@@ -25,8 +25,9 @@
<van-popup
v-model=
"followPopupVisible"
style=
"border-radius:6px;"
>
<van-popup
v-model=
"followPopupVisible"
style=
"border-radius:6px;"
>
<div
class=
"qrcode"
>
<div
class=
"qrcode"
>
<p>
开启学习提醒功能,需先关注紫荆职教公众号。
</p>
<p>
开启学习提醒功能,需先关注紫荆职教公众号。
</p>
<img
src=
"../../../assets/images/wechat_mp_qrcode.png"
/>
<div
class=
"ui-button"
style=
"margin:40px 0 10px;"
>
<h5>
保存二维码图片,扫码关注
</h5>
<a
href=
"https://mp.weixin.qq.com/s/xcWMbYk5NgzUF3qxLzGTMg"
>
关注公众号
</a>
</div>
</div>
</div>
</van-popup>
</van-popup>
</div>
</div>
...
...
src/pages/my/service.vue
浏览文件 @
98ac5a10
<
template
>
<
template
>
<div
class=
"serv-box"
>
<div
class=
"serv-box"
>
<img
class=
"top-bar"
src=
"../../assets/images/top-bar.png"
alt=
""
>
<img
class=
"top-bar"
src=
"../../assets/images/top-bar.png"
/
>
<ul
class=
"contact-info"
>
<ul
class=
"contact-info"
>
<li>
<li>
<img
src=
"../../assets/images/ser-icon1.png"
alt=
""
>
<img
src=
"../../assets/images/ser-icon1.png"
/>
<div
class=
"txt"
><span>
客服微信:
</span>
18610017891
</div>
<div
class=
"txt"
>
<span>
客服微信:
</span>
<a
href=
"tel:18610017891"
>
18610017891
</a>
</div>
</li>
</li>
<li>
<li>
<img
src=
"../../assets/images/ser-icon2.png"
alt=
""
>
<img
src=
"../../assets/images/ser-icon2.png"
/>
<div
class=
"txt"
><span>
客服电话:
</span>
18610017891
</div>
<div
class=
"txt"
>
<span>
客服电话:
</span>
<a
href=
"tel:18610017891"
>
18610017891
</a>
</div>
</li>
</li>
<li>
<li>
<img
src=
"../../assets/images/ser-icon3.png"
alt=
""
>
<img
src=
"../../assets/images/ser-icon3.png"
/>
<div
class=
"txt"
><span>
工作时间:
</span>
工作日9:00-12:00,13:00-18:00
</div>
<div
class=
"txt"
>
<span>
工作时间:
</span>
工作日9:00-12:00,13:00-18:00
</div>
</li>
</li>
</ul>
</ul>
<div
class=
"code"
>
<div
class=
"contact-button"
style=
"margin-bottom:1.66rem;"
>
<div
class=
"txt"
>
想了解更多,保存二维码图片,扫码关注我们
</div>
<a
href=
"https://mp.weixin.qq.com/s/fwDqI1SFrk_bAyUrbLOvhg"
>
客服二维码添加微信
</a>
<img
@
click=
"imagePreview"
src=
"https://zws-imgs-pub.ezijing.com/static/public/d720ec7c4eed91788de652fb7962a911.png"
alt=
""
>
</div>
<ul
class=
"contact-info"
>
<li>
<img
src=
"../../assets/images/ser-icon1.png"
/>
<div
class=
"txt"
>
<span>
想了解更多,请关注官方公众号
</span>
</div>
</li>
</ul>
<div
class=
"contact-button"
>
<a
href=
"https://mp.weixin.qq.com/s/xcWMbYk5NgzUF3qxLzGTMg"
>
关注公众号
</a>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
ImagePreview
}
from
'vant'
export
default
{
export
default
{
components
:
{
[
ImagePreview
.
name
]:
ImagePreview
},
metaInfo
:
{
metaInfo
:
{
title
:
'联系客服'
title
:
'联系客服'
},
},
methods
:
{
methods
:
{}
imagePreview
()
{
ImagePreview
([
'https://zws-imgs-pub.ezijing.com/static/public/d720ec7c4eed91788de652fb7962a911.png'
])
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.top-bar
{
.top-bar
{
width
:
100%
;
width
:
100%
;
display
:
block
;
display
:
block
;
}
}
.contact-info
{
.contact-info
{
padding-left
:
.7rem
;
padding-left
:
0
.7rem
;
padding-top
:
.2rem
;
padding-top
:
0
.2rem
;
li
{
li
{
display
:
flex
;
display
:
flex
;
margin-bottom
:
.48rem
;
margin-bottom
:
0
.48rem
;
img
{
img
{
width
:
.5rem
;
width
:
0
.5rem
;
height
:
.5rem
;
height
:
0
.5rem
;
display
:
block
;
display
:
block
;
}
}
.txt
{
.txt
{
margin-left
:
.3rem
;
margin-left
:
0
.3rem
;
line-height
:
.5rem
;
line-height
:
0
.5rem
;
font-size
:
.3rem
;
font-size
:
0
.3rem
;
color
:
rgba
(
34
,
34
,
34
,
1
)
;
color
:
rgba
(
34
,
34
,
34
,
1
);
span
{
span
{
font-weight
:bold
;
font-weight
:
bold
;
}
}
}
}
}
}
}
}
.code
{
.contact-button
{
margin-top
:
.84rem
;
margin
:
0
.88rem
0
.4rem
;
.txt
{
height
:
40px
;
text-align
:
center
;
color
:
#fff
;
font-weight
:bold
;
line-height
:
40px
;
color
:rgba
(
34
,
34
,
34
,
1
)
;
text-align
:
center
;
line-height
:
100%
;
background-color
:
#af1b40
;
font-size
:
.3rem
;
border-radius
:
6px
;
}
a
{
img
{
width
:
4
.3rem
;
display
:
block
;
display
:
block
;
margin
:
.25rem
auto
;
}
}
}
}
</
style
>
</
style
>
src/style.scss
浏览文件 @
98ac5a10
...
@@ -170,3 +170,14 @@ body {
...
@@ -170,3 +170,14 @@ body {
.van-empty__description
{
.van-empty__description
{
padding
:
0
20px
!
important
;
padding
:
0
20px
!
important
;
}
}
.ui-button
{
height
:
40px
;
color
:
#fff
;
line-height
:
40px
;
text-align
:
center
;
background-color
:
#af1b40
;
border-radius
:
6px
;
a
{
display
:
block
;
}
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论