Commit f758184f authored by zhengzy's avatar zhengzy
parents c679d24c 82dcab17
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
</view> --> </view> -->
<view class="pics u-flex u-flex-wrap"> <view class="pics u-flex u-flex-wrap">
<view class="img-list" v-for="(item,index) in imgList" :key="index"> <view class="img-list" v-for="(item,index) in imgList" :key="index">
<u-image class="pic" width="160" height="160" :src="item.path" :border-radius="10" @click.stop="prviewImage(item.path,index)"></u-image> <u-image class="pic" width="160" height="160" :src="item.path ? item.path : item.src + '?imageView2/1/w/100/h/100/q/75'" :border-radius="10" @click.stop="prviewImage(item.path,index)"></u-image>
<view class="icon-del-box" @click.stop="delFile(index)"> <view class="icon-del-box" @click.stop="delFile(index)">
<view class="icon-del"></view> <view class="icon-del"></view>
<view class="icon-del rotate"></view> <view class="icon-del rotate"></view>
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
mounted() { mounted() {
if(this.value){ if(this.value){
this.imgList = this.value.map(img =>{ this.imgList = this.value.map(img =>{
return {path: img, src:img} return {src:img}
}) })
this.setValue() this.setValue()
} }
...@@ -157,10 +157,10 @@ ...@@ -157,10 +157,10 @@
this.$u.api.orderStandardItem(param).then((res)=>{ this.$u.api.orderStandardItem(param).then((res)=>{
if (res.code == 200 && res.data.length>0) { if (res.code == 200 && res.data.length>0) {
self.currentItemDate = res.data[0] self.currentItemDate = res.data[0]
self.takeStatus = true
}else{ }else{
console.log("获取完工项的拍照标准异常",res.data.message) console.log("获取完工项的拍照标准异常",res.data.message)
} }
self.takeStatus = true
}) })
}, },
getWatermark(){ getWatermark(){
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
return process.uniEnv.qn_base_url + this.imageName return process.uniEnv.qn_base_url + this.imageName
}, },
imageName() { imageName() {
return this.isMine ? 'minekefutu.png' : 'kefutuzs.png' return this.isMine ? 'kefufuwu-n.png' : 'kefutuzs.png'
}, },
isMine() { // exclusive:专属; mine:我的页面客服; pop: 弹窗客服 isMine() { // exclusive:专属; mine:我的页面客服; pop: 弹窗客服
return this.type == 'mine' return this.type == 'mine'
...@@ -110,8 +110,7 @@ ...@@ -110,8 +110,7 @@
if (res.confirm) { if (res.confirm) {
uni.openSetting({ uni.openSetting({
success(res) { success(res) {
console.log(res console.log(res.authSetting)
.authSetting)
} }
}); });
} }
......
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
}, },
toDetail(key) { toDetail(key) {
let data = this.list[key].data; let data = this.list[key].data;
if(!data.isUpload){ if(data.status != 1){
return; return;
} }
wx.navigateTo({ wx.navigateTo({
......
<template> <template>
<view class="cus-wrap"> <view class="cus-wrap">
<w-navbar title="联系客服"></w-navbar> <w-navbar title="联系客服"></w-navbar>
<view class="cus-wrap-content">
<Customer :type="type"></Customer> <Customer :type="type"></Customer>
</view> </view>
</view>
</template> </template>
<script> <script>
...@@ -20,7 +22,6 @@ ...@@ -20,7 +22,6 @@
if (e && e.type) { if (e && e.type) {
this.type = e.type this.type = e.type
} }
console.log('aaaaaaa:', e.visible)
}, },
} }
</script> </script>
...@@ -29,5 +30,9 @@ ...@@ -29,5 +30,9 @@
.cus-wrap { .cus-wrap {
background-color: #F4F5F7; background-color: #F4F5F7;
padding: 20rpx 30rpx; padding: 20rpx 30rpx;
height: 100vh;
.cus-wrap-content {
overflow: auto;
}
} }
</style> </style>
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
scenePhoto: false, scenePhoto: false,
isErrorSign:false, isErrorSign:false,
errorSignUrl:'', errorSignUrl:'',
isAllowDianhuaAndDaohang : false, isAllowDianhuaAndDaohang : true,
appointmentDatetimeRange:'', appointmentDatetimeRange:'',
appointmentDatetime:'', appointmentDatetime:'',
signDistance:3000, signDistance:3000,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment