mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-19 17:35:53 +08:00
feat: ✨ 商家端新增格式化价格文件插件并在代码中引入,更新代码需要install插件
This commit is contained in:
@@ -28,7 +28,7 @@ import * as filters from "@/utils/filters"; // global filter
|
||||
|
||||
import {md5} from "@/utils/md5.js";
|
||||
|
||||
const {aMapSecurityJsCode, inputMaxLength} = require("@/config");
|
||||
const {aMapSecurityJsCode, inputMaxLength,mainColor} = require("@/config");
|
||||
// 打印
|
||||
import Print from 'vue-print-nb';
|
||||
|
||||
@@ -46,6 +46,9 @@ Vue.use(VueLazyload, {
|
||||
loading: require("./assets/loading2.gif")
|
||||
});
|
||||
|
||||
// 引入价格格式化组件
|
||||
import priceColorScheme from 'price-color'
|
||||
Vue.use(priceColorScheme);
|
||||
|
||||
const copyViewUi = {...ViewUI}
|
||||
copyViewUi.Input.props.maxlength.default = inputMaxLength // 挂载最大输入值
|
||||
@@ -66,6 +69,7 @@ Vue.prototype.uploadFileRequest = uploadFileRequest;
|
||||
Vue.prototype.setStore = setStore;
|
||||
Vue.prototype.getStore = getStore;
|
||||
Vue.prototype.removeStore = removeStore;
|
||||
Vue.prototype.$mainColor = mainColor;
|
||||
Vue.prototype.md5 = md5;
|
||||
const PC_URL = BASE.PC_URL; // 跳转买家端地址 pc端
|
||||
const WAP_URL = BASE.WAP_URL; // 跳转买家端地址 wap端
|
||||
|
||||
Reference in New Issue
Block a user