Commit 0370eb4a authored by wangxuelai's avatar wangxuelai

''

parent e1f13869
......@@ -1496,8 +1496,14 @@ Page({
});
},
goEditLandcontent () {
wx.navigateTo({
url: `/business/pages/themead/index?id=${this.data.params.content_id}&sid=${this.data.sid}&editType=2`
})
if (e.target.dataset.knowmore == 1) {
wx.navigateTo({
url: '/business/pages/helpcenter/detail?alias=Punchcardpage',
})
} else {
wx.navigateTo({
url: `/business/pages/themead/index?id=${this.data.params.content_id}&sid=${this.data.sid}&editType=2`
})
}
}
});
......@@ -258,7 +258,7 @@
<view class="setting-item" bindtap="goEditLandcontent">
<view class="left">
<view class="item-label">打卡营销页设置</view>
<view class="item-desc">配置此页面后可在学生加入打卡前展示,此功能可收集有意向学生的联系方式。 <text class="more-tip">了解更多</text></view>
<view class="item-desc">配置此页面后可在学生加入打卡前展示,此功能可收集有意向学生的联系方式。 <text data-knowmore="1" class="more-tip">了解更多</text></view>
</view>
<view class="right">
<image class="icon-arr" src="{{imageRoot}}2b/themeindex/setting_right.png"></image>
......
......@@ -199,9 +199,15 @@ Page({
url: `/business/pages/unlockclocksituation/index?tid=${this.data.tid}&sid=${this.data.sid}`
})
},
goEditLandcontent () {
wx.navigateTo({
url: `/business/pages/themead/index?id=${this.data.lockparams.content_id}&sid=${this.data.sid}&editType=3`
})
goEditLandcontent (e) {
if (e.target.dataset.knowmore == 1) {
wx.navigateTo({
url: '/business/pages/helpcenter/detail?alias=Punchcardpage',
})
} else {
wx.navigateTo({
url: `/business/pages/themead/index?id=${this.data.lockparams.content_id}&sid=${this.data.sid}&editType=3`
})
}
}
})
\ No newline at end of file
......@@ -50,15 +50,15 @@
<image class="icon-arr" src="{{imageRoot}}2b/themeindex/setting_right.png"></image>
</view>
</view>
<!-- <view class="setting-item" bindtap="goEditLandcontent">
<view class="setting-item" bindtap="goEditLandcontent">
<view class="left">
<view class="item-label">打卡营销页设置</view>
<view class="item-desc">配置此页面后可在学生加入打卡前展示,此功能可收集有意向学生的联系方式。 <text class="more-tip">了解更多</text></view>
<view class="item-desc">配置此页面后可在学生加入打卡前展示,此功能可收集有意向学生的联系方式。 <text data-knowmore="1" class="more-tip">了解更多</text></view>
</view>
<view class="right">
<image class="icon-arr" src="{{imageRoot}}2b/themeindex/setting_right.png"></image>
</view>
</view> -->
</view>
</view>
</view>
</view>
......
......@@ -1292,9 +1292,15 @@ Page({
url: `/business/pages/themeeditor/index?tid=${this.data.tid}&sid=${this.data.sid}&editType=1`
})
},
goEditLandcontent () {
wx.navigateTo({
url: `/business/pages/themead/index?id=${this.data.params.content_id}&sid=${this.data.sid}&editType=1`
})
goEditLandcontent (e) {
if (e.target.dataset.knowmore == 1) {
wx.navigateTo({
url: '/business/pages/helpcenter/detail?alias=Punchcardpage',
})
} else {
wx.navigateTo({
url: `/business/pages/themead/index?id=${this.data.params.content_id}&sid=${this.data.sid}&editType=1`
})
}
}
})
\ No newline at end of file
......@@ -199,7 +199,7 @@
<view class="setting-item" bindtap="goEditLandcontent">
<view class="left">
<view class="item-label">打卡营销页设置</view>
<view class="item-desc">配置此页面后可在学生加入打卡前展示,此功能可收集有意向学生的联系方式。 <text class="more-tip">了解更多</text></view>
<view class="item-desc">配置此页面后可在学生加入打卡前展示,此功能可收集有意向学生的联系方式。 <text class="more-tip" data-knowmore="1">了解更多</text></view>
</view>
<view class="right">
<image class="icon-arr" src="{{imageRoot}}2b/themeindex/setting_right.png"></image>
......
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