2 Star 5 Fork 3

Planck/Designer decoration mall app

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 909 Bytes
一键复制 编辑 原始数据 按行查看 历史
Planck 提交于 2020-04-24 15:43 . 第一次提交
import Vue from 'vue'
import App from './App'
import "@/static/css/rule.css";
import "@/static/css/public.css"
import common from './utils/common.js'
import http from './utils/http.js'
import api from './utils/api.js'
// console.log('xxxxx',http.publicJson)
// Vue.prototype.$api = api;
// Vue.prototype.$http = http.publicRequest;
Vue.config.productionTip = false
App.mpType = 'app'
const msg = (title, duration=1500, mask=false, icon='none')=>{
//统一提示方便全局修改
if(Boolean(title) === false){
return;
}
uni.showToast({
title,
duration,
mask,
icon
});
}
import cuCustom from './colorui/components/cu-custom.vue'
Vue.component('cu-custom',cuCustom)
Vue.prototype.$message = {msg};
Vue.prototype.$api = api
Vue.prototype.$http = http.publicRequest;
Vue.prototype.$Json = http.publicJson;
Vue.prototype.$common = common;
const app = new Vue({
...App
})
app.$mount()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/Ludwig_Planck/Designer-decoration-mall-app.git
[email protected]:Ludwig_Planck/Designer-decoration-mall-app.git
Ludwig_Planck
Designer-decoration-mall-app
Designer decoration mall app
master

搜索帮助