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
eeeabc40
Commit
eeeabc40
authored
Jun 17, 2019
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
6bf53a00
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
4 deletions
+26
-4
index.js
business/pages/officialwebmgt/index.js
+14
-3
index.wxml
business/pages/officialwebmgt/index.wxml
+2
-1
index.wxss
business/pages/officialwebmgt/index.wxss
+10
-0
No files found.
business/pages/officialwebmgt/index.js
View file @
eeeabc40
...
...
@@ -156,8 +156,15 @@ Page({
/**
* 用户点击右上角分享
*/
onShareAppMessage
:
function
()
{
onShareAppMessage
:
function
(
option
)
{
const
{
from
,
target
}
=
option
;
return
{
title
:
'微官网首页'
,
path
:
`/src/pages/officialweb/officialwebindex?sid=
${
this
.
data
.
sid
}
`
,
}
},
clickTab
(
e
)
{
const
{
...
...
@@ -987,5 +994,9 @@ Page({
swiperIndex
:
e
.
detail
.
current
})
},
go2cWebsite
(){
wx
.
navigateTo
({
url
:
`/src/pages/officialweb/officialwebindex?sid=
${
this
.
data
.
sid
}
`
})
}
})
\ No newline at end of file
business/pages/officialwebmgt/index.wxml
View file @
eeeabc40
...
...
@@ -14,8 +14,9 @@
<image class="icon2" src="{{localImageRoot}}2b/officialwebmgt/share.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
</view>
<view class="text" hover-class="none" hover-stop-propagation="false">转发给学员</view>
<button open-type="share" class="share-btn"></button>
</view>
<view class="nav-item" hover-class="none" hover-stop-propagation="false">
<view class="nav-item" hover-class="none" hover-stop-propagation="false"
bindtap="go2cWebsite"
>
<view class="icon" hover-class="none" hover-stop-propagation="false">
<image class="icon3" src="{{localImageRoot}}2b/officialwebmgt/preview.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
</view>
...
...
business/pages/officialwebmgt/index.wxss
View file @
eeeabc40
...
...
@@ -10,6 +10,7 @@
.officialwebmgt-container .nav-box .nav-item{
flex: 1;
text-align: center;
position: relative;
}
.officialwebmgt-container .nav-box .nav-item .text{
font-size:24rpx;
...
...
@@ -26,6 +27,15 @@
.officialwebmgt-container .nav-box .nav-item .icon .icon1{
}
.officialwebmgt-container .nav-box .nav-item .share-btn{
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 1;
opacity: 0;
}
.officialwebmgt-container .tab-box{
padding: 36rpx 12rpx 12rpx 23rpx;
box-shadow:0px 8rpx 10rpx 0px rgba(0, 0, 0, 0.05);
...
...
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