|
|
@@ -0,0 +1,1599 @@
|
|
|
+export const data1 = {
|
|
|
+ 'page': '/app/pages/index/diy',
|
|
|
+ 'component': {
|
|
|
+ 'BASIC': {
|
|
|
+ 'title': '基础组件',
|
|
|
+ 'list': {
|
|
|
+ 'Text': {
|
|
|
+ 'title': '标题',
|
|
|
+ 'icon': 'iconfont iconbiaotipc',
|
|
|
+ 'path': 'edit-text',
|
|
|
+ 'uses': 0,
|
|
|
+ 'position': '',
|
|
|
+ 'template': {
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 0,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 0,
|
|
|
+ 'bottom': 0,
|
|
|
+ 'both': 0
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'value': {
|
|
|
+ 'style': 'style-1',
|
|
|
+ 'styleName': '风格1',
|
|
|
+ 'text': '标题栏',
|
|
|
+ 'link': '',
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'fontSize': 16,
|
|
|
+ 'fontWeight': 'normal',
|
|
|
+ 'textAlign': 'center',
|
|
|
+ 'subTitle': {
|
|
|
+ 'text': '副标题',
|
|
|
+ 'color': '#999999',
|
|
|
+ 'fontSize': 14,
|
|
|
+ 'control': false,
|
|
|
+ 'fontWeight': 'normal'
|
|
|
+ },
|
|
|
+ 'more': {
|
|
|
+ 'text': '更多',
|
|
|
+ 'control': false,
|
|
|
+ 'isShow': true,
|
|
|
+ 'link': '',
|
|
|
+ 'color': '#999999'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'ImageAds': {
|
|
|
+ 'title': '图片广告',
|
|
|
+ 'icon': 'iconfont icontupiandaohangpc',
|
|
|
+ 'path': 'edit-image-ads',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'imageHeight': 180,
|
|
|
+ 'isSameScreen': false,
|
|
|
+ 'list': [
|
|
|
+ {
|
|
|
+ 'link': '',
|
|
|
+ 'imageUrl': '',
|
|
|
+ 'imgWidth': 0,
|
|
|
+ 'imgHeight': 0
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'GraphicNav': {
|
|
|
+ 'title': '图文导航',
|
|
|
+ 'icon': 'iconfont icontuwendaohangpc',
|
|
|
+ 'path': 'edit-graphic-nav',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'layout': 'horizontal',
|
|
|
+ 'mode': 'graphic',
|
|
|
+ 'type': 'img',
|
|
|
+ 'showStyle': 'fixed',
|
|
|
+ 'rowCount': 4,
|
|
|
+ 'pageCount': 2,
|
|
|
+ 'carousel': {
|
|
|
+ 'type': 'circle',
|
|
|
+ 'color': '#FFFFFF'
|
|
|
+ },
|
|
|
+ 'imageSize': 40,
|
|
|
+ 'aroundRadius': 25,
|
|
|
+ 'font': {
|
|
|
+ 'size': 14,
|
|
|
+ 'weight': 'normal',
|
|
|
+ 'color': '#303133'
|
|
|
+ },
|
|
|
+ 'list': [
|
|
|
+ {
|
|
|
+ 'title': '',
|
|
|
+ 'link': '',
|
|
|
+ 'imageUrl': '',
|
|
|
+ 'label': {
|
|
|
+ 'control': false,
|
|
|
+ 'text': '热门',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'bgColorStart': '#F83287',
|
|
|
+ 'bgColorEnd': '#FE3423'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'title': '',
|
|
|
+ 'link': '',
|
|
|
+ 'imageUrl': '',
|
|
|
+ 'label': {
|
|
|
+ 'control': false,
|
|
|
+ 'text': '热门',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'bgColorStart': '#F83287',
|
|
|
+ 'bgColorEnd': '#FE3423'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'title': '',
|
|
|
+ 'link': '',
|
|
|
+ 'imageUrl': '',
|
|
|
+ 'label': {
|
|
|
+ 'control': false,
|
|
|
+ 'text': '热门',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'bgColorStart': '#F83287',
|
|
|
+ 'bgColorEnd': '#FE3423'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'title': '',
|
|
|
+ 'link': '',
|
|
|
+ 'imageUrl': '',
|
|
|
+ 'label': {
|
|
|
+ 'control': false,
|
|
|
+ 'text': '热门',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'bgColorStart': '#F83287',
|
|
|
+ 'bgColorEnd': '#FE3423'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ 'swiper': {
|
|
|
+ 'indicatorColor': 'rgba(0, 0, 0, 0.3)',
|
|
|
+ 'indicatorActiveColor': '#FF0E0E',
|
|
|
+ 'indicatorStyle': 'style-1',
|
|
|
+ 'indicatorAlign': 'center'
|
|
|
+ },
|
|
|
+ 'template': {
|
|
|
+ 'margin': {
|
|
|
+ 'top': 10,
|
|
|
+ 'bottom': 10,
|
|
|
+ 'both': 0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'RubikCube': {
|
|
|
+ 'title': '魔方',
|
|
|
+ 'icon': 'iconfont iconmofangpc',
|
|
|
+ 'path': 'edit-rubik-cube',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'mode': 'row1-of2',
|
|
|
+ 'imageGap': 0,
|
|
|
+ 'list': [
|
|
|
+ {
|
|
|
+ 'imageUrl': '',
|
|
|
+ 'imgWidth': 0,
|
|
|
+ 'imgHeight': 0,
|
|
|
+ 'link': ''
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'imageUrl': '',
|
|
|
+ 'imgWidth': 0,
|
|
|
+ 'imgHeight': 0,
|
|
|
+ 'link': ''
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'HotArea': {
|
|
|
+ 'title': '热区',
|
|
|
+ 'icon': 'iconfont iconrequpc',
|
|
|
+ 'path': 'edit-hot-area',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'imageUrl': '',
|
|
|
+ 'imgWidth': 0,
|
|
|
+ 'imgHeight': 0,
|
|
|
+ 'heatMapData': []
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'MemberLevel': {
|
|
|
+ 'title': '会员等级',
|
|
|
+ 'icon': 'iconfont iconhuiyuandengjipc',
|
|
|
+ 'path': 'edit-member-level',
|
|
|
+ 'uses': 1,
|
|
|
+ 'value': {
|
|
|
+ 'style': 'style-1',
|
|
|
+ 'styleName': '风格1'
|
|
|
+ },
|
|
|
+ 'template': {
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 12,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 0,
|
|
|
+ 'bottom': 0,
|
|
|
+ 'both': 10
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'Notice': {
|
|
|
+ 'title': '公告',
|
|
|
+ 'icon': 'iconfont icongonggaopc',
|
|
|
+ 'path': 'edit-notice',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'noticeType': 'img',
|
|
|
+ 'imgType': 'system',
|
|
|
+ 'systemUrl': 'style_1',
|
|
|
+ 'imageUrl': '',
|
|
|
+ 'showType': 'popup',
|
|
|
+ 'scrollWay': 'upDown',
|
|
|
+ 'fontSize': 14,
|
|
|
+ 'fontWeight': 'normal',
|
|
|
+ 'noticeTitle': '公告',
|
|
|
+ 'list': [
|
|
|
+ {
|
|
|
+ 'text': '公告',
|
|
|
+ 'link': ''
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'RichText': {
|
|
|
+ 'title': '富文本',
|
|
|
+ 'icon': 'iconfont iconfuwenbenpc',
|
|
|
+ 'path': 'edit-rich-text',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'html': ''
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'ActiveCube': {
|
|
|
+ 'title': '活动魔方',
|
|
|
+ 'icon': 'iconfont iconmofangpc',
|
|
|
+ 'path': 'edit-active-cube',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'titleStyle': {
|
|
|
+ 'title': '风格1',
|
|
|
+ 'value': 'style-1'
|
|
|
+ },
|
|
|
+ 'text': '超值爆款',
|
|
|
+ 'textImg': 'static/resource/images/diy/active_cube/active_cube_text1.png',
|
|
|
+ 'textLink': {
|
|
|
+ 'name': ''
|
|
|
+ },
|
|
|
+ 'titleColor': '#F91700',
|
|
|
+ 'subTitle': {
|
|
|
+ 'text': '为您精选爆款',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'startColor': '#FB792F',
|
|
|
+ 'endColor': '#F91700',
|
|
|
+ 'link': ''
|
|
|
+ },
|
|
|
+ 'blockStyle': {
|
|
|
+ 'title': '风格1',
|
|
|
+ 'value': 'style-1',
|
|
|
+ 'fontWeight': 'normal',
|
|
|
+ 'btnText': 'normal'
|
|
|
+ },
|
|
|
+ 'list': [
|
|
|
+ {
|
|
|
+ 'title': {
|
|
|
+ 'text': '今日推荐',
|
|
|
+ 'textColor': '#303133'
|
|
|
+ },
|
|
|
+ 'subTitle': {
|
|
|
+ 'text': '诚意推荐',
|
|
|
+ 'textColor': '#999999',
|
|
|
+ 'startColor': '',
|
|
|
+ 'endColor': ''
|
|
|
+ },
|
|
|
+ 'moreTitle': {
|
|
|
+ 'text': '去看看',
|
|
|
+ 'startColor': '#FEA715',
|
|
|
+ 'endColor': '#FE1E00'
|
|
|
+ },
|
|
|
+ 'listFrame': {
|
|
|
+ 'startColor': '#FFFAF5',
|
|
|
+ 'endColor': '#FFFFFF'
|
|
|
+ },
|
|
|
+ 'link': '',
|
|
|
+ 'imageUrl': 'static/resource/images/diy/active_cube/active_cube_goods1.png'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'title': {
|
|
|
+ 'text': '优惠好物',
|
|
|
+ 'textColor': '#303133'
|
|
|
+ },
|
|
|
+ 'subTitle': {
|
|
|
+ 'text': '领券更优惠',
|
|
|
+ 'textColor': '#999999',
|
|
|
+ 'startColor': '',
|
|
|
+ 'endColor': ''
|
|
|
+ },
|
|
|
+ 'moreTitle': {
|
|
|
+ 'text': '去看看',
|
|
|
+ 'startColor': '#FFBF50',
|
|
|
+ 'endColor': '#FF9E03'
|
|
|
+ },
|
|
|
+ 'listFrame': {
|
|
|
+ 'startColor': '#FFFAF5',
|
|
|
+ 'endColor': '#FFFFFF'
|
|
|
+ },
|
|
|
+ 'link': '',
|
|
|
+ 'imageUrl': 'static/resource/images/diy/active_cube/active_cube_goods2.png'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'title': {
|
|
|
+ 'text': '热销推荐',
|
|
|
+ 'textColor': '#303133'
|
|
|
+ },
|
|
|
+ 'subTitle': {
|
|
|
+ 'text': '本周热销商品',
|
|
|
+ 'textColor': '#999999',
|
|
|
+ 'startColor': '',
|
|
|
+ 'endColor': ''
|
|
|
+ },
|
|
|
+ 'moreTitle': {
|
|
|
+ 'text': '去看看',
|
|
|
+ 'startColor': '#A2E792',
|
|
|
+ 'endColor': '#49CD2D'
|
|
|
+ },
|
|
|
+ 'listFrame': {
|
|
|
+ 'startColor': '#FFFAF5',
|
|
|
+ 'endColor': '#FFFFFF'
|
|
|
+ },
|
|
|
+ 'link': '',
|
|
|
+ 'imageUrl': 'static/resource/images/diy/active_cube/active_cube_goods3.png'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'title': {
|
|
|
+ 'text': '书桌好物',
|
|
|
+ 'textColor': '#303133'
|
|
|
+ },
|
|
|
+ 'subTitle': {
|
|
|
+ 'text': '办公好物推荐',
|
|
|
+ 'textColor': '#999999',
|
|
|
+ 'startColor': '',
|
|
|
+ 'endColor': ''
|
|
|
+ },
|
|
|
+ 'moreTitle': {
|
|
|
+ 'text': '去看看',
|
|
|
+ 'startColor': '#4AC1FF',
|
|
|
+ 'endColor': '#1D7CFF'
|
|
|
+ },
|
|
|
+ 'listFrame': {
|
|
|
+ 'startColor': '#FFFAF5',
|
|
|
+ 'endColor': '#FFFFFF'
|
|
|
+ },
|
|
|
+ 'link': '',
|
|
|
+ 'imageUrl': 'static/resource/images/diy/active_cube/active_cube_goods4.png'
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ 'template': {
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 12,
|
|
|
+ 'bottomRounded': 12,
|
|
|
+ 'elementBgColor': '#FFFAF5',
|
|
|
+ 'topElementRounded': 10,
|
|
|
+ 'bottomElementRounded': 10,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 10,
|
|
|
+ 'bottom': 10,
|
|
|
+ 'both': 10
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'CarouselSearch': {
|
|
|
+ 'title': '轮播搜索',
|
|
|
+ 'icon': 'iconfont iconlunbosousuopc',
|
|
|
+ 'path': 'edit-carousel-search',
|
|
|
+ 'uses': 1,
|
|
|
+ 'position': 'top_fixed',
|
|
|
+ 'value': {
|
|
|
+ 'positionWay': 'static',
|
|
|
+ 'fixedBgColor': '',
|
|
|
+ 'bgGradient': false,
|
|
|
+ 'search': {
|
|
|
+ 'logo': '',
|
|
|
+ 'text': '请输入搜索关键词',
|
|
|
+ 'link': '',
|
|
|
+ 'style': 'style-1',
|
|
|
+ 'styleName': '风格一',
|
|
|
+ 'subTitle': {
|
|
|
+ 'text': '本地好价·优选生活',
|
|
|
+ 'textColor': '#000000',
|
|
|
+ 'startColor': 'rgba(255,255,255,0.7)',
|
|
|
+ 'endColor': ''
|
|
|
+ },
|
|
|
+ 'positionColor': '#ffffff',
|
|
|
+ 'hotWord': {
|
|
|
+ 'interval': 3,
|
|
|
+ 'list': []
|
|
|
+ },
|
|
|
+ 'color': '#999999',
|
|
|
+ 'btnColor': '#ffffff',
|
|
|
+ 'bgColor': '#ffffff',
|
|
|
+ 'btnBgColor': '#ff3434'
|
|
|
+ },
|
|
|
+ 'tab': {
|
|
|
+ 'control': true,
|
|
|
+ 'noColor': '',
|
|
|
+ 'selectColor': '',
|
|
|
+ 'fixedNoColor': '',
|
|
|
+ 'fixedSelectColor': '',
|
|
|
+ 'list': [
|
|
|
+ {
|
|
|
+ 'text': '分类名称',
|
|
|
+ 'source': 'diy_page',
|
|
|
+ 'diy_id': '',
|
|
|
+ 'diy_title': ''
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'text': '分类名称',
|
|
|
+ 'source': 'diy_page',
|
|
|
+ 'diy_id': '',
|
|
|
+ 'diy_title': ''
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'text': '分类名称',
|
|
|
+ 'source': 'diy_page',
|
|
|
+ 'diy_id': '',
|
|
|
+ 'diy_title': ''
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'text': '分类名称',
|
|
|
+ 'source': 'diy_page',
|
|
|
+ 'diy_id': '',
|
|
|
+ 'diy_title': ''
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ 'swiper': {
|
|
|
+ 'control': true,
|
|
|
+ 'interval': 5,
|
|
|
+ 'indicatorColor': 'rgba(0, 0, 0, 0.3)',
|
|
|
+ 'indicatorActiveColor': '#FF0E0E',
|
|
|
+ 'indicatorStyle': 'style-1',
|
|
|
+ 'indicatorAlign': 'center',
|
|
|
+ 'swiperStyle': 'style-1',
|
|
|
+ 'imageHeight': 168,
|
|
|
+ 'topRounded': 0,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'list': [
|
|
|
+ {
|
|
|
+ 'imageUrl': '',
|
|
|
+ 'imgWidth': 690,
|
|
|
+ 'imgHeight': 330,
|
|
|
+ 'link': ''
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'FloatBtn': {
|
|
|
+ 'title': '浮动按钮',
|
|
|
+ 'icon': 'iconfont iconfudonganniupc',
|
|
|
+ 'path': 'edit-float-btn',
|
|
|
+ 'uses': 1,
|
|
|
+ 'position': 'fixed',
|
|
|
+ 'value': {
|
|
|
+ 'imageSize': 40,
|
|
|
+ 'aroundRadius': 0,
|
|
|
+ 'style': 'style-1',
|
|
|
+ 'styleName': '风格一',
|
|
|
+ 'bottomPosition': 'lowerRight',
|
|
|
+ 'list': [
|
|
|
+ {
|
|
|
+ 'imageUrl': '',
|
|
|
+ 'link': ''
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ 'offset': 0,
|
|
|
+ 'lateralOffset': 15
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'HorzBlank': {
|
|
|
+ 'title': '辅助空白',
|
|
|
+ 'icon': 'iconfont iconfuzhukongbaipc',
|
|
|
+ 'path': 'edit-horz-blank',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'height': 20
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'HorzLine': {
|
|
|
+ 'title': '辅助线',
|
|
|
+ 'icon': 'iconfont iconfuzhuxianpc',
|
|
|
+ 'path': 'edit-horz-line',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'borderWidth': 1,
|
|
|
+ 'borderColor': '#303133',
|
|
|
+ 'borderStyle': 'solid'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'PictureShow': {
|
|
|
+ 'title': '图片展播',
|
|
|
+ 'icon': 'iconfont icona-tupianzhanbopc302',
|
|
|
+ 'path': 'edit-picture-show',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'moduleOne': {
|
|
|
+ 'head': {
|
|
|
+ 'textImg': 'static/resource/images/diy/picture_show/picture_show_head_text3.png',
|
|
|
+ 'subText': '最高补1200元',
|
|
|
+ 'subTextColor': '#666666'
|
|
|
+ },
|
|
|
+ 'list': [
|
|
|
+ {
|
|
|
+ 'btnTitle': {
|
|
|
+ 'text': '全网低价',
|
|
|
+ 'color': '#ffffff',
|
|
|
+ 'startColor': '#F5443E',
|
|
|
+ 'endColor': '#F5443E'
|
|
|
+ },
|
|
|
+ 'link': '',
|
|
|
+ 'imageUrl': 'static/resource/images/diy/picture_show/picture_05.png'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'btnTitle': {
|
|
|
+ 'text': '大牌特惠',
|
|
|
+ 'color': '#ffffff',
|
|
|
+ 'startColor': '#F5443E',
|
|
|
+ 'endColor': '#F5443E'
|
|
|
+ },
|
|
|
+ 'link': {
|
|
|
+ 'name': ''
|
|
|
+ },
|
|
|
+ 'imageUrl': 'static/resource/images/diy/picture_show/picture_06.png'
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ 'listFrame': {
|
|
|
+ 'startColor': '#D4EFFF',
|
|
|
+ 'endColor': '#EBF4FA'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'moduleTwo': {
|
|
|
+ 'head': {
|
|
|
+ 'textImg': 'static/resource/images/diy/picture_show/picture_show_head_text4.png',
|
|
|
+ 'subText': '每日上新',
|
|
|
+ 'subTextColor': '#666666'
|
|
|
+ },
|
|
|
+ 'list': [
|
|
|
+ {
|
|
|
+ 'btnTitle': {
|
|
|
+ 'text': '人气爆款',
|
|
|
+ 'color': '#ffffff',
|
|
|
+ 'startColor': '#F5443E',
|
|
|
+ 'endColor': '#F5443E'
|
|
|
+ },
|
|
|
+ 'link': {
|
|
|
+ 'name': ''
|
|
|
+ },
|
|
|
+ 'imageUrl': 'static/resource/images/diy/picture_show/picture_07.png'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'btnTitle': {
|
|
|
+ 'text': '官方正品',
|
|
|
+ 'color': '#ffffff',
|
|
|
+ 'startColor': '#F5443E',
|
|
|
+ 'endColor': '#F5443E'
|
|
|
+ },
|
|
|
+ 'link': {
|
|
|
+ 'name': ''
|
|
|
+ },
|
|
|
+ 'imageUrl': 'static/resource/images/diy/picture_show/picture_08.png'
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ 'listFrame': {
|
|
|
+ 'startColor': '#FFF1D4',
|
|
|
+ 'endColor': '#F9F2E5'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'moduleRounded': {
|
|
|
+ 'topRounded': 10,
|
|
|
+ 'bottomRounded': 10
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'template': {
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 0,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 0,
|
|
|
+ 'bottom': 0,
|
|
|
+ 'both': 10
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'SHOP_COMPONENT': {
|
|
|
+ 'title': '商城组件',
|
|
|
+ 'list': {
|
|
|
+ 'GoodsList': {
|
|
|
+ 'title': '商品列表',
|
|
|
+ 'icon': 'iconfont iconshangpinliebiaopc',
|
|
|
+ 'path': 'edit-goods-list',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'style': 'style-1',
|
|
|
+ 'source': 'all',
|
|
|
+ 'num': 10,
|
|
|
+ 'goods_category': '',
|
|
|
+ 'goods_category_name': '请选择',
|
|
|
+ 'goods_ids': [],
|
|
|
+ 'sortWay': 'default',
|
|
|
+ 'goodsNameStyle': {
|
|
|
+ 'color': '#303133',
|
|
|
+ 'control': true,
|
|
|
+ 'fontWeight': 'normal',
|
|
|
+ 'isShow': true
|
|
|
+ },
|
|
|
+ 'priceStyle': {
|
|
|
+ 'color': '#FF4142',
|
|
|
+ 'control': true,
|
|
|
+ 'isShow': true
|
|
|
+ },
|
|
|
+ 'saleStyle': {
|
|
|
+ 'color': '#999999',
|
|
|
+ 'control': true,
|
|
|
+ 'isShow': true
|
|
|
+ },
|
|
|
+ 'labelStyle': {
|
|
|
+ 'control': true,
|
|
|
+ 'isShow': true
|
|
|
+ },
|
|
|
+ 'btnStyle': {
|
|
|
+ 'fontWeight': false,
|
|
|
+ 'padding': 0,
|
|
|
+ 'aroundRadius': 25,
|
|
|
+ 'cartEvent': 'detail',
|
|
|
+ 'text': '购买',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'startBgColor': '#FF4142',
|
|
|
+ 'endBgColor': '#FF4142',
|
|
|
+ 'style': 'button',
|
|
|
+ 'control': true
|
|
|
+ },
|
|
|
+ 'imgElementRounded': 10
|
|
|
+ },
|
|
|
+ 'template': {
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 0,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 10,
|
|
|
+ 'bottomElementRounded': 10,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 0,
|
|
|
+ 'bottom': 0,
|
|
|
+ 'both': 10
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'ShopSearch': {
|
|
|
+ 'title': '搜索',
|
|
|
+ 'icon': 'iconfont iconsousuopc-1',
|
|
|
+ 'path': 'edit-shop-search',
|
|
|
+ 'uses': 1,
|
|
|
+ 'value': {
|
|
|
+ 'searchStyle': 'style-1',
|
|
|
+ 'searchLink': {
|
|
|
+ 'name': ''
|
|
|
+ },
|
|
|
+ 'text': '请输入搜索关键词',
|
|
|
+ 'iconType': 'img',
|
|
|
+ 'icon': '',
|
|
|
+ 'imageUrl': ''
|
|
|
+ },
|
|
|
+ 'template': {
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 0,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 10,
|
|
|
+ 'bottom': 10,
|
|
|
+ 'both': 10
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'ManyGoodsList': {
|
|
|
+ 'title': '多商品组',
|
|
|
+ 'icon': 'iconfont iconduoshangpinzupc',
|
|
|
+ 'path': 'edit-many-goods-list',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'style': 'style-2',
|
|
|
+ 'num': 6,
|
|
|
+ 'sortWay': 'default',
|
|
|
+ 'headStyle': 'style-1',
|
|
|
+ 'aroundRadius': 25,
|
|
|
+ 'source': 'custom',
|
|
|
+ 'goods_category': '',
|
|
|
+ 'goods_category_name': '请选择',
|
|
|
+ 'goodsNameStyle': {
|
|
|
+ 'color': '#303133',
|
|
|
+ 'control': true,
|
|
|
+ 'fontWeight': 'normal',
|
|
|
+ 'isShow': true
|
|
|
+ },
|
|
|
+ 'priceStyle': {
|
|
|
+ 'color': '#FF4142',
|
|
|
+ 'control': true,
|
|
|
+ 'isShow': true
|
|
|
+ },
|
|
|
+ 'saleStyle': {
|
|
|
+ 'color': '#999999',
|
|
|
+ 'control': true,
|
|
|
+ 'isShow': true
|
|
|
+ },
|
|
|
+ 'labelStyle': {
|
|
|
+ 'control': true,
|
|
|
+ 'isShow': true
|
|
|
+ },
|
|
|
+ 'btnStyle': {
|
|
|
+ 'fontWeight': false,
|
|
|
+ 'padding': 0,
|
|
|
+ 'aroundRadius': 25,
|
|
|
+ 'cartEvent': 'detail',
|
|
|
+ 'text': '购买',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'startBgColor': '#FF4142',
|
|
|
+ 'endBgColor': '#FF4142',
|
|
|
+ 'style': 'button',
|
|
|
+ 'control': true
|
|
|
+ },
|
|
|
+ 'list': [
|
|
|
+ {
|
|
|
+ 'title': '推荐',
|
|
|
+ 'desc': '猜你喜欢',
|
|
|
+ 'source': 'all',
|
|
|
+ 'goods_category': '',
|
|
|
+ 'goods_category_name': '请选择',
|
|
|
+ 'goods_ids': [],
|
|
|
+ 'imageUrl': ''
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ 'imgElementRounded': 0
|
|
|
+ },
|
|
|
+ 'template': {
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 0,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 0,
|
|
|
+ 'bottom': 0,
|
|
|
+ 'both': 10
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'GoodsCoupon': {
|
|
|
+ 'title': '优惠券',
|
|
|
+ 'icon': 'iconfont iconyouhuiquanpc',
|
|
|
+ 'path': 'edit-goods-coupon',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'style': 'style-1',
|
|
|
+ 'styleName': '风格一',
|
|
|
+ 'source': 'all',
|
|
|
+ 'num': 6,
|
|
|
+ 'couponIds': [],
|
|
|
+ 'btnText': '立即领取',
|
|
|
+ 'couponTitle': '先领券 再购物',
|
|
|
+ 'couponSubTitle': '领券下单 享购物优惠',
|
|
|
+ 'titleColor': '#ffffff',
|
|
|
+ 'subTitleColor': '#ffffff',
|
|
|
+ 'couponItem': {
|
|
|
+ 'bgColor': '#ffffff',
|
|
|
+ 'textColor': '#333333',
|
|
|
+ 'subTextColor': '#666666',
|
|
|
+ 'moneyColor': '#333333',
|
|
|
+ 'aroundRadius': 12
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'template': {
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 0,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 10,
|
|
|
+ 'bottom': 10,
|
|
|
+ 'both': 10
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'ShopExchangeInfo': {
|
|
|
+ 'title': '积分兑换',
|
|
|
+ 'icon': 'iconfont iconjifenpc',
|
|
|
+ 'path': 'edit-shop-exchange-info',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'bgUrl': 'addon/shop/diy/point/point_index_bg.jpg'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'ShopExchangeGoods': {
|
|
|
+ 'title': '积分商品',
|
|
|
+ 'icon': 'iconfont iconjifenshangpinpc',
|
|
|
+ 'path': 'edit-shop-exchange-goods',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'style': 'style-2',
|
|
|
+ 'source': 'all',
|
|
|
+ 'num': 10,
|
|
|
+ 'goods_category': '',
|
|
|
+ 'goods_category_name': '请选择',
|
|
|
+ 'goods_ids': [],
|
|
|
+ 'sortWay': 'total_order_num',
|
|
|
+ 'goodsNameStyle': {
|
|
|
+ 'color': '#333',
|
|
|
+ 'control': true,
|
|
|
+ 'fontWeight': 'normal'
|
|
|
+ },
|
|
|
+ 'priceStyle': {
|
|
|
+ 'mainColor': '#FF4142',
|
|
|
+ 'mainControl': true,
|
|
|
+ 'lineColor': '#999CA7',
|
|
|
+ 'lineControl': true
|
|
|
+ },
|
|
|
+ 'saleStyle': {
|
|
|
+ 'color': '#999999',
|
|
|
+ 'control': true
|
|
|
+ },
|
|
|
+ 'imgElementRounded': 10
|
|
|
+ },
|
|
|
+ 'template': {
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 0,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 0,
|
|
|
+ 'bottom': 0,
|
|
|
+ 'both': 10
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'ShopGoodsRecommend': {
|
|
|
+ 'title': '商品推荐',
|
|
|
+ 'icon': 'iconfont icona-shangpintuijianpc30',
|
|
|
+ 'path': 'edit-shop-goods-recommend',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'priceStyle': {
|
|
|
+ 'mainColor': '#333333'
|
|
|
+ },
|
|
|
+ 'source': 'all',
|
|
|
+ 'goods_ids': [],
|
|
|
+ 'list': [
|
|
|
+ {
|
|
|
+ 'title': {
|
|
|
+ 'text': '今日推荐',
|
|
|
+ 'textColor': '#303133'
|
|
|
+ },
|
|
|
+ 'moreTitle': {
|
|
|
+ 'text': '精选',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'startColor': '#FF7234',
|
|
|
+ 'endColor': '#FF213F'
|
|
|
+ },
|
|
|
+ 'listFrame': {
|
|
|
+ 'startColor': '#FFE5E5',
|
|
|
+ 'endColor': '#FFF5F0'
|
|
|
+ },
|
|
|
+ 'button': {
|
|
|
+ 'text': '首单',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'color': '#FF1128'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'title': {
|
|
|
+ 'text': '品质好物',
|
|
|
+ 'textColor': '#303133'
|
|
|
+ },
|
|
|
+ 'moreTitle': {
|
|
|
+ 'text': '精选',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'startColor': '#F2C719',
|
|
|
+ 'endColor': '#FBBA08'
|
|
|
+ },
|
|
|
+ 'listFrame': {
|
|
|
+ 'startColor': '#FFEFBA',
|
|
|
+ 'endColor': '#FFF5D7'
|
|
|
+ },
|
|
|
+ 'button': {
|
|
|
+ 'text': '首单',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'color': '#FF1128'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'title': {
|
|
|
+ 'text': '热销爆款',
|
|
|
+ 'textColor': '#303133'
|
|
|
+ },
|
|
|
+ 'moreTitle': {
|
|
|
+ 'text': '精选',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'startColor': '#FFA629',
|
|
|
+ 'endColor': '#FF8E1E'
|
|
|
+ },
|
|
|
+ 'listFrame': {
|
|
|
+ 'startColor': '#FFE4D9',
|
|
|
+ 'endColor': '#FFFBF9'
|
|
|
+ },
|
|
|
+ 'button': {
|
|
|
+ 'text': '首单',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'color': '#FF1128'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ 'imgElementRounded': 10
|
|
|
+ },
|
|
|
+ 'template': {
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 0,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 10,
|
|
|
+ 'bottomElementRounded': 10,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 10,
|
|
|
+ 'bottom': 10,
|
|
|
+ 'both': 10
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'SingleRecommend': {
|
|
|
+ 'title': '精选推荐',
|
|
|
+ 'icon': 'iconfont icona-jingxuantuijianpc30-12',
|
|
|
+ 'path': 'edit-single-recommend',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'titleStyle': {
|
|
|
+ 'title': '风格1',
|
|
|
+ 'value': 'style-1'
|
|
|
+ },
|
|
|
+ 'textImg': 'addon/shop/diy/index/style3/single_recommend_text1.png',
|
|
|
+ 'textLink': {
|
|
|
+ 'name': ''
|
|
|
+ },
|
|
|
+ 'titleColor': '#999999',
|
|
|
+ 'subTitle': {
|
|
|
+ 'text': '更多',
|
|
|
+ 'textColor': '#999999',
|
|
|
+ 'link': {
|
|
|
+ 'name': ''
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'source': 'all',
|
|
|
+ 'goods_ids': [],
|
|
|
+ 'imageHeight': 250,
|
|
|
+ 'list': [
|
|
|
+ {
|
|
|
+ 'link': {
|
|
|
+ 'name': ''
|
|
|
+ },
|
|
|
+ 'imageUrl': 'addon/shop/diy/index/style3/single_recommend_banner1.jpg',
|
|
|
+ 'imgWidth': 345,
|
|
|
+ 'imgHeight': 495
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'link': {
|
|
|
+ 'name': ''
|
|
|
+ },
|
|
|
+ 'imageUrl': 'addon/shop/diy/index/style3/single_recommend_banner2.jpg',
|
|
|
+ 'imgWidth': 345,
|
|
|
+ 'imgHeight': 495
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ 'goodsNameStyle': {
|
|
|
+ 'color': '#303133',
|
|
|
+ 'control': true,
|
|
|
+ 'fontWeight': 'normal'
|
|
|
+ },
|
|
|
+ 'priceStyle': {
|
|
|
+ 'mainColor': '#FF4142',
|
|
|
+ 'mainControl': true,
|
|
|
+ 'lineColor': '#999CA7',
|
|
|
+ 'lineControl': true
|
|
|
+ },
|
|
|
+ 'saleStyle': {
|
|
|
+ 'color': '#FF0000',
|
|
|
+ 'control': true
|
|
|
+ },
|
|
|
+ 'topCarouselRounded': 12,
|
|
|
+ 'bottomCarouselRounded': 12,
|
|
|
+ 'indicatorColor': 'rgba(255, 255, 255, 0.6)',
|
|
|
+ 'indicatorActiveColor': '#ffffff'
|
|
|
+ },
|
|
|
+ 'template': {
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 0,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 10,
|
|
|
+ 'bottom': 10,
|
|
|
+ 'both': 10
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'ShopNewcomer': {
|
|
|
+ 'title': '新人专享',
|
|
|
+ 'icon': 'iconfont icona-xinrenzhuanxiangpc30',
|
|
|
+ 'path': 'edit-shop-newcomer',
|
|
|
+ 'uses': 1,
|
|
|
+ 'value': {
|
|
|
+ 'style': {
|
|
|
+ 'title': '风格1',
|
|
|
+ 'value': 'style-1'
|
|
|
+ },
|
|
|
+ 'textImg': 'addon/shop/diy/newcomer/style_title_01.png',
|
|
|
+ 'subTitle': {
|
|
|
+ 'text': '查看更多',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'startColor': '#FB792F',
|
|
|
+ 'endColor': '#F91700',
|
|
|
+ 'link': {
|
|
|
+ 'name': ''
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'countDown': {
|
|
|
+ 'numberColor': 'rgba(255, 0, 0, 1)',
|
|
|
+ 'numberBg': {
|
|
|
+ 'startColor': 'rgba(255, 255, 255, 1)',
|
|
|
+ 'endColor': ''
|
|
|
+ },
|
|
|
+ 'otherColor': 'rgba(255, 255, 255, 1)'
|
|
|
+ },
|
|
|
+ 'source': 'all',
|
|
|
+ 'num': 10,
|
|
|
+ 'goods_category': '',
|
|
|
+ 'goods_category_name': '请选择',
|
|
|
+ 'goods_ids': [],
|
|
|
+ 'imgElementRounded': 10
|
|
|
+ },
|
|
|
+ 'template': {
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentStartBgColor': '#ff6D1A',
|
|
|
+ 'componentEndBgColor': 'rgba(255, 70, 56, 1)',
|
|
|
+ 'componentGradientAngle': 'to right',
|
|
|
+ 'topRounded': 12,
|
|
|
+ 'bottomRounded': 12,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 10,
|
|
|
+ 'bottomElementRounded': 10,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 10,
|
|
|
+ 'bottom': 10,
|
|
|
+ 'both': 10
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'ShopGoodsRanking': {
|
|
|
+ 'title': '排行榜',
|
|
|
+ 'icon': 'iconfont icona-paihangbangpc30',
|
|
|
+ 'path': 'edit-shop-goods-ranking',
|
|
|
+ 'uses': 0,
|
|
|
+ 'value': {
|
|
|
+ 'list': [
|
|
|
+ {
|
|
|
+ 'bgUrl': 'addon/shop/rank/rank_bg_01.jpg',
|
|
|
+ 'text': '热销排行榜',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'imgUrl': 'addon/shop/rank/rank_trophy.png',
|
|
|
+ 'subTitle': {
|
|
|
+ 'text': '查看更多',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'link': {
|
|
|
+ 'name': 'SHOP_GOODS_RANK',
|
|
|
+ 'parent': 'SHOP_LINK',
|
|
|
+ 'title': '商品排行榜',
|
|
|
+ 'url': '/addon/shop/pages/goods/rank',
|
|
|
+ 'action': ''
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'listFrame': {
|
|
|
+ 'startColor': '#FEA715',
|
|
|
+ 'endColor': '#FE1E00'
|
|
|
+ },
|
|
|
+ 'source': 'default',
|
|
|
+ 'rankIds': []
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'bgUrl': 'addon/shop/rank/rank_bg_02.jpg',
|
|
|
+ 'text': '人气排行榜',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'imgUrl': 'addon/shop/rank/rank_top.png',
|
|
|
+ 'subTitle': {
|
|
|
+ 'text': '查看更多',
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'link': {
|
|
|
+ 'name': 'SHOP_GOODS_RANK',
|
|
|
+ 'parent': 'SHOP_LINK',
|
|
|
+ 'title': '商品排行榜',
|
|
|
+ 'url': '/addon/shop/pages/goods/rank',
|
|
|
+ 'action': ''
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'listFrame': {
|
|
|
+ 'startColor': '#FEA715',
|
|
|
+ 'endColor': '#FE1E00'
|
|
|
+ },
|
|
|
+ 'source': 'default',
|
|
|
+ 'rankIds': []
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ 'template': {
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 0,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 10,
|
|
|
+ 'bottomElementRounded': 10,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 10,
|
|
|
+ 'bottom': 10,
|
|
|
+ 'both': 10
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ // wap/app/pages/index/index?mode=decorate
|
|
|
+ 'domain_url': {
|
|
|
+ 'wap_url': 'http://localhost:5173/wap'
|
|
|
+ },
|
|
|
+ 'global': []
|
|
|
+};
|
|
|
+
|
|
|
+export const data2 = {
|
|
|
+ 'shop_goods_detail_style1': {
|
|
|
+ 'title': '商品详情',
|
|
|
+ 'cover': '',
|
|
|
+ 'preview': '',
|
|
|
+ 'desc': '',
|
|
|
+ 'mode': 'diy',
|
|
|
+ 'data': {
|
|
|
+ 'global': {
|
|
|
+ 'title': '商品详情',
|
|
|
+ 'completeLayout': 'style-1',
|
|
|
+ 'completeAlign': 'left',
|
|
|
+ 'borderControl': true,
|
|
|
+ 'pageStartBgColor': 'rgba(246, 246, 246, 1)',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'bgUrl': '',
|
|
|
+ 'bgHeightScale': 100,
|
|
|
+ 'imgWidth': '',
|
|
|
+ 'imgHeight': '',
|
|
|
+ 'topStatusBar': {
|
|
|
+ 'control': false,
|
|
|
+ 'isShow': false,
|
|
|
+ 'bgColor': '#ffffff',
|
|
|
+ 'rollBgColor': '#ffffff',
|
|
|
+ 'style': 'style-1',
|
|
|
+ 'styleName': '风格1',
|
|
|
+ 'textColor': '#333333',
|
|
|
+ 'rollTextColor': '#333333',
|
|
|
+ 'textAlign': 'center',
|
|
|
+ 'inputPlaceholder': '请输入搜索关键词',
|
|
|
+ 'imgUrl': '',
|
|
|
+ 'link': ''
|
|
|
+ },
|
|
|
+ 'bottomTabBar': {
|
|
|
+ 'control': false,
|
|
|
+ 'isShow': false
|
|
|
+ },
|
|
|
+ 'popWindow': {
|
|
|
+ 'imgUrl': '',
|
|
|
+ 'imgWidth': '',
|
|
|
+ 'imgHeight': '',
|
|
|
+ 'count': 'once',
|
|
|
+ 'show': false,
|
|
|
+ 'link': ''
|
|
|
+ },
|
|
|
+ 'template': {
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 0,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 0,
|
|
|
+ 'bottom': 0,
|
|
|
+ 'both': 0
|
|
|
+ },
|
|
|
+ 'isHidden': false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'value': [
|
|
|
+ {
|
|
|
+ 'path': 'edit-shop-goods-detail-basic-info',
|
|
|
+ 'uses': 1,
|
|
|
+ 'position': 'top_fixed',
|
|
|
+ 'id': 'j3hqu5tg1zk',
|
|
|
+ 'componentName': 'ShopGoodsDetailBasicInfo',
|
|
|
+ 'componentTitle': '基础信息',
|
|
|
+ 'ignore': ['pageBgColor', 'componentBgUrl', 'marginTop', 'marginBottom', 'marginBoth', 'topRounded', 'bottomRounded'],
|
|
|
+ 'menuContent': 'index,search,cart,member',
|
|
|
+ 'medium': {
|
|
|
+ 'type': 'square_img',
|
|
|
+ 'indicator': true
|
|
|
+ },
|
|
|
+ 'priceRegion': {
|
|
|
+ 'showWay': 'normal',
|
|
|
+ 'bgImg': 'addon/shop/diy/goods_detail/style_01.jpg',
|
|
|
+ 'marketingBgImg': 'addon/shop/diy/goods_detail/marketing_style_01.jpg',
|
|
|
+ 'goodsStyle': {
|
|
|
+ 'title': '风格1',
|
|
|
+ 'value': 'style-1'
|
|
|
+ },
|
|
|
+ 'marketingStyle': {
|
|
|
+ 'title': '风格1',
|
|
|
+ 'value': 'style-1'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ 'goodsInfo': {
|
|
|
+ 'titleColor': '#333333',
|
|
|
+ 'subTitleColor': '#999999',
|
|
|
+ 'saleInfoColor': '#999999',
|
|
|
+ 'priceTopRounded': 17,
|
|
|
+ 'priceBottomRounded': 0,
|
|
|
+ 'topRounded': 12,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'priceBgColor': '',
|
|
|
+ 'startBgColor': '#ffffff',
|
|
|
+ 'endBgColor': '#f6f6f6',
|
|
|
+ 'priceAboutMargin': 0,
|
|
|
+ 'priceTopMargin': -22,
|
|
|
+ 'topMargin': -13,
|
|
|
+ 'aboutMargin': 0
|
|
|
+ },
|
|
|
+ 'saleInfo': ['underlined_price', 'sales', 'stock'],
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 0,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 0,
|
|
|
+ 'bottom': 0,
|
|
|
+ 'both': 0
|
|
|
+ },
|
|
|
+ 'isHidden': false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'path': 'edit-shop-goods-detail-purchase-service',
|
|
|
+ 'uses': 1,
|
|
|
+ 'id': 'c4wh1kcz3i0',
|
|
|
+ 'componentName': 'ShopGoodsDetailPurchaseService',
|
|
|
+ 'componentTitle': '商品服务',
|
|
|
+ 'ignore': [],
|
|
|
+ 'serviceConfig': ['goods_service', 'spec_select', 'delivery_info', 'coupons', 'activity'],
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '#FFFFFF',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 12,
|
|
|
+ 'bottomRounded': 12,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 12,
|
|
|
+ 'bottom': 0,
|
|
|
+ 'both': 10
|
|
|
+ },
|
|
|
+ 'isHidden': false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'path': 'edit-shop-goods-detail-sow',
|
|
|
+ 'uses': 0,
|
|
|
+ 'id': '1zi5tkyxurpc',
|
|
|
+ 'componentName': 'ShopGoodsDetailSow',
|
|
|
+ 'componentTitle': '种草秀',
|
|
|
+ 'ignore': [],
|
|
|
+ 'isShow': true,
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '#FFFFFF',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 12,
|
|
|
+ 'bottomRounded': 12,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 12,
|
|
|
+ 'bottom': 0,
|
|
|
+ 'both': 10
|
|
|
+ },
|
|
|
+ 'isHidden': false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'path': 'edit-shop-goods-detail-evaluate',
|
|
|
+ 'uses': 1,
|
|
|
+ 'id': '1jgv7ysvlh0g',
|
|
|
+ 'componentName': 'ShopGoodsDetailEvaluate',
|
|
|
+ 'componentTitle': '商品评价',
|
|
|
+ 'ignore': [],
|
|
|
+ 'isShow': true,
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '#FFFFFF',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 12,
|
|
|
+ 'bottomRounded': 12,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 12,
|
|
|
+ 'bottom': 0,
|
|
|
+ 'both': 10
|
|
|
+ },
|
|
|
+ 'isHidden': false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'path': 'edit-shop-goods-detail-attr',
|
|
|
+ 'uses': 1,
|
|
|
+ 'id': '19m7738ofq68',
|
|
|
+ 'componentName': 'ShopGoodsDetailAttr',
|
|
|
+ 'componentTitle': '商品属性',
|
|
|
+ 'ignore': [],
|
|
|
+ 'isShow': true,
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '#FFFFFF',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 12,
|
|
|
+ 'bottomRounded': 12,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 12,
|
|
|
+ 'bottom': 0,
|
|
|
+ 'both': 10
|
|
|
+ },
|
|
|
+ 'isHidden': false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'path': 'edit-shop-goods-detail-desc',
|
|
|
+ 'uses': 1,
|
|
|
+ 'id': '37i90so3cly0',
|
|
|
+ 'componentName': 'ShopGoodsDetailDesc',
|
|
|
+ 'componentTitle': '商品详情',
|
|
|
+ 'ignore': [],
|
|
|
+ 'isShow': true,
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '#FFFFFF',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 12,
|
|
|
+ 'bottomRounded': 12,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 12,
|
|
|
+ 'bottom': 20,
|
|
|
+ 'both': 10
|
|
|
+ },
|
|
|
+ 'isHidden': false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ 'path': 'edit-shop-goods-detail-bottom',
|
|
|
+ 'position': 'bottom_fixed',
|
|
|
+ 'uses': 1,
|
|
|
+ 'id': 'p313pc2eduo',
|
|
|
+ 'componentName': 'ShopGoodsDetailBottom',
|
|
|
+ 'componentTitle': '底部菜单',
|
|
|
+ 'ignore': ['pageBgColor', 'componentBgUrl', 'marginTop', 'marginBottom', 'marginBoth', 'topRounded', 'bottomRounded'],
|
|
|
+ 'menuContent': ['index', 'service', 'cart'],
|
|
|
+ 'cartName': '加入购物车',
|
|
|
+ 'buyName': '立即购买',
|
|
|
+ 'cartIsShow': true,
|
|
|
+ 'cartStyle': {
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'fontSize': 12,
|
|
|
+ 'gradientAngle': 'to right',
|
|
|
+ 'startColor': '#FFB000',
|
|
|
+ 'endColor': '#FFA029'
|
|
|
+ },
|
|
|
+ 'buyStyle': {
|
|
|
+ 'textColor': '#FFFFFF',
|
|
|
+ 'fontSize': 12,
|
|
|
+ 'gradientAngle': 'to right',
|
|
|
+ 'startColor': '#FB7939',
|
|
|
+ 'endColor': '#FF4142'
|
|
|
+ },
|
|
|
+ 'textColor': '#303133',
|
|
|
+ 'pageStartBgColor': '',
|
|
|
+ 'pageEndBgColor': '',
|
|
|
+ 'pageGradientAngle': 'to bottom',
|
|
|
+ 'componentBgUrl': '',
|
|
|
+ 'componentBgAlpha': 2,
|
|
|
+ 'componentStartBgColor': '#FFFFFF',
|
|
|
+ 'componentEndBgColor': '',
|
|
|
+ 'componentGradientAngle': 'to bottom',
|
|
|
+ 'topRounded': 0,
|
|
|
+ 'bottomRounded': 0,
|
|
|
+ 'elementBgColor': '',
|
|
|
+ 'topElementRounded': 0,
|
|
|
+ 'bottomElementRounded': 0,
|
|
|
+ 'margin': {
|
|
|
+ 'top': 0,
|
|
|
+ 'bottom': 0,
|
|
|
+ 'both': 0
|
|
|
+ },
|
|
|
+ 'isHidden': false
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+};
|