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;