frontend_h5/treegitee/unpackage/dist/build/h5/static/js/pages-index-index.ae900799.js

1 line
17 KiB
JavaScript
Raw Normal View History

2024-06-17 15:25:46 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"0093":function(t,e,i){"use strict";i.r(e);var a=i("71c8"),n=i("eefb");for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);i("ebb9");var r=i("f0c5"),o=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"3fa99dd0",null,!1,a["a"],void 0);e["default"]=o.exports},"0d0f":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,"uni-page-body[data-v-6d3b46c5]{background:#f5f5f5!important}body.?%PAGE?%[data-v-6d3b46c5]{background:#f5f5f5!important}.search[data-v-6d3b46c5]{width:100%;border-radius:%?46?%;opacity:1;border:%?1?% solid #d3d3d3}.t3[data-v-6d3b46c5]{\n\t/* background: linear-gradient(180deg, #FFF8EF 0%, #FFFFFF 100%); */background:#fff;box-shadow:%?0?% %?8?% %?20?% %?0?% rgba(0,0,0,.06);border-radius:%?28?%;font-family:PingFang SC-粗体,PingFang SC;font-weight:400}.dui[data-v-6d3b46c5]{\n\t/* width: 198rpx; */height:%?226?%;background:#ffefda;border-radius:%?12?%}.z5[data-v-6d3b46c5]{height:%?260?%;width:100%;position:relative}.z4[data-v-6d3b46c5]{height:%?192?%;width:48%;position:relative}.sk[data-v-6d3b46c5]{background-image:url(https://pfapi.86698.cn/static/images/sk.png);background-size:100% 100%;width:%?174?%;height:%?174?%}.vhy[data-v-6d3b46c5]{background-image:url(https://pfapi.86698.cn/static/images/video.png);background-size:100% 100%;width:48%;height:%?248?%}.vqt[data-v-6d3b46c5]{width:56%;height:%?248?%}.one[data-v-6d3b46c5]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;width:%?174?%}.chosethis[data-v-6d3b46c5]{font-weight:700;color:#003a6e}.nochossethis[data-v-6d3b46c5]{color:#9d9d9d;font-weight:lighter}.home uni-swiper[data-v-6d3b46c5]{height:%?454?%!important}",""]),t.exports=e},"0f2a":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("4284")),s={name:"u-line-progress",mixins:[uni.$u.mpMixin,uni.$u.mixin,n.default],data:function(){return{lineWidth:0}},watch:{percentage:function(t){this.resizeProgressWidth()}},computed:{progressStyle:function(){var t={};return t.width=this.lineWidth,t.backgroundColor=this.activeColor,t.height=uni.$u.addUnit(this.height),t},innserPercentage:function(){return uni.$u.range(0,100,this.percentage)}},mounted:function(){this.init()},methods:{init:function(){var t=this;uni.$u.sleep(20).then((function(){t.resizeProgressWidth()}))},getProgressWidth:function(){return this.$uGetRect(".u-line-progress__background")},resizeProgressWidth:function(){var t=this;this.getProgressWidth().then((function(e){var i=e.width;t.lineWidth=i*t.innserPercentage/100+"px"}))}}};e.default=s},"1d85":function(t,e,i){"use strict";i.r(e);var a=i("3bad"),n=i.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);e["default"]=n.a},"2abb":function(t,e,i){var a=i("0d0f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("e33adb14",a,!0,{sourceMap:!1,shadowMode:!1})},"3bad":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d3b7"),i("159b");var a={data:function(){return{istrue:!1,imgUrl:"",form:{keywords:""},activits2:[{m1:"18.8",tt:"优酷年卡+酷狗豪华年卡",jf:"1500",z:5},{m1:"18.8",tt:"优酷年卡+酷狗豪华年卡",jf:"1500",z:5}],mlist:[],whop:{min_price:"",max_price:"",page:1,pageSize:1100},whoindex:0,goodlist:[],banners:[],hotActivity:[],hotProduct:[],hotproducts:[]}},onLoad:function(){this.imgUrl=this.api.imgUrl,this.gettoken()},methods:{gettoken:function(){var t=this;uni.showLoading({title:"加载中..."}),this.api.login({account:"testq12",password:"123456"}).then((function(e){console.log(e),200==e.data.code?(uni.setStorageSync("token",e.data.data.authtoken),uni.setStorageSync("phone",e.data.data.phone),uni.setStorageSync("uu",e.data.data.id),t.getdata()):uni.showToast({title:e.data.message,icon:"none"})}))},getdata:function(){var t=this;this.api.homedata().then(