From 6bd759edac66eea78c78176df2e0769a361f6f51 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Thu, 18 Nov 2021 17:18:32 +0800 Subject: [PATCH] 公共组件,调大字体大小 --- forms/input/CInputExpressCode.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/forms/input/CInputExpressCode.vue b/forms/input/CInputExpressCode.vue index d88e866..ceeda71 100644 --- a/forms/input/CInputExpressCode.vue +++ b/forms/input/CInputExpressCode.vue @@ -19,7 +19,10 @@ class="c-input-express-btn" @tap="evt => handleScan()" ></view> - <view class="c-input-express-scan"> + <view + class="c-input-express-scan" + v-if="scanable" + > <view v-show="!scaning" class="gg-scan" @@ -53,6 +56,8 @@ }, data() { return { + // 小程序中才开启扫描功能 + scanable: process.env.TARO_ENV === 'weapp', scaning: false, }; }, -- Gitblit v1.9.1