From b36494ed9e9cbadfee6082e0823461c9adc74607 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Mon, 15 Mar 2021 13:40:38 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A9=BB=E5=9C=BAbug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/formate.wxs | 2 +- pages/home/customer-info/index.wxml | 3 ++- pages/home/customer-list/index.wxml | 4 ++-- project.config.json | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pages/formate.wxs b/pages/formate.wxs index ae1a6c4..1856223 100644 --- a/pages/formate.wxs +++ b/pages/formate.wxs @@ -60,7 +60,7 @@ function formateAmount(amount) { } function formateWeight(weight) { - return Number(weight).toFixed(3) + return (parseFloat(weight) / 1000).toFixed(2) } module.exports = { diff --git a/pages/home/customer-info/index.wxml b/pages/home/customer-info/index.wxml index 27c2df8..f5b3b4d 100644 --- a/pages/home/customer-info/index.wxml +++ b/pages/home/customer-info/index.wxml @@ -54,8 +54,9 @@ 邀请 {{customerName}} - 邀请注册纸通宝 + 注册纸通宝 + 请让客户使用微信进行扫码注册 \ No newline at end of file diff --git a/pages/home/customer-list/index.wxml b/pages/home/customer-list/index.wxml index 68c31a8..d54b31d 100644 --- a/pages/home/customer-list/index.wxml +++ b/pages/home/customer-list/index.wxml @@ -45,9 +45,9 @@ 邀请 {{customerName}} - 邀请注册纸通宝 + 注册纸通宝 - 请让客户使用微信进行扫码 + 请让客户使用微信进行扫码注册 \ No newline at end of file diff --git a/project.config.json b/project.config.json index 1e50666..f4fdc7e 100644 --- a/project.config.json +++ b/project.config.json @@ -40,7 +40,7 @@ "minifyWXSS": true }, "compileType": "miniprogram", - "libVersion": "2.15.0", + "libVersion": "2.16.0", "appid": "wx8214a7f3614a3340", "projectname": "ztb-saas-mini", "debugOptions": {