Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
b8275184
Commit
b8275184
authored
Mar 28, 2024
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
还原
parent
fc0690b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
src/components/componentsGroup/index.vue
+10
-7
No files found.
src/components/componentsGroup/index.vue
View file @
b8275184
...
...
@@ -2,6 +2,9 @@
<!-- 多主题组件抽取独立 -->
<div
class=
"componentsGroup"
>
<div
class=
"item"
>
<div
v-if=
"item1.componentCode == 'information' && item1.componentInfo.visible == 1"
>
<informationCom
:datas=
"item1"
:indexs=
"index1"
></informationCom>
</div>
<div
v-if=
"item1.componentCode == 'banner' && item1.componentInfo.visible == 1"
>
<banner
:datas=
"item1"
></banner>
</div>
...
...
@@ -69,9 +72,6 @@
<div
v-if=
"item1.componentCode == 'photo-gallery' && item1.componentInfo.visible == 1"
>
<photo-gallery
:datas=
"item1"
:indexs=
"index1"
></photo-gallery>
</div>
<div
v-if=
"item1.componentCode == 'information' && item1.componentInfo.visible == 1"
>
<informationCom
:datas=
"item1"
:indexs=
"index1"
></informationCom>
</div>
<div
v-if=
"item1.componentCode == 'spell-group' && item1.componentInfo.visible == 1"
>
<spell-group
:datas=
"item1"
:indexs=
"index1"
></spell-group>
</div>
...
...
@@ -88,7 +88,10 @@
<custom-list
:datas=
"item1"
></custom-list>
</div>
<div
v-if=
"item1.componentCode == 'embed-module' && item1.componentInfo.visible == 1"
>
<embedModule
:datas=
"item1"
></embedModule>
<embedModuleCom
:datas=
"item1"
></embedModuleCom>
</div>
<div
v-if=
"item1.componentCode == 'rich-text' && item1.componentInfo.visible == 1"
>
<richTextCom
:datas=
"item1"
></richTextCom>
</div>
</div>
</div>
...
...
@@ -103,7 +106,7 @@ import text from "@/components/content/text";
import
imgText
from
"@/components/content/imgText"
;
import
coupon
from
"@/components/activity/coupon"
;
import
integralTurntable
from
"@/components/activity/integralTurntable"
;
import
information
from
'@/components/content/information/index'
import
information
from
'@/components/content/information/index
.vue
'
import
spellGroup
from
'@/components/activity/spellGroup'
import
customList
from
"@/components/custom-list"
;
import
richText
from
"@/components/basicTool/rich-text"
;
...
...
@@ -154,8 +157,8 @@ export default {
"informationCom"
:
information
,
spellGroup
,
customList
,
richText
,
embedModule
:
()
=>
import
(
"@/components/basicTool/embed-modul
e"
)
"richTextCom"
:
richText
,
"embedModuleCom"
:
()
=>
import
(
"@/components/basicTool/embed-module/index.vu
e"
)
},
computed
:
{},
created
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment