第一次提交
This commit is contained in:
0
unpackage/dist/build/.automator/mp-weixin/.automator.json
vendored
Normal file
0
unpackage/dist/build/.automator/mp-weixin/.automator.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/app.js
vendored
Normal file
4
unpackage/dist/build/mp-weixin/app.js
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
require('./common/runtime.js')
|
||||
require('./common/vendor.js')
|
||||
require('./common/main.js')
|
||||
173
unpackage/dist/build/mp-weixin/app.json
vendored
Normal file
173
unpackage/dist/build/mp-weixin/app.json
vendored
Normal file
@ -0,0 +1,173 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/product/category",
|
||||
"pages/login/login",
|
||||
"pages/login/mplogin",
|
||||
"pages/login/bindmobile",
|
||||
"pages/cart/cart",
|
||||
"pages/user/userinfo/userinfo",
|
||||
"pages/product/list/list",
|
||||
"pages/product/detail/detail",
|
||||
"pages/order/confirm-order",
|
||||
"pages/user/address/address",
|
||||
"pages/user/index/index",
|
||||
"pages/order/myorder",
|
||||
"pages/order/order-detail",
|
||||
"pages/user/my-wallet/my-wallet",
|
||||
"pages/user/my-wallet/my-balance",
|
||||
"pages/order/recharge",
|
||||
"pages/user/address/add/add",
|
||||
"pages/product/search/search",
|
||||
"pages/order/evaluate/evaluate",
|
||||
"pages/product/detail/look-evaluate/look-evaluate",
|
||||
"pages/order/express/express",
|
||||
"pages/order/refund/apply/apply",
|
||||
"pages/order/refund/index/index",
|
||||
"pages/order/refund/detail/detail",
|
||||
"pages/user/address/edit/edit",
|
||||
"components/upload/upload",
|
||||
"pages/coupon/coupon",
|
||||
"pages/user/my-coupon/my-coupon",
|
||||
"pages/agent/index/index",
|
||||
"pages/agent/apply/apply",
|
||||
"pages/agent/cash/apply/apply",
|
||||
"pages/agent/cash/list/list",
|
||||
"pages/user/points/points",
|
||||
"pages/agent/order/order",
|
||||
"pages/agent/team/team",
|
||||
"pages/agent/qrcode/qrcode",
|
||||
"pages/store/address/address",
|
||||
"pages/store/clerkorder",
|
||||
"pages/diy-page/diy-page",
|
||||
"pages/article/list/list",
|
||||
"pages/article/detail/detail",
|
||||
"pages/plus/signin/signin",
|
||||
"pages/plus/points/list/list",
|
||||
"pages/plus/points/detail/detail",
|
||||
"pages/order/pay-success/pay-success",
|
||||
"pages/plus/seckill/list/list",
|
||||
"pages/plus/seckill/detail/detail",
|
||||
"pages/plus/assemble/list/list",
|
||||
"pages/plus/assemble/detail/detail",
|
||||
"pages/plus/assemble/fight-group-detail/fight-group-detail",
|
||||
"pages/plus/bargain/list/list",
|
||||
"pages/plus/bargain/detail/detail",
|
||||
"pages/plus/bargain/haggle/haggle",
|
||||
"pages/user/my-bargain/my-bargain",
|
||||
"pages/plus/signin/rule/rule",
|
||||
"pages/store/detail/detail",
|
||||
"pages/login/weblogin",
|
||||
"pages/order/pay-h5/pay-h5",
|
||||
"pages/user/set/set",
|
||||
"pages/shop/shop_list",
|
||||
"pages/shop/register",
|
||||
"pages/user/my_attention/my_attention",
|
||||
"pages/user/my_collect/my_collect",
|
||||
"pages/shop/shop",
|
||||
"pages/user/my_shop/my_shop",
|
||||
"pages/shop/application_status",
|
||||
"pages/user/my_shop/my_shop_order",
|
||||
"pages/user/my_shop/after_sale",
|
||||
"pages/user/modify-phone/modify-phone",
|
||||
"pages/order/deposit-pay",
|
||||
"pages/user/my_shop/pro_admin",
|
||||
"pages/user/my_shop/my_shop_data",
|
||||
"pages/user/my_shop/my_shop_detail",
|
||||
"pages/user/my_shop/my_live/notice/notice",
|
||||
"pages/user/my_shop/my_live/add/add",
|
||||
"pages/user/my_shop/my_live/my-live/edit",
|
||||
"pages/user/my_shop/my_live/live/live",
|
||||
"pages/user/my_shop/my_live/my-live/record",
|
||||
"pages/user/my_shop/my_live/my-live/my-live",
|
||||
"pages/user/my_shop/my_live/live-order/live-order",
|
||||
"pages/login/openlogin",
|
||||
"pages/plus/chat/chat",
|
||||
"pages/plus/chat/chat_list",
|
||||
"pages/order/alipay-h5/alipay-h5",
|
||||
"pages/coupon/detail",
|
||||
"pages/plus/chat/supplier_chat_list",
|
||||
"pages/plus/chat/supplier_chat",
|
||||
"pages/plus/lottery/lottery",
|
||||
"pages/plus/table/table",
|
||||
"pages/privacy/privacy",
|
||||
"pages/webview/webview",
|
||||
"pages/order/cashier",
|
||||
"pages/user/cash/apply",
|
||||
"pages/user/cash/list",
|
||||
"pages/plus/presale/list",
|
||||
"pages/plus/task/index",
|
||||
"pages/shop/index",
|
||||
"pages/order/assemble-order",
|
||||
"pages/plus/lottery/WinningRecord",
|
||||
"pages/plus/lottery/receive",
|
||||
"pages/user/evaluate/list",
|
||||
"pages/user/my_shop/addProduct",
|
||||
"pages/plus/preview/list"
|
||||
],
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "pagesLive",
|
||||
"pages": [
|
||||
"live/index",
|
||||
"live/live",
|
||||
"live/live-over",
|
||||
"live/playback"
|
||||
]
|
||||
}
|
||||
],
|
||||
"window": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"backgroundColor": "#F5F5F5"
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#999",
|
||||
"selectedColor": "#ff5a5a",
|
||||
"borderStyle": "black",
|
||||
"backgroundColor": "#ffffff",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"iconPath": "static/tabbar/no.png",
|
||||
"selectedIconPath": "static/tabbar/no.png",
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/product/category",
|
||||
"iconPath": "static/tabbar/no.png",
|
||||
"selectedIconPath": "static/tabbar/no.png",
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/shop/shop_list",
|
||||
"iconPath": "static/tabbar/no.png",
|
||||
"selectedIconPath": "static/tabbar/no.png",
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/cart/cart",
|
||||
"iconPath": "static/tabbar/no.png",
|
||||
"selectedIconPath": "static/tabbar/no.png",
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/user/index/index",
|
||||
"iconPath": "static/tabbar/no.png",
|
||||
"selectedIconPath": "static/tabbar/no.png",
|
||||
"text": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"permission": {
|
||||
"scope.userLocation": {
|
||||
"desc": "你的位置信息将用于小程序位置接口的效果展示"
|
||||
}
|
||||
},
|
||||
"usingComponents": {
|
||||
"header-bar": "/components/header",
|
||||
"request-loading": "/components/jjjloading",
|
||||
"tab-bar": "/components/tabbar/footTabbar"
|
||||
}
|
||||
}
|
||||
3
unpackage/dist/build/mp-weixin/app.wxss
vendored
Normal file
3
unpackage/dist/build/mp-weixin/app.wxss
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
@import './common/main.wxss';
|
||||
|
||||
[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}
|
||||
1
unpackage/dist/build/mp-weixin/common/main.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/common/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
27
unpackage/dist/build/mp-weixin/common/main.wxss
vendored
Normal file
27
unpackage/dist/build/mp-weixin/common/main.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
4
unpackage/dist/build/mp-weixin/common/runtime.js
vendored
Normal file
4
unpackage/dist/build/mp-weixin/common/runtime.js
vendored
Normal file
File diff suppressed because one or more lines are too long
14
unpackage/dist/build/mp-weixin/common/vendor.js
vendored
Normal file
14
unpackage/dist/build/mp-weixin/common/vendor.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
unpackage/dist/build/mp-weixin/components/app-share.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/app-share.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/app-share"],{"1ded":function(e,t,a){"use strict";(function(e){var i=a("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(a("fd32")),s={data:function(){return{Visible:!1,shareConfig:{},logo:""}},created:function(){this.getData()},props:["isAppShare","appParams"],watch:{isAppShare:function(e,t){e!=t&&(this.Visible=e)}},methods:{getData:function(){var e=this;e._get("settings/appShare",{},(function(t){e.shareConfig=t.data.appshare,e.logo=t.data.logo}))},closePopup:function(e){this.$emit("close")},share:function(t,a){var i={provider:"weixin",scene:a,type:t,success:function(e){console.log("success:"+JSON.stringify(e))},fail:function(e){console.log("fail:"+JSON.stringify(e))}};2!=this.shareConfig.type?(i.summary=this.appParams.summary,i.imageUrl=this.logo,i.title=this.appParams.title,1==this.shareConfig.type?i.href=this.shareConfig.open_site+this.appParams.path:3==this.shareConfig.type&&(1==this.shareConfig.bind_type?i.href=this.shareConfig.down_url:i.href=n.default.app_url+"/index.php/api/user.useropen/invite?app_id="+n.default.app_id+"&referee_id="+e.getStorageSync("user_id"))):(i.scene="WXSceneSession",i.type=5,i.imageUrl=this.appParams.image?this.appParams.image:this.logo,i.title=this.appParams.title,i.miniProgram={id:this.shareConfig.gh_id,path:this.appParams.path,webUrl:this.shareConfig.web_url,type:0}),e.share(i)}}};t.default=s}).call(this,a("df3c")["default"])},"4a6f":function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return n})),a.d(t,"a",(function(){}));var i=function(){var e=this.$createElement;this._self._c},n=[]},"4b64":function(e,t,a){"use strict";var i=a("bd79"),n=a.n(i);n.a},"80ee":function(e,t,a){"use strict";a.r(t);var i=a("1ded"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(s);t["default"]=n.a},b70e:function(e,t,a){"use strict";a.r(t);var i=a("4a6f"),n=a("80ee");for(var s in n)["default"].indexOf(s)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(s);a("4b64");var r=a("828b"),o=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"7fd46f0f",null,!1,i["a"],void 0);t["default"]=o.exports},bd79:function(e,t,a){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/app-share-create-component',
|
||||
{
|
||||
'components/app-share-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("b70e"))
|
||||
})
|
||||
},
|
||||
[['components/app-share-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/app-share.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/app-share.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/app-share.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/app-share.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view data-event-opts="{{[['tap',[['closePopup',['$event']]]]]}}" class="{{['bottom-panel','data-v-7fd46f0f',Visible?'bottom-panel open':'bottom-panel close']}}" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="content data-v-7fd46f0f" catchtap="__e"><view class="module-box module-share data-v-7fd46f0f"><view class="hd d-c-c data-v-7fd46f0f">分享</view><view class="p30 box-s-b data-v-7fd46f0f"><view class="d-c-c data-v-7fd46f0f"><view class="item flex-1 d-c-c d-c data-v-7fd46f0f"><button open-type="share" data-event-opts="{{[['tap',[['share',[0,'WXSceneSession']]]]]}}" bindtap="__e" class="data-v-7fd46f0f"><view class="icon-box d-c-c share-friend data-v-7fd46f0f"><text class="iconfont icon-fenxiang data-v-7fd46f0f"></text></view><text class="pt20 data-v-7fd46f0f">微信好友</text></button></view><view class="item flex-1 d-c-c d-c data-v-7fd46f0f"><button data-event-opts="{{[['tap',[['share',[0,'WXSenceTimeline']]]]]}}" bindtap="__e" class="data-v-7fd46f0f"><view class="icon-box d-c-c data-v-7fd46f0f"><text class="iconfont icon-edit data-v-7fd46f0f"></text></view><text class="pt20 data-v-7fd46f0f">微信朋友圈</text></button></view></view></view><view class="btns data-v-7fd46f0f"><button type="default" data-event-opts="{{[['tap',[['closePopup',[1]]]]]}}" bindtap="__e" class="data-v-7fd46f0f">取消</button></view></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/components/app-share.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/app-share.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.bottom-panel .popup-bg.data-v-7fd46f0f{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.6);z-index:98}.bottom-panel .popup-bg .wechat-box.data-v-7fd46f0f{padding-top:0}.bottom-panel .popup-bg .wechat-box image.data-v-7fd46f0f{width:100%}.bottom-panel .content.data-v-7fd46f0f{position:fixed;width:100%;bottom:0;min-height:200rpx;max-height:900rpx;background-color:#fff;-webkit-transform:translate3d(0,980rpx,0);transform:translate3d(0,980rpx,0);transition:-webkit-transform .2s cubic-bezier(0,0,.25,1);transition:transform .2s cubic-bezier(0,0,.25,1);transition:transform .2s cubic-bezier(0,0,.25,1),-webkit-transform .2s cubic-bezier(0,0,.25,1);bottom:env(safe-area-inset-bottom);z-index:99}.bottom-panel.open .content.data-v-7fd46f0f{-webkit-transform:translateZ(0);transform:translateZ(0)}.bottom-panel.close .popup-bg.data-v-7fd46f0f{display:none}.module-share .hd.data-v-7fd46f0f{height:90rpx;line-height:90rpx;font-size:36rpx}.module-share .item button.data-v-7fd46f0f,.module-share .item button.data-v-7fd46f0f::after{background:none;border:none}.module-share .icon-box.data-v-7fd46f0f{width:100rpx;height:100rpx;border-radius:50%;background:#f6bd1d}.module-share .icon-box .iconfont.data-v-7fd46f0f{font-size:60rpx;color:#fff}.module-share .btns.data-v-7fd46f0f{margin-top:30rpx}.module-share .btns button.data-v-7fd46f0f{height:90rpx;line-height:90rpx;border-radius:0;border-top:1px solid #eee}.module-share .btns button.data-v-7fd46f0f::after{border-radius:0}.module-share .share-friend.data-v-7fd46f0f{background:#04be01}
|
||||
10
unpackage/dist/build/mp-weixin/components/countdown/countdown-act.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/countdown/countdown-act.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/countdown/countdown-act"],{"0e45":function(t,n,e){},"1ef6":function(t,n,e){"use strict";e.r(n);var i=e("33fa"),o=e.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(r);n["default"]=o.a},"33fa":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={data:function(){return{status:0,day:"0",hour:"0",minute:"0",second:"0",timer:null,totalSeconds:0,title:"活动剩余:"}},props:{config:{type:Object,default:function(){return{type:"all"}}},back_color:{type:String,default:function(){return""}},cut_color:{type:String,default:function(){return""}},color:{type:String,default:function(){return""}},start_name:{type:String,default:function(){return"距开始:"}},end_name:{type:String,default:function(){return"距结束:"}},activeName:{type:String,default:function(){return""}}},created:function(){},watch:{config:{deep:!0,handler:function(t,n){t!=n&&0!=t.endstamp&&(t.title&&t.title,this.setTime())},immediate:!0}},methods:{setTime:function(){var t=this;t.timer=setInterval((function(){t.init()}),1e3)},init:function(){var t=Date.now()/1e3;t<this.config.startstamp?(this.status=1,this.totalSeconds=parseInt(this.config.startstamp-t),this.countDown(),this.title=this.start_name):t>this.config.endstamp?this.status=2:(this.totalSeconds=parseInt(this.config.endstamp-t),this.status=0,this.countDown(),this.title=this.end_name),this.$emit("returnVal",this.status)},countDown:function(){var t=this.totalSeconds,n=Math.floor(t/86400),e=t%86400,i=Math.floor(e/3600);e%=3600;var o=Math.floor(e/60),r=e%60;this.day=n,this.hour=this.convertTwo(i),this.minute=this.convertTwo(o),this.second=this.convertTwo(r),this.totalSeconds--},convertTwo:function(t){var n="";return n=t<10?"0"+t:t,n},getLocalTime:function(t){return new Date(1e3*parseInt(t)).toLocaleString().replace(/:\d{1,2}$/," ")},clear:function(){console.log(1),clearInterval(this.timer),this.timer=null}},destroyed:function(){clearInterval(this.timer)}};n.default=i},acb8:function(t,n,e){"use strict";e.r(n);var i=e("b189"),o=e("1ef6");for(var r in o)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(r);e("f7c1");var a=e("828b"),s=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=s.exports},b189:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement,n=(this._self._c,"text"===this.config.type?parseInt(24*this.day):null),e="text"===this.config.type?parseInt(this.hour):null;this.$mp.data=Object.assign({},{$root:{m0:n,m1:e}})},o=[]},f7c1:function(t,n,e){"use strict";var i=e("0e45"),o=e.n(i);o.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/countdown/countdown-act-create-component',
|
||||
{
|
||||
'components/countdown/countdown-act-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("acb8"))
|
||||
})
|
||||
},
|
||||
[['components/countdown/countdown-act-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/countdown/countdown-act.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/countdown/countdown-act.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/countdown/countdown-act.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/countdown/countdown-act.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="{{['countdown',activeName]}}" style="{{('color:'+color)}}"><block wx:if="{{config.type==null}}">{{''+title}}<text class="daybox" style="{{('background-color: '+back_color+';color:'+cut_color)}}">{{day+"天"}}</text><text class="numbox">{{hour+":"+minute+":"+second}}</text></block><block wx:if="{{config.type==='text'}}">{{''+($root.m0+$root.m1)+":"+minute+":"+second+''}}</block><block wx:if="{{config.type==='preview'}}">{{''+title}}<text class="daybox" style="{{('background-color: '+back_color+';color:'+cut_color)}}">{{day+"天"}}</text><text class="box" style="{{('background-color: '+back_color+';color:'+cut_color)}}">{{hour}}</text><text class="p-0-10" style="{{('color:'+color)}}">:</text><text class="box" style="{{('background-color: '+back_color+';color:'+cut_color)}}">{{minute}}</text><text class="p-0-10" style="{{('color:'+color)}}">:</text><text class="box" style="{{('background-color: '+back_color+';color:'+cut_color)}}">{{second}}</text><text class="p-0-10" style="{{('color:'+color)}}"></text></block></view>
|
||||
1
unpackage/dist/build/mp-weixin/components/countdown/countdown-act.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/countdown/countdown-act.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.countdown{border-radius:16rpx 0 16rpx 16rpx;border:1rpx solid #f4dacf;padding:2rpx;padding-right:10rpx}[data-theme="theme0"] .countdown{border-color:#f4dcd2!important}[data-theme="theme1"] .countdown{border-color:rgba(255,76,1,.15)!important}[data-theme="theme2"] .countdown{border-color:rgba(255,204,0,.15)!important}[data-theme="theme3"] .countdown{border-color:rgba(23,116,255,.15)!important}[data-theme="theme4"] .countdown{border-color:#fff!important}[data-theme="theme5"] .countdown{border-color:#ebe8de!important}[data-theme="theme6"] .countdown{border-color:rgba(98,60,235,.15)!important}.countdown .numbox{font-size:22rpx}.countdown .daybox{padding:0 16rpx;border-radius:200rpx;font-size:22rpx;margin-right:7rpx}.previewProduct text{font-size:22rpx}.previewProduct .box{padding:0;font-size:22rpx;background:#fff;color:#ff4c01;width:36rpx;height:36rpx;display:inline-block;line-height:36rpx;text-align:center;border-radius:8rpx}.previewProduct .daybox{padding:0;font-size:22rpx;background:none}.previewProduct.countdown{border:none;padding:0;font-size:22rpx;white-space:nowrap}.diy-previewProduct text{font-size:18rpx}.diy-previewProduct .box{padding:0;font-size:18rpx;background:none}.diy-previewProduct .daybox{padding:0;font-size:18rpx;background:none}.diy-previewProduct.countdown{border:none;padding:0;font-size:18rpx;white-space:nowrap}
|
||||
10
unpackage/dist/build/mp-weixin/components/countdown/countdown-presale.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/countdown/countdown-presale.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/countdown/countdown-presale"],{"019d":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={data:function(){return{status:0,day:"0",hour:"0",minute:"0",second:"0",timer:null,totalSeconds:0,title:"还剩"}},props:{config:{type:Object,default:function(){return{type:"all"}}},color:{type:String,default:function(){return"#ffffff"}},timeSize:{type:String,default:function(){return"28rpx"}}},created:function(){},watch:{config:{deep:!0,handler:function(t,n){t!=n&&0!=t.endstamp&&(t.title&&"undefined"!=typeof t.title&&(this.title=t.title),this.setTime())},immediate:!0}},methods:{setTime:function(){var t=this;t.timer=setInterval((function(){t.init()}),1e3)},init:function(){var t=Date.now()/1e3;t<this.config.startstamp?(this.status=1,this.title="距开始还剩"):t>this.config.endstamp?this.status=2:(this.totalSeconds=parseInt(this.config.endstamp-t),this.status=0,this.title="距截止还剩",this.countDown()),this.$emit("returnVal",this.status)},countDown:function(){var t=this.totalSeconds,n=Math.floor(t/86400),e=t%86400,i=Math.floor(e/3600);e%=3600;var o=Math.floor(e/60),s=e%60;this.day=this.convertTwo(n),this.hour=this.convertTwo(i),this.minute=this.convertTwo(o),this.second=this.convertTwo(s),this.totalSeconds--},convertTwo:function(t){var n="";return n=t<10?"0"+t:t,n},getLocalTime:function(t){return new Date(1e3*parseInt(t)).toLocaleString().replace(/:\d{1,2}$/," ")},clear:function(){console.log(1),clearInterval(this.timer),this.timer=null}},destroyed:function(){clearInterval(this.timer)}};n.default=i},2563:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement,n=(this._self._c,2!=this.status?parseInt(this.day):null),e=2!=this.status?parseInt(this.hour):null;this.$mp.data=Object.assign({},{$root:{m0:n,m1:e}})},o=[]},"9bb2":function(t,n,e){"use strict";var i=e("b34b"),o=e.n(i);o.a},a6d9:function(t,n,e){"use strict";e.r(n);var i=e("2563"),o=e("fd7b");for(var s in o)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(s);e("9bb2");var r=e("828b"),a=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=a.exports},b34b:function(t,n,e){},fd7b:function(t,n,e){"use strict";e.r(n);var i=e("019d"),o=e.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(s);n["default"]=o.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/countdown/countdown-presale-create-component',
|
||||
{
|
||||
'components/countdown/countdown-presale-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("a6d9"))
|
||||
})
|
||||
},
|
||||
[['components/countdown/countdown-presale-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/countdown/countdown-presale.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/countdown/countdown-presale.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/countdown/countdown-presale.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/countdown/countdown-presale.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="countdown" style="{{('color:'+color)}}"><block wx:if="{{status==2}}">活动已结束</block><block wx:else>{{''+title+''}}<text class="mr10">{{$root.m0+'天'}}</text><text class="f28" style="{{('font-size:'+timeSize+';')}}">{{$root.m1+":"+minute+":"+second}}</text></block></view>
|
||||
1
unpackage/dist/build/mp-weixin/components/countdown/countdown-presale.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/countdown/countdown-presale.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.countdown{color:#fff;font-size:22rpx}
|
||||
10
unpackage/dist/build/mp-weixin/components/countdown/countdown.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/countdown/countdown.js
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/countdown/countdown"],{"02af":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={data:function(){return{status:0,day:"0",hour:"0",minute:"0",second:"0",timer:null,totalSeconds:0,title:"活动剩余:"}},props:{config:{type:Object,default:function(){return{type:"all"}}}},created:function(){},watch:{config:{deep:!0,handler:function(t,n){t!=n&&0!=t.endstamp&&(t.title&&"undefined"!=typeof t.title&&(this.title=t.title),this.setTime())},immediate:!0}},methods:{setTime:function(){var t=this;t.timer=setInterval((function(){t.init()}),1e3)},init:function(){var t=Date.now()/1e3;t<this.config.startstamp?this.status=1:t>this.config.endstamp?this.status=2:(this.totalSeconds=parseInt(this.config.endstamp-t),this.status=0,this.countDown()),this.$emit("returnVal",this.status)},countDown:function(){var t=this.totalSeconds,n=Math.floor(t/86400),e=t%86400,i=Math.floor(e/3600);e%=3600;var o=Math.floor(e/60),s=e%60;this.day=this.convertTwo(n),this.hour=this.convertTwo(i),this.minute=this.convertTwo(o),this.second=this.convertTwo(s),this.totalSeconds--},convertTwo:function(t){var n="";return n=t<10?"0"+t:t,n},getLocalTime:function(t){return new Date(1e3*parseInt(t)).toLocaleString().replace(/:\d{1,2}$/," ")},clear:function(){console.log(1),clearInterval(this.timer),this.timer=null}},destroyed:function(){clearInterval(this.timer)}};n.default=i},1463:function(t,n,e){},"6d72":function(t,n,e){"use strict";e.r(n);var i=e("7a14"),o=e("8e02");for(var s in o)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(s);e("7cd0");var a=e("828b"),r=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=r.exports},"7a14":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement,n=(this._self._c,"text"===this.config.type?parseInt(24*this.day):null),e="text"===this.config.type?parseInt(this.hour):null;this.$mp.data=Object.assign({},{$root:{m0:n,m1:e}})},o=[]},"7cd0":function(t,n,e){"use strict";var i=e("1463"),o=e.n(i);o.a},"8e02":function(t,n,e){"use strict";e.r(n);var i=e("02af"),o=e.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(s);n["default"]=o.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/countdown/countdown-create-component',
|
||||
{
|
||||
'components/countdown/countdown-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("6d72"))
|
||||
})
|
||||
},
|
||||
[['components/countdown/countdown-create-component']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/countdown/countdown.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/countdown/countdown.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/countdown/countdown.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/countdown/countdown.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="countdown"><block wx:if="{{config.type==null}}"><block wx:if="{{status==0}}"><text>{{title}}</text></block><block wx:if="{{status==1}}"><text>活动具体时间:</text></block><block wx:if="{{status==2}}"><text>活动结束时间:</text></block><text class="box">{{day}}</text><text class="p-0-10">天</text><text class="box">{{hour}}</text><text class="p-0-10">:</text><text class="box">{{minute}}</text><text class="p-0-10">:</text><text class="box">{{second}}</text><text class="p-0-10"></text></block><block wx:if="{{config.type==='text'}}">{{''+title+($root.m0+$root.m1)+":"+minute+":"+second+''}}</block></view>
|
||||
1
unpackage/dist/build/mp-weixin/components/countdown/countdown.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/countdown/countdown.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.countdown .box{display:inline-block;padding:4rpx;border-radius:8rpx;background:#fff;text-align:center;color:#fff}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/article/article.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/article/article.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/article/article.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/article/article.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/article/article.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/article/article.wxml
vendored
Normal 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>
|
||||
3
unpackage/dist/build/mp-weixin/components/diy/article/article.wxss
vendored
Normal file
3
unpackage/dist/build/mp-weixin/components/diy/article/article.wxss
vendored
Normal 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}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/assembleProduct/assembleProduct.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/assembleProduct/assembleProduct.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/assembleProduct/assembleProduct.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/assembleProduct/assembleProduct.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/assembleProduct/assembleProduct.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/assembleProduct/assembleProduct.wxml
vendored
Normal 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>
|
||||
2
unpackage/dist/build/mp-weixin/components/diy/assembleProduct/assembleProduct.wxss
vendored
Normal file
2
unpackage/dist/build/mp-weixin/components/diy/assembleProduct/assembleProduct.wxss
vendored
Normal 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}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/banner/banner.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/banner/banner.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/banner/banner.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/banner/banner.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/banner/banner.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/banner/banner.wxml
vendored
Normal 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>
|
||||
5
unpackage/dist/build/mp-weixin/components/diy/banner/banner.wxss
vendored
Normal file
5
unpackage/dist/build/mp-weixin/components/diy/banner/banner.wxss
vendored
Normal 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}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/bargainProduct/bargainProduct.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/bargainProduct/bargainProduct.js
vendored
Normal 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']]
|
||||
]);
|
||||
6
unpackage/dist/build/mp-weixin/components/diy/bargainProduct/bargainProduct.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/components/diy/bargainProduct/bargainProduct.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"countdown": "/components/countdown/countdown-act"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/bargainProduct/bargainProduct.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/bargainProduct/bargainProduct.wxml
vendored
Normal 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>
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/bargainProduct/bargainProduct.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/bargainProduct/bargainProduct.wxss
vendored
Normal 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}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/blank/blank.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/blank/blank.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/blank/blank.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/blank/blank.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/blank/blank.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/blank/blank.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="diy-blank" style="{{'height:'+(itemData.style.height+'px')+';'+('background:'+(itemData.style.background)+';')}}"></view>
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/coupon/coupon.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/coupon/coupon.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/coupon/coupon.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/coupon/coupon.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/coupon/coupon.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/coupon/coupon.wxml
vendored
Normal 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>
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/coupon/coupon.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/coupon/coupon.wxss
vendored
Normal 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}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/diy.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/diy.js
vendored
Normal 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']]
|
||||
]);
|
||||
27
unpackage/dist/build/mp-weixin/components/diy/diy.json
vendored
Normal file
27
unpackage/dist/build/mp-weixin/components/diy/diy.json
vendored
Normal 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"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/diy.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/diy.wxml
vendored
Normal 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>
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/guide/guide.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/guide/guide.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/guide/guide.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/guide/guide.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/guide/guide.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/guide/guide.wxml
vendored
Normal 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>
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/imagesingle/imagesingle.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/imagesingle/imagesingle.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/imagesingle/imagesingle.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/imagesingle/imagesingle.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/imagesingle/imagesingle.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/imagesingle/imagesingle.wxml
vendored
Normal 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>
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/imagesingle/imagesingle.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/imagesingle/imagesingle.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.diy-imageSingle image{width:100%}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/live/live.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/live/live.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/live/live.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/live/live.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/live/live.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/live/live.wxml
vendored
Normal 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>
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/live/live.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/live/live.wxss
vendored
Normal 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}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.wxml
vendored
Normal 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>
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/navBar/navBar.wxss
vendored
Normal 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}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/notice/notice.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/notice/notice.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/notice/notice.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/notice/notice.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/notice/notice.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/notice/notice.wxml
vendored
Normal 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>
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/notice/notice.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/notice/notice.wxss
vendored
Normal 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}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/previewProduct/previewProduct.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/previewProduct/previewProduct.js
vendored
Normal 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']]
|
||||
]);
|
||||
6
unpackage/dist/build/mp-weixin/components/diy/previewProduct/previewProduct.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/components/diy/previewProduct/previewProduct.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"countdown": "/components/countdown/countdown-act"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/previewProduct/previewProduct.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/previewProduct/previewProduct.wxml
vendored
Normal 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>
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/previewProduct/previewProduct.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/previewProduct/previewProduct.wxss
vendored
Normal 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}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/product/product.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/product/product.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/product/product.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/product/product.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/product/product.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/product/product.wxml
vendored
Normal 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>
|
||||
2
unpackage/dist/build/mp-weixin/components/diy/product/product.wxss
vendored
Normal file
2
unpackage/dist/build/mp-weixin/components/diy/product/product.wxss
vendored
Normal 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}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/richText/richText.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/richText/richText.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/richText/richText.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/richText/richText.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/richText/richText.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/richText/richText.wxml
vendored
Normal 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>
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/search/search.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/search/search.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/search/search.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/search/search.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/search/search.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/search/search.wxml
vendored
Normal 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>
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/search/search.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/search/search.wxss
vendored
Normal 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}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/seckillProduct/seckillProduct.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/seckillProduct/seckillProduct.js
vendored
Normal 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']]
|
||||
]);
|
||||
6
unpackage/dist/build/mp-weixin/components/diy/seckillProduct/seckillProduct.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/components/diy/seckillProduct/seckillProduct.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"countdown": "/components/countdown/countdown-act"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/seckillProduct/seckillProduct.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/seckillProduct/seckillProduct.wxml
vendored
Normal 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>
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/seckillProduct/seckillProduct.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/seckillProduct/seckillProduct.wxss
vendored
Normal 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}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/service/service.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/service/service.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/service/service.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/service/service.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/service/service.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/service/service.wxml
vendored
Normal 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>
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/service/service.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/service/service.wxss
vendored
Normal 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%}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/special/special.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/special/special.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/special/special.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/special/special.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/special/special.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/special/special.wxml
vendored
Normal 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>
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/special/special.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/special/special.wxss
vendored
Normal 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}
|
||||
10
unpackage/dist/build/mp-weixin/components/diy/store/store.js
vendored
Normal file
10
unpackage/dist/build/mp-weixin/components/diy/store/store.js
vendored
Normal 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']]
|
||||
]);
|
||||
4
unpackage/dist/build/mp-weixin/components/diy/store/store.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/diy/store/store.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/diy/store/store.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/diy/store/store.wxml
vendored
Normal 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>
|
||||
2
unpackage/dist/build/mp-weixin/components/diy/store/store.wxss
vendored
Normal file
2
unpackage/dist/build/mp-weixin/components/diy/store/store.wxss
vendored
Normal 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}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user