From 334106d4c315bfefd82a940ba62881c49b6494af Mon Sep 17 00:00:00 2001 From: shuxiaoquan <853623962@qq.com> Date: Mon, 4 Mar 2024 13:58:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=A4=B4=E5=83=8F=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/components/setPrice.vue | 3 ++- pages/news1/setting.vue | 35 ++++++++++++++++++++++++++--- 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/pages/goods/components/setPrice.vue b/pages/goods/components/setPrice.vue index 7af4a06..657af4c 100644 --- a/pages/goods/components/setPrice.vue +++ b/pages/goods/components/setPrice.vue @@ -7,7 +7,8 @@ - 秒杀价: + 秒杀价: + 秒杀区间: diff --git a/pages/news1/setting.vue b/pages/news1/setting.vue index 81c165c..a3ab11b 100644 --- a/pages/news1/setting.vue +++ b/pages/news1/setting.vue @@ -5,8 +5,13 @@ 头像 - + + + + + @@ -100,6 +105,17 @@ export default { this.genderIndex = this.info.gender == '男' ? 0 : 1 }, methods: { + chooseavatar(e){ + console.log(e) + let tempFiles = e.detail.avatarUrl; + this.info.avatar_url = tempFiles + this.imageList = this.imageList.concat([ + { + path: tempFiles + } + ]) + this.uploadFile() + }, sureSubmit() { let params = { nick_name: this.info.nick_name, @@ -265,7 +281,20 @@ page { font-size: 28rpx; color: #303030; } - +.avatar{ + width: 114rpx; + height: 114rpx; + position: relative; +} +.avatar button{ + width: 100%; + height: 100%; + position: absolute; + left: 0; + top: 0; + z-index: 2; + opacity: 0; +} .image_logo { width: 114rpx; height: 114rpx;