2023-07-20 13:48:26 +08:00
|
|
|
<template>
|
|
|
|
<view class="">
|
2023-09-02 15:43:46 +08:00
|
|
|
<company :cid="id" type="contract"></company>
|
2023-07-23 23:18:26 +08:00
|
|
|
<!-- <button class="back_btn" @click="naviBack">返回</button> -->
|
2023-07-20 16:32:30 +08:00
|
|
|
<!-- <button class="stop_btn">终止合同</button> -->
|
2023-07-20 13:48:26 +08:00
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-07-20 16:32:30 +08:00
|
|
|
import { contractView } from "@/api/contract.js"
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
2023-07-21 14:49:21 +08:00
|
|
|
id: '',
|
2023-07-20 16:32:30 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
onLoad(options) {
|
2023-07-21 14:49:21 +08:00
|
|
|
this.id = options.id
|
|
|
|
},
|
2023-07-20 16:32:30 +08:00
|
|
|
onShow() {},
|
|
|
|
methods: {
|
2023-08-10 14:13:35 +08:00
|
|
|
navTo(url) {
|
2023-07-20 16:32:30 +08:00
|
|
|
url ?
|
|
|
|
uni.navigateTo({
|
|
|
|
url: url
|
|
|
|
}) : Toast('暂未开放')
|
|
|
|
},
|
|
|
|
naviBack(){
|
|
|
|
uni.navigateBack()
|
|
|
|
},
|
2023-07-20 13:48:26 +08:00
|
|
|
},
|
2023-07-20 16:32:30 +08:00
|
|
|
onPullDownRefresh() {
|
2023-07-20 13:48:26 +08:00
|
|
|
uni.stopPullDownRefresh()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
2023-07-21 14:49:21 +08:00
|
|
|
|
2023-07-20 16:32:30 +08:00
|
|
|
.back_btn {
|
|
|
|
width: 694rpx;
|
|
|
|
height: 84rpx;
|
|
|
|
background: #3274F9;
|
|
|
|
border-radius: 42rpx 42rpx 42rpx 42rpx;
|
2023-07-20 13:48:26 +08:00
|
|
|
display: flex;
|
2023-07-20 16:32:30 +08:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
color: #fff;
|
|
|
|
margin: 30rpx auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stop_btn {
|
|
|
|
width: 694rpx;
|
|
|
|
height: 84rpx;
|
|
|
|
border-radius: 42rpx 42rpx 42rpx 42rpx;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
color: #3274F9;
|
|
|
|
background-color: transparent;
|
|
|
|
margin: 30rpx auto;
|
2023-07-20 13:48:26 +08:00
|
|
|
}
|
2023-07-20 16:32:30 +08:00
|
|
|
</style>
|