Commit eeeabc40 authored by sujie@126.com's avatar sujie@126.com

dd

parent 6bf53a00
......@@ -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
......@@ -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>
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment