You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<template>
|
|
|
|
<view class="userInformation">
|
|
|
|
<navbar title="用户须知" :isCenter="true" :back="true"></navbar>
|
|
|
|
<view style="padding:24rpx">
|
|
|
|
<u-parse :content="content"></u-parse>
|
|
|
|
<view class="submit" @click="gosign">
|
|
|
|
签字验收
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import navbar from '@/components/navbar.vue'
|
|
|
|
import {getUserKnow} from '@/common/api.js'
|
|
|
|
export default {
|
|
|
|
components:{navbar},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
content:'',
|
|
|
|
id:null,
|
|
|
|
params:{}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
onLoad(option) {
|
|
|
|
this.id=option.id
|
|
|
|
this.getUserKnow()
|
|
|
|
this.params=option
|
|
|
|
},
|
|
|
|
onShow() {
|
|
|
|
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
getUserKnow(){
|
|
|
|
getUserKnow({custom: { auth: true }}).then(res=>{
|
|
|
|
|
|
|
|
this.content = res.data.content
|
|
|
|
})
|
|
|
|
},
|
|
|
|
gosign(){
|
|
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
url:'/pages/index/userAcceptRecord?id='+this.id+'&isUserSign='+this.params.isUserSign+'&name='+this.params.name+'&mobile='+this.params.mobile+'&user_address='+this.params.user_address
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.userInformation{
|
|
|
|
min-height: calc(100vh);
|
|
|
|
background-color: #ffffff;
|
|
|
|
}
|
|
|
|
.submit{
|
|
|
|
height: 98rpx;
|
|
|
|
background: #8EC31F;
|
|
|
|
line-height: 98rpx;
|
|
|
|
border-radius: 10rpx;
|
|
|
|
font-size: 30rpx;
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
font-weight: 400;
|
|
|
|
color: #FFFFFF;
|
|
|
|
text-align: center;
|
|
|
|
margin-top:40rpx;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|