From f63d6a3a328368f6acb9898524b7a8890064a06c Mon Sep 17 00:00:00 2001 From: JING Date: Wed, 31 Jul 2024 13:51:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesA/merge/index.vue | 53 +++++++++++++++++++++++++++++++++++++----- 1 file changed, 47 insertions(+), 6 deletions(-) diff --git a/pagesA/merge/index.vue b/pagesA/merge/index.vue index 230f67a..16cdbc7 100644 --- a/pagesA/merge/index.vue +++ b/pagesA/merge/index.vue @@ -170,7 +170,24 @@ - + + + + + 提醒 + + + + + + + 暂不生成 + 前往创建 + + + + + @@ -208,6 +225,16 @@ custom_show:false, //选面部档案 弹窗 select_show:false, + //弹窗 + tips_show: false, + content: `

目前系统还未存入您的面部档案信息,

+

请先前往创建需要生成写真的面部档案

`, + style: { + // 字符串的形式 + + p: 'font-weight: 400;font-size: 28rpx;color: #555555;line-height: 60rpx;', + + }, } }, @@ -377,7 +404,17 @@ //判断选择 checkHave(item){ var _this = this; - _this.select_show = true; + // 生成0到9之间的随机整数 + var randomNumber = Math.floor(Math.random() * 10); + if(randomNumber > 5) + { + _this.select_show = true; + } + else + { + _this.tips_show = true; + } + }, @@ -511,9 +548,13 @@ padding: 0rpx 20rpx; } -.custom-input-height { - height: 40px !important; - min-height: 40px !important; +.popupDesc1{ + width:480rpx; + font-weight: 400; + font-size: 28rpx; + color: #555555; + height: auto; + padding: 0rpx 60rpx; } .inputLine{ width: 100%; height: 64rpx; display: flex; margin: 10rpx auto;} .inputLine .item1{width: 200rpx; height: 64rpx; line-height: 64rpx;text-align: center;} @@ -543,7 +584,7 @@ } .imgBox{width: 160rpx; height: 160rpx; position: relative; margin: 0rpx 0rpx 0rpx 20rpx; display: inline-block;} .imgBox .imgBg{width: 160rpx; height: 160rpx; border-radius: 20rpx; position: absolute; left: 0; top: 0;} -.imgBox .imgSelect{width: 40rpx; height: 40rpx;position: absolute; bottom: 0; right: 0; z-index: 5;} +.imgBox .imgSelect{width: 40rpx; height: 34rpx;position: absolute; bottom: 0; right: 0; z-index: 5;} .a1{ background: linear-gradient( 270deg, rgba(46,87,241,0.15) 0%, rgba(131,88,246,0.15) 100%); color:#7A74F0;