From 14c9e93183a3a9c03ba17eee270dacbbd1e3022a Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Tue, 28 Sep 2021 19:24:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=B7=E6=A0=BC=E9=99=90=E5=88=B6=E4=B8=A4?= =?UTF-8?q?=E4=BD=8D=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/api.js | 2 +- components/lf-price/lf-price.vue | 7 ++++++- manifest.json | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/common/api.js b/common/api.js index 47f4c8b..c5c0afd 100644 --- a/common/api.js +++ b/common/api.js @@ -1,5 +1,5 @@ // appId: 正式 null | 测试 wxeb58570b5e04d147 -export const DEV = "dev"; // dev 测试 | prod 正式 +export const DEV = "prod"; // dev 测试 | prod 正式 export const VERSION = '1.0.0'; // 版本号 export const DEVURL = 'https://yytx.eugyl.com'; // 测试服请求地址 // export const DEVURL = 'http://hainan.com'; // 测试服请求地址 diff --git a/components/lf-price/lf-price.vue b/components/lf-price/lf-price.vue index 43050c3..55af6db 100644 --- a/components/lf-price/lf-price.vue +++ b/components/lf-price/lf-price.vue @@ -2,7 +2,7 @@ {{ showPrice(1) }} - .{{ showPrice(2) }} + .{{ showPrice(2) | formDate }} {{ showPrice() }} @@ -18,6 +18,11 @@ default: '' } }, + filters: { + formDate(val) { + return val.slice(0,2) + } + }, computed: { // 是否存在小数点 isPoint(){ diff --git a/manifest.json b/manifest.json index 208bb63..477adb2 100644 --- a/manifest.json +++ b/manifest.json @@ -50,7 +50,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wx5bd5789ad8f89524", + "appid" : "wxeb58570b5e04d147", "setting" : { "urlCheck" : true, "es6" : false,