Commit 3bdfa7ee authored by zhengke's avatar zhengke

no message

parent c463a248
...@@ -95,7 +95,7 @@ export const useSlidesStore = defineStore('slides', { ...@@ -95,7 +95,7 @@ export const useSlidesStore = defineStore('slides', {
backgroundColor, backgroundColor,
} = state.theme } = state.theme
const subColor = tinycolor(fontColor).isDark() ? 'rgba(230, 230, 230, 0.5)' : 'rgba(180, 180, 180, 0.5)' const subColor = tinycolor(fontColor).isDark() ? 'rgba(230, 230, 230, 0.5)' : 'rgba(180, 180, 180, 0.5)'
console.log('layouts,-----') console.log('layouts,--------')
const layoutsString = JSON.stringify(state.layoutSlides) const layoutsString = JSON.stringify(state.layoutSlides)
.replaceAll('{{themeColor}}', themeColor) .replaceAll('{{themeColor}}', themeColor)
.replaceAll('{{fontColor}}', fontColor) .replaceAll('{{fontColor}}', fontColor)
......
...@@ -136,6 +136,7 @@ const CoverImgStore = useScreenStore() ...@@ -136,6 +136,7 @@ const CoverImgStore = useScreenStore()
const dataLoadingStore = useScreenStore() const dataLoadingStore = useScreenStore()
const { market, model, ConfigId, CoverImg, dataLoading } = storeToRefs(useScreenStore()) const { market, model, ConfigId, CoverImg, dataLoading } = storeToRefs(useScreenStore())
// 返回到首页
const goBack = () =>{ const goBack = () =>{
let list = [ let list = [
{ {
......
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
* 页面跳转 * 页面跳转
*/ */
const goToTemplate = (item: any) => { const goToTemplate = (item: any) => {
if(!ConfigId||!model) return if(!ConfigId.value||!model.value) return
searchData.value.TempId = item.TempId searchData.value.TempId = item.TempId
marketStore.setMarket(!market) marketStore.setMarket(!market)
// console.log("item", item.TempId); // console.log("item", item.TempId);
......
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