|
|
@@ -123,7 +123,7 @@
|
|
|
<!-- 上传图片 -->
|
|
|
<view class="item_img">
|
|
|
<view class="img_key">上传图片:</view>
|
|
|
- <view class="img_value"></view>
|
|
|
+ <img class="img_value" mode="aspectFill" :src="item.img[0]" @click="handleLookImgs(item.img)" />
|
|
|
</view>
|
|
|
|
|
|
<!-- 维修师傅 -->
|
|
|
@@ -194,6 +194,32 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
+
|
|
|
+ <!-- 维修费用弹窗 -->
|
|
|
+ <uni-popup :is-mask-click="false" ref="popup_fee">
|
|
|
+ <view class="pop_fee">
|
|
|
+ <view class="fee_title">
|
|
|
+ 维修费用
|
|
|
+ <text @click="$refs.popup_fee[0].close()">×</text>
|
|
|
+ </view>
|
|
|
+ <view class="fee_box">
|
|
|
+ 耗材:
|
|
|
+ <text>螺丝刀</text>
|
|
|
+ </view>
|
|
|
+ <view class="fee_box">
|
|
|
+ 耗材单价:
|
|
|
+ <text>1元</text>
|
|
|
+ </view>
|
|
|
+ <view class="fee_box">
|
|
|
+ 耗材数量:
|
|
|
+ <text>2</text>
|
|
|
+ </view>
|
|
|
+ <view class="fee_box">
|
|
|
+ 耗材费用:
|
|
|
+ <text>2元</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </uni-popup>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -223,7 +249,11 @@ export default {
|
|
|
address: '3楼309',
|
|
|
goods: '电脑',
|
|
|
description: '水龙头坏了',
|
|
|
- img: ''
|
|
|
+ img: [
|
|
|
+ 'https://img1.baidu.com/it/u=920310517,1559263161&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
|
|
|
+ 'https://13lz.cn/d/file/2021-06-12/f54cce5a0208c756c112407ec6ca1ac0.jpg',
|
|
|
+ 'https://inews.gtimg.com/newsapp_bt/0/12555654161/1000'
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
id: 2,
|
|
|
@@ -237,7 +267,11 @@ export default {
|
|
|
address: '3楼309',
|
|
|
goods: '电脑',
|
|
|
description: '电脑坏了',
|
|
|
- img: '',
|
|
|
+ img: [
|
|
|
+ 'https://img1.baidu.com/it/u=920310517,1559263161&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
|
|
|
+ 'https://13lz.cn/d/file/2021-06-12/f54cce5a0208c756c112407ec6ca1ac0.jpg',
|
|
|
+ 'https://inews.gtimg.com/newsapp_bt/0/12555654161/1000'
|
|
|
+ ],
|
|
|
workerName: '老张',
|
|
|
workerPhone: '13659585689'
|
|
|
},
|
|
|
@@ -253,7 +287,11 @@ export default {
|
|
|
address: '3楼309',
|
|
|
goods: '电脑',
|
|
|
description: '电脑坏了',
|
|
|
- img: '',
|
|
|
+ img: [
|
|
|
+ 'https://img1.baidu.com/it/u=920310517,1559263161&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
|
|
|
+ 'https://13lz.cn/d/file/2021-06-12/f54cce5a0208c756c112407ec6ca1ac0.jpg',
|
|
|
+ 'https://inews.gtimg.com/newsapp_bt/0/12555654161/1000'
|
|
|
+ ],
|
|
|
workerName: '老张',
|
|
|
workerPhone: '13659585689',
|
|
|
money: 50,
|
|
|
@@ -271,7 +309,11 @@ export default {
|
|
|
address: '3楼309',
|
|
|
goods: '电脑',
|
|
|
description: '电脑坏了',
|
|
|
- img: '',
|
|
|
+ img: [
|
|
|
+ 'https://img1.baidu.com/it/u=920310517,1559263161&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
|
|
|
+ 'https://13lz.cn/d/file/2021-06-12/f54cce5a0208c756c112407ec6ca1ac0.jpg',
|
|
|
+ 'https://inews.gtimg.com/newsapp_bt/0/12555654161/1000'
|
|
|
+ ],
|
|
|
workerName: '老张',
|
|
|
workerPhone: '13659585689',
|
|
|
money: 50,
|
|
|
@@ -289,7 +331,11 @@ export default {
|
|
|
address: '3楼309',
|
|
|
goods: '电脑',
|
|
|
description: '电脑坏了',
|
|
|
- img: '',
|
|
|
+ img: [
|
|
|
+ 'https://img1.baidu.com/it/u=920310517,1559263161&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
|
|
|
+ 'https://13lz.cn/d/file/2021-06-12/f54cce5a0208c756c112407ec6ca1ac0.jpg',
|
|
|
+ 'https://inews.gtimg.com/newsapp_bt/0/12555654161/1000'
|
|
|
+ ],
|
|
|
workerName: '老张',
|
|
|
workerPhone: '13659585689',
|
|
|
money: 50
|
|
|
@@ -306,7 +352,11 @@ export default {
|
|
|
address: '3楼309',
|
|
|
goods: '电脑',
|
|
|
description: '电脑坏了',
|
|
|
- img: '',
|
|
|
+ img: [
|
|
|
+ 'https://img1.baidu.com/it/u=920310517,1559263161&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
|
|
|
+ 'https://13lz.cn/d/file/2021-06-12/f54cce5a0208c756c112407ec6ca1ac0.jpg',
|
|
|
+ 'https://inews.gtimg.com/newsapp_bt/0/12555654161/1000'
|
|
|
+ ],
|
|
|
workerName: '老张',
|
|
|
workerPhone: '13659585689',
|
|
|
money: 50
|
|
|
@@ -323,7 +373,11 @@ export default {
|
|
|
address: '3楼309',
|
|
|
goods: '电脑',
|
|
|
description: '电脑坏了',
|
|
|
- img: '',
|
|
|
+ img: [
|
|
|
+ 'https://img1.baidu.com/it/u=920310517,1559263161&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
|
|
|
+ 'https://13lz.cn/d/file/2021-06-12/f54cce5a0208c756c112407ec6ca1ac0.jpg',
|
|
|
+ 'https://inews.gtimg.com/newsapp_bt/0/12555654161/1000'
|
|
|
+ ],
|
|
|
workerName: '老张',
|
|
|
workerPhone: '13659585689',
|
|
|
money: 50
|
|
|
@@ -401,12 +455,23 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
+ // 查看维修费用回调
|
|
|
+ checkFeeDetail() {
|
|
|
+ this.$refs.popup_fee[0].open('center')
|
|
|
+ },
|
|
|
// 点击电话号码回调
|
|
|
handleCallPhone(phone) {
|
|
|
console.log(phone)
|
|
|
uni.makePhoneCall({
|
|
|
phoneNumber: phone
|
|
|
})
|
|
|
+ },
|
|
|
+ // 点击图片回调
|
|
|
+ handleLookImgs(img) {
|
|
|
+ // console.log(img)
|
|
|
+ uni.previewImage({
|
|
|
+ urls: img
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -415,7 +480,7 @@ export default {
|
|
|
<style lang="scss" scoped>
|
|
|
.container {
|
|
|
width: 100vw;
|
|
|
- height: calc(100vh - 102rpx);
|
|
|
+ height: calc(100vh - 152rpx);
|
|
|
overflow-y: auto;
|
|
|
|
|
|
.top_bg {
|
|
|
@@ -616,7 +681,6 @@ export default {
|
|
|
width: 120rpx;
|
|
|
height: 120rpx;
|
|
|
border-radius: 14rpx;
|
|
|
- background-color: salmon;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -778,6 +842,45 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .pop_fee {
|
|
|
+ padding-bottom: 50rpx;
|
|
|
+ border-radius: 19rpx;
|
|
|
+ background-color: #fff;
|
|
|
+
|
|
|
+ .fee_title {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding: 0 31rpx 0 42rpx;
|
|
|
+ width: 690rpx;
|
|
|
+ height: 110rpx;
|
|
|
+ font-size: 32rpx;
|
|
|
+ font-weight: bold;
|
|
|
+ border-radius: 19rpx 19rpx 0 0;
|
|
|
+ border-bottom: 1rpx solid #e6e6e6;
|
|
|
+
|
|
|
+ text {
|
|
|
+ font-size: 45rpx;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #808080;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .fee_box {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ padding-left: 42rpx;
|
|
|
+ height: 80rpx;
|
|
|
+ font-size: 28rpx;
|
|
|
+ color: #808080;
|
|
|
+
|
|
|
+ text {
|
|
|
+ color: #000000;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|