56 lines
1.1 KiB
Vue
56 lines
1.1 KiB
Vue
<template>
|
|
<view class="app">
|
|
<!-- <u-parse :html="content"></u-parse> -->
|
|
<view class="" @tap='show =true'>
|
|
111111111111111
|
|
</view>
|
|
<u-mask :show="show" @click="show = false">
|
|
<view style="position:absolute;bottom:0;height:900rpx;width:100%;background-color: #fff;" v-if='show'>
|
|
<signature @userSignaturePictureUrl='userSignaturePicture' @click.native.stop
|
|
style='background-color: #F4F5F7;width: 100%;height: 900rpx;'></signature>
|
|
</view>
|
|
</u-mask>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import signature from '@/components/signature/signature.vue'
|
|
import {
|
|
getContent
|
|
} from '@/api/pagesC/contractsigningprotocol/index.js'
|
|
export default {
|
|
components: {
|
|
signature
|
|
},
|
|
data() {
|
|
return {
|
|
orgNo: null,
|
|
content: null,
|
|
show: false,
|
|
};
|
|
},
|
|
methods: {
|
|
//签名
|
|
userSignaturePicture(data) {
|
|
console.log(data)
|
|
this.show = false
|
|
},
|
|
info() {
|
|
getContent(this.orgNo, '1').then(res => {
|
|
this.content = res.data.content
|
|
})
|
|
},
|
|
},
|
|
onLoad(options) {
|
|
this.orgNo = options.orgNo
|
|
this.info();
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.app {
|
|
margin-top: 100rpx;
|
|
padding: 0 40rpx;
|
|
}
|
|
</style> |