Commit 5cc8dfc3 by 张立顺

Merge branch 'SAAS+V4.38.7' of http://192.168.3.233:8090/saas_plus/dj-car-boutiq…

…ue-work-wechat into SAAS+V4.38.7
2 parents e861bcdb aefdb3e3
......@@ -14,7 +14,7 @@
</block>
<view class="sub score">
得分
<view class="num">{{item.score || 0}}</view>
<view class="num">{{item.score==null? '-':item.score}}</view>
</view>
</view>
<view class="content">
......
......@@ -21,6 +21,7 @@
bindinput="input"
bindblur="inputBlur"
bindconfirm="inputConfifm"
maxlength="30"
/>
</block>
</view>
......
......@@ -18,9 +18,14 @@
display: flex;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
/* height: 100%; */
width: var(--fontSize686);
text-align: center;
height: var(--fontSize72);
line-height: var(--fontSize72);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.search-input .icon{
width: var(--fontSize28);
......
......@@ -6,7 +6,7 @@
</view>
<view class="sub score">
话术质检评分:
<view class="num">{{item.score || 0}}</view>
<view class="num">{{item.score==null?'-':item.score}}</view>
</view>
</view>
<view class="content">
......
......@@ -45,7 +45,7 @@ Page({
} = e.target.dataset
this.setData({
bussinessType: type,
nothing:false,
nothing: false,
pageNum: 1,
}, () => {
this.getList(true)
......@@ -68,7 +68,7 @@ Page({
pageNum: isReset ? 1 : pageNum,
searchdate,
keyword,
BussinessType:bussinessType
BussinessType: bussinessType
}
if (RecMerchantNo) params.RecMerchantNo = RecMerchantNo
if (nothing) return
......@@ -84,7 +84,7 @@ Page({
if (e.seconds) e._seconds = this.formatTime(e.seconds)
// e.tempServer = e.serviceList.slice(0, 3)
console.log(e.merchantDTOList)
e.tempStore = e.merchantDTOList&&e.merchantDTOList.length>0?e.merchantDTOList.slice(0, 3):[]
e.tempStore = e.merchantDTOList && e.merchantDTOList.length > 0 ? e.merchantDTOList.slice(0, 3) : []
})
this.setData({
inspectList: tempList,
......@@ -213,7 +213,7 @@ Page({
selectedYqMerchantList,
RecMerchantNo,
merchantName,
nothing:false
nothing: false
})
this.getList(true)
},
......@@ -278,10 +278,23 @@ Page({
}
},
showOpen() {
showOpen(e) {
console.log(e.currentTarget.dataset)
let {
open
} = e.currentTarget.dataset
this.setData({
isopen: !this.data.isopen
})
if (open) {
this.setData({
pageNum: 1,
nothing: false,
keyword: ''
}, () => {
this.getList(true)
})
}
},
/**
* 生命周期函数--监听页面初次渲染完成
......@@ -292,11 +305,11 @@ Page({
this.setData({
pageNum: 1,
nothing: false,
searchdate:detail
},()=>{
searchdate: detail
}, () => {
this.getList(true)
})
},
onReady() {
......
......@@ -29,7 +29,6 @@ page{
.search-input {
background: #F7F8FA;
border-radius: var(--fontSize38);
width:100%;
height: var(--fontSize72);
display: flex;
align-items: center;
......
......@@ -7,8 +7,8 @@
<image class="solidArrow" src="/tabIndex/images/arrSolid.png" />
</view>
</block>
<block wx:if="{{isopen}}">
<view class="search-input">
<view class="search-input" style="width:{{isopen?'100%':''}}" bindtap="showOpen">
<image src="/images/search.png" class="search-icon" />
<input type="text" placeholder="员工姓名/手机号" class="input" confirm-type="search" value="{{keyword}}" placeholder-class="input-placeholder" catchinput="input" catchconfirm="inputConfifm" />
<block wx:if="{{keyword}}">
......@@ -17,12 +17,12 @@
</view>
</block>
</view>
<view class="cancel-text" bindtap="showOpen" wx:if="{{isopen}}">取消</view>
</block>
<view class="cancel-text" bindtap="showOpen" data-open="true" wx:if="{{isopen}}">取消</view>
<view class="search-icon-wrap" wx:if="{{!isopen}}" bindtap="showOpen">
<!-- <view class="search-icon-wrap" wx:if="{{!isopen}}" bindtap="showOpen">
<image src="/images/search-black.png" class="search-icon" />
</view>
</view> -->
</view>
<date-box bindchange="changeDate"></date-box>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!