Commit 5e587664 authored by wangxuelai's avatar wangxuelai

''

parents f0715805 73bc9c1b
......@@ -51,8 +51,8 @@ Page({
onLoad: function (options) {
const { id, sid } = options;
this.setData({
id,
sid: sid || 3
id: id || 0,
sid: sid
})
if(this.data.id!=0){
this.getThemeAdDetail();
......
......@@ -190,9 +190,9 @@ Page({
delta,
})
},
createNewLandpage(e) {
toEditLandpage () {
wx.navigateTo({
url: 'String',
url: `/business/pages/themead/index?sid=${this.data.sid}`
})
}
})
\ No newline at end of file
......@@ -26,5 +26,5 @@
</view>
<view class="has-nomore" wx:if="{{!emptyPage && !hasmore}}">没有更多了</view>
<empty-content text="暂无数据~" emptyimg="" wx:if="{{emptyPage}}"></empty-content>
<view class="adpage {{emptyPage ? 'adpagefixed': ''}}" bindtap="createNewLandpage">新建打卡营销页</view>
<view class="adpage {{emptyPage ? 'adpagefixed': ''}}" bindtap="toEditLandpage">新建打卡营销页</view>
</view>
......@@ -715,7 +715,7 @@
padding-bottom: 30rpx;
}
.theme-detail-box .theme-index-title{
padding: 30rpx;
padding: 130rpx;
}
.theme-detail-box .theme-index-title .big-time{
font-size:22rpx;
......
This diff is collapsed.
......@@ -2,7 +2,7 @@
<view class="container">
<view class="section">
<view class="banner-box" >
<image class="banner" src="https://cdn.img.shangjiadao.cn/qingxiao/daka/images/2c/sharemoretheme/newunlockbg.png"></image>
<image class="banner" src="{{filter.imagify(themeSelect.land_content.cover)}}"></image>
<view class="btn-group">
<button class="btn" open-type="share">分享</button>
<!-- <view class="btn">排行榜</view> -->
......@@ -13,13 +13,13 @@
<view class="time">老师 {{themeSelect.start_time}} 发布</view>
</view>
</view>
<view class="instro-bx" wx:if="{{themeSelect.land_content && themeSelect.land_content.length>0}}">
<view class="instro-bx" wx:if="{{themeSelect.contentDetail}}">
<view class="title-box">
<view class="title">介绍</view>
</view>
<view class="media-box">
<sjd-media-show
content="{{themeSelect.land_content}}"
content="{{themeSelect.contentDetail}}"
bind:playvoice="playvoice"
actionsPalyvalue="{{actPalyaudioValue}}"
bind:pausevoice="pausevoice"
......@@ -43,7 +43,7 @@
<view class="left">
<image class="avatar" src="https://cdn.img.shangjiadao.cn/qingxiao/daka/images/2c/sharemoretheme/newunlockbg.png" wx:if="{{themeSelect.land_content.teacher.avatar}}"></image>
<image class="avatar" src="{{imageRoot}}common/empty/avatar_teacher.png?{{imageVersion}}" wx:else></image>
<view class="nickname">齇老师</view>
<view class="nickname">{{themeSelect.land_content.name}}</view>
</view>
<view class="right" bindtap="bindModalContact">
<view class="btn-contact">联系老师</view>
......@@ -117,7 +117,7 @@
<view class="btn btn-inviteinfo">
<image class="avatar" src="https://cdn.img.shangjiadao.cn/qingxiao/daka/images/2c/sharemoretheme/newunlockbg.png"></image>
<view class="info">
<view class="nickname">齇老师</view>
<view class="nickname">***</view>
<view class="tip">邀请你加入</view>
</view>
</view>
......@@ -137,11 +137,11 @@
<view class="mask" bindtap="bindModalContact"></view>
<view class="modal-content">
<view class="opt-box">
<button class="opt-item" open-type="contact" show-message-card="true" send-message-title="请求添加微信" send-message-path="/src/pages/themeindex/landpage?id=1" send-message-img="{{imageRoot}}service/works.png?{{imageVersion}}">
<button class="opt-item" open-type="contact" show-message-card="true" send-message-title="请求添加微信" send-message-path="/src/pages/themeindex/landpage?id=1" send-message-img="{{imageRoot}}service/clock?{{imageVersion}}" wx:if="{{themeSelect.land_content.img}}">
<image class="icon-opt" src="{{localImageRoot}}2c/themeindex/icon_wx.png?{{imageVersion}}"></image>
<view class="item-title">添加微信</view>
</button>
<view class="opt-item" bindtap="bindCall">
<view class="opt-item" bindtap="bindCall" data-mobile="{{themeSelect.land_content.mobile}}" wx:if="{{themeSelect.land_content.mobile}}">
<image class="icon-opt" src="{{localImageRoot}}2c/themeindex/icon_call.png?{{imageVersion}}"></image>
<view class="item-title">拨打电话</view>
</view>
......
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