Commit b45303da by 张立顺

bug修复

1 parent f5db5411
...@@ -72,10 +72,16 @@ Page({ ...@@ -72,10 +72,16 @@ Page({
}, },
handleJump() { handleJump() {
clearTimeout(this.data.time) // clearTimeout(this.data.time)
this.data.time = new setTimeout(() => { // this.data.time = new setTimeout(() => {
wx.$router.go('pages.output') // wx.$router.go('pages.output')
}, 3000) // }, 3000)
// wx.$api.showToast('申请成功')
setTimeout(() => {
wx.$router.back(page => {
page.getClueInit && page.getClueInit()
})
}, 1000)
}, },
handleConfirm() { handleConfirm() {
......
...@@ -560,7 +560,6 @@ Page({ ...@@ -560,7 +560,6 @@ Page({
} else { } else {
obj[item['key']] = itemIndx == 2 ? '' : itemIndx obj[item['key']] = itemIndx == 2 ? '' : itemIndx
} }
// || itemIndx == 3
} }
return obj return obj
}, {}) }, {})
...@@ -652,7 +651,7 @@ Page({ ...@@ -652,7 +651,7 @@ Page({
.then(result => { .then(result => {
// console.log(result) // console.log(result)
// 为2是已经展示过了 // 为2是已经展示过了
result.status != 2 && if (result.status && result.status != 2) {
this.setData({ this.setData({
posterItem: { posterItem: {
activityName: result.activityName, activityName: result.activityName,
...@@ -660,6 +659,7 @@ Page({ ...@@ -660,6 +659,7 @@ Page({
posterUrl: result.valueUrl posterUrl: result.valueUrl
} }
}) })
}
}) })
.catch(err => {}) .catch(err => {})
}, },
......
...@@ -158,9 +158,10 @@ page { ...@@ -158,9 +158,10 @@ page {
width: 23px; width: 23px;
height: 23px; height: 23px;
} }
.disLike-tit { .disLike-tit {
width: 172rpx; width: 172rpx;
background: rgba(0,0,0,0.60); background: rgba(0, 0, 0, 0.60);
padding: 8rpx 0rpx; padding: 8rpx 0rpx;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 20rpx; font-size: 20rpx;
...@@ -172,6 +173,7 @@ page { ...@@ -172,6 +173,7 @@ page {
right: 0rpx; right: 0rpx;
top: 61rpx; top: 61rpx;
} }
.disLike-titsan { .disLike-titsan {
width: 0; width: 0;
height: 0; height: 0;
...@@ -181,6 +183,7 @@ page { ...@@ -181,6 +183,7 @@ page {
right: 27rpx; right: 27rpx;
top: 30rpx; top: 30rpx;
} }
.name { .name {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -203,7 +206,17 @@ page { ...@@ -203,7 +206,17 @@ page {
} }
.want-more { .want-more {
box-sizing: border-box;
overflow: hidden; overflow: hidden;
transition: all 3s ease;
}
.height {
height: 200rpx;
}
.auto {
height: auto;
} }
.want-btn { .want-btn {
...@@ -213,8 +226,10 @@ page { ...@@ -213,8 +226,10 @@ page {
} }
.record { .record {
margin-top: 4px; // margin-top: 4px;
margin-bottom: 4px; // margin-bottom: 4px;
box-sizing: border-box;
height: 40rpx;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
......
...@@ -168,13 +168,13 @@ ...@@ -168,13 +168,13 @@
<view class="disLike-tit" wx:if="{{item.clueType == 1 && item.starTag == 0 && disLikeFlag}}"> <view class="disLike-tit" wx:if="{{item.clueType == 1 && item.starTag == 0 && disLikeFlag}}">
标记为意向客户 标记为意向客户
</view> </view>
<view class="disLike-titsan" wx:if="{{item.clueType == 1 && item.starTag == 0 && disLikeFlag}}"></view> <view class="disLike-titsan" wx:if="{{item.clueType == 1 && item.starTag == 0 && disLikeFlag}}" />
<view class="name" hover-class="none" hover-stop-propagation="false"> <view class="name" hover-class="none" hover-stop-propagation="false">
{{item.nickName}} {{item.nickName}}
<image class="avatar" src="{{IMG_URL}}index/avatar.png" wx:if="{{item.clueType != 3}}" /> <image class="avatar" src="{{IMG_URL}}index/avatar.png" wx:if="{{item.clueType != 3}}" />
</view> </view>
<view class="line" hover-class="none" hover-stop-propagation="false" /> <view class="line" hover-class="none" hover-stop-propagation="false" />
<view class="want-more" style="height:{{item.getMoreFlag? 100: 'auto'}}px"> <view class="want-more {{item.getMoreFlag?'height':'auto'}}">
<view <view
class="record" class="record"
wx:for="{{item.visitList}}" wx:for="{{item.visitList}}"
......
...@@ -136,7 +136,7 @@ Component({ ...@@ -136,7 +136,7 @@ Component({
} }
const defaultTime = { const defaultTime = {
startTime: '', startTime: '',
endTime: '' endTime: `${month}-${today} 23:59:59`
} }
this.setData({ this.setData({
dataObj: { dataObj: {
......
账号登录: 10988866666(超管)xiong110 账号登录: 10988866666(超管)xiong110
测试环境 bb123456 密码 bb123456 测试环境 bb123456 密码 bb123456
csysfws a123456
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!