[新增体验官]
This commit is contained in:
@@ -9,6 +9,7 @@ const max = 200; // 最大宽度 单位px
|
||||
|
||||
Page({
|
||||
data: {
|
||||
Type : '', //接口来源
|
||||
barHeight : getApp().globalData.barHeight, // 状态栏高度
|
||||
isFixedTop : 0,
|
||||
loading : true,
|
||||
@@ -36,6 +37,11 @@ Page({
|
||||
},
|
||||
|
||||
onLoad(options) {
|
||||
console.log(options)
|
||||
this.setData({
|
||||
Type: options.type
|
||||
})
|
||||
|
||||
this.setData({
|
||||
imageId: options.image_id
|
||||
})
|
||||
|
||||
@@ -380,7 +380,11 @@
|
||||
|
||||
<!-- 按钮 -->
|
||||
<view class="footer {{footerPop ? 'active' : ''}}">
|
||||
<view class="footer-flex">
|
||||
<view class="footer-flex" wx:if="{{Type == '1' || Type == '2'}}">
|
||||
<navigator hover-class="none" url="/pages/index/index" class="footer-flex-btn footer-flex-share" open-type="switchTab">返回首页</navigator>
|
||||
<navigator hover-class="none" url="/pages/mall/index" open-type="switchTab" class="footer-flex-btn">产品推荐</navigator>
|
||||
</view>
|
||||
<view class="footer-flex" wx:else>
|
||||
<navigator hover-class="none" url="../share/share" class="footer-flex-btn footer-flex-share">邀请好友</navigator>
|
||||
<navigator hover-class="none" url="/pages/mall/index" open-type="switchTab" class="footer-flex-btn">产品推荐</navigator>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user