From 4207ef50035d1dec2bd177a3c79cff564ddbcf61 Mon Sep 17 00:00:00 2001 From: zhl Date: Wed, 16 Jun 2021 15:03:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E4=B8=8A=E4=BC=A0=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E5=A2=9E=E5=8A=A0=E5=9B=BE=E7=89=87=E5=B0=BA=E5=AF=B8?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UploadCorpImage/index.vue | 4 +++ src/components/UploadCorpImage/upload.css | 7 +++++ src/views/game/game_theme.vue | 38 +++++++++++++++++++++-- 3 files changed, 46 insertions(+), 3 deletions(-) diff --git a/src/components/UploadCorpImage/index.vue b/src/components/UploadCorpImage/index.vue index 08556f8..9422bb8 100644 --- a/src/components/UploadCorpImage/index.vue +++ b/src/components/UploadCorpImage/index.vue @@ -4,11 +4,15 @@
+
+ {{width}} x {{height}} +
+
- + + + - + + + { @@ -167,6 +187,18 @@ export default class extends Vue { private inputBegin() { this.$forceUpdate() } + + private mainUploadSuccess(imgUrl: string) { + console.log('game main success: ' + imgUrl) + this.record.game_main_pic = imgUrl + this.$forceUpdate() + } + + private bgUploadSuccess(imgUrl: string) { + console.log('bg item success: ' + imgUrl) + this.record.bg_item_icon = imgUrl + this.$forceUpdate() + } }