pages-index-index.03dd0d32.js
35.3 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"0c0e":function(t,e,i){"use strict";i.r(e);var n=i("2c57"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"10e9":function(t,e,i){"use strict";i.r(e);var n=i("bf68"),a=i("9c97");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("c0fa");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"5605dbfc",null,!1,n["a"],o);e["default"]=c.exports},"21bd":function(t,e,i){"use strict";i.r(e);var n=i("4700"),a=i("0c0e");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("238e");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"91cc5980",null,!1,n["a"],o);e["default"]=c.exports},"238e":function(t,e,i){"use strict";var n=i("9529"),a=i.n(n);a.a},"2c57":function(t,e,i){"use strict";var n=i("4ea4");i("fb6a"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("1da1")),r=i("d089"),o=n(i("10e9")),s=n(i("241e")),c={components:{"custom-waterfalls-flow":o.default,Botton:s.default},data:function(){return{title:"Hello",list1:["https://cdn.uviewui.com/uview/swiper/swiper1.png","https://cdn.uviewui.com/uview/swiper/swiper2.png","https://cdn.uviewui.com/uview/swiper/swiper3.png"],nevlist:[1,2,3,4,,6,7],leftlist:[1,2,3],fallindex:1,list:[{image:"https://via.placeholder.com/200x500.png/ff0000",title:"我是标题1",desc:"描述描述描述描述描述描述描述描述1"},{image:"https://via.placeholder.com/200x200.png/2878ff",title:"我是标题2",desc:"描述描述描述描述描述描述描述描述2"},{image:"https://via.placeholder.com/200x200.png/2878ff",title:"我是标题2",desc:"描述描述描述描述描述描述描述描述2"},{image:"https://via.placeholder.com/200x200.png/2878ff",title:"我是标题2",desc:"描述描述描述描述描述描述描述描述2"},{image:"https://via.placeholder.com/200x200.png/2878ff",title:"我是标题2",desc:"描述描述描述描述描述描述描述描述2"}],categoryList:[],categoryLength:0,informationList:[]}},onShow:function(){this.initial()},onLoad:function(){},methods:{initial:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var i,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,r.getBanner)();case 3:return i=e.sent,e.next=6,(0,r.sortList)(1);case 6:return n=e.sent,e.next=9,(0,r.arcList)();case 9:a=e.sent,t.list1=i.list,t.categoryLength=n.list.length,t.categoryList=n.list.length>8?n.list.slice(0,7):n.list,t.informationList=a.list.length>3?a.list.slice(0,3):a.list,console.log(n,"分类"),console.log("getBanner",i),console.log(a,"资讯列表"),e.next=23;break;case 19:e.prev=19,e.t0=e["catch"](0),uni.showToast({title:e.t0,icon:"none"}),console.log("getBanner",e.t0);case 23:case"end":return e.stop()}}),e,null,[[0,19]])})))()},changefall:function(t){this.fallindex=t},gosourch:function(){uni.navigateTo({url:"/pages/index/search"})}}};e.default=c},"2f2e":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-view[data-v-48f2f481], uni-scroll-view[data-v-48f2f481], uni-swiper-item[data-v-48f2f481]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-swiper[data-v-48f2f481]{display:flex;flex-direction:row;justify-content:center;align-items:center;position:relative;overflow:hidden}.u-swiper__wrapper[data-v-48f2f481]{flex:1}.u-swiper__wrapper__item[data-v-48f2f481]{flex:1}.u-swiper__wrapper__item__wrapper[data-v-48f2f481]{display:flex;flex-direction:row;position:relative;overflow:hidden;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;flex:1}.u-swiper__wrapper__item__wrapper__image[data-v-48f2f481]{flex:1}.u-swiper__wrapper__item__wrapper__video[data-v-48f2f481]{flex:1}.u-swiper__wrapper__item__wrapper__title[data-v-48f2f481]{position:absolute;background-color:rgba(0,0,0,.3);bottom:0;left:0;right:0;font-size:%?28?%;padding:%?12?% %?24?%;color:#fff;flex:1}.u-swiper__indicator[data-v-48f2f481]{position:absolute;bottom:10px}',""]),t.exports=e},"327a":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{length:{type:[String,Number],default:uni.$u.props.swiperIndicator.length},current:{type:[String,Number],default:uni.$u.props.swiperIndicator.current},indicatorActiveColor:{type:String,default:uni.$u.props.swiperIndicator.indicatorActiveColor},indicatorInactiveColor:{type:String,default:uni.$u.props.swiperIndicator.indicatorInactiveColor},indicatorMode:{type:String,default:uni.$u.props.swiperIndicator.indicatorMode}}};e.default=n},4267:function(t,e,i){"use strict";var n=i("a7f7"),a=i.n(n);a.a},4700:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uSwiper:i("5f87").default,customWaterfallsFlow:i("10e9").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"logo"},[i("v-uni-image",{attrs:{src:"/static/ic_logo.png",mode:""}}),i("v-uni-view",{staticClass:"search"},[i("v-uni-view",{staticClass:"tosear",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.gosourch.apply(void 0,arguments)}}},[i("v-uni-input",{attrs:{type:"text",value:"",placeholder:"搜索",disabled:"true","placeholder-style":"text-align: center;font-size: 28rpx; color: rgba(194,194,194,1);"}}),i("v-uni-image",{attrs:{src:"/static/icon-search.png",mode:""}})],1)],1)],1),i("v-uni-view",{staticClass:"banner"},[i("u-swiper",{attrs:{keyName:"image_preview",list:t.list1,indicator:!0,indicatorMode:"dot",radius:"12",height:"160",circular:!0},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.click.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"contail"},[i("v-uni-view",{staticClass:"nev"},[t._l(t.categoryList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"bar"},[i("v-uni-image",{staticClass:"barimg",attrs:{src:e.image_preview,mode:""}}),i("v-uni-text",[t._v(t._s(e.name))])],1)})),t.categoryLength>8?i("v-uni-view",{staticClass:"bar"},[i("v-uni-image",{staticClass:"barimg",attrs:{src:"/static/logo.png",mode:""}}),i("v-uni-text",[t._v("更多")])],1):t._e()],2),i("v-uni-view",{staticClass:"info"},[i("v-uni-view",{staticClass:"leftbox"},[i("v-uni-view",{staticClass:"lefttitle"},[i("v-uni-view",{staticClass:"title"},[t._v("相关资讯")]),i("v-uni-view",{staticClass:"more"},[t._v("更多"),i("v-uni-image",{attrs:{src:"/static/ic-arrow.png",mode:""}})],1)],1),i("v-uni-view",{staticClass:"newbar"},t._l(t.informationList,(function(e,n){return i("v-uni-view",{key:n},[t._v("·"+t._s(e.title))])})),1)],1),i("v-uni-view",{staticClass:"rightbox"},[i("v-uni-view",{staticClass:"righttitle"},[i("v-uni-view",{staticClass:"title"},[t._v("相关资讯")]),i("v-uni-view",{staticClass:"active"},[t._v("充值活动")])],1),i("v-uni-view",{staticClass:"activeimg"},[i("v-uni-image",{attrs:{src:"/static/Rectangle 2372.png",mode:""}})],1)],1)],1),i("v-uni-view",{staticClass:"waterfall"},[i("v-uni-view",{staticClass:"falltitle"},[i("v-uni-view",{staticClass:"fallnev",class:{newfall:1==t.fallindex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changefall(1)}}},[t._v("猜你喜欢"),i("v-uni-view",{staticClass:"tip"})],1),i("v-uni-view",{staticClass:"fallnev",class:{newfall:2==t.fallindex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changefall(2)}}},[t._v("最新"),i("v-uni-view",{staticClass:"tip"})],1),i("v-uni-view",{staticClass:"fallnev",class:{newfall:3==t.fallindex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changefall(3)}}},[t._v("人气"),i("v-uni-view",{staticClass:"tip"})],1)],1),i("v-uni-view",{staticClass:"misslist"},[i("custom-waterfalls-flow",{attrs:{value:t.list},scopedSlots:t._u([{key:"default",fn:function(e){return[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"desc"},[i("v-uni-text",[t._v("张三")]),i("v-uni-view",{staticClass:"money"},[i("v-uni-text",[t._v("¥")]),t._v("6666")],1)],1)],1)]}}])})],1)],1)],1),i("Botton",{attrs:{flag:1}})],1)},r=[]},"56ff":function(t,e,i){"use strict";var n=i("8ddc"),a=i.n(n);a.a},"5f87":function(t,e,i){"use strict";i.r(e);var n=i("9ca9"),a=i("e27e");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("56ff");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"48f2f481",null,!1,n["a"],o);e["default"]=c.exports},"60f5":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{list:{type:Array,default:uni.$u.props.swiper.list},indicator:{type:Boolean,default:uni.$u.props.swiper.indicator},indicatorActiveColor:{type:String,default:uni.$u.props.swiper.indicatorActiveColor},indicatorInactiveColor:{type:String,default:uni.$u.props.swiper.indicatorInactiveColor},indicatorStyle:{type:[String,Object],default:uni.$u.props.swiper.indicatorStyle},indicatorMode:{type:String,default:uni.$u.props.swiper.indicatorMode},autoplay:{type:Boolean,default:uni.$u.props.swiper.autoplay},current:{type:[String,Number],default:uni.$u.props.swiper.current},currentItemId:{type:String,default:uni.$u.props.swiper.currentItemId},interval:{type:[String,Number],default:uni.$u.props.swiper.interval},duration:{type:[String,Number],default:uni.$u.props.swiper.duration},circular:{type:Boolean,default:uni.$u.props.swiper.circular},previousMargin:{type:[String,Number],default:uni.$u.props.swiper.previousMargin},nextMargin:{type:[String,Number],default:uni.$u.props.swiper.nextMargin},acceleration:{type:Boolean,default:uni.$u.props.swiper.acceleration},displayMultipleItems:{type:Number,default:uni.$u.props.swiper.displayMultipleItems},easingFunction:{type:String,default:uni.$u.props.swiper.easingFunction},keyName:{type:String,default:uni.$u.props.swiper.keyName},imgMode:{type:String,default:uni.$u.props.swiper.imgMode},height:{type:[String,Number],default:uni.$u.props.swiper.height},bgColor:{type:String,default:uni.$u.props.swiper.bgColor},radius:{type:[String,Number],default:uni.$u.props.swiper.radius},loading:{type:Boolean,default:uni.$u.props.swiper.loading},showTitle:{type:Boolean,default:uni.$u.props.swiper.showTitle}}};e.default=n},"62ba":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-91cc5980]{background:#f6f6f6}.content .top[data-v-91cc5980]{height:%?370?%;background-image:linear-gradient(#fed000,#fff);padding:%?32?%}.content .top .logo[data-v-91cc5980]{display:flex;align-items:center}.content .top .logo uni-image[data-v-91cc5980]{width:%?84?%;height:%?74?%;margin-right:%?36?%}.content .top .logo .search[data-v-91cc5980]{flex:1;display:flex;align-items:center}.content .top .logo .search .tosear[data-v-91cc5980]{position:relative;width:%?522?%;height:%?64?%;border-radius:%?38?%;opacity:1;border:0 solid #010101;background:#f5f5f5;padding:0 %?32?%}.content .top .logo .search .tosear uni-input[data-v-91cc5980]{text-align:center;width:100%;height:100%}.content .top .logo .search .tosear uni-image[data-v-91cc5980]{position:absolute;left:%?280?%;top:50%;left:36%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:%?32?%;height:%?32?%}.content .top .banner[data-v-91cc5980]{margin-top:%?32?%;height:%?320?%;border-radius:%?24?%}.content .contail[data-v-91cc5980]{padding:0 %?32?%;box-sizing:border-box}.content .contail .nev[data-v-91cc5980]{margin-top:%?48?%;border-radius:%?24?%;padding:0 %?32?%;box-sizing:border-box;padding-bottom:%?32?%;background:#fff;display:flex;flex-wrap:wrap}.content .contail .nev .bar[data-v-91cc5980]{margin-top:%?40?%;margin-right:%?68?%;width:%?104?%;height:%?124?%;display:flex;flex-direction:column;align-items:center;color:rgba(0,0,0,.9);font-size:%?26?%;font-weight:400;font-family:PingFang SC;text-align:center}.content .contail .nev .bar .barimg[data-v-91cc5980]{width:%?80?%;height:%?80?%}.content .contail .nev .bar[data-v-91cc5980]:nth-child(4n){margin-right:0}.content .contail .info[data-v-91cc5980]{display:flex;margin-top:%?24?%}.content .contail .info .leftbox[data-v-91cc5980]{flex:1;padding:%?24?%;margin-right:%?22?%;box-sizing:border-box;background:linear-gradient(180deg,#fff2f2,#fff)}.content .contail .info .leftbox .lefttitle[data-v-91cc5980]{display:flex;align-items:center;justify-content:space-between}.content .contail .info .leftbox .lefttitle .title[data-v-91cc5980]{opacity:1;color:#000;font-size:%?30?%;font-weight:500;font-family:PingFang SC}.content .contail .info .leftbox .lefttitle .more[data-v-91cc5980]{display:flex;align-items:center}.content .contail .info .leftbox .lefttitle .more uni-image[data-v-91cc5980]{width:%?16?%;height:%?32?%}.content .contail .info .leftbox .newbar[data-v-91cc5980]{color:rgba(0,0,0,.9);font-size:%?22?%;font-weight:400;font-family:PingFang SC;text-align:left}.content .contail .info .leftbox .newbar uni-view[data-v-91cc5980]{margin-top:%?16?%}.content .contail .info .rightbox[data-v-91cc5980]{flex:1;padding:%?24?%;box-sizing:border-box;background:linear-gradient(180deg,#fffae7,#fff)}.content .contail .info .rightbox .righttitle[data-v-91cc5980]{display:flex;align-items:center}.content .contail .info .rightbox .righttitle .title[data-v-91cc5980]{color:#323233;font-size:%?30?%;font-weight:500;font-family:PingFang SC}.content .contail .info .rightbox .righttitle .active[data-v-91cc5980]{margin-left:%?16?%;width:%?104?%;height:%?32?%;border-radius:%?6?%;opacity:1;color:#fff;font-size:%?20?%;font-weight:500;font-family:PingFang SC;line-height:%?32?%;text-align:center;background:linear-gradient(90deg,#ff3d3d,#ff7a30)}.content .contail .info .rightbox .activeimg[data-v-91cc5980]{margin-top:%?12?%;display:flex;align-items:center;justify-content:space-between}.content .contail .info .rightbox .activeimg uni-image[data-v-91cc5980]{width:%?284?%;height:%?136?%;border-radius:%?24?%}.content .contail .waterfall[data-v-91cc5980]{color:rgba(0,0,0,.9);font-size:%?30?%;font-weight:400;font-family:PingFang SC;text-align:left}.content .contail .waterfall .falltitle[data-v-91cc5980]{color:rgba(0,0,0,.9);font-size:%?30?%;font-weight:400;font-family:PingFang SC;margin-top:%?24?%;display:flex;align-items:center}.content .contail .waterfall .falltitle .fallnev[data-v-91cc5980]{margin-right:%?40?%}.content .contail .waterfall .falltitle .fallnev .tip[data-v-91cc5980]{width:0;height:0}.content .contail .waterfall .falltitle .newfall[data-v-91cc5980]{position:relative;color:rgba(0,0,0,.9);font-size:%?36?%;font-weight:600;font-family:PingFang SC}.content .contail .waterfall .falltitle .newfall .tip[data-v-91cc5980]{position:absolute;bottom:0;right:0;width:%?64?%;height:%?12?%;border-radius:%?14?%;opacity:1;background:rgba(254,208,0,.6)}.content .contail .waterfall .misslist[data-v-91cc5980]{margin-top:%?24?%}.content .contail .waterfall .misslist .item[data-v-91cc5980]{padding:%?24?%;box-sizing:border-box}.content .contail .waterfall .misslist .item .desc[data-v-91cc5980]{margin-top:%?14?%;display:flex;align-items:center;justify-content:space-between;color:rgba(0,0,0,.6);font-size:%?20?%;font-weight:400;font-family:PingFang SC}.content .contail .waterfall .misslist .item .desc .money[data-v-91cc5980]{color:#f85317;font-size:%?32?%;font-weight:700;font-family:Montserrat}.content .contail .waterfall .misslist .item .desc .money uni-text[data-v-91cc5980]{font-size:%?24?%;font-weight:500}body.?%PAGE?%[data-v-91cc5980]{background:#f6f6f6}',""]),t.exports=e},"62c8":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-view[data-v-7bf5e5a3], uni-scroll-view[data-v-7bf5e5a3], uni-swiper-item[data-v-7bf5e5a3]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-swiper-indicator__wrapper[data-v-7bf5e5a3]{display:flex;flex-direction:row}.u-swiper-indicator__wrapper--line[data-v-7bf5e5a3]{border-radius:100px;height:4px}.u-swiper-indicator__wrapper--line__bar[data-v-7bf5e5a3]{width:22px;height:4px;border-radius:100px;background-color:#fff;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.u-swiper-indicator__wrapper__dot[data-v-7bf5e5a3]{width:5px;height:5px;border-radius:100px;margin:0 4px}.u-swiper-indicator__wrapper__dot--active[data-v-7bf5e5a3]{width:12px}',""]),t.exports=e},"67db":function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("60f5")),r={name:"u-swiper",mixins:[uni.$u.mpMixin,uni.$u.mixin,a.default],data:function(){return{currentIndex:0}},watch:{current:function(t,e){t!==e&&(this.currentIndex=t)}},computed:{itemStyle:function(){var t=this;return function(e){var i={};return t.nextMargin&&t.previousMargin&&(i.borderRadius=uni.$u.addUnit(t.radius),e!==t.currentIndex&&(i.transform="scale(0.92)")),i}}},methods:{getItemType:function(t){return"string"===typeof t?uni.$u.test.video(this.getSource(t))?"video":"image":"object"===typeof t&&this.keyName?t.type?"image"===t.type?"image":"video"===t.type?"video":"image":uni.$u.test.video(this.getSource(t))?"video":"image":void 0},getSource:function(t){return"string"===typeof t?t:"object"===typeof t&&this.keyName?t[this.keyName]:(uni.$u.error("请按格式传递列表参数"),"")},change:function(t){var e=t.detail.current;this.pauseVideo(this.currentIndex),this.currentIndex=e,this.$emit("change",t.detail)},pauseVideo:function(t){var e=this.getSource(this.list[t]);if(uni.$u.test.video(e)){var i=uni.createVideoContext("video-".concat(t),this);i.pause()}},getPoster:function(t){return"object"===typeof t&&t.poster?t.poster:""},clickHandler:function(t){this.$emit("click",t)}}};e.default=r},"744f":function(t,e,i){"use strict";i.r(e);var n=i("a110"),a=i("83b2");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("4267");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"7bf5e5a3",null,!1,n["a"],o);e["default"]=c.exports},8011:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.waterfalls-flow[data-v-5605dbfc]{overflow:hidden}.waterfalls-flow-column[data-v-5605dbfc]{float:left}.column-value[data-v-5605dbfc]{width:100%;font-size:0;overflow:hidden;transition:opacity .4s;opacity:0}.column-value-show[data-v-5605dbfc]{opacity:1}.column-value .inner[data-v-5605dbfc]{font-size:%?30?%}.column-value .img[data-v-5605dbfc]{width:100%}.column-value .img-hide[data-v-5605dbfc]{display:none}.column-value .img-error[data-v-5605dbfc]{background:#f2f2f2 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAiAQMAAAAatXkPAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAAIZJREFUCNdlzjEKwkAUBNAfEGyCuYBkLyLuxRYW2SKlV1JSeA2tUiZg4YrLjv9PGsHqNTPMSAQuyAJgRDHSyvBPwtZoSJXakeJI9iuRLGDygdl6V0yKDtyMAeMPZySj8yfD+UapvRPj2JOwkyAooSV5IwdDjPdCPspe8LyTl9IKJvDETKKRv6vnlUasgg0fAAAAAElFTkSuQmCC) no-repeat 50%}.bot[data-v-5605dbfc]{padding-right:%?25?%;padding-bottom:%?20?%;display:flex;justify-content:flex-end}.bot uni-image[data-v-5605dbfc]{width:%?40?%;height:%?40?%}.waterfalls-flow-column[data-v-5605dbfc]{position:relative}.topState[data-v-5605dbfc]{z-index:1;position:absolute;left:0;top:0;width:%?132?%;height:%?56?%;border-radius:%?12?% 0 %?24?% 0;opacity:1;background:#fed000}.Sold[data-v-5605dbfc]{background:#dadada;color:rgba(0,0,0,.9);font-size:%?26?%}.column-value[data-v-5605dbfc], .column-value-show[data-v-5605dbfc]{position:relative}',""]),t.exports=e},8293:function(t,e,i){var n=i("8011");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("e073b3b8",n,!0,{sourceMap:!1,shadowMode:!1})},"83b2":function(t,e,i){"use strict";i.r(e);var n=i("95b5"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"8ddc":function(t,e,i){var n=i("2f2e");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("6dd6b891",n,!0,{sourceMap:!1,shadowMode:!1})},9529:function(t,e,i){var n=i("62ba");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("52f6a836",n,!0,{sourceMap:!1,shadowMode:!1})},"95b5":function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("327a")),r={name:"u-swiper-indicator",mixins:[uni.$u.mpMixin,uni.$u.mixin,a.default],data:function(){return{lineWidth:22}},computed:{lineStyle:function(){var t={};return t.width=uni.$u.addUnit(this.lineWidth),t.transform="translateX(".concat(uni.$u.addUnit(this.current*this.lineWidth),")"),t.backgroundColor=this.indicatorActiveColor,t},dotStyle:function(){var t=this;return function(e){var i={};return i.backgroundColor=e===t.current?t.indicatorActiveColor:t.indicatorInactiveColor,i}}}};e.default=r},"9c97":function(t,e,i){"use strict";i.r(e);var n=i("c54a"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"9ca9":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uLoadingIcon:i("0d9a").default,uSwiperIndicator:i("744f").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-swiper",style:{backgroundColor:t.bgColor,height:t.$u.addUnit(t.height),borderRadius:t.$u.addUnit(t.radius)}},[t.loading?i("v-uni-view",{staticClass:"u-swiper__loading"},[i("u-loading-icon",{attrs:{mode:"circle"}})],1):i("v-uni-swiper",{staticClass:"u-swiper__wrapper",style:{height:t.$u.addUnit(t.height)},attrs:{circular:t.circular,interval:t.interval,duration:t.duration,autoplay:t.autoplay,current:t.current,currentItemId:t.currentItemId,previousMargin:t.$u.addUnit(t.previousMargin),nextMargin:t.$u.addUnit(t.nextMargin),acceleration:t.acceleration,displayMultipleItems:t.displayMultipleItems,easingFunction:t.easingFunction},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.change.apply(void 0,arguments)}}},t._l(t.list,(function(e,n){return i("v-uni-swiper-item",{key:n,staticClass:"u-swiper__wrapper__item"},[i("v-uni-view",{staticClass:"u-swiper__wrapper__item__wrapper",style:[t.itemStyle(n)]},["image"===t.getItemType(e)?i("v-uni-image",{staticClass:"u-swiper__wrapper__item__wrapper__image",style:{height:t.$u.addUnit(t.height),borderRadius:t.$u.addUnit(t.radius)},attrs:{src:t.getSource(e),mode:t.imgMode},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickHandler(n)}}}):t._e(),"video"===t.getItemType(e)?i("v-uni-video",{staticClass:"u-swiper__wrapper__item__wrapper__video",style:{height:t.$u.addUnit(t.height)},attrs:{id:"video-"+n,"enable-progress-gesture":!1,src:t.getSource(e),poster:t.getPoster(e),title:t.showTitle&&t.$u.test.object(e)&&e.title?e.title:"",controls:!0},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickHandler(n)}}}):t._e(),t.showTitle&&t.$u.test.object(e)&&e.title&&t.$u.test.image(t.getSource(e))?i("v-uni-text",{staticClass:"u-swiper__wrapper__item__wrapper__title u-line-1"},[t._v(t._s(e.title))]):t._e()],1)],1)})),1),i("v-uni-view",{staticClass:"u-swiper__indicator",style:[t.$u.addStyle(t.indicatorStyle)]},[t._t("indicator",[t.loading||!t.indicator||t.showTitle?t._e():i("u-swiper-indicator",{attrs:{indicatorActiveColor:t.indicatorActiveColor,indicatorInactiveColor:t.indicatorInactiveColor,length:t.list.length,current:t.currentIndex,indicatorMode:t.indicatorMode}})])],2)],1)},r=[]},a110:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-swiper-indicator"},["line"===t.indicatorMode?i("v-uni-view",{staticClass:"u-swiper-indicator__wrapper",class:["u-swiper-indicator__wrapper--"+t.indicatorMode],style:{width:t.$u.addUnit(t.lineWidth*t.length),backgroundColor:t.indicatorInactiveColor}},[i("v-uni-view",{staticClass:"u-swiper-indicator__wrapper--line__bar",style:[t.lineStyle]})],1):t._e(),"dot"===t.indicatorMode?i("v-uni-view",{staticClass:"u-swiper-indicator__wrapper"},t._l(t.length,(function(e,n){return i("v-uni-view",{key:n,staticClass:"u-swiper-indicator__wrapper__dot",class:[n===t.current&&"u-swiper-indicator__wrapper__dot--active"],style:[t.dotStyle(n)]})})),1):t._e()],1)},r=[]},a7f7:function(t,e,i){var n=i("62c8");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("5fd7a3e4",n,!0,{sourceMap:!1,shadowMode:!1})},bf68:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"waterfalls-flow"},t._l(t.data.column,(function(e,n){return i("v-uni-view",{key:n,staticClass:"waterfalls-flow-column",style:{width:t.w,"margin-left":0==n?0:t.m},attrs:{id:"waterfalls_flow_column_"+(n+1),msg:t.msg}},t._l(t.columnValue(n),(function(e,a){return i("v-uni-view",{key:a,class:["column-value",{"column-value-show":e.o}],style:[t.s1],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.wapperClick(e)}}},[1==t.data.seat?i("v-uni-view",{staticClass:"inner"},[t._t("default",null,null,e)],2):t._e(),i("v-uni-image",{class:["img",{"img-hide":1==e[t.hideImageKey]||1==e[t.hideImageKey]},{"img-error":!e[t.data.imageKey]}],attrs:{src:e[t.data.imageKey],mode:"widthFix"},on:{load:function(i){arguments[0]=i=t.$handleEvent(i),t.imgLoad(e,n+1)},error:function(i){arguments[0]=i=t.$handleEvent(i),t.imgError(e,n+1)},click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.imageClick(e)}}}),2==t.data.seat?i("v-uni-view",{staticClass:"inner"},[t._t("default",null,null,e),1==t.isSend?i("v-uni-view",{staticClass:"topState flexC",class:"我是标题4"==e.title?"Sale":"Sold"},[t._v(t._s("我是标题4"==e.title?"售卖中":"已发货"))]):t._e(),1==t.isSend?i("v-uni-view",{staticClass:"bot"},[i("v-uni-image",{attrs:{src:"/static/edit.png",mode:""},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.edit(e)}}}),i("v-uni-image",{attrs:{src:"/static/del.png",mode:""},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.del(e)}}})],1):t._e()],2):t._e()],1)})),1)})),1)},r=[]},c0fa:function(t,e,i){"use strict";var n=i("8293"),a=i.n(n);a.a},c54a:function(t,e,i){"use strict";var n=i("4ea4");i("4de4"),i("a434"),i("a9e3"),i("d3b7"),i("ac1f"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("1da1")),r=n(i("5530")),o={props:{value:Array,column:{type:[String,Number],default:2},maxColumn:{type:[String,Number],default:5},columnSpace:{type:[String,Number],default:2},imageKey:{type:[String],default:"image"},hideImageKey:{type:[String],default:"hide"},seat:{type:[String,Number],default:2},listStyle:{type:Object},isSend:{type:[String,Number],default:0}},data:function(){return{data:{list:this.value?this.value:[],column:this.column<2?2:this.column,columnSpace:this.columnSpace<=5?this.columnSpace:5,imageKey:this.imageKey,seat:this.seat},msg:0,listInitStyle:{"border-radius":"12rpx","margin-bottom":"20rpx","background-color":"#fff"},adds:[],isLoaded:!0,curIndex:0,isRefresh:!0,flag:!1,refreshDatas:[]}},computed:{w:function(){var t="".concat(100/this.data.column-+this.data.columnSpace,"%");return t},m:function(){var t="".concat((100-(100/this.data.column-+this.data.columnSpace).toFixed(5)*this.data.column)/(this.data.column-1),"%");return t},s1:function(){return(0,r.default)((0,r.default)({},this.listInitStyle),this.listStyle)}},created:function(){this.refresh()},methods:{loadImages:function(){for(var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=0,n=this.data.list.filter((function(t,i){return i>=e})),a=0;a<n.length;a++)uni.getImageInfo({src:"".concat(n[a][this.imageKey],".jpg"),complete:function(a){i++,i==n.length&&t.initValue(e)}})},refresh:function(){var t=this;if(!this.isLoaded)return this.refreshDatas=this.value,!1;setTimeout((function(){t.refreshDatas=[],t.isRefresh=!0,t.adds=[],t.data.list=t.value?t.value:[],t.data.column=t.column<2?2:t.column>=t.maxColumn?t.maxColumn:t.column,t.data.columnSpace=t.columnSpace<=5?t.columnSpace:5,t.data.imageKey=t.imageKey,t.data.seat=t.seat,t.curIndex=0;for(var e=1;e<=t.data.column;e++)t.data["column_".concat(e,"_values")]=[],t.msg++;t.$nextTick((function(){t.initValue(t.curIndex,"refresh==>")}))}),1)},columnValue:function(t){return this.data["column_".concat(t+1,"_values")]},change:function(t){for(var e=0;e<this.data.list.length;e++)for(var i=this.data["column_".concat(this.data.list[e].column,"_values")],n=0;n<i.length;n++)if(t[e]&&e===i[n].index){this.data["column_".concat(this.data.list[e].column,"_values")][n]=Object.assign(i[n],t[e]),this.msg++;break}},getMin:function(t,e){for(var i=t[0][e],n=t[0],a=t.length-1;a>=0;a--)t[a][e]<i&&(i=t[a][e]);return n=t.filter((function(t){return t[e]==i})),n[0]},getMinColumnHeight:function(){var t=this;return new Promise((function(e){for(var i=[],n=function(n){var a=uni.createSelectorQuery().in(t);a.select("#waterfalls_flow_column_".concat(n)).boundingClientRect((function(t){i.push({column:n,height:t.height})})).exec((function(){t.data.column<=i.length&&e(t.getMin(i,"height"))}))},a=1;a<=t.data.column;a++)n(a)}))},initValue:function(t,e){var i=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i.isLoaded=!1,!(t>=i.data.list.length||i.refreshDatas.length)){e.next=5;break}return i.msg++,i.loaded(),e.abrupt("return",!1);case 5:return e.next=7,i.getMinColumnHeight();case 7:n=e.sent,a=i.data["column_".concat(n.column,"_values")],i.data.list[t].column=n.column,a.push((0,r.default)((0,r.default)({},i.data.list[t]),{},{cIndex:a.length,index:t,o:0})),i.msg++;case 12:case"end":return e.stop()}}),e)})))()},imgLoad:function(t,e){var i=t.index;t.o=1,this.$set(this.data["column_".concat(e,"_values")],t.cIndex,JSON.parse(JSON.stringify(t))),this.initValue(i+1)},imgError:function(t,e){var i=t.index;t.o=1,t[this.data.imageKey]=null,this.$set(this.data["column_".concat(e,"_values")],t.cIndex,JSON.parse(JSON.stringify(t))),this.initValue(i+1)},loaded:function(){if(this.refreshDatas.length)return this.isLoaded=!0,this.refresh(),!1;this.curIndex=this.data.list.length,this.adds.length?(this.data.list=this.adds[0],this.adds.splice(0,1),this.initValue(this.curIndex)):(this.data.list.length&&this.$emit("loaded"),this.isLoaded=!0,this.isRefresh=!1)},wapperClick:function(t){this.$emit("wapperClick",t)},imageClick:function(t){this.$emit("imageClick",t)},edit:function(t){this.$emit("edit",t)},del:function(t){console.log("del"),this.$emit("del",t)}},watch:{value:{deep:!0,handler:function(t,e){var i=this;setTimeout((function(){i.$nextTick((function(){if(i.isRefresh)return!1;if(i.isLoaded){if(t.length<=i.curIndex)return i.change(t);i.data.list=t,i.$nextTick((function(){i.initValue(i.curIndex,"watch==>")}))}else i.adds.push(t)}))}),10)}},column:function(t){this.refresh()}}};e.default=o},d089:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arcList=e.sortList=e.getBanner=void 0;var n=i("14ba"),a=function(){return(0,n.request)({url:"index/banner",method:"post",data:{}})};e.getBanner=a;var r=function(t){return(0,n.request)({url:"index/sort_index",method:"post",data:{type:t}})};e.sortList=r;var o=function(){return(0,n.request)({url:"index/arc_list",method:"post",data:{}})};e.arcList=o},e27e:function(t,e,i){"use strict";i.r(e);var n=i("67db"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a}}]);