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