From 3c61c2d657121482389c0518ac2c81c6df1e704b Mon Sep 17 00:00:00 2001 From: wjt <1797368093@qq.com> Date: 星期四, 20 六月 2024 18:59:05 +0800 Subject: [PATCH] Merge branch 'master' of http://218.28.192.34:9999/r/sqys/sqys_xcx --- policy/components/popup.vue | 89 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 89 insertions(+), 0 deletions(-) diff --git a/policy/components/popup.vue b/policy/components/popup.vue new file mode 100644 index 0000000..8c34dc4 --- /dev/null +++ b/policy/components/popup.vue @@ -0,0 +1,89 @@ +<template> + <u-popup :show="show" @close="close" @open="open" mode="bottom" round="10" closeable> + <view class="page-box"> + <view class="title"> + 鎵ф硶鐢宠瀹℃壒 + </view> + <view class="border"></view> + <view class="padding"> + <view> + <u-radio-group placement="row"> + <u-radio active-color="#3EB47A" label="閫氳繃" name="3"></u-radio> + <u-radio active-color="#3EB47A" label="鎷掔粷" name="3"></u-radio> + </u-radio-group> + </view> + <view class="margin-top"> + <u-textarea placeholder="璇疯緭鍏ユ嫆缁濈悊鐢�..."></u-textarea> + </view> + </view> + <view class="down"> + <view class="cancel button" @click="close">鍙栨秷</view> + <view class="enter" @entery="entery">纭</view> + </view> + </view> + </u-popup> +</template> + +<script> + export default { + data() { + return { + show: false + } + }, + methods: { + open() { + this.show = true + }, + close(){ + this.show = false + this.$emit('cancel') + }, + entery(){ + this.$emit('entery') + } + } + } +</script> + +<style scoped lang="scss"> + .page-box{ + padding: 24rpx 0; + .title{ + font-size: 36rpx; + font-weight: 700; + padding: 0 32rpx; + border-bottom: 2rpx solid #F4F4F4; + padding-bottom: 24rpx; + margin-bottom: 48rpx; + } + .padding{ + padding: 0 24rpx; + } + .margin-top{ + margin-top: 50rpx; + } + .down{ + padding: 34rpx 30rpx 30rpx; + display: flex; + justify-content: space-between; + >view{ + display: inline-block; + } + .button{ + padding: 20rpx 40rpx; + background: #F7F7F7; + border-radius: 20rpx; + } + .enter{ + width: 65%; + background: #1171E0; + color: white; + border-radius: 20rpx; + padding: 20rpx 40rpx; + text-align: center; + } + } + } + +</style> \ No newline at end of file -- Gitblit v1.9.1