Commit e5493ffb by 姜雷

修改艾米豆为艾米

parent 40042509
......@@ -97,9 +97,11 @@ Component({
let item = newVal.find(item => item.name === val);
if (item) {
let name = item.name;
if (item && item.name.length < 4) {
name += '\xa0\xa0\xa0';
while (name.length < 4) {
name += '\xa0';
}
name = name.replace(/\xa0/g, '\xa0\xa0\xa0');
console.log(name, name.length);
return name + ' ' + formatPrice(item.count);
} else {
return '';
......
......@@ -203,7 +203,7 @@ Page({
console.log(res);
if (res.data) {
const keyMap = {
aimi: '艾米',
aimi: '艾米',
bean: '消费豆',
discount: '优惠金额',
online: '线上支付',
......
......@@ -5,7 +5,7 @@
},
"miniprogramRoot": "miniprogram/",
"compileType": "miniprogram",
"libVersion": "2.5.0",
"libVersion": "2.8.3",
"projectname": "wx-manage-shell",
"scripts": {
"beforeCompile": "npm run tsc",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment