Commit e0a1589a by 李伟康

Merge branch 'develop' of http://192.168.3.233:8090/saas_plus/business-assistant into develop

2 parents 20c374c4 5007d586
...@@ -286,7 +286,7 @@ Page({ ...@@ -286,7 +286,7 @@ Page({
this.onLoad(null); this.onLoad(null);
wx.nextTick(() => { wx.nextTick(() => {
this.setData({ this.setData({
isShare: res.isShare, // isShare: res.isShare,
phone: res.phone, phone: res.phone,
}); });
}); });
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
</view> </view>
<product stickyTop="{{headerHeight}}" actNum="{{actNum}}" senceData="{{senceData}}" isShare="{{isShare}}" bindauthorized="authorizedFn" /> <product stickyTop="{{headerHeight}}" actNum="{{actNum}}" wrapactiveNavIdx="{{activeNavIdx}}" senceData="{{senceData}}" isShare="{{isShare}}" bindauthorized="authorizedFn" />
<!-- 分享弹框 --> <!-- 分享弹框 -->
<!-- <shareModel actNum="{{actNum}}" isShow="{{isShow}}" bindmodelclose="modelcloseFn" /> --> <!-- <shareModel actNum="{{actNum}}" isShow="{{isShow}}" bindmodelclose="modelcloseFn" /> -->
<view class="share-wrap" wx:if="{{isShow}}"> <view class="share-wrap" wx:if="{{isShow}}">
...@@ -35,4 +35,4 @@ ...@@ -35,4 +35,4 @@
</view> </view>
</view> </view>
<!-- 授权昵称 --> <!-- 授权昵称 -->
<view wx:if="{{!hasUserInfo}}" class="user-profile" bindtap="getUserProfile"></view> <view wx:if="{{!hasUserInfo && !isShow}}" class="user-profile" bindtap="getUserProfile"></view>
...@@ -13,6 +13,7 @@ Component({ ...@@ -13,6 +13,7 @@ Component({
properties: { properties: {
stickyTop: Number, stickyTop: Number,
actNum: Number, actNum: Number,
wrapactiveNavIdx:Number,
senceData: Object, //本地数据 senceData: Object, //本地数据
apiData:Object, //后端接口数据 apiData:Object, //后端接口数据
isShare: { isShare: {
...@@ -44,8 +45,12 @@ Component({ ...@@ -44,8 +45,12 @@ Component({
}, },
lifetimes: { lifetimes: {
ready: function () { ready: function () {
if(this.data.wrapactiveNavIdx){
this.setData({
activeNavIdx:this.data.wrapactiveNavIdx
})
}
this.init(); this.init();
// console.log('stickyTop',this.data.stickyTop)
this.getImgHeight(); this.getImgHeight();
//如果不是分享,初始化的时候调用函数 //如果不是分享,初始化的时候调用函数
if (!this.data.isShare) { if (!this.data.isShare) {
......
...@@ -48,7 +48,7 @@ Page({ ...@@ -48,7 +48,7 @@ Page({
}, },
], ],
apiData: [], apiData: [],
actNum: 0, //car 场景选择 actNum: 3, //car 场景选择
tabIndx: 1, tabIndx: 1,
navList: ["看线索", "看产品"], navList: ["看线索", "看产品"],
typeList: ["联系电话", "意向客户", "线索来源", "重置"], typeList: ["联系电话", "意向客户", "线索来源", "重置"],
...@@ -391,7 +391,7 @@ Page({ ...@@ -391,7 +391,7 @@ Page({
apiData: data, apiData: data,
}); });
this.compositionData(senceData, this.data.apiData); this.compositionData(senceData, this.data.apiData);
this.getFirstSenceIndex(); // this.getFirstSenceIndex();
} }
}); });
// 看线索 // 看线索
......
...@@ -237,9 +237,9 @@ page { ...@@ -237,9 +237,9 @@ page {
.scene { .scene {
margin: 0 10px 16px; margin: 0 10px 16px;
display: flex; display: flex;
// justify-content: space-between; justify-content: space-between;
.item-wrap { .item-wrap {
margin-right: 4px; // margin-right: 4px;
position: relative; position: relative;
width: 86px; width: 86px;
height: 90px; height: 90px;
......
...@@ -6,7 +6,7 @@ const target = ['ip', 'dev', 'uat', 'prod'] ...@@ -6,7 +6,7 @@ const target = ['ip', 'dev', 'uat', 'prod']
2测试 2测试
3生产 3生产
*/ */
const index = 2 const index = 1
const secretKey = { const secretKey = {
ip: {}, ip: {},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!