第一次提交

This commit is contained in:
wangxiaowei
2025-06-11 10:21:51 +08:00
commit 52932d54b1
2341 changed files with 185283 additions and 0 deletions

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/article/article"],{"06fd":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var a=function(){var t=this.$createElement;this._self._c},i=[]},"0d8d":function(t,n,e){"use strict";e.r(n);var a=e("f8b2"),i=e.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(r);n["default"]=i.a},"3bfb":function(t,n,e){},bf54:function(t,n,e){"use strict";e.r(n);var a=e("06fd"),i=e("0d8d");for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(r);e("e0f8");var u=e("828b"),f=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=f.exports},e0f8:function(t,n,e){"use strict";var a=e("3bfb"),i=e.n(a);i.a},f8b2:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={data:function(){return{listData:[]}},props:["itemData"],created:function(){this.listData=this.itemData.data},methods:{gotoPageFunc:function(t){var n="pages/article/detail/detail?article_id="+t.article_id;this.gotoPage(n)},add0:function(t){return t<10?"0"+t:t},format:function(t){var n=new Date(t),e=n.getFullYear(),a=n.getMonth()+1,i=n.getDate();return e+"-"+this.add0(a)+"-"+this.add0(i)}}};n.default=a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/article/article-create-component',
{
'components/diy/article/article-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("bf54"))
})
},
[['components/diy/article/article-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="diy-article"><block wx:for="{{listData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoPageFunc',['$0'],[[['listData','',index]]]]]]]}}" class="{{['article-item','show-type__'+itemData.style.display]}}" bindtap="__e"><block wx:if="{{itemData.style.display==10}}"><block wx:if="{{item.image!=null&&item.image.file_path!=''}}"><view class="picture mr15"><image src="{{item.image.file_path}}" mode="aspectFill"></image></view></block><view class="d-b-c d-stretch d-c flex-1"><view class="text-ellipsis-2 f24">{{''+item.article_title+''}}</view><view class="d-b-c gray9 f18"><view><text class="icon iconfont icon-chakan" style="font-size:22rpx;"></text><text class="ml10">{{item.actual_views}}</text></view><view><text class="icon iconfont icon-daojishi mr10"></text>{{item.create_time}}</view></view></view></block><block wx:if="{{itemData.style.display==20}}"><view class="f24 text-ellipsis-2 lh200">{{''+item.article_title+''}}</view></block></view></block></view>

View File

@ -0,0 +1,3 @@
.mr15{margin-right:15rpx}.diy-article{background:#fff;margin:20rpx;border-radius:6rpx;padding:0 30rpx;box-shadow:0 8rpx 3rpx 0 rgba(6,0,1,.03)}.diy-article .show-type__10,
.diy-article .show-type__20{display:flex;padding:30rpx 0;border-bottom:1rpx solid #eee}.diy-article .show-type__10:last-child,
.diy-article .show-type__20:last-child{border-bottom:none}.diy-article .show-type__10 .picture{width:246rpx;height:140rpx;border-radius:12rpx}.diy-article .show-type__10 .title{height:80rpx}.diy-article .show-type__10 .des{height:36rpx}.diy-article image{width:100%;height:100%;border-radius:12rpx}.diy-article .show-type__10 .icon.iconfont{font-size:18rpx;color:#999}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/assembleProduct/assembleProduct"],{"30a4":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={components:{},data:function(){return{}},props:["itemData"],created:function(){console.log(this.$props.itemData)},methods:{scroll:function(t){},gotoList:function(){this.gotoPage("/pages/plus/assemble/list/list")},gotoDetail:function(t){var e="/pages/plus/assemble/detail/detail?assemble_product_id="+t.assemble_product_id;this.gotoPage(e)}}};e.default=a},"362e":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=(this._self._c,this.itemData.data.product_list.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},o=[]},"71b1":function(t,e,n){"use strict";n.r(e);var a=n("30a4"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},baf7:function(t,e,n){},ca96:function(t,e,n){"use strict";n.r(e);var a=n("362e"),o=n("71b1");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("fd76");var s=n("828b"),u=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=u.exports},fd76:function(t,e,n){"use strict";var a=n("baf7"),o=n.n(a);o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/assembleProduct/assembleProduct-create-component',
{
'components/diy/assembleProduct/assembleProduct-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("ca96"))
})
},
[['components/diy/assembleProduct/assembleProduct-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<block wx:if="{{$root.g0>0}}"><view class="diy-assembleproduct"><view class="diy-head d-b-c" style="{{('background-image: url('+itemData.style.background_image+');')}}"><view data-event-opts="{{[['tap',[['gotoList',['$event']]]]]}}" class="right" bindtap="__e"><text class="f26 gray3">更多</text><text class="iconfont icon-jiantou"></text></view></view><view class="diy-body"><scroll-view scroll-x="true"><view class="product-list column__3"><block wx:for="{{itemData.data.product_list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoDetail',['$0'],[[['itemData.data.product_list','',index]]]]]]]}}" class="product-item" bindtap="__e"><block wx:if="{{itemData.style.show.productName===true}}"><view class="product-title text-ellipsis-2">{{''+item.product.product_name+''}}</view></block><view class="d-b-c"><view class="product-cover pr"><image src="{{item.product.file_path}}" mode="aspectFit"></image><view class="assemble-num"><text>{{item.assemble_num+"人团"}}</text></view></view><view class="flex-1"><view class="product-info p-0-10"><block wx:if="{{itemData.style.show.assemblePrice==true}}"><view class="product-price"><view class="mb10"><text class="theme-price fb f18">¥</text><text class="theme-price fb f26">{{item.assemble_price}}</text></view><block wx:if="{{itemData.style.show.linePrice==true}}"><view class="gray9 text-d-line f20">{{"¥"+item.product_price+''}}</view></block></view></block></view><view class="assemble_btn theme-btn">去开团</view></view></view></view></block></view></scroll-view></view></view></block>

View File

@ -0,0 +1,2 @@
.diy-assembleproduct{margin:20rpx;border-radius:6rpx;padding:0 20rpx 20rpx;box-shadow:0 8rpx 3rpx 0 rgba(6,0,1,.03)}[data-theme="theme0"] .diy-assembleproduct{background-color:#fff!important}[data-theme="theme1"] .diy-assembleproduct{background-color:#fff!important}[data-theme="theme2"] .diy-assembleproduct{background-color:#fc0!important}[data-theme="theme3"] .diy-assembleproduct{background-color:#fff!important}[data-theme="theme4"] .diy-assembleproduct{background-color:#fff!important}[data-theme="theme5"] .diy-assembleproduct{background-color:#c8bb97!important}[data-theme="theme6"] .diy-assembleproduct{background-color:#623ceb!important}.diy-assembleproduct .diy-head{height:90rpx;display:flex;justify-content:flex-end;align-items:center;background-size:100% 100%}.diy-assembleproduct .diy-head .name{font-size:32rpx;font-weight:700}.diy-assembleproduct .diy-head .datetime{margin-left:40rpx}.diy-assembleproduct .diy-head .datetime > ._span{display:inline-block}.diy-assembleproduct .diy-head .datetime text{font-size:24rpx;color:#f6220c}.diy-assembleproduct .diy-head .datetime .box{padding:4rpx;font-size:22rpx;background:#f6220c;color:#f6220c}.diy-assembleproduct .diy-head .icon-jiantou{margin-left:8rpx;color:#333;font-size:22rpx}.diy-assembleproduct .product-list{flex-wrap:nowrap}.diy-assembleproduct .product-list .product-item{flex-shrink:0;border-radius:12rpx;width:442rpx;overflow:hidden}.diy-assembleproduct .product-list image{width:100%;height:100%;background-color:#f6f6f6}.diy-assembleproduct .product-list .product-title{font-size:24rpx;line-height:36rpx;color:#333;height:72rpx}.diy-assembleproduct .product-list .product-price{margin-bottom:16rpx;text-align:left}.diy-assembleproduct .product-list.column__3 .product-title{font-size:24rpx;line-height:36rpx;color:#333;height:72rpx;margin-bottom:14rpx}.diy-assembleproduct .product-list.column__2,
.diy-assembleproduct .product-list.column__3{display:flex;justify-content:flex-start;align-items:center}.diy-assembleproduct .product-list .assemble-num{padding:4rpx 16rpx;font-size:24rpx;color:#fff;position:absolute;bottom:2rpx;left:2rpx;background:linear-gradient(60deg,#fc4528,#fc573c 43%,#fc7639);border-top-left-radius:12rpx;border-bottom-right-radius:12rpx;height:33rpx;line-height:33rpx}.diy-assembleproduct .column__3 .product-item{width:442rpx;margin-right:20rpx;padding:21rpx 28rpx;box-sizing:border-box;box-shadow:0 8rpx 3rpx 0 rgba(6,0,1,.03)}[data-theme="theme0"] .diy-assembleproduct .column__3 .product-item{background:linear-gradient(180deg,rgba(255,76,1,.1),#fff)!important}[data-theme="theme1"] .diy-assembleproduct .column__3 .product-item{background:linear-gradient(180deg,rgba(255,76,1,.1),#fff)!important}[data-theme="theme2"] .diy-assembleproduct .column__3 .product-item{background:linear-gradient(180deg,#fff,#fff)!important}[data-theme="theme3"] .diy-assembleproduct .column__3 .product-item{background:linear-gradient(180deg,rgba(233,240,249,.5),#fff)!important}[data-theme="theme4"] .diy-assembleproduct .column__3 .product-item{background:linear-gradient(180deg,#e6e7e0,#fff)!important}[data-theme="theme5"] .diy-assembleproduct .column__3 .product-item{background:linear-gradient(180deg,#fff,#fff)!important}[data-theme="theme6"] .diy-assembleproduct .column__3 .product-item{background:linear-gradient(180deg,#fff,#fff)!important}.diy-assembleproduct .column__3 .product-cover{width:126rpx;height:126rpx;margin:0 auto;border-radius:5rpx;overflow:hidden;flex-shrink:0;margin-right:22rpx}.diy-assembleproduct .column__3 .assemble_btn{width:126rpx;height:40rpx;font-size:20rpx;text-align:center;border-radius:24rpx;display:flex;justify-content:center;align-items:center}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/banner/banner"],{"27eb":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},r=[]},"3f8d":function(t,n,e){"use strict";e.r(n);var i=e("27eb"),r=e("c4e2");for(var a in r)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(a);e("4c62");var o=e("828b"),c=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=c.exports},"436d":function(t,n,e){},"4c62":function(t,n,e){"use strict";var i=e("436d"),r=e.n(i);r.a},c4e2:function(t,n,e){"use strict";e.r(n);var i=e("f916"),r=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=r.a},f916:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={data:function(){return{indicatorDots:!0,autoplay:!0,interval:2e3,duration:500,indicatorActiveColor:"#ffffff",current:0}},props:["itemData"],created:function(){this.interval=this.itemData.params.interval,this.indicatorActiveColor=this.itemData.style.btnColor},methods:{changeSwiper:function(t){this.current=t.detail.current},gotoPages:function(t){this.gotoPage(t.linkUrl)}}}}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/banner/banner-create-component',
{
'components/diy/banner/banner-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("3f8d"))
})
},
[['components/diy/banner/banner-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="{{['diy-banner-box','pr',itemData.style.imgShape]}}" style="{{('background-color:'+itemData.style.background+';')}}"><swiper class="swiper" style="{{(itemData.style.imgShape=='square'?'height:'+itemData.style.height+'rpx;':'height:'+itemData.style.height*0.92+'rpx;')}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" data-event-opts="{{[['change',[['changeSwiper',['$event']]]]]}}" bindchange="__e"><block wx:for="{{itemData.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['gotoPages',['$0'],[[['itemData.data','',index]]]]]]]}}" bindtap="__e"><image style="{{(itemData.style.imgShape=='square'?'height:'+itemData.style.height+'rpx;':'height:'+itemData.style.height*0.92+'rpx;')}}" src="{{item.imgUrl}}"></image></swiper-item></block></swiper><view class="{{['swiper-dots','ww100','d-c-c',itemData.style.btnShape]}}"><block wx:for="{{itemData.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{[current==index?'swiper-dot active':'swiper-dot']}}" style="{{(current==index?'background-color:'+indicatorActiveColor+';':'')}}"></view></block></view></view>

View File

@ -0,0 +1,5 @@
.diy-banner-box{overflow:hidden}.diy-banner-box,
.diy-banner-box .swiper{width:750rpx}.diy-banner-box.round,
.diy-banner-box.round .swiper{width:750rpx}.diy-banner-box image{width:750rpx}.diy-banner-box.round{padding:30rpx;box-sizing:border-box}.diy-banner-box.round image{width:690rpx;border-radius:12rpx}.diy-banner-box.round .swiper-dots{position:absolute;bottom:40rpx;left:0;right:0;margin:auto}.diy-banner-box.square .swiper-dots{position:absolute;bottom:20rpx;left:0;right:0;margin:auto}.swiper-dots.square .swiper-dot{width:14rpx;height:14rpx;margin:0 4rpx;background:#ebedf0;opacity:.3}.swiper-dots.round .swiper-dot{width:22rpx;height:22rpx;margin:0 4rpx;background:#ebedf0;opacity:.3;border-radius:50%}.swiper-dots.rectangle .swiper-dot{width:40rpx;height:6rpx;margin:0 4rpx;background:#ebedf0;opacity:.3;border-radius:4rpx}.swiper-dots.round .swiper-dot.active,
.swiper-dots.square .swiper-dot.active,
.swiper-dots.rectangle .swiper-dot.active{opacity:1}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/bargainProduct/bargainProduct"],{"0f23":function(t,n,a){"use strict";a.d(n,"b",(function(){return o})),a.d(n,"c",(function(){return i})),a.d(n,"a",(function(){}));var o=function(){var t=this.$createElement,n=(this._self._c,this.itemData.data.product_list.length);this.$mp.data=Object.assign({},{$root:{g0:n}})},i=[]},2649:function(t,n,a){},"5d1f":function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={components:{Countdown:function(){a.e("components/countdown/countdown-act").then(function(){return resolve(a("acb8"))}.bind(null,a)).catch(a.oe)}},data:function(){return{countdownConfig:{startstamp:0,endstamp:0,title:" "}}},props:["itemData"],created:function(){this.countdownConfig.endstamp=this.itemData.data.end_time,this.countdownConfig.startstamp=this.itemData.data.start_time},methods:{scroll:function(t){},gotoList:function(){this.gotoPage("/pages/plus/bargain/list/list")},gotoDetail:function(t){var n="/pages/plus/bargain/detail/detail?bargain_product_id="+t;this.gotoPage(n)}}};n.default=o},"971a":function(t,n,a){"use strict";a.r(n);var o=a("0f23"),i=a("d2e3");for(var e in i)["default"].indexOf(e)<0&&function(t){a.d(n,t,(function(){return i[t]}))}(e);a("9955");var u=a("828b"),c=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=c.exports},9955:function(t,n,a){"use strict";var o=a("2649"),i=a.n(o);i.a},d2e3:function(t,n,a){"use strict";a.r(n);var o=a("5d1f"),i=a.n(o);for(var e in o)["default"].indexOf(e)<0&&function(t){a.d(n,t,(function(){return o[t]}))}(e);n["default"]=i.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/bargainProduct/bargainProduct-create-component',
{
'components/diy/bargainProduct/bargainProduct-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("971a"))
})
},
[['components/diy/bargainProduct/bargainProduct-create-component']]
]);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"countdown": "/components/countdown/countdown-act"
}
}

View File

@ -0,0 +1 @@
<block wx:if="{{$root.g0>0}}"><view class="diy-bargainProduct"><view class="bargainProduct-head d-b-c" style="{{('background-image: url('+itemData.style.background_image+');')}}"><view class="left d-s-c"><view class="name color_bargain d-c-c"></view><view class="datetime d-s-c ml20"><countdown vue-id="bb8d5486-1" back_color="{{itemData.style.countdown_back_color}}" color="{{itemData.style.color}}" cut_color="{{itemData.style.countdown_color}}" config="{{countdownConfig}}" bind:__l="__l"></countdown></view></view><view data-event-opts="{{[['tap',[['gotoList',['$event']]]]]}}" class="right" bindtap="__e"><text class="f26 color_bargain">更多</text><text class="iconfont icon-jiantou mr20" style="font-size:22rpx;margin-left:4rpx;color:#333333;"></text></view></view><view class="bargainProduct-body"><scroll-view scroll-x="true"><view class="product-list column__3"><block wx:for="{{itemData.data.product_list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoDetail',['$0'],[[['itemData.data.product_list','',index,'bargain_product_id']]]]]]]}}" class="product-item" bindtap="__e"><view class="product-cover"><image src="{{item.product.file_path}}" mode="aspectFit"></image></view><view class="product-info p-0-10"><block wx:if="{{itemData.style.show.floorPrice=='1'}}"><view class="theme-price mb10"><text class="f18">¥</text><text class="f26 fb">{{item.bargain_price}}</text></view></block><block wx:if="{{itemData.style.show.originalPrice=='1'}}"><view class="gray9 text-d-line f20">{{'¥'+item.product_price+''}}</view></block></view></view></block></view></scroll-view></view></view></block>

View File

@ -0,0 +1 @@
.color_bargain{color:#333}.diy-bargainProduct{margin:20rpx;border-radius:6rpx;overflow:hidden;box-shadow:0 8rpx 3rpx 0 rgba(6,0,1,.03)}[data-theme="theme0"] .diy-bargainProduct{background:linear-gradient(180deg,#f4dcd2,#fff)!important}[data-theme="theme1"] .diy-bargainProduct{background:linear-gradient(180deg,rgba(255,76,1,.15),#fff)!important}[data-theme="theme2"] .diy-bargainProduct{background:linear-gradient(180deg,rgba(255,204,0,.15),#fff)!important}[data-theme="theme3"] .diy-bargainProduct{background:linear-gradient(180deg,rgba(23,116,255,.15),#fff)!important}[data-theme="theme4"] .diy-bargainProduct{background:linear-gradient(180deg,#fff,#fff)!important}[data-theme="theme5"] .diy-bargainProduct{background:linear-gradient(180deg,#ebe8de,#fff)!important}[data-theme="theme6"] .diy-bargainProduct{background:linear-gradient(180deg,rgba(98,60,235,.15),#fff)!important}.diy-bargainProduct .bargainProduct-body{padding:0 20rpx}.bargainProduct-head{height:90rpx;background-size:100% 100%}.bargainProduct-head .name{font-size:32rpx;font-weight:700;width:200rpx}.bargainProduct-head .datetime > ._span{display:inline-block}.bargainProduct-head .datetime text{font-size:24rpx;color:#fff}.bargainProduct-head .datetime .box{padding:4rpx 10rpx;font-size:22rpx;background:#fff;color:#fff}.diy-bargainProduct .product-list image{width:100%;height:100%}.diy-bargainProduct .product-list .product-title{margin-top:32rpx;height:40rpx;line-height:40rpx;display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical;font-size:30rpx}.diy-bargainProduct .product-list .price{height:24rpx;line-height:24rpx}.diy-bargainProduct .product-list.column__3{display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto}.diy-bargainProduct .column__3 .product-item{width:132rpx;margin-right:46rpx;border-radius:6rpx;overflow:hidden;margin-top:20rpx;padding-bottom:16rpx;flex-shrink:0}.diy-bargainProduct .column__3 .product-cover{width:132rpx;height:132rpx;margin:0 auto;border-radius:6rpx;overflow:hidden;margin-bottom:16rpx}.bargain_btn{background:#fe3c30;width:202rpx;height:46rpx;line-height:46rpx;font-size:22rpx;text-align:center;color:#fff;margin:0 auto;border-radius:24rpx;margin-bottom:28rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/blank/blank"],{"5f87":function(n,t,e){"use strict";e.r(t);var u=e("ba21"),a=e.n(u);for(var r in u)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(r);t["default"]=a.a},a301:function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var u=function(){var n=this.$createElement;this._self._c},a=[]},ba21:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={data:function(){return{}},props:["itemData"],methods:{}}},db5d:function(n,t,e){"use strict";e.r(t);var u=e("a301"),a=e("5f87");for(var r in a)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(r);var f=e("828b"),i=Object(f["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);t["default"]=i.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/blank/blank-create-component',
{
'components/diy/blank/blank-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("db5d"))
})
},
[['components/diy/blank/blank-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<view class="diy-blank" style="{{'height:'+(itemData.style.height+'px')+';'+('background:'+(itemData.style.background)+';')}}"></view>

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/coupon/coupon"],{"4ec7":function(t,n,e){"use strict";var a=e("bb12"),u=e.n(a);u.a},5903:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var a=function(){var t=this.$createElement;this._self._c},u=[]},"8a31":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{indicatorDots:!1,autoplay:!0,interval:5e3,duration:1e3,listData:[]}},props:["itemData"],created:function(){this.listData=this.itemData.data},methods:{scroll:function(t){},receiveCoupon:function(n){var e=this.listData[n];if(0==e.state.value)return!1;this._post("user.coupon/receive",{coupon_id:e.coupon_id},(function(n){t.showToast({title:"领取成功",icon:"success",mask:!0,duration:2e3}),e.state.value=0,e.state.text="已领取"}))}}};n.default=e}).call(this,e("df3c")["default"])},a39f:function(t,n,e){"use strict";e.r(n);var a=e("5903"),u=e("d857");for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);e("4ec7");var o=e("828b"),c=Object(o["a"])(u["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=c.exports},bb12:function(t,n,e){},d857:function(t,n,e){"use strict";e.r(n);var a=e("8a31"),u=e.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(i);n["default"]=u.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/coupon/coupon-create-component',
{
'components/diy/coupon/coupon-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("a39f"))
})
},
[['components/diy/coupon/coupon-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<view class="diy-coupon" style="{{'background:'+(itemData.style.background)+';'+('padding:'+(itemData.style.paddingTop+'px 20rpx')+';')}}"><scroll-view scroll-x="true"><view class="swiper swiper-list"><block wx:for="{{listData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['coupon-item','d-b-c','bg-'+item.color.text]}}"><view class="side-line left-side-line"><text class="round" style="{{'background:'+(itemData.style.background)+';'}}"></text></view><view class="side-line right-side-line"><text class="round" style="{{'background:'+(itemData.style.background)+';'}}"></text></view><view class="center-content pr"><view class="content-top"><block wx:if="{{item.coupon_type.value==10}}"><text class="f40">{{item.reduce_price*1}}</text></block><block wx:if="{{item.coupon_type.value==20}}"><text class="f40">{{item.discount*1}}</text><text class="f24">折</text></block></view><view class="content-bottom tc"><text class="f20">{{item.min_price>0?'满'+item.min_price*1+'元可用':'无门槛'}}</text></view><view class="op8 f20 tc text-ellipsis"><block wx:if="{{item.apply_range==10}}"><text>全品类券</text></block><block wx:if="{{item.apply_range==20}}"><text>指定商品可用</text></block><block wx:if="{{item.apply_range==30}}"><text>指定品类可用</text></block></view></view><block wx:if="{{item.state.value==1}}"><view data-event-opts="{{[['tap',[['receiveCoupon',[index]]]]]}}" class="right-receive" bindtap="__e"><view class="lr-tb">立即领取</view></view></block><block wx:else><view class="right-receive"><view class="lr-tb">{{item.state.text}}</view></view></block></view></block></view></scroll-view></view>

View File

@ -0,0 +1 @@
.diy-coupon{margin:0 20rpx;border-radius:6rpx}.f-s-0{flex-shrink:0}.diy-coupon .swiper{display:flex;justify-content:flex-start;align-items:center;overflow-x:auto}.diy-coupon .coupon-item{width:254rpx;height:154rpx;color:#fff;flex-shrink:0;margin:8rpx;position:relative;border-radius:8rpx;overflow:hidden;color:#fff}[data-theme="theme0"] .diy-coupon .coupon-item{background-color:#ff4c01!important}[data-theme="theme1"] .diy-coupon .coupon-item{background-color:rgba(219,248,231,.6)!important}[data-theme="theme2"] .diy-coupon .coupon-item{background-color:#fff3e5!important}[data-theme="theme3"] .diy-coupon .coupon-item{background-color:#fce1aa!important}[data-theme="theme4"] .diy-coupon .coupon-item{background-color:rgba(129,134,65,.1)!important}[data-theme="theme5"] .diy-coupon .coupon-item{background-color:rgba(228,222,208,.6)!important}[data-theme="theme6"] .diy-coupon .coupon-item{background-color:#d5eafb!important}.diy-coupon .coupon-item .left-type{padding:4rpx 8rpx;font-size:18rpx;line-height:18rpx;text-align:center;position:absolute;right:0;top:0;color:#fff;background:linear-gradient(90deg,#ff5b00,#fe8802);border-bottom-left-radius:8rpx}.diy-coupon .left-side-line{position:absolute;width:24rpx;top:-14rpx;right:42rpx;overflow:hidden}.diy-coupon .right-side-line{position:absolute;width:24rpx;bottom:-14rpx;right:42rpx;overflow:hidden}.diy-coupon .side-line .round{display:block;width:24rpx;height:24rpx;border-radius:50%}.diy-coupon .center-content::before{top:0;right:-16rpx;border-radius:0 0 15rpx 15rpx}.diy-coupon .coupon-item .center-content{padding:26rpx 23rpx;display:flex;justify-content:center;flex-direction:column;align-items:center;flex:1;width:200rpx;height:154rpx;box-sizing:border-box}[data-theme="theme0"] .diy-coupon .coupon-item .center-content{color:#fff!important}[data-theme="theme1"] .diy-coupon .coupon-item .center-content{color:#19ad57!important}[data-theme="theme2"] .diy-coupon .coupon-item .center-content{color:#f55234!important}[data-theme="theme3"] .diy-coupon .coupon-item .center-content{color:#8d5b22!important}[data-theme="theme4"] .diy-coupon .coupon-item .center-content{color:#818641!important}[data-theme="theme5"] .diy-coupon .coupon-item .center-content{color:#8f7e6a!important}[data-theme="theme6"] .diy-coupon .coupon-item .center-content{color:#1a8af8!important}.diy-coupon .coupon-item .center-content .content-top{height:28rpx;line-height:28rpx;text-align:center;margin-bottom:8rpx;justify-content:center;align-items:center}.diy-coupon .coupon-item .center-content .content-datatime{padding:4rpx 10rpx;border-radius:30rpx;font-size:20rpx;background:rgba(0,0,0,.2)}.diy-coupon .coupon-item .right-receive{height:112rpx;width:52rpx;text-align:center;font-size:18rpx;line-height:20rpx;text-align:center;flex-shrink:0;display:flex;justify-content:center;align-items:center;border-left:1rpx dashed #fff}[data-theme="theme0"] .diy-coupon .coupon-item .right-receive{color:#fff!important}[data-theme="theme1"] .diy-coupon .coupon-item .right-receive{color:#19ad57!important}[data-theme="theme2"] .diy-coupon .coupon-item .right-receive{color:#f55234!important}[data-theme="theme3"] .diy-coupon .coupon-item .right-receive{color:#8d5b22!important}[data-theme="theme4"] .diy-coupon .coupon-item .right-receive{color:#818641!important}[data-theme="theme5"] .diy-coupon .coupon-item .right-receive{color:#8f7e6a!important}[data-theme="theme6"] .diy-coupon .coupon-item .right-receive{color:#1a8af8!important}.diy-coupon .coupon-item .right-receive .lr-tb{width:26rpx}.diy-coupon .coupon-item .no-receive{background:#acacac!important;color:#fff}.op8{opacity:.8}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/diy"],{"21fe":function(n,e,t){"use strict";t.d(e,"b",(function(){return c})),t.d(e,"c",(function(){return i})),t.d(e,"a",(function(){return o}));var o={navBar:function(){return t.e("components/navBar/navBar").then(t.bind(null,"0f96"))}},c=function(){var n=this.$createElement;this._self._c},i=[]},"502f":function(n,e,t){"use strict";t.r(e);var o=t("21fe"),c=t("bb97");for(var i in c)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return c[n]}))}(i);var r=t("828b"),u=Object(r["a"])(c["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=u.exports},bb97:function(n,e,t){"use strict";t.r(e);var o=t("d466"),c=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(i);e["default"]=c.a},d466:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={components:{search:function(){t.e("components/diy/search/search").then(function(){return resolve(t("1ae7"))}.bind(null,t)).catch(t.oe)},banner:function(){t.e("components/diy/banner/banner").then(function(){return resolve(t("3f8d"))}.bind(null,t)).catch(t.oe)},imagesingle:function(){t.e("components/diy/imagesingle/imagesingle").then(function(){return resolve(t("855c"))}.bind(null,t)).catch(t.oe)},windows:function(){t.e("components/diy/window/window").then(function(){return resolve(t("9ca5"))}.bind(null,t)).catch(t.oe)},videos:function(){t.e("components/diy/videos/videos").then(function(){return resolve(t("ea22"))}.bind(null,t)).catch(t.oe)},articles:function(){t.e("components/diy/article/article").then(function(){return resolve(t("bf54"))}.bind(null,t)).catch(t.oe)},special:function(){t.e("components/diy/special/special").then(function(){return resolve(t("cacb"))}.bind(null,t)).catch(t.oe)},notice:function(){t.e("components/diy/notice/notice").then(function(){return resolve(t("a7b0"))}.bind(null,t)).catch(t.oe)},titles:function(){t.e("components/diy/title/title").then(function(){return resolve(t("05af"))}.bind(null,t)).catch(t.oe)},coupon:function(){t.e("components/diy/coupon/coupon").then(function(){return resolve(t("a39f"))}.bind(null,t)).catch(t.oe)},richText:function(){Promise.all([t.e("common/vendor"),t.e("components/diy/richText/richText")]).then(function(){return resolve(t("ce7a"))}.bind(null,t)).catch(t.oe)},navBar:function(){t.e("components/diy/navBar/navBar").then(function(){return resolve(t("30e9"))}.bind(null,t)).catch(t.oe)},store:function(){t.e("components/diy/store/store").then(function(){return resolve(t("567c"))}.bind(null,t)).catch(t.oe)},service:function(){t.e("components/diy/service/service").then(function(){return resolve(t("843e"))}.bind(null,t)).catch(t.oe)},blank:function(){t.e("components/diy/blank/blank").then(function(){return resolve(t("db5d"))}.bind(null,t)).catch(t.oe)},guide:function(){t.e("components/diy/guide/guide").then(function(){return resolve(t("884f"))}.bind(null,t)).catch(t.oe)},product:function(){t.e("components/diy/product/product").then(function(){return resolve(t("1a1a"))}.bind(null,t)).catch(t.oe)},seckillProduct:function(){t.e("components/diy/seckillProduct/seckillProduct").then(function(){return resolve(t("4f20"))}.bind(null,t)).catch(t.oe)},assembleProduct:function(){t.e("components/diy/assembleProduct/assembleProduct").then(function(){return resolve(t("ca96"))}.bind(null,t)).catch(t.oe)},bargainProduct:function(){t.e("components/diy/bargainProduct/bargainProduct").then(function(){return resolve(t("971a"))}.bind(null,t)).catch(t.oe)},previewProduct:function(){t.e("components/diy/previewProduct/previewProduct").then(function(){return resolve(t("9b9f"))}.bind(null,t)).catch(t.oe)},live:function(){t.e("components/diy/live/live").then(function(){return resolve(t("612f"))}.bind(null,t)).catch(t.oe)}},data:function(){return{}},props:["diyItems"],created:function(){}};e.default=o}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/diy-create-component',
{
'components/diy/diy-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("502f"))
})
},
[['components/diy/diy-create-component']]
]);

View File

@ -0,0 +1,27 @@
{
"component": true,
"usingComponents": {
"nav-bar": "/components/diy/navBar/navBar",
"search": "/components/diy/search/search",
"banner": "/components/diy/banner/banner",
"imagesingle": "/components/diy/imagesingle/imagesingle",
"windows": "/components/diy/window/window",
"videos": "/components/diy/videos/videos",
"articles": "/components/diy/article/article",
"special": "/components/diy/special/special",
"notice": "/components/diy/notice/notice",
"titles": "/components/diy/title/title",
"coupon": "/components/diy/coupon/coupon",
"rich-text": "/components/diy/richText/richText",
"store": "/components/diy/store/store",
"service": "/components/diy/service/service",
"blank": "/components/diy/blank/blank",
"guide": "/components/diy/guide/guide",
"product": "/components/diy/product/product",
"seckill-product": "/components/diy/seckillProduct/seckillProduct",
"assemble-product": "/components/diy/assembleProduct/assembleProduct",
"bargain-product": "/components/diy/bargainProduct/bargainProduct",
"preview-product": "/components/diy/previewProduct/previewProduct",
"live": "/components/diy/live/live"
}
}

View File

@ -0,0 +1 @@
<view><block wx:for="{{diyItems}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{item.type==='banner'&&item.data!=null}}"><banner vue-id="{{'7a395e18-1-'+index}}" itemData="{{item}}" bind:__l="__l"></banner></block><block wx:if="{{item.type==='imageSingle'&&item.data!=null}}"><imagesingle vue-id="{{'7a395e18-2-'+index}}" itemData="{{item}}" bind:__l="__l"></imagesingle></block><block wx:if="{{item.type=='window'&&item.data!=null}}"><windows vue-id="{{'7a395e18-3-'+index}}" itemData="{{item}}" bind:__l="__l"></windows></block><block wx:if="{{item.type=='video'}}"><videos vue-id="{{'7a395e18-4-'+index}}" itemData="{{item}}" bind:__l="__l"></videos></block><block wx:if="{{item.type=='article'&&item.data!=null}}"><articles vue-id="{{'7a395e18-5-'+index}}" itemData="{{item}}" bind:__l="__l"></articles></block><block wx:if="{{item.type=='special'&&item.data!=null}}"><special vue-id="{{'7a395e18-6-'+index}}" itemData="{{item}}" bind:__l="__l"></special></block><block wx:if="{{item.type=='notice'}}"><notice vue-id="{{'7a395e18-7-'+index}}" itemData="{{item}}" bind:__l="__l"></notice></block><block wx:if="{{item.type=='title'}}"><titles vue-id="{{'7a395e18-8-'+index}}" itemData="{{item}}" bind:__l="__l"></titles></block><block wx:if="{{item.type==='navBar'&&item.data!=null}}"><nav-bar vue-id="{{'7a395e18-9-'+index}}" itemData="{{item}}" bind:__l="__l"></nav-bar></block><block wx:if="{{item.type==='product'&&item.data!=null}}"><product vue-id="{{'7a395e18-10-'+index}}" itemData="{{item}}" bind:__l="__l"></product></block><block wx:if="{{item.type==='coupon'&&item.data!=null}}"><coupon vue-id="{{'7a395e18-11-'+index}}" itemData="{{item}}" bind:__l="__l"></coupon></block><block wx:if="{{item.type=='store'&&item.data!=null}}"><store vue-id="{{'7a395e18-12-'+index}}" itemData="{{item}}" bind:__l="__l"></store></block><block wx:if="{{item.type=='service'}}"><service vue-id="{{'7a395e18-13-'+index}}" itemData="{{item}}" bind:__l="__l"></service></block><block wx:if="{{item.type==='richText'}}"><rich-text itemData="{{item}}"></rich-text></block><block wx:if="{{item.type=='blank'}}"><blank vue-id="{{'7a395e18-14-'+index}}" itemData="{{item}}" bind:__l="__l"></blank></block><block wx:if="{{item.type=='guide'}}"><guide vue-id="{{'7a395e18-15-'+index}}" itemData="{{item}}" bind:__l="__l"></guide></block><block wx:if="{{item.type=='seckillProduct'&&item.data!=null}}"><seckill-product vue-id="{{'7a395e18-16-'+index}}" itemData="{{item}}" bind:__l="__l"></seckill-product></block><block wx:if="{{item.type=='previewProduct'&&item.data!=null}}"><preview-product vue-id="{{'7a395e18-17-'+index}}" itemData="{{item}}" bind:__l="__l"></preview-product></block><block wx:if="{{item.type=='assembleProduct'&&item.data!=null}}"><assemble-product vue-id="{{'7a395e18-18-'+index}}" itemData="{{item}}" bind:__l="__l"></assemble-product></block><block wx:if="{{item.type=='bargainProduct'&&item.data!=null}}"><bargain-product vue-id="{{'7a395e18-19-'+index}}" itemData="{{item}}" bind:__l="__l"></bargain-product></block></block></block></view>

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/guide/guide"],{"2dd0":function(t,n,e){"use strict";e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var u=function(){var t=this.$createElement;this._self._c},i=[]},"884f":function(t,n,e){"use strict";e.r(n);var u=e("2dd0"),i=e("edb8");for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(r);var d=e("828b"),a=Object(d["a"])(i["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);n["default"]=a.exports},c120:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={data:function(){return{}},props:["itemData"],methods:{}}},edb8:function(t,n,e){"use strict";e.r(n);var u=e("c120"),i=e.n(u);for(var r in u)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(r);n["default"]=i.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/guide/guide-create-component',
{
'components/diy/guide/guide-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("884f"))
})
},
[['components/diy/guide/guide-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="diy-guide" style="{{'padding:'+(itemData.style.paddingTop+'px '+'0')+';'+('background:'+(itemData.style.background)+';')}}"><view class="line" style="{{'border-top-width:'+(itemData.style.lineHeight+'px')+';'+('border-top-color:'+(itemData.style.lineColor)+';')+('border-top-style:'+(itemData.style.lineStyle)+';')}}"></view></view>

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/imagesingle/imagesingle"],{"4d0d":function(n,t,e){},"855c":function(n,t,e){"use strict";e.r(t);var u=e("a293"),a=e("bcf8");for(var i in a)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(i);e("a484");var o=e("828b"),c=Object(o["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);t["default"]=c.exports},"9f9e":function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={data:function(){return{}},props:["itemData"],methods:{gotoPages:function(n){this.gotoPage(n.linkUrl)}}}},a293:function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var u=function(){var n=this.$createElement;this._self._c},a=[]},a484:function(n,t,e){"use strict";var u=e("4d0d"),a=e.n(u);a.a},bcf8:function(n,t,e){"use strict";e.r(t);var u=e("9f9e"),a=e.n(u);for(var i in u)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(i);t["default"]=a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/imagesingle/imagesingle-create-component',
{
'components/diy/imagesingle/imagesingle-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("855c"))
})
},
[['components/diy/imagesingle/imagesingle-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="diy-imageSingle" style="{{('padding-top: '+itemData.style.paddingTop+'px;padding-bottom:'+itemData.style.paddingTop+'px; padding-left:'+itemData.style.paddingLeft+'px;padding-right:'+itemData.style.paddingLeft+'px; background:'+itemData.style.background)}}"><block wx:for="{{itemData.data}}" wx:for-item="imageSingle" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoPages',['$0'],[[['itemData.data','',index]]]]]]]}}" class="d-c-c" bindtap="__e"><image src="{{imageSingle.imgUrl}}" mode="widthFix"></image></view></block></view>

View File

@ -0,0 +1 @@
.diy-imageSingle image{width:100%}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/live/live"],{"31fa":function(t,e,a){"use strict";a.r(e);var n=a("940b"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},3257:function(t,e,a){},"612f":function(t,e,a){"use strict";a.r(e);var n=a("d289"),i=a("31fa");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("80e0");var r=a("828b"),u=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=u.exports},"80e0":function(t,e,a){"use strict";var n=a("3257"),i=a.n(n);i.a},"940b":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={components:{},data:function(){return{}},props:["itemData"],created:function(){},methods:{scroll:function(t){},convertStatus:function(t){var e="";switch(t){case 101:e="直播中";break;case 102:e="未开始";break;case 103:e="已结束";break;case 104:e="禁播";break;case 105:e="暂停";break;case 106:e="异常";break;case 107:e="已过期";break}return e},gotoList:function(){this.gotoPage("/pages/plus/live/wx/list")},gotoDetail:function(t){103==t.live_status?""!=t.record_url?this.gotoPage("/pagesLive/live/playback?room_id="+t.room_id):this.showError("暂无回放"):this.gotoPage("/pagesLive/live/live?room_id="+t.room_id+"&sence=join")}}}},d289:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=(t._self._c,t.itemData.data.length),n=a>0?t.__map(t.itemData.data,(function(e,a){var n=t.__get_orig(e),i=101==e.live_status||102==e.live_status||104==e.live_status?t.convertStatus(e.live_status):null;return{$orig:n,m0:i}})):null;t.$mp.data=Object.assign({},{$root:{g0:a,l0:n}})},i=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/live/live-create-component',
{
'components/diy/live/live-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("612f"))
})
},
[['components/diy/live/live-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<block wx:if="{{$root.g0>0}}"><view class="diy-live" style="{{'background:'+(itemData.style.background)+';'}}"><view class="diy-head d-e-c" style="{{('background-image: url('+itemData.style.background_image+');')}}"><view data-event-opts="{{[['tap',[['gotoList',['$event']]]]]}}" class="right" bindtap="__e"><text data-event-opts="{{[['tap',[['gotoPage',['/pagesLive/live/index']]]]]}}" class="white" bindtap="__e">更多</text><text class="iconfont icon-jiantou mr20" style="font-size:24rpx;color:#999999;"></text></view></view><view class="list d-s-c f-w"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoDetail',['$0'],[[['itemData.data','',index]]]]]]]}}" class="item" bindtap="__e"><view class="pic pr"><block wx:if="{{item.$orig.live_status==101||item.$orig.live_status==102||item.$orig.live_status==104}}"><text class="{{['state',(item.$orig.live_status==101)?'bg101':'',(item.$orig.live_status==102)?'bg102':'',(item.$orig.live_status==104)?'bg103':'']}}">{{''+item.m0+''}}</text></block><image src="{{item.$orig.share.file_path}}" mode="aspectFit"></image><view class="anchor">{{item.$orig.anchor_name}}</view></view><view class="text-ellipsis f30 live_name tc">{{item.$orig.name}}</view></view></block></view></view></block>

View File

@ -0,0 +1 @@
.diy-live{margin:20rpx;border-radius:20rpx;background:#fff;overflow:hidden}.diy-live .diy-head{height:90rpx;align-items:center;background-size:100% 100%}.diy-live .diy-head .name{font-size:36rpx;font-weight:700;width:200rpx}.diy-live .list{padding:20rpx}.diy-live .list .item{width:246rpx;margin-right:20rpx;height:330rpx;background-color:#f6f6f6;border-radius:12rpx;overflow:hidden}.diy-live .list .item:nth-child(2n + 0){margin-right:0}.diy-live .list .item .pic{width:246rpx;height:246rpx}.diy-live .list .item .pic .state{position:absolute;z-index:90;top:20rpx;left:20rpx;padding:4rpx 8rpx;background:red;color:#fff;border-radius:8rpx}.diy-live .list .item .pic .state.bg101{background:red}.diy-live .list .item .pic .state.bg102{background:#ffb100}.diy-live .list .item .pic .state.bg103{background:#333}.diy-live .list .item image{width:246rpx;height:246rpx;border-radius:16rpx}.diy-live .anchor{position:absolute;bottom:12rpx;left:18rpx;font-size:24rpx;line-height:24rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/navBar/navBar"],{"03a5":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={data:function(){return{item_width:"25%"}},props:["itemData"],created:function(){this.item_width=100/Math.abs(this.itemData.style.rowsNum)+"%"},methods:{gotoDetail:function(t){this.gotoPage(t.linkUrl)}}};n.default=a},1153:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var a=function(){var t=this.$createElement;this._self._c},i=[]},"30e9":function(t,n,e){"use strict";e.r(n);var a=e("1153"),i=e("82f6");for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e("6955");var r=e("828b"),o=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=o.exports},6955:function(t,n,e){"use strict";var a=e("a59f"),i=e.n(a);i.a},"82f6":function(t,n,e){"use strict";e.r(n);var a=e("03a5"),i=e.n(a);for(var u in a)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(u);n["default"]=i.a},a59f:function(t,n,e){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/navBar/navBar-create-component',
{
'components/diy/navBar/navBar-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("30e9"))
})
},
[['components/diy/navBar/navBar-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<view><view class="diy-navbar" style="{{'background:'+(itemData.style.background)+';'}}"><block wx:for="{{itemData.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoDetail',['$0'],[[['itemData.data','',index]]]]]]]}}" class="item" style="{{('width:'+item_width+';')}}" bindtap="__e"><image src="{{item.imgUrl}}" mode="widthFix"></image><text class="gray3" style="{{'color:'+(item.color)+';'}}">{{item.text}}</text></view></block></view></view>

View File

@ -0,0 +1 @@
.diy-navbar{margin:20rpx;padding:20rpx 0;border-radius:6rpx;background:#fff;display:flex;justify-content:flex-start;flex-wrap:wrap}.diy-navbar .item{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:20rpx;width:120rpx;height:140rpx}.diy-navbar .item image{width:70rpx;height:70rpx}.diy-navbar .item text{display:block;text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden;line-height:66rpx;font-size:26rpx;text-align:center}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/notice/notice"],{"07c1":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{textData:"",n:0,textW:0,start:0,times:null}},props:["itemData"],created:function(){var t=this;this.textData=this.itemData.params.text,this.$nextTick((function(){t.init()})),this.horseRaceLamp()},beforeDestroy:function(){clearTimeout(this.times)},methods:{init:function(){var e=this;t.getSystemInfo({success:function(n){var i=t.createSelectorQuery().in(e).select(".transtext");i.boundingClientRect((function(t){var n=t.width;e.textW=0,e.start=2*n})).exec()}})},horseRaceLamp:function(){var t=this;t.times=setTimeout((function(){t.textW--,-1*t.textW>=t.start&&(t.textW=710),t.horseRaceLamp()}),10)},gotoPages:function(t){this.gotoPage(t.linkUrl)}}};e.default=n}).call(this,n("df3c")["default"])},1464:function(t,e,n){"use strict";n.r(e);var i=n("07c1"),a=n.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(c);e["default"]=a.a},"363d":function(t,e,n){},"77c3":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},a=[]},a7b0:function(t,e,n){"use strict";n.r(e);var i=n("77c3"),a=n("1464");for(var c in a)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(c);n("b8cb");var o=n("828b"),u=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=u.exports},b8cb:function(t,e,n){"use strict";var i=n("363d"),a=n.n(i);a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/notice/notice-create-component',
{
'components/diy/notice/notice-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("a7b0"))
})
},
[['components/diy/notice/notice-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<view data-event-opts="{{[['tap',[['gotoPages',['$0'],['item']]]]]}}" class="diy-notice" style="{{'padding:'+(itemData.style.paddingTop+'px'+' 10px')+';'+('background:'+(itemData.style.background)+';')}}" bindtap="__e"><view class="notice-icon"><image src="{{itemData.params.icon}}" mode="aspectFill"></image></view><view class="notice-text flex-1 text-ellipsisss"><view class="transtext" style="{{('color:'+itemData.style.textColor+';left:'+textW+'rpx')}}">{{textData+''}}</view></view></view>

View File

@ -0,0 +1 @@
.diy-notice{margin:20rpx;display:flex;justify-content:flex-start;align-items:center;border-radius:6rpx}.diy-notice .notice-icon{width:64rpx;height:64rpx;margin-right:20rpx}.diy-notice .notice-icon image{width:100%;height:100%}.diy-notice .notice-text{overflow:hidden;white-space:nowrap;position:relative;height:64rpx}.transtext{position:absolute;top:0;bottom:0;margin:auto;left:0;line-height:64rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/previewProduct/previewProduct"],{"438a":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var a=function(){var t=this,n=t.$createElement,e=(t._self._c,t.itemData.data.length),a=e>0?t.__map(t.itemData.data,(function(n,e){var a=t.__get_orig(n),o={startstamp:(new Date).valueOf()/1e3,endstamp:n.preview_time,title:" "};return{$orig:a,a0:o}})):null;t.$mp.data=Object.assign({},{$root:{g0:e,l0:a}})},o=[]},6336:function(t,n,e){},"8fb0":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={components:{Countdown:function(){e.e("components/countdown/countdown-act").then(function(){return resolve(e("acb8"))}.bind(null,e)).catch(e.oe)}},data:function(){return{countdownConfig:{startstamp:0,endstamp:0,title:" "}}},props:["itemData"],created:function(){this.countdownConfig.endstamp=this.itemData.data.end_time,this.countdownConfig.startstamp=this.itemData.data.start_time},methods:{scroll:function(t){},gotoList:function(){this.gotoPage("/pages/plus/preview/list")},gotoDetail:function(t){var n="/pages/product/detail/detail?product_id="+t;this.gotoPage(n)}}};n.default=a},"9b9f":function(t,n,e){"use strict";e.r(n);var a=e("438a"),o=e("db87");for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);e("f8fd");var u=e("828b"),r=Object(u["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=r.exports},db87:function(t,n,e){"use strict";e.r(n);var a=e("8fb0"),o=e.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(i);n["default"]=o.a},f8fd:function(t,n,e){"use strict";var a=e("6336"),o=e.n(a);o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/previewProduct/previewProduct-create-component',
{
'components/diy/previewProduct/previewProduct-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("9b9f"))
})
},
[['components/diy/previewProduct/previewProduct-create-component']]
]);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"countdown": "/components/countdown/countdown-act"
}
}

View File

@ -0,0 +1 @@
<block wx:if="{{$root.g0>0}}"><view class="diy-previewProduct"><view class="sharpproduct-head d-b-c" style="{{('background-image: url('+itemData.style.background_image+');')}}"><view class="left d-s-c"></view><view data-event-opts="{{[['tap',[['gotoList',['$event']]]]]}}" class="right d-e-c" bindtap="__e"><text class="white f26">更多</text><text class="iconfont icon-jiantou mr10"></text></view></view><view class="sharpproduct-body column__3" style="{{('background:'+itemData.style.background_color+';')}}"><scroll-view scroll-x="true"><view class="product-list"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoDetail',['$0'],[[['itemData.data','',index,'product_id']]]]]]]}}" class="product-item bg-white" bindtap="__e"><view class="datetime d-s-s" style="{{('background:'+itemData.style.countdown_back_color+';')}}"><view class="top_image"><image src="{{itemData.style.top_image}}" mode="aspectFit"></image></view><countdown vue-id="{{'dc34da06-1-'+index}}" activeName="previewProduct" back_color="none" color="{{itemData.style.countdown_color}}" cut_color="{{itemData.style.countdown_color}}" config="{{item.a0}}" start_name="距开始:" end_name="距开始:" bind:__l="__l"></countdown></view><view class="d-b-c p10"><view class="product-info flex-1"><view style="{{'color:'+(itemData.style.color)+';'}}"><text class="f18">¥</text><text class="f22">{{item.$orig.product_price}}</text><text class="f22">起</text></view><view class="f20 text-ellipsis">{{item.$orig.product_name}}</view><view class="gray9 f18 text-d-line">{{"¥"+item.$orig.line_price}}</view></view><view class="product-cover"><image src="{{item.$orig.product_image}}" mode="aspectFit"></image></view></view></view></block></view></scroll-view></view></view></block>

View File

@ -0,0 +1 @@
.diy-previewProduct{margin:20rpx 20rpx;border-radius:6rpx;overflow:hidden;box-shadow:0 8rpx 3rpx 0 rgba(6,0,1,.03)}[data-theme="theme0"] .diy-previewProduct{background:linear-gradient(180deg,#f4dcd2,#fff)!important}[data-theme="theme1"] .diy-previewProduct{background:linear-gradient(180deg,rgba(255,76,1,.15),#fff)!important}[data-theme="theme2"] .diy-previewProduct{background:linear-gradient(180deg,rgba(255,204,0,.15),#fff)!important}[data-theme="theme3"] .diy-previewProduct{background:linear-gradient(180deg,rgba(23,116,255,.15),#fff)!important}[data-theme="theme4"] .diy-previewProduct{background:linear-gradient(180deg,#fff,#fff)!important}[data-theme="theme5"] .diy-previewProduct{background:linear-gradient(180deg,#ebe8de,#fff)!important}[data-theme="theme6"] .diy-previewProduct{background:linear-gradient(180deg,rgba(98,60,235,.15),#fff)!important}.diy-previewProduct .sharpproduct-head{height:90rpx;color:#000;background-size:100% 100%}.diy-previewProduct .name{width:200rpx}.diy-previewProduct .sharpproduct-head .name{font-size:32rpx;font-weight:700}.diy-previewProduct .product-item .datetime text{font-size:18rpx}.diy-previewProduct .product-item .datetime .box{padding:0;font-size:18rpx;background:none}.diy-previewProduct .product-item .datetime .daybox{padding:0;font-size:18rpx;background:none}.diy-previewProduct .product-item .datetime .countdown{border:none;padding:0;font-size:18rpx;white-space:nowrap}.diy-previewProduct .sharpproduct-head .icon-jiantou{margin-left:8rpx;color:#fff;font-size:22rpx}.diy-previewProduct .product-list .product-item{overflow:hidden;flex-shrink:0}.diy-previewProduct .product-list .product-cover image{width:100%;height:100%;background-color:#f4f4f4;border-radius:12rpx}.diy-previewProduct .product-list .price{font-size:20rpx;color:#ff4c01;line-height:26rpx;padding-top:16rpx;padding-bottom:8rpx}.diy-previewProduct .product-list .product-title{margin-top:10rpx;height:24rpx;line-height:24rpx;display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical;font-size:22rpx}.diy-previewProduct .column__3 .product-list .product-title{font-size:22rpx}.diy-previewProduct .column__3 .product-list{display:flex;justify-content:flex-start;max-height:370rpx;flex-direction:column;padding:0 20rpx;align-items:flex-start}.diy-previewProduct .column__3 .product-item{width:300rpx;margin-right:20rpx;border-radius:15rpx;overflow:hidden;margin-bottom:20rpx}.diy-previewProduct .column__3 .product-cover{width:88rpx;height:88rpx;margin:0 auto;margin-bottom:16rpx;border-radius:12rpx;overflow:hidden}.diy-assembleproduct .product-list{flex-wrap:nowrap}.top_image{width:102rpx;height:38rpx;margin-right:5rpx}.top_image image{width:102rpx;height:38rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/product/product"],{"1a1a":function(t,n,e){"use strict";e.r(n);var u=e("f400"),o=e("f913");for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);e("8d1d");var c=e("828b"),i=Object(c["a"])(o["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);n["default"]=i.exports},"614b":function(t,n,e){},"8d1d":function(t,n,e){"use strict";var u=e("614b"),o=e.n(u);o.a},"9e72":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={components:{},data:function(){return{}},props:["itemData"],created:function(){},methods:{scroll:function(t){},gotoDetail:function(t){var n="/pages/product/detail/detail?product_id="+t;this.gotoPage(n)}}}},f400:function(t,n,e){"use strict";e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var u=function(){var t=this.$createElement;this._self._c},o=[]},f913:function(t,n,e){"use strict";e.r(n);var u=e("9e72"),o=e.n(u);for(var a in u)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(a);n["default"]=o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/product/product-create-component',
{
'components/diy/product/product-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("1a1a"))
})
},
[['components/diy/product/product-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="diy-product" style="{{'background:'+(itemData.style.background)+';'}}"><view class="{{['display__'+itemData.style.display]}}"><block wx:if="{{itemData.style.display=='list'}}"><view class="{{['product-list','column__'+itemData.style.column]}}"><block wx:for="{{itemData.data}}" wx:for-item="product" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoDetail',['$0'],[[['itemData.data','',index,'product_id']]]]]]]}}" class="product-item" bindtap="__e"><block wx:if="{{itemData.style.column==1}}"><view class="product-item-box"><view class="product-cover"><image src="{{product.image}}" mode="aspectFill"></image></view><view class="product-info"><block wx:if="{{itemData.style.show.productName}}"><view class="product-title"><text>{{product.product_name}}</text></view></block><block wx:if="{{itemData.style.show.sellingPoint}}"><view class="selling-point gray9"><text>{{product.selling_point}}</text></view></block><block wx:if="{{itemData.style.show.productSales}}"><view class="already-sale"><text>{{"已售"+product.product_sales+"件"}}</text></view></block><view class="price d-s-c mt10"><block wx:if="{{itemData.style.show.productPrice}}"><view class="theme-price"><text>¥</text><text>{{product.product_price}}</text></view></block><block wx:if="{{itemData.style.show.linePrice&&product.line_price>0}}"><view class="ml10 gray9 text-d-line f28"><text>¥</text><text>{{product.line_price}}</text></view></block></view></view></view></block><block wx:else><view class="product-cover"><image src="{{product.image}}" mode="aspectFill"></image></view><view class="product-info"><block wx:if="{{itemData.style.show.productName==1}}"><view class="product-title">{{''+product.product_name}}</view></block><view class="price d-s-c"><block wx:if="{{itemData.style.show.productPrice==1}}"><view class="theme-price"><text class="f22">¥</text><text>{{product.product_price}}</text></view></block><block wx:if="{{itemData.style.show.linePrice==1&&product.line_price>0}}"><view class="ml20 gray9 text-d-line"><text class="f22">¥</text>{{product.line_price}}</view></block></view></view></block></view></block></view></block><block wx:else><scroll-view scroll-top="{{scrollTop}}" scroll-x="true"><view class="{{['product-list','column__'+itemData.style.column]}}"><block wx:for="{{itemData.data}}" wx:for-item="product" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoDetail',['$0'],[[['itemData.data','',index,'product_id']]]]]]]}}" bindtap="__e"><view class="product-item"><view class="product-cover"><image src="{{product.image}}" mode="aspectFill"></image></view><view class="product-info"><block wx:if="{{itemData.style.show.productName==1}}"><view class="product-title">{{''+product.product_name}}</view></block><view class="price d-s-c f12"><block wx:if="{{itemData.style.show.productPrice==1}}"><view class="theme-price"><text>¥</text><text>{{product.product_price}}</text></view></block><block wx:if="{{itemData.style.show.linePrice==1&&product.line_price>0}}"><view class="ml10 gray9 text-d-line">{{'¥'+product.line_price}}</view></block></view></view></view></view></block></view></scroll-view></block></view></view>

View File

@ -0,0 +1,2 @@
.diy-product{padding:0 20rpx}.diy-product .product-list.column__1 .product-item{margin-bottom:20rpx;background:#fff;width:100%}.diy-product .product-list.column__1 .product-item-box{display:flex;justify-content:flex-start;align-items:stretch}.diy-product .product-list .product-cover image{width:100%;height:100%}.diy-product .product-list.column__1 .product-cover{width:240rpx;height:240rpx;border-radius:20rpx;overflow:hidden}.diy-product .product-list.column__1 .product-info{margin:20rpx 20rpx 20rpx 30rpx;flex:1;display:flex;flex-direction:column;justify-content:space-between}.diy-product .product-list .product-info .already-sale text{padding:4rpx 8rpx;border-radius:8rpx;background:#f2f2f7;color:#999}.diy-product .product-list .product-title{display:-webkit-box;font-size:32rpx;overflow:hidden;word-wrap:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical}.diy-product .product-list.column__1 .product-title{max-height:80rpx;line-height:40rpx}.diy-product .product-list.column__1 .selling-point{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:30rpx;max-height:60rpx}.diy-product .product-list.column__1 .already-sale{margin-top:10rpx}.diy-product .product-list.column__2 .product-title{height:80rpx;line-height:40rpx;margin-top:20rpx;font-size:26rpx;margin-bottom:20rpx}.diy-product .product-list.column__3 .product-title{margin-top:20rpx;margin-left:10rpx;margin-right:10rpx;height:72rpx;line-height:36rpx;font-size:30rpx}.diy-product .product-list.column__2 .product-info{padding:0 24rpx}.diy-product .product-list .price{font-size:34rpx}.diy-product .product-list.column__2 .price{margin-top:10rpx;font-size:30rpx}.diy-product .product-list.column__3 .price{margin-top:10rpx;padding:0 10rpx;font-size:28rpx}.diy-product .product-list.column__3 .price .text-d-line{font-size:22rpx}.diy-product .product-list.column__2,
.diy-product .product-list.column__3{display:flex;flex-wrap:wrap;justify-content:flex-start}.diy-product .column__2 .product-item{width:345rpx;margin-right:20rpx;margin-bottom:20rpx;padding-bottom:20rpx;overflow:hidden;background:#fff;box-shadow:0 8rpx 3rpx 0 rgba(6,0,1,.03);border-radius:12rpx}.diy-product .display__list .column__2 .product-item:nth-child(2n + 0){margin-right:0}.diy-product .column__2 .product-cover{width:220rpx;height:220rpx;border-radius:12rpx;margin:20rpx auto}.diy-product .column__3 .product-item{width:230rpx;margin-bottom:10rpx;margin-right:10rpx;padding-bottom:10rpx;border-radius:8rpx;overflow:hidden;background:#fff;box-shadow:0 0 8rpx rgba(0,0,0,.1)}.diy-product .display__list .column__3 .product-item:nth-child(3n + 0){margin-right:0}.diy-product .column__3 .product-cover{width:230rpx;height:230rpx}.diy-product .display__slide .product-list{flex-wrap:nowrap}.diy-product .display__slide .column__2 .product-item{width:300rpx}.diy-product .display__slide .column__3 .product-item{width:200rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/richText/richText"],{"1bae":function(t,n,e){"use strict";e.r(n);var a=e("ec3d"),r=e.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);n["default"]=r.a},"21b1":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){}));var a=function(){var t=this.$createElement,n=(this._self._c,this.formatContent(this.itemData.params.content));this.$mp.data=Object.assign({},{$root:{m0:n}})},r=[]},ce7a:function(t,n,e){"use strict";e.r(n);var a=e("21b1"),r=e("1bae");for(var o in r)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(o);var u=e("828b"),c=Object(u["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=c.exports},ec3d:function(t,n,e){"use strict";var a=e("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=a(e("74c1")),o={data:function(){return{}},props:["itemData"],created:function(){},methods:{formatContent:function(t){return r.default.format_content(t)}}};n.default=o}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/richText/richText-create-component',
{
'components/diy/richText/richText-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("ce7a"))
})
},
[['components/diy/richText/richText-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<view><view class="diy-richText" style="{{'background:'+(itemData.style.background)+';'+('padding:'+(itemData.style.paddingTop+'px '+itemData.style.paddingLeft+'px')+';')}}"><rich-text nodes="{{$root.m0}}"></rich-text></view></view>

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/search/search"],{"0249":function(t,n,e){"use strict";e.r(n);var a=e("b284"),u=e.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(r);n["default"]=u.a},"113f":function(t,n,e){"use strict";var a=e("a849"),u=e.n(a);u.a},"1ae7":function(t,n,e){"use strict";e.r(n);var a=e("ef56"),u=e("0249");for(var r in u)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(r);e("113f");var c=e("828b"),o=Object(c["a"])(u["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=o.exports},a849:function(t,n,e){},b284:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={data:function(){return{}},props:["itemData"],methods:{gotoSearch:function(){this.gotoPage("/pages/product/search/search")}}}},ef56:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var a=function(){var t=this.$createElement;this._self._c},u=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/search/search-create-component',
{
'components/diy/search/search-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("1ae7"))
})
},
[['components/diy/search/search-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="index-search-box" id="searchBox"><view data-event-opts="{{[['tap',[['gotoSearch',['$event']]]]]}}" class="{{['index-search','diy-search','t-c','diy-search-style-'+itemData.style.searchStyle+' diy-search-textAlign-'+itemData.style.textAlign]}}" bindtap="__e"><label class="icon iconfont icon-sousuo _span"></label><text class="ml10">{{itemData.params.placeholder}}</text></view></view>

View File

@ -0,0 +1 @@
.diy-search-style-6{border-radius:16rpx}.diy-search-style-9{border-radius:50rpx}.diy-search-textAlign-3{justify-content:flex-start}.diy-search-textAlign-6{justify-content:center}.diy-search-textAlign-9{justify-content:flex-end}.diy-search .svg-icon{margin-right:10rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/seckillProduct/seckillProduct"],{"0a1b":function(t,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={components:{Countdown:function(){o.e("components/countdown/countdown-act").then(function(){return resolve(o("acb8"))}.bind(null,o)).catch(o.oe)}},data:function(){return{countdownConfig:{startstamp:0,endstamp:0,title:" "}}},props:["itemData"],created:function(){this.countdownConfig.endstamp=this.itemData.data.end_time,this.countdownConfig.startstamp=this.itemData.data.start_time},methods:{scroll:function(t){},gotoList:function(){this.gotoPage("/pages/plus/seckill/list/list")},gotoDetail:function(t){var n="/pages/product/detail/detail?product_id="+t;this.gotoPage(n)}}};n.default=e},"4f20":function(t,n,o){"use strict";o.r(n);var e=o("c946"),a=o("d32f");for(var i in a)["default"].indexOf(i)<0&&function(t){o.d(n,t,(function(){return a[t]}))}(i);o("64b5");var c=o("828b"),u=Object(c["a"])(a["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=u.exports},"64b5":function(t,n,o){"use strict";var e=o("6e9c"),a=o.n(e);a.a},"6e9c":function(t,n,o){},c946:function(t,n,o){"use strict";o.d(n,"b",(function(){return e})),o.d(n,"c",(function(){return a})),o.d(n,"a",(function(){}));var e=function(){var t=this.$createElement,n=(this._self._c,this.itemData.data.product_list.length);this.$mp.data=Object.assign({},{$root:{g0:n}})},a=[]},d32f:function(t,n,o){"use strict";o.r(n);var e=o("0a1b"),a=o.n(e);for(var i in e)["default"].indexOf(i)<0&&function(t){o.d(n,t,(function(){return e[t]}))}(i);n["default"]=a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/seckillProduct/seckillProduct-create-component',
{
'components/diy/seckillProduct/seckillProduct-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("4f20"))
})
},
[['components/diy/seckillProduct/seckillProduct-create-component']]
]);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"countdown": "/components/countdown/countdown-act"
}
}

View File

@ -0,0 +1 @@
<block wx:if="{{$root.g0>0}}"><view class="diy-seckillProduct"><view class="sharpproduct-head d-b-c" style="{{('background-image: url('+itemData.style.background_image+');')}}"><view class="left d-s-c"><view class="name d-c-c"></view><view class="datetime d-s-c ml20"><countdown vue-id="80de6fc6-1" back_color="{{itemData.style.countdown_back_color}}" color="{{itemData.style.color}}" cut_color="{{itemData.style.countdown_color}}" config="{{countdownConfig}}" bind:__l="__l"></countdown></view></view><view data-event-opts="{{[['tap',[['gotoList',['$event']]]]]}}" class="right d-e-c" bindtap="__e"><text class="gray3 f26">更多</text><text class="iconfont icon-jiantou mr10"></text></view></view><view class="sharpproduct-body column__3"><scroll-view scroll-x="true"><view class="product-list"><block wx:for="{{itemData.data.product_list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoDetail',['$0'],[[['itemData.data.product_list','',index,'product_id']]]]]]]}}" class="product-item" bindtap="__e"><view class="product-cover"><image src="{{item.product.file_path}}" mode="aspectFit"></image></view><view class="product-info p-0-10"><block wx:if="{{itemData.style.show.seckillPrice==true}}"><view class="theme-price mb10"><text class="f18 fb">¥</text><text class="f26 fb">{{item.seckill_price}}</text></view></block><block wx:if="{{itemData.style.show.linePrice==true}}"><view class="gray9 f20 text-d-line">{{'¥'+item.product_price}}</view></block></view></view></block></view></scroll-view></view></view></block>

View File

@ -0,0 +1 @@
.diy-seckillProduct{margin:20rpx 20rpx;border-radius:6rpx;overflow:hidden;box-shadow:0 8rpx 3rpx 0 rgba(6,0,1,.03)}[data-theme="theme0"] .diy-seckillProduct{background:linear-gradient(180deg,#f4dcd2,#fff)!important}[data-theme="theme1"] .diy-seckillProduct{background:linear-gradient(180deg,rgba(255,76,1,.15),#fff)!important}[data-theme="theme2"] .diy-seckillProduct{background:linear-gradient(180deg,rgba(255,204,0,.15),#fff)!important}[data-theme="theme3"] .diy-seckillProduct{background:linear-gradient(180deg,rgba(23,116,255,.15),#fff)!important}[data-theme="theme4"] .diy-seckillProduct{background:linear-gradient(180deg,#fff,#fff)!important}[data-theme="theme5"] .diy-seckillProduct{background:linear-gradient(180deg,#ebe8de,#fff)!important}[data-theme="theme6"] .diy-seckillProduct{background:linear-gradient(180deg,rgba(98,60,235,.15),#fff)!important}.diy-seckillProduct .sharpproduct-head{height:90rpx;color:#000;background-size:100% 100%}.diy-seckillProduct .name{width:200rpx}.diy-seckillProduct .sharpproduct-body{padding:0 20rpx}.diy-seckillProduct .sharpproduct-head .name{font-size:32rpx;font-weight:700}.diy-seckillProduct .sharpproduct-head .datetime text{font-size:24rpx;color:#fff}.diy-seckillProduct .sharpproduct-head .datetime .box{padding:4rpx 10rpx;font-size:22rpx;background:#ffebeb;color:#ee1413}.diy-seckillProduct .sharpproduct-head .icon-jiantou{margin-left:8rpx;color:#333;font-size:22rpx}.diy-seckillProduct .product-list .product-item{overflow:hidden;flex-shrink:0}.diy-seckillProduct .product-list .product-cover image{width:100%;height:100%;background-color:#f4f4f4;border-radius:12rpx}.diy-seckillProduct .product-list .price{font-size:20rpx;color:#f01a1a;line-height:26rpx;padding-top:16rpx;padding-bottom:8rpx}.diy-seckillProduct .product-list .product-title{margin-top:26rpx;height:30rpx;line-height:30rpx;display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical;font-size:30rpx}.diy-seckillProduct .column__3 .product-list .product-title{font-size:28rpx}.diy-seckillProduct .column__3 .product-list{display:flex;flex-wrap:nowrap;justify-content:flex-start}.diy-seckillProduct .column__3 .product-item{width:132rpx;margin-right:46rpx;border-radius:6rpx;overflow:hidden;margin-top:20rpx;padding-bottom:16rpx}.diy-seckillProduct .column__3 .product-cover{width:132rpx;height:132rpx;margin:0 auto;margin-bottom:16rpx}.diy-assembleproduct .product-list{flex-wrap:nowrap}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/service/service"],{"0638":function(n,t,e){},"07fe":function(n,t,e){"use strict";e.r(t);var u=e("2bd92"),a=e.n(u);for(var i in u)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(i);t["default"]=a.a},"2bd92":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={data:function(){return{}},props:["itemData"],methods:{callPhone:function(){n.makePhoneCall({phoneNumber:this.itemData.params.phone_num})}}};t.default=e}).call(this,e("df3c")["default"])},7988:function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var u=function(){var n=this.$createElement;this._self._c},a=[]},"843e":function(n,t,e){"use strict";e.r(t);var u=e("7988"),a=e("07fe");for(var i in a)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(i);e("9644");var r=e("828b"),c=Object(r["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);t["default"]=c.exports},9644:function(n,t,e){"use strict";var u=e("0638"),a=e.n(u);a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/service/service-create-component',
{
'components/diy/service/service-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("843e"))
})
},
[['components/diy/service/service-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<view class="diy-service drag optional drag__nomove" style="{{'right:'+(itemData.style.right+'%')+';'+('bottom:'+(itemData.style.bottom+'%')+';')+('opacity:'+(itemData.style.opacity/100)+';')}}"><block wx:if="{{itemData.params.type=='chat'}}"><button class="service-icon" open-type="contact" session-from="wxapp"><image src="{{itemData.params.image}}" mode="aspectFill"></image></button></block><block wx:if="{{itemData.params.type=='phone'}}"><view data-event-opts="{{[['tap',[['callPhone',['$event']]]]]}}" class="service-icon" bindtap="__e"><image src="{{itemData.params.image}}" mode="aspectFill"></image></view></block></view>

View File

@ -0,0 +1 @@
.diy-service{position:fixed;width:120rpx;height:120rpx;z-index:90;right:0;bottom:0}.diy-service .service-icon{width:120rpx;height:120rpx}.diy-service button.service-icon{padding:0;background:none}.diy-service .service-icon image{width:100%;height:100%}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/special/special"],{6858:function(t,i,e){"use strict";e.r(i);var n=e("d46b"),a=e.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(s);i["default"]=a.a},cacb:function(t,i,e){"use strict";e.r(i);var n=e("cb49"),a=e("6858");for(var s in a)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(s);e("e6c5");var l=e("828b"),u=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);i["default"]=u.exports},cb49:function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var n=function(){var t=this.$createElement,i=(this._self._c,this.listData.length);this.$mp.data=Object.assign({},{$root:{g0:i}})},a=[]},d46b:function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e={data:function(){return{listData:[],styleValue:"",index_num:0,lineHeight:0,maxSize:0,timer:null}},props:["itemData"],created:function(){this.listData=this.itemData.data,this.init()},methods:{init:function(){var i=this;(1==this.itemData.style.display&&this.listData.length>1||2==this.itemData.style.display&&this.listData.length>2)&&t.getSystemInfo({success:function(t){i.lineHeight=t.windowWidth/750*30,i.maxSize=i.listData.length,2==i.itemData.style.display&&(i.lineHeight=2*i.lineHeight,i.maxSize=i.maxSize/2),i.timer=setInterval((function(){i.animation()}),3e3)}})},animation:function(){this.index_num++,this.index_num>=this.maxSize&&(this.index_num=0),this.styleValue=-this.lineHeight*this.index_num},gotoPageFunc:function(t){var i=null;i=t&&"undefined"!=typeof t?"pages/article/detail/detail?article_id="+t.article_id:"pages/article/list/list",this.gotoPage(i)}}};i.default=e}).call(this,e("df3c")["default"])},dd7a:function(t,i,e){},e6c5:function(t,i,e){"use strict";var n=e("dd7a"),a=e.n(n);a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/special/special-create-component',
{
'components/diy/special/special-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("cacb"))
})
},
[['components/diy/special/special-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<block wx:if="{{$root.g0>0}}"><view class="diy-special"><view class="special-left"><image src="{{itemData.style.image}}" mode="aspectFill"></image></view><view class="right-shadow"></view><view class="{{['special-content','display_'+itemData.style.display]}}"><view class="special-content-list" style="{{('transform: translate(0,'+styleValue+'px);')}}"><block wx:for="{{listData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoPageFunc',['$0'],[[['listData','',index]]]]]]]}}" class="content-item text-ellipsis" bindtap="__e"><text>{{item.article_title}}</text></view></block></view></view><view data-event-opts="{{[['tap',[['gotoPageFunc']]]]}}" class="special-more" bindtap="__e"><text class="iconfont icon-jiantou"></text></view></view></block>

View File

@ -0,0 +1 @@
.diy-special{background-color:#fff;padding:0 20rpx 0 24rpx;margin:20rpx;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.diy-special .special-left{width:136rpx;height:33rpx}.diy-special .special-left image{width:100%;height:100%}.diy-special .special-more .icon-jiantou{font-size:24rpx}.diy-special .special-content{flex:1;margin:0 20rpx;overflow:hidden}.diy-special .special-content-list{transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s}.diy-special .content-item{height:30rpx;line-height:30rpx}.diy-special .special-content.display_1{height:30rpx}.diy-special .special-content.display_2{height:60rpx}.right-shadow{width:15rpx;height:90rpx;background:linear-gradient(90deg,#e4e4e4,hsla(0,0%,100%,0));margin-left:30rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/store/store"],{2221:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var o=function(){var t=this.$createElement;this._self._c},u=[]},"567c":function(t,n,e){"use strict";e.r(n);var o=e("2221"),u=e("c883");for(var a in u)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(a);e("9346");var i=e("828b"),r=Object(i["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=r.exports},"5bab":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={data:function(){return{}},props:["itemData"],methods:{gotoDetail:function(t){var n="pages/store/detail/detail?store_id="+t;this.gotoPage(n)}}}},9346:function(t,n,e){"use strict";var o=e("e4d6"),u=e.n(o);u.a},c883:function(t,n,e){"use strict";e.r(n);var o=e("5bab"),u=e.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);n["default"]=u.a},e4d6:function(t,n,e){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/store/store-create-component',
{
'components/diy/store/store-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("567c"))
})
},
[['components/diy/store/store-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<view class="diy-store" style="{{'background:'+(itemData.style.background)+';'}}"><view class="diy-head d-b-c"><view class="left d-s-c"><view class="name">线下门店</view></view></view><block wx:for="{{itemData.data}}" wx:for-item="store" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoDetail',['$0'],[[['itemData.data','',index,'store_id']]]]]]]}}" class="store-item d-s-c p-30-0" bindtap="__e"><view class="store-item-logo mr30"><image src="{{store.logo_image}}" mode="aspectFill"></image></view><view class="flex-1 o-h"><view class="ww100 f34 gray3 text-ellipsis"><text>{{store.store_name}}</text></view><view class="text-ellipsis mt10 f24 gray3">{{"门店地址:"+store.region.province+store.region.city+store.region.region+store.address}}</view><view class="mt10 f24"><text>{{"联系电话:"+store.phone}}</text></view></view></view></block></view>

View File

@ -0,0 +1,2 @@
.diy-store{margin:20rpx;border-radius:20rpx;padding:0 20rpx 20rpx;background:#fff;box-shadow:0 0 8rpx rgba(0,0,0,.1)}.diy-store .diy-head{height:100rpx}.diy-store .diy-head .name{font-size:36rpx;font-weight:700}.diy-store .store-item{border-top:1rpx solid #eee}.diy-store .store-item-logo,
.diy-store .store-item-logo image{width:120rpx;height:120rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/title/title"],{"05af":function(t,n,e){"use strict";e.r(n);var u=e("1478"),i=e("d1fd");for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);e("b57c");var f=e("828b"),a=Object(f["a"])(i["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);n["default"]=a.exports},1478:function(t,n,e){"use strict";e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var u=function(){var t=this.$createElement;this._self._c},i=[]},"4b09":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={data:function(){return{}},props:["itemData"],created:function(){},methods:{gotoPages:function(t){this.gotoPage(t.linkUrl)}}}},"937f":function(t,n,e){},b57c:function(t,n,e){"use strict";var u=e("937f"),i=e.n(u);i.a},d1fd:function(t,n,e){"use strict";e.r(n);var u=e("4b09"),i=e.n(u);for(var o in u)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(o);n["default"]=i.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/title/title-create-component',
{
'components/diy/title/title-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("05af"))
})
},
[['components/diy/title/title-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<view data-event-opts="{{[['tap',[['gotoPages',['$0'],['item']]]]]}}" class="diy-notice pr" style="{{'padding:'+(itemData.style.paddingTop+'px'+' 10px')+';'+('background:'+(itemData.style.background)+';')}}" bindtap="__e"><block wx:if="{{itemData.params.show_icon=='yes'}}"><view class="notice-icon pr" style="{{'background:'+(itemData.style.background)+';'}}"><image src="{{itemData.params.icon}}" mode="aspectFill"></image></view></block><text class="pr notice-text text-ellipsisss f38 fb" style="{{'background:'+(itemData.style.background)+';'+('color:'+(itemData.style.textColor)+';')}}">{{''+itemData.params.title+''}}</text><view class="center-line"></view></view>

View File

@ -0,0 +1 @@
.diy-notice{display:flex;justify-content:center;align-items:center}.diy-notice .notice-icon{width:26px;height:26px;background-color:#fff;padding:0 10rpx;z-index:1}.diy-notice .notice-icon image{width:100%;height:100%}.diy-notice .notice-text{overflow:hidden;white-space:nowrap;background-color:#fff;padding:0 10rpx;z-index:1}.center-line{width:490rpx;height:2rpx;background-color:#c7c7c7;border-radius:2rpx;position:absolute;left:0;bottom:0;top:0;right:0;margin:auto;z-index:0}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/videos/videos"],{"1f4a":function(n,t,e){"use strict";e.r(t);var u=e("a030"),a=e.n(u);for(var i in u)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(i);t["default"]=a.a},6176:function(n,t,e){"use strict";var u=e("bc08"),a=e.n(u);a.a},"80f2":function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var u=function(){var n=this.$createElement;this._self._c},a=[]},a030:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={data:function(){return{}},props:["itemData"],methods:{}}},bc08:function(n,t,e){},ea22:function(n,t,e){"use strict";e.r(t);var u=e("80f2"),a=e("1f4a");for(var i in a)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(i);e("6176");var f=e("828b"),o=Object(f["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);t["default"]=o.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/videos/videos-create-component',
{
'components/diy/videos/videos-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("ea22"))
})
},
[['components/diy/videos/videos-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="diy-video" style="{{'padding:'+(itemData.style.paddingTop+'px 20rpx')+';'}}"><video style="{{'height:'+(itemData.style.height*2+'rpx')+';'}}" src="{{itemData.params.videoUrl}}" poster="{{itemData.params.poster}}" autoplay="{{itemData.params.autoplay=='1'}}" controls="{{true}}" objectFit="contain"></video></view>

View File

@ -0,0 +1,2 @@
.diy-video uni-video,
.diy-video video{width:100%;border-radius:12rpx}.diy-video video{display:block}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy/window/window"],{1318:function(t,n,a){"use strict";var e=a("3bd6"),i=a.n(e);i.a},"2cf5":function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={data:function(){return{}},props:["itemData"],methods:{gotoPages:function(t){this.gotoPage(t.linkUrl)}}}},"3bd6":function(t,n,a){},7485:function(t,n,a){"use strict";a.d(n,"b",(function(){return e})),a.d(n,"c",(function(){return i})),a.d(n,"a",(function(){}));var e=function(){var t=this.$createElement,n=(this._self._c,this.itemData.style.layout>-1?null:this.itemData.data.length),a=this.itemData.style.layout>-1?null:this.itemData.data.length,e=this.itemData.style.layout>-1?null:this.itemData.data.length;this.$mp.data=Object.assign({},{$root:{g0:n,g1:a,g2:e}})},i=[]},"9ca5":function(t,n,a){"use strict";a.r(n);var e=a("7485"),i=a("c8de");for(var u in i)["default"].indexOf(u)<0&&function(t){a.d(n,t,(function(){return i[t]}))}(u);a("1318");var o=a("828b"),l=Object(o["a"])(i["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=l.exports},c8de:function(t,n,a){"use strict";a.r(n);var e=a("2cf5"),i=a.n(e);for(var u in e)["default"].indexOf(u)<0&&function(t){a.d(n,t,(function(){return e[t]}))}(u);n["default"]=i.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy/window/window-create-component',
{
'components/diy/window/window-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("9ca5"))
})
},
[['components/diy/window/window-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="diy-window" style="{{'background:'+(itemData.style.background)+';'+('padding:'+(itemData.style.paddingTop+'px '+itemData.style.paddingLeft+'px')+';')}}"><block wx:if="{{itemData.style.layout>-1}}"><view class="{{['data-list','column__'+itemData.style.layout]}}"><block wx:for="{{itemData.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoPages',['$0'],[[['itemData.data','',index]]]]]]]}}" class="item" bindtap="__e"><view class="item-image" style="{{'padding:'+(itemData.style.paddingTop+'px '+itemData.style.paddingLeft+'px')+';'}}"><image src="{{item.imgUrl}}" mode="aspectFill"></image></view></view></block></view></block><block wx:else><view class="display" style="{{'padding:'+(itemData.style.paddingTop+'px '+itemData.style.paddingLeft+'px')+';'}}"><view class="img-box-wrap-1"><view data-event-opts="{{[['tap',[['gotoPages',['$0'],['itemData.data.__$n0']]]]]}}" class="img-box" bindtap="__e"><image src="{{itemData.data[0].imgUrl}}" mode="aspectFill"></image></view></view><view class="percent-w50 d-s-c d-c"><block wx:if="{{$root.g0>=2}}"><view class="img-box-wrap-2"><view data-event-opts="{{[['tap',[['gotoPages',['$0'],['itemData.data.__$n1']]]]]}}" class="img-box" bindtap="__e"><image src="{{itemData.data[1].imgUrl}}" mode="aspectFill"></image></view></view></block><view class="d-s-c img-box-wrap-3"><block wx:if="{{$root.g1>=3}}"><view class="img-box-wrap-4"><view data-event-opts="{{[['tap',[['gotoPages',['$0'],['itemData.data.__$n2']]]]]}}" class="img-box" bindtap="__e"><image src="{{itemData.data[2].imgUrl}}" mode="aspectFill"></image></view></view></block><block wx:if="{{$root.g2>=4}}"><view class="img-box-wrap-4"><view data-event-opts="{{[['tap',[['gotoPages',['$0'],['itemData.data.__$n3']]]]]}}" class="img-box" bindtap="__e"><image src="{{itemData.data[3].imgUrl}}" mode="aspectFill"></image></view></view></block></view></view></view></block></view>

View File

@ -0,0 +1,2 @@
.diy-window{margin:20rpx;border-radius:20rpx;overflow:hidden;box-shadow:0 0 8rpx rgba(0,0,0,.1)}.diy-window .data-list{display:flex;flex-wrap:wrap}.diy-window image{width:100%;height:100%}.diy-window .data-list.column__2 .item{width:50%}.diy-window .data-list.column__3 .item{width:33.333333333333%}.diy-window .data-list.column__4 .item{width:25%}.diy-window .data-list.column__2 .item{position:relative;padding-top:50%}.diy-window .data-list.column__3 .item{position:relative;padding-top:33.3333333%}.diy-window .data-list.column__4 .item{position:relative;padding-top:25%}.diy-window .data-list .item .item-image,
.diy-window .display .img-box{position:absolute;box-sizing:border-box;top:0;left:0;width:100%;height:100%}.diy-window .display{display:flex}.diy-window .display .img-box-wrap-1{position:relative;width:50%;padding-top:50%}.diy-window .display .img-box-wrap-2{position:relative;width:100%;height:50%}.diy-window .display .percent-w50{box-sizing:border-box;width:50%}.diy-window .display .img-box .item-image{height:100%}.diy-window .display .img-box-wrap-3{width:100%;height:50%}.diy-window .display .img-box-wrap-4{position:relative;width:50%;height:100%}