From 34cb2b56e52c6490d2c10e2af995938dffcbb907 Mon Sep 17 00:00:00 2001 From: 123456 Date: Fri, 18 Oct 2024 10:22:39 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BB=A5=E5=8F=8A=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/searchList.vue | 25 ++++++++++--------- pages/release/detail.vue | 3 ++- pages/release/index.vue | 50 ++++++++++++++++++++++++++------------ pages/user/index.vue | 8 ++++++ 4 files changed, 59 insertions(+), 27 deletions(-) diff --git a/pages/index/searchList.vue b/pages/index/searchList.vue index a9d345e..26f0e5a 100644 --- a/pages/index/searchList.vue +++ b/pages/index/searchList.vue @@ -10,17 +10,17 @@ 搜索 - 查询信息 - - - 姓名:{{filter.main_realname}} - 身份证号:{{filter.main_cardno}} - 手机号:{{filter.main_phone}} - QQ号:{{filter.main_qq}} - 微信号:{{filter.main_wechat}} - 居住地址:{{filter.main_address}} - 籍贯:{{filter.main_jiguan}} - 公司:{{filter.main_company}} + 查询信息 + + + 姓名:{{a.main_realname}} + 身份证号:{{a.main_cardno}} + 手机号:{{a.main_phone}} + QQ号:{{a.main_qq}} + 微信号:{{a.main_wechat}} + 居住地址:{{a.main_address}} + 籍贯:{{a.main_jiguan}} + 公司:{{a.main_company}} 数据列表 @@ -50,6 +50,7 @@ title: "", show: false, list: [], + info: [], total: 1, filter: { content_type_id: "", @@ -67,6 +68,7 @@ }, onLoad() { this.filter = uni.getStorageSync("filterInfo") + this.filter.keyword = uni.getStorageSync("filterInfo").keyword?uni.getStorageSync("filterInfo").keyword:(uni.getStorageSync("filterInfo").main_realname?uni.getStorageSync("filterInfo").main_realname:"") this.getContentList(); }, methods: { @@ -90,6 +92,7 @@ }) if(code == 1){ this.list = data.rows; + this.info = data.showinfo; this.total = data.total; } }, diff --git a/pages/release/detail.vue b/pages/release/detail.vue index 115bcde..153dfd7 100644 --- a/pages/release/detail.vue +++ b/pages/release/detail.vue @@ -580,6 +580,7 @@ top: 0; z-index: 2; filter: blur(3px); + background-color: rgba(255,255,255,0.7); } .in{ width: 580rpx; @@ -592,7 +593,7 @@ top: 50%; margin-left: -290rpx; margin-top: -160rpx; - z-index: 1; + z-index: 4; image{ width: 79rpx; height: 69rpx; diff --git a/pages/release/index.vue b/pages/release/index.vue index b38ba89..e6cb3ba 100644 --- a/pages/release/index.vue +++ b/pages/release/index.vue @@ -96,7 +96,7 @@ - 详细说明* + 详细说明*(最多9张图片,视频不超过50MB) @@ -230,6 +230,21 @@ }) this.content_tag = arr; console.log(this.content_tag) + if(uni.getStorageSync("userInfo").status !=1){ + uni.showModal({ + title: '温馨提示', + content: '当前用户没有认证', + confirmText: "去认证", + success(res) { + if(res.confirm){ + uni.navigateTo({ + url: "/pages/user/verification" + }) + } + } + }) + return ; + } if (!this.main_realname) { uni.showToast({ title: '请输入当事人姓名', @@ -273,20 +288,20 @@ return } let total = 0; - if(this.zhengren.length >0){ - this.zhengren.map(a=>{ - if(a.realname){ - total++ - } - }) - } - if(total != this.zhengren.length){ - uni.showToast({ - title: '请完善证人信息', - icon: 'none', - }) - return - } + // if(this.zhengren.length >0){ + // this.zhengren.map(a=>{ + // if(a.realname){ + // total++ + // } + // }) + // } + // if(total != this.zhengren.length){ + // uni.showToast({ + // title: '请完善证人信息', + // icon: 'none', + // }) + // return + // } const { code, data, msg } = await this.$api.setContent({ main_realname: this.main_realname, content_type_id: this.content_type_id, @@ -489,6 +504,11 @@ font-size: 24rpx; color: #999999; } + .tip{ + font-size: 24rpx; + color: #999999; + margin-left: 20rpx; + } .add{ float: right; color: #00C6A9; diff --git a/pages/user/index.vue b/pages/user/index.vue index 6485e4f..d975e72 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -113,8 +113,16 @@ }else{ this.userInfo = {} } + this.systembasicInfoopen(); }, methods: { + //事件类型 + async systembasicInfoopen() { + const { code, data } = await this.$api.systembasicInfoopen({}) + if(code == 1){ + uni.setStorageSync("systembasicInfoopen",data) + } + }, //联系客服 async getlianxi() { const { code, data } = await this.$api.getlianxi({})