Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
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
wangxuelai
wechatapp.shangjiadao.com
Commits
4ced1ef7
Commit
4ced1ef7
authored
Jan 09, 2020
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add 客服消息弹框
parent
68aa789c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
94 additions
and
16 deletions
+94
-16
index.js
components/sjdbottombar/index.js
+8
-1
index.wxml
components/sjdbottombar/index.wxml
+12
-2
index.wxss
components/sjdbottombar/index.wxss
+60
-0
newindex.wxml
src/pages/clockdetail/newindex.wxml
+12
-11
newindex.wxss
src/pages/clockdetail/newindex.wxss
+1
-1
index.wxss
src/pages/websiteindex/index.wxss
+1
-1
No files found.
components/sjdbottombar/index.js
View file @
4ced1ef7
...
...
@@ -15,6 +15,7 @@ Component({
localImageRoot
:
'../../images/'
,
imageRoot
:
app
.
globalData
.
imageRoot
,
imageVersion
:
app
.
globalData
.
imageVersion
,
showModal
:
false
},
properties
:
{
showcontact
:
{
...
...
@@ -44,7 +45,8 @@ Component({
path
:
{
//来源路径
type
:
String
,
value
:
'/ucenter/index'
}
},
},
ready
()
{
},
...
...
@@ -92,6 +94,11 @@ Component({
})
}
})
},
bindContactDialog
(){
this
.
setData
({
showModal
:
!
this
.
data
.
showModal
})
}
}
})
\ No newline at end of file
components/sjdbottombar/index.wxml
View file @
4ced1ef7
<
button class="tech-support-box" open-type='contact' keyword="{{keyword}}" show-message-card="true" send-message-title="{{sharetitle}}" send-message-path="{{path}}" send-message-img="{{imageRoot}}{{coverimg}}?{{imageVersion}}
">
<
view class="tech-support-box" bindtap="bindContactDialog
">
<view class="line1">轻松管理学校 | 用轻校!</view>
<view class="line2">轻校</view>
<view class="line3">{{pagetitle}}</view>
</button>
\ No newline at end of file
</view>
<view class="modal modal-contact" wx:if="{{showModal}}">
<view class="modal-mask"></view>
<view class="modal-content">
<image class="icon-close" src="{{imageRoot}}2b/common/closeicon.png?{{imageVersion}}" bindtap="bindContactDialog"></image>
<view class="modal-title">进入客服消息,点击右下角,获取公众号二维码。</view>
<image class="pic" src="{{imageRoot}}service/service_enter.png?{{imageVersion}}"></image>
<button class="btn-open" open-type='contact' keyword="{{keyword}}" show-message-card="true" send-message-title="{{sharetitle}}" send-message-path="{{path}}" send-message-img="{{imageRoot}}{{coverimg}}?{{imageVersion}}">点击获取</button>
</view>
</view>
\ No newline at end of file
components/sjdbottombar/index.wxss
View file @
4ced1ef7
...
...
@@ -34,4 +34,64 @@
color: #ffa800;
font-size: 22rpx;
padding-left: 5rpx;
}
.modal{
width: 100%;
height: 100%;
position: fixed;
left: 0;
top: 0;
background:rgba(0,0,0,.5);
z-index: 151;
}
.modal .modal-mask{
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 152;
}
.modal .modal-content{
width: 650rpx;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background: #fff;
border-radius: 20rpx;
z-index: 152;
padding: 80rpx 30rpx 24rpx;
}
.modal .modal-content .icon-close{
width: 34rpx;
height: 38rpx;
position: absolute;
right: 30rpx;
top: 30rpx;
}
.modal .modal-content .modal-title{
font-size: 32rpx;
color: #333;
line-height: 50rpx;
}
.modal .modal-content .pic{
width: 100%;
height: 300rpx;
margin: 30rpx 0;
}
.modal .modal-content .btn-open{
width: 100%;
height: 90rpx;
background: #CD5046;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8rpx;
font-size: 32rpx;
}
\ No newline at end of file
src/pages/clockdetail/newindex.wxml
View file @
4ced1ef7
...
...
@@ -165,16 +165,7 @@
<view class="text">点击加载更多</view>
<image class="arrow" src="{{imageRoot}}2b/common/right.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
</view> -->
</view>
<sjdbottombar
showcontact="{{true}}"
keyword="themedetail"
pagetitle="如何用作业招生 >"
pagetitletip ="5S学会"
sharetitle="我也要用学生作业招生拓客"
coverimg="service/task.png"
></sjdbottombar>
<guidecollection/>
</view>
</view>
<!-- <view class="footer-box" wx:if="{{isMarketting&&noUserinfo}}">
...
...
@@ -224,4 +215,14 @@
bindtimeupdate="" bindwaiting="" binderror="" bindfullscreenchange="screenchange">
</video>
</view>
<go-top wx:if="{{backTopValue}}"></go-top>
\ No newline at end of file
<go-top wx:if="{{backTopValue}}"></go-top>
<sjdbottombar
showcontact="{{true}}"
keyword="themedetail"
pagetitle="如何用作业招生 >"
pagetitletip ="5S学会"
sharetitle="我也要用学生作业招生拓客"
coverimg="service/task.png"
></sjdbottombar>
<guidecollection/>
\ No newline at end of file
src/pages/clockdetail/newindex.wxss
View file @
4ced1ef7
...
...
@@ -472,7 +472,7 @@ page{
position: fixed;
left: 24rpx;
bottom: 24rpx;
z-index:
30
0;
z-index:
15
0;
width: 702rpx;
height: 100rpx;
display: flex;
...
...
src/pages/websiteindex/index.wxss
View file @
4ced1ef7
page{
padding-bottom: 1
2
0rpx;
padding-bottom: 1
0
0rpx;
}
@keyframes btnShow{
0% {
...
...
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