Commit d67418b0 by 李伟康

Merge branch 'dev_v3.1' of http://192.168.3.233:8090/saas_plus/business-assistant into dev_v3.1

2 parents 21b973bc 49a9f634
...@@ -55,6 +55,7 @@ Page({ ...@@ -55,6 +55,7 @@ Page({
videoTitle:'', videoTitle:'',
//下载海报授权 //下载海报授权
showAuth: false, showAuth: false,
img_version:0.1
}, },
observers: { observers: {
actNum: function (actNum) { actNum: function (actNum) {
......
...@@ -7,11 +7,12 @@ Component({ ...@@ -7,11 +7,12 @@ Component({
*/ */
properties: { properties: {
item: { item: {
type: Object, // type: Object,
type: null,
observer(n) { observer(n) {
console.log(n, '=================') console.log(n, '=================')
this.getImageInfo(n) this.getImageInfo(n)
} },
} }
}, },
......
...@@ -220,7 +220,7 @@ Component({ ...@@ -220,7 +220,7 @@ Component({
let { code, data } = await pageApi(params); let { code, data } = await pageApi(params);
if (code == 0) { if (code == 0) {
let arr = data.list.map((item) => { let arr = data.list.map((item) => {
if (item.visitList.length > 5) { if (item.visitList && item.visitList.length > 5) {
item.getMoreFlag = true; item.getMoreFlag = true;
} }
return item; return item;
...@@ -334,9 +334,9 @@ Component({ ...@@ -334,9 +334,9 @@ Component({
// wx.$router.go('apply',1235) // wx.$router.go('apply',1235)
}, },
getMore(e) { getMore(e) {
console.log("显示更多数据"); // console.log("显示更多数据");
let index = e.currentTarget.dataset.outidx; let index = e.currentTarget.dataset.outidx;
console.log("index: ", index); // console.log("index: ", index);
let completeStatus = `clueList[${index}].getMoreFlag`; let completeStatus = `clueList[${index}].getMoreFlag`;
this.setData({ this.setData({
[completeStatus]: !this.data.clueList[index].getMoreFlag, [completeStatus]: !this.data.clueList[index].getMoreFlag,
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<view <view
class="type {{item['selectIndex']!=2&&index != 3?'active':'' }}" class="type {{item['selectIndex']!=2&&index != 3?'active':'' }}"
wx:for="{{typeList}}" wx:for="{{typeList}}"
wx:key="*this" wx:key="index"
data-index="{{index}}" data-index="{{index}}"
style="{{index == 0 ? 'margin-left: 0px;' : ''}}" style="{{index == 0 ? 'margin-left: 0px;' : ''}}"
bindtap="filterTypeFn"> bindtap="filterTypeFn">
...@@ -219,7 +219,7 @@ ...@@ -219,7 +219,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="bottomTips" wx:if="{{clueList.length>8}}">到底啦!</view> <view class="bottomTips" wx:if="{{clueList.length>10}}">到底啦!</view>
<view class="noDataImg" wx:if="{{!clueList.length}}"> <view class="noDataImg" wx:if="{{!clueList.length}}">
<image webp src="{{IMG_URL}}index/trEmpty.png " /> <image webp src="{{IMG_URL}}index/trEmpty.png " />
<text class="noDataTxt">没有符合条件的线索~</text> <text class="noDataTxt">没有符合条件的线索~</text>
......
...@@ -33,7 +33,11 @@ Component({ ...@@ -33,7 +33,11 @@ Component({
// value: false, // value: false,
}, },
phone: String, phone: String,
img_version: String //图片版本号 img_version: {
type: null,
// optionalTypes: [Number],
value: 0.1
} //图片版本号
}, },
/** /**
......
...@@ -48,7 +48,10 @@ Page({ ...@@ -48,7 +48,10 @@ Page({
isShow: false, isShow: false,
// 视频播放地址 // 视频播放地址
videoSrc:'', videoSrc:'',
videoTitle:'' videoTitle:'',
headerHeight:0,
unreadClueCount:0,
img_version:0.1
}, },
//引导图 //引导图
...@@ -402,7 +405,7 @@ Page({ ...@@ -402,7 +405,7 @@ Page({
title: tipObj.title, title: tipObj.title,
duration: 1000, duration: 1000,
compelete: function () { compelete: function () {
console.log("toast框隐藏之后,会调用该函数"); // console.log("toast框隐藏之后,会调用该函数");
//例如:跳转页面wx.navigateTo({ url: 'xxx' }); //例如:跳转页面wx.navigateTo({ url: 'xxx' });
}, },
}); });
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!