Files
frontend-app/components/common/down-popup.vue
T
2025-08-13 23:18:06 +08:00

138 lines
2.8 KiB
Vue

<template>
<view class="down-popup-view" v-if="show">
<view class="down-panel">
<view class="flex-r-lr mt-24">
<view></view>
<text class="text-zu1 text-32">{{title}}</text>
<image src="@/static/new/close.png" @click.stop="onCancel" class="close-img"></image>
</view>
<text class="text-zu1 text-48 mt-88">{{articleTitle}}</text>
<view class="content-text mt-48">
<text class="text-28 text-zu1">
{{contentText}}
</text>
</view>
<view class="bottom-btn">
<view class="left-box left flex-c" @click.stop="onCancel">
<text class="text-fu text-32">{{cancel}}</text>
</view>
<view class="left-box right flex-c" @click.stop="onOk">
<text class="text-white text-32">{{ok}}</text>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
props:{
show:{
type:Boolean,
default:false
},
title:{
type:String,
default:'签署合同'
},
articleTitle:{
type:String,
default:'消费型合伙人协议'
},
cancel:{
type:String,
default:'取消'
},
ok:{
type:String,
default:'去签署'
},
contentText:{
type:String,
default:`致:中华资本有限公司​
鉴于贵司与本企业(以下简称“承诺方”)就Alpha基金会股权承销项目达成合作,为明确资金来源合法性及责任划分,承诺方自愿作出如下不可撤销的承诺:
​一、资金来源合法性承诺​
1.合法合规性​
本企业承诺,本次Alpha基金会股权承销项目11111111111111111111111111111111111`
}
},
mounted(){
},
methods: {
onCancel(){
this.$emit('cancel');
},
onOk(){
this.$emit('ok');
}
}
}
</script>
<style lang="scss" scoped>
.down-popup-view{
width:100%;
height:100vh;
min-height:100vh;
display: flex;
flex-direction: column;
background-color: rgba(0,0,0,0.3);
position: fixed;
left:0;
top:0;
z-index: 10000;
.down-panel{
width:100%;
height:764rpx;
display: flex;
flex-direction: column;
padding: 0 32rpx;
box-sizing: border-box;
background-color: #fff;
position: absolute;
bottom:0;
border-radius: 32rpx 32rpx 0 0 ;
.content-text{
flex:1;
width:100%;
display: flex;
flex-direction: column;
overflow-y: auto;
}
.bottom-btn{
display: flex;
flex-direction: row;
justify-content: space-between;
position: relative;
width:100%;
height:88rpx;
margin-top:40rpx;
margin-bottom:80rpx;
.left-box{
width:48%;
height:100%;
border-radius: 8rpx;
box-sizing: border-box;
}
.left{
border:1rpx solid #eaeaea;
}
.right{
background: linear-gradient( 270deg, #B164FB 0%, #7934F6 100%);
}
}
.close-img{
width:44rpx;
height:44rpx;
}
}
}
</style>