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
3d1e8d61
Commit
3d1e8d61
authored
Oct 19, 2021
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
横向标签添加组件
parent
a231dfb4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletions
+23
-1
src/components/basicTool/transverse-label/index.vue
+19
-0
src/components/basicTool/transverse-label/main.json
+4
-1
No files found.
src/components/basicTool/transverse-label/index.vue
View file @
3d1e8d61
...
...
@@ -124,6 +124,21 @@
<div
v-if=
"item1.componentCode == 'photo-gallery' && item1.componentInfo.visible == 1"
>
<photo-gallery
:datas=
"item1"
:indexs=
"index"
></photo-gallery>
</div>
<div
v-if=
"item1.componentCode == 'information' && item1.componentInfo.visible == 1"
>
<information
:datas=
"item1"
:indexs=
"index"
></information>
</div>
<div
v-if=
"item1.componentCode == 'spell-group' && item1.componentInfo.visible == 1"
>
<spell-group
:datas=
"item1"
:indexs=
"index"
></spell-group>
</div>
<div
v-if=
"item1.componentCode == 'merchants-list' && item1.componentInfo.visible == 1"
>
<merchants-list
:datas=
"item1"
:indexs=
"index"
></merchants-list>
</div>
<div
v-if=
"item1.componentCode == 'live-broadcast' && item1.componentInfo.visible == 1"
>
<live-broadcast
:datas=
"item1"
:indexs=
"index"
></live-broadcast>
</div>
<div
v-if=
"item1.componentCode == 'share-picture' && item1.componentInfo.visible == 1"
>
<share-picture
:datas=
"item1"
:indexs=
"index"
></share-picture>
</div>
<!--
<component
:is=
"item1.componentCode"
:datas=
"item1"
...
...
@@ -146,6 +161,8 @@ 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
spellGroup
from
'@/components/activity/spellGroup'
let
rect
=
''
,
vanTabsThis
=
[];
export
default
{
name
:
"transverse-label"
,
...
...
@@ -181,6 +198,8 @@ export default {
"img-text"
:
imgText
,
coupon
,
integralTurntable
,
information
,
spellGroup
},
computed
:
{
tabList
:
{
...
...
src/components/basicTool/transverse-label/main.json
View file @
3d1e8d61
...
...
@@ -16,7 +16,10 @@
"share-popup"
:
"/static/nativeComponents/SharePopup/index"
,
"speedy-nav"
:
"/static/nativeComponents/SpeedyNav/index"
,
"video-player"
:
"/static/nativeComponents/VideoPlayer/index"
,
"photo-gallery"
:
"/static/nativeComponents/PhotoGallery/index"
"photo-gallery"
:
"/static/nativeComponents/PhotoGallery/index"
,
"merchants-list"
:
"/static/nativeComponents/MerchantsList/index"
,
"live-broadcast"
:
"/static/nativeComponents/LiveBroadcast/index"
,
"share-picture"
:
"/static/nativeComponents/SharePicture/index"
},
"enablePullDownRefresh"
:
true
,
"styleIsolation"
:
"apply-shared"
...
...
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