|
@@ -118,14 +118,14 @@
|
|
|
</view>
|
|
|
</block>
|
|
|
</view>
|
|
|
- <view class="bottom" v-if="pageData.status !== 1">
|
|
|
+ <view class="bottom" v-if="pageData.status !== 1" @click="openDown">
|
|
|
<view class="btn hflex acenter jcenter" v-if="type == 1 && pageData.status == 3">
|
|
|
<image src="/static/images/comment/down-fff.png" style="width: 33rpx; height: 33rpx;"></image>
|
|
|
<view>下载文件</view>
|
|
|
</view>
|
|
|
<view class="btn hflex acenter jcenter" :class="active == -1 ? 'btn1' : ''" v-if="type == 1 && pageData.status == 2" @click="match">匹配维修工</view>
|
|
|
<view class="hflex acenter jcenter" v-if="type == 2">
|
|
|
- <view class="left_btn hflex acenter jcenter">
|
|
|
+ <view class="left_btn hflex acenter jcenter" @click="openDown">
|
|
|
<image src="/static/images/comment/down-blue.png" style="width: 33rpx; height: 33rpx;"></image>
|
|
|
<view>下载文件</view>
|
|
|
</view>
|
|
@@ -141,6 +141,14 @@
|
|
|
<view class="right hflex acenter jcenter" @click="sure">确认匹配</view>
|
|
|
</view>
|
|
|
</u-modal>
|
|
|
+ <u-popup :show="down_show" @close="close" :round="10" mode="center" :closeable="true">
|
|
|
+ <view class="popu">
|
|
|
+ <view class="popu_title">下载文件</view>
|
|
|
+ <view class="wj_bg">
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </u-popup>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -157,7 +165,8 @@
|
|
|
content: '确定要匹配当前维修工吗?',
|
|
|
id: '',
|
|
|
pageData: {},
|
|
|
- offer_id: ''
|
|
|
+ offer_id: '',
|
|
|
+ down_show: false,
|
|
|
}
|
|
|
},
|
|
|
onLoad(options) {
|
|
@@ -205,6 +214,7 @@
|
|
|
},
|
|
|
close() {
|
|
|
that.show = false
|
|
|
+ that.down_show = false
|
|
|
},
|
|
|
sure() {
|
|
|
$api.req({
|
|
@@ -227,6 +237,9 @@
|
|
|
},
|
|
|
toChat(offer_id) {
|
|
|
$api.jump('/page_mine/pages/order/chat?id=' + that.pageData.id + '&offer_id=' + offer_id + '&type=' + that.type)
|
|
|
+ },
|
|
|
+ openDown() {
|
|
|
+ that.down_show = true
|
|
|
}
|
|
|
},
|
|
|
}
|
|
@@ -530,5 +543,28 @@
|
|
|
font-weight: 400;
|
|
|
color: #FFFFFF;
|
|
|
}
|
|
|
+ .popu {
|
|
|
+ width: 630rpx;
|
|
|
+ height: 460rpx;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border-radius: 24rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding: 0 40rpx;
|
|
|
+ .popu_title {
|
|
|
+ padding: 32rpx;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 36rpx;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #333333;
|
|
|
+ line-height: 50rpx;
|
|
|
+ }
|
|
|
+ .wj_bg {
|
|
|
+ margin: 44rpx 0 42rpx;
|
|
|
+ width: 100%;
|
|
|
+ height: 100rpx;
|
|
|
+ background: #F4F4F4;
|
|
|
+ border-radius: 16rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|