注释渐变色功能和作品广场

This commit is contained in:
X1627315083
2024-05-16 09:41:16 +08:00
parent 4d86e782e6
commit 051b9e4f38
24 changed files with 1561 additions and 262 deletions

View File

@@ -1,4 +1,4 @@
import { createApp,nextTick } from 'vue'
import { createApp,nextTick, } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
@@ -17,7 +17,7 @@ import { Https } from "@/tool/https";
// import "@/tool/color-thief.js";
// import "@/tool/fabric.brushes.js";
// import "@/tool/fabric.min.js";
const app = createApp(App);
flexible()
import { getCookie, setCookie } from "@/tool/cookie";
router.beforeEach((to, from, next) => {
@@ -67,9 +67,24 @@ async function isMurmur() {
}
// app.directive('cliAdmin', {
// mounted(el, binding) {
// el.style.cursor = 'pointer'
// },
// updated (el,binding) {
// // let value = binding.value
// // if(value.state){
// // el.firstElementChild.classList.add(`cliAdmin_${value.type}`)
// // setTimeout(()=>{
// // el.firstElementChild.classList.remove(`cliAdmin_${value.type}`)
// // },500)
// // }
// }
// });
let loadingParam = {
loading: require('./assets/images/homePage/loading.gif'),
attempt: 1
}
createApp(App).use(store).use(router).use(Antd).use(VueLazyload, loadingParam).use(i18n).mount('#app')
app.use(store).use(router).use(Antd).use(VueLazyload, loadingParam).use(i18n).mount('#app')