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