| | |
| | | <image v-for="(op,index) in item.albums" @click="previewImg(item.albums,index)" class="content-img mr-10" :src="op.img"></image> |
| | | </view> |
| | | <view class="flex align-center justify-between mt-5 gray font-13"> |
| | | <text>客户: {{item.vipName}}</text> |
| | | <navigator :url="'../../member/detail?id='+item.vipId" hover-class="none" style="padding-right: 50px;">客户: {{item.vipName}}</navigator> |
| | | <view class="flex align-center" v-if="item.nextNotifyTime"> |
| | | <text class="iconfont iconzhong mr-5"></text> |
| | | <text>{{item.nextNotifyTime}}</text> |
| | | </view> |
| | | </view> |
| | | <view class="mt-5 gray font-13"> |
| | | <text>订单:{{item.orderAbstract}}</text> |
| | | <view class="flex align-center justify-between mt-5 gray font-13"> |
| | | <text style="padding-right: 50px;" @click="toOrder(item)">订单: {{item.orderAbstract}}</text> |
| | | </view> |
| | | <view class="right mt-5"> |
| | | <text class="iconfont" :class="item.zans && item.zans.indexOf(userInfo.id)>-1?'blue iconlove-b':'iconlove-b1'" @click="thumbsUp(item)"></text> |
| | |
| | | <no-record :isShow="!list.length" txt="暂无跟进记录"></no-record> |
| | | <uni-popup ref="commentEl" type="bottom" :isShowMask="false"> |
| | | <view class="message-row"> |
| | | <input type="text" v-model="comment" :focus="true" class="message-input" placeholder="评论" placeholder-class="placeholder"/> |
| | | <button class="green-btn message-btn" :disabled="!comment" @click="addFollowupComment">发送</button> |
| | | <input type="text" v-model="comment" :focus="true" class="message-input" placeholder="评论" placeholder-class="placeholder"/> |
| | | <button class="blue-btn message-btn" :disabled="!comment" @click="addFollowupComment">发送</button> |
| | | </view> |
| | | </uni-popup> |
| | | <fillter :isShow="isShowFilter" :staffList="staffList" :vipList="vipList" @reset="resetFilter" @change="changeFilter"></fillter> |
| | |
| | | onPullDownRefresh(){ |
| | | this.reload(); |
| | | let timer = setTimeout(function () { |
| | | uni.startPullDownRefresh(); |
| | | uni.stopPullDownRefresh(); |
| | | clearTimeout(timer); |
| | | timer = null; |
| | | }, 800); |
| | |
| | | staffIds: staffIds, |
| | | vipIds: vipIds |
| | | }, 'POST').then((res) => { |
| | | console.log(res.rows) |
| | | if(res.status == 200){ |
| | | this.list = res.rows |
| | | } |
| | | }) |
| | | console.log(Math.floor(this.list.length/10)) |
| | | }, |
| | | loadList(isRest){ |
| | | if(this.loadStatus!=='more'){ |
| | |
| | | this.startTime = data.startTime; |
| | | this.endTime = data.endTime; |
| | | this.reload(); |
| | | }, |
| | | toOrder(item){ |
| | | if(item.orderId){ |
| | | uni.navigateTo({ |
| | | url: '../orderDetail?orderId='+item.orderId |
| | | }) |
| | | } |
| | | if(item.serviceId){ |
| | | uni.navigateTo({ |
| | | url: '../serviceOrderDetail?id='+item.serviceId |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | font-size: 13px; |
| | | } |
| | | .message-row{ |
| | | position: fixed; |
| | | bottom: 0; |
| | | left: 0; |
| | | right: 0; |
| | | display: flex; |
| | | align-items: center; |
| | | background: #F6F6F8; |
| | | background: #eee; |
| | | padding: 10px; |
| | | margin-bottom: var(–safe-area-inset-bottom); |
| | | } |
| | | .message-input{ |
| | | flex: 1; |
| | |
| | | .message-btn{ |
| | | margin: 0; |
| | | line-height: 30px; |
| | | border-radius: 0; |
| | | border-radius: 2px; |
| | | font-size: 14px; |
| | | } |
| | | uni-button[disabled]:not([type]), uni-button[disabled][type=default]{ |
| | | color: #FFFFFF; |
| | | background-color: rgb(31 183 19 / 0.4); |
| | | border: 0; |
| | | } |
| | | </style> |