OfficeApp/subpkg/contractDetail/contractDetail.vue

63 lines
1.2 KiB
Vue
Raw Permalink Normal View History

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> -->
<!-- <button class="stop_btn">终止合同</button> -->
2023-07-20 13:48:26 +08:00
</view>
</template>
<script>
import { contractView } from "@/api/contract.js"
export default {
data() {
return {
id: '',
}
},
onLoad(options) {
this.id = options.id
},
onShow() {},
methods: {
2023-08-10 14:13:35 +08:00
navTo(url) {
url ?
uni.navigateTo({
url: url
}) : Toast('暂未开放')
},
naviBack(){
uni.navigateBack()
},
2023-07-20 13:48:26 +08:00
},
onPullDownRefresh() {
2023-07-20 13:48:26 +08:00
uni.stopPullDownRefresh()
}
}
</script>
<style lang="scss">
.back_btn {
width: 694rpx;
height: 84rpx;
background: #3274F9;
border-radius: 42rpx 42rpx 42rpx 42rpx;
2023-07-20 13:48:26 +08:00
display: flex;
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
}
</style>