You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
huazhiyu/unpackage/dist/build/h5/static/js/pages-discover-discover.0a0...

1 lines
12 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-discover-discover"],{"0b29":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"page-total"},[a("v-uni-view",{staticClass:"tab-list"},t._l(t.TabBarList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"list",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onTabBar(e,i)}}},[a("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:t.tabBarShow===i,expression:"tabBarShow === index"}],attrs:{src:e.acImg,mode:"widthFix"}}),a("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:t.tabBarShow!=i,expression:"tabBarShow != index"}],attrs:{src:e.img,mode:"widthFix"}}),a("v-uni-text",{class:{action:t.tabBarShow===i}},[t._v(t._s(e.name))])],1)})),1)],1)},n=[]},"1d5a":function(t,e,a){"use strict";var i=a("e686"),n=a.n(i);n.a},"4c59":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{mescroll:null}},onPullDownRefresh:function(){this.mescroll&&this.mescroll.onPullDownRefresh()},onPageScroll:function(t){this.mescroll&&this.mescroll.onPageScroll(t)},onReachBottom:function(){this.mescroll&&this.mescroll.onReachBottom()},methods:{mescrollInit:function(t){this.mescroll=t,this.mescrollInitByRef()},mescrollInitByRef:function(){if(!this.mescroll||!this.mescroll.resetUpScroll){var t=this.$refs.mescrollRef;t&&(this.mescroll=t.mescroll)}},downCallback:function(){var t=this;this.mescroll.optUp.use?this.mescroll.resetUpScroll():setTimeout((function(){t.mescroll.endSuccess()}),500)},upCallback:function(){var t=this;setTimeout((function(){t.mescroll.endErr()}),500)}},mounted:function(){this.mescrollInitByRef()}},n=i;e.default=n},"52cf":function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("eae9")),r=i(a("4c59")),s={mixins:[r.default],components:{TabBar:n.default},data:function(){return{mescroll:null,downOption:{},upOption:{}}},onReady:function(){uni.hideTabBar()},methods:{downCallback:function(){this.mescroll.endSuccess()},upCallback:function(t){var e=this;setTimeout((function(){e.mescroll.endByPage(10,20)}),2e3)},onArticle:function(){uni.navigateTo({url:"/pages/ArticleDetails/ArticleDetails"})}}};e.default=s},"55f6":function(t,e,a){var i=a("24fb");e=i(!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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.page[data-v-1dff2e01]{padding-bottom:%?100?%;background-color:#f6f6f6}\r\n/* 文章搜索 */.article-search[data-v-1dff2e01]{position:fixed;left:0;top:0;z-index:10;display:flex;justify-content:center;align-items:center;width:100%;height:%?100?%;padding:0 4%;background-color:#fff;border-radius:0 0 %?20?% %?20?%}.article-search .icon[data-v-1dff2e01]{display:flex;align-items:center;justify-content:space-around;width:10%;height:100%}.article-search .icon uni-text[data-v-1dff2e01]{color:#333;font-size:%?52?%}.article-search .search[data-v-1dff2e01]{display:flex;align-items:center;padding:0 3%;width:90%;height:%?60?%;background-color:#f6f6f6;border-radius:%?60?%}.article-search .search .iconfont[data-v-1dff2e01]{font-size:%?28?%;color:silver}.article-search .search uni-input[data-v-1dff2e01]{width:90%;height:100%;color:#212121;font-size:%?24?%;margin-left:%?10?%}\r\n/* 文章数据 */.article-data[data-v-1dff2e01]{width:100%;margin-top:%?120?%}.article-data .article-list[data-v-1dff2e01]{padding:0 4%;margin:%?20?% auto}.article-data .article-list .list[data-v-1dff2e01]{display:flex;align-items:center;width:100%;height:%?300?%;background-color:#fff;border-radius:%?20?%;margin-bottom:%?20?%}.article-data .article-list .list .item[data-v-1dff2e01]{display:flex;flex-direction:column;justify-content:space-between;width:70%;height:100%;padding:0 4%}.article-data .article-list .list .item .title[data-v-1dff2e01]{display:flex;padding:%?20?%}.article-data .article-list .list .item .title uni-text[data-v-1dff2e01]{color:#212121;font-size:%?28?%}.article-data .article-list .list .item .find-collect[data-v-1dff2e01]{display:flex;align-items:center;padding:0 %?20?%;height:%?80?%}.article-data .article-list .list .item .find-collect .find[data-v-1dff2e01]{display:flex;align-items:center;margin-right:%?20?%}.article-data .article-list .list .item .find-collect .find .iconfont[data-v-1dff2e01]{font-size:%?34?%;margin-right:%?10?%}.article-data .article-list .list .item .find-collect .find uni-text[data-v-1dff2e01]{color:silver;font-size:%?28?%}.article-data .article-list .list .thumb[data-v-1dff2e01]{padding:%?20?%}.article-data .article-list .list .thumb uni-image[data-v-1dff2e01]{width:%?200?%;height:%?200?%}',""]),t.exports=e},"84a9":function(t,e,a){"use strict";a.r(e);var i=a("c0c0"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"85ee":function(t,e,a){"use strict";a.r(e);var i=a("52cf"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},8847:function(t,e,a){"use strict";a.r(e);var i=a("d03c"),n=a("85ee");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("e06e");var s=a("f0c5"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"1dff2e01",null,!1,i["a"],void 0);e["default"]=c.exports},"93e5":function(t,e,a){var i=a("24fb");e=i(!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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.page-total[data-v-36b00f8a]{position:fixed;left:0;bottom:0;width:100%}.tab-list[data-v-36b00f8a]{display:flex;justify-content:space-between;align-items:center;width:100%;height:%?100?%;background-color:#fff}.tab-list .list[data-v-36b00f8a]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:20%;height:%?100?%}.tab-list .list uni-image[data-v-36b00f8a]{width:%?48?%;height:%?48?%}.tab-list .list uni-text[data-v-36b00f8a]{color:#333;font-size:%?24?%;margin-top:%?10?%}.tab-list .list .action[data-v-36b00f8a]{color:#9f751f}',""]),t.exports=e},c0c0:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a9e3"),a("ac1f"),a("841c");var i={data:function(){return{TabBarList:[{index:0,name:"首页",img:"/static/tabBar/tab_01.png",acImg:"/static/tabBar/tab_02.png"},{index:1,name:"抢购",img:"/static/tabBar/tab_03.png",acImg:"/static/tabBar/tab_04.png"},{index:2,name:"购物车",img:"/static/tabBar/tab_07.png",acImg:"/static/tabBar/tab_08.png"},{index:3,name:"我的",img:"/static/tabBar/tab_09.png",acImg:"/static/tabBar/tab_10.png"}],codeheight:0,isOverall:0,phoneModel:""}},props:{tabBarShow:{type:Number,default:0}},mounted:function(){try{uni.getSystemInfoSync();var t=this;uni.getSystemInfo({success:function(e){console.log(e.brand),console.log(e.model),console.log(e.screenWidth),console.log(e.screenHeight),t.codeheight=Math.round(e.screenHeight),t.phoneModel=e.model,e.model.search("iPhone")?t.isOverall=0:Math.round(e.screenHeight)>740&&(t.isOverall=1),console.log(t.isOverall)}})}catch(e){}},methods:{onTabBar:function(t,e){switch(e){case 0:uni.switchTab({url:"/pages/home/home"});break;case 1:uni.switchTab({url:"/pages/qianggou/qianggou"});break;case 2:uni.switchTab({url:"/pages/cart/cart"});break;case 3:uni.switchTab({url:"/pages/my/my"});break}}}};e.default=i},d03c:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var i={TabBar:a("eae9").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"page"},[a("v-uni-view",{staticClass:"article-search"},[a("v-uni-view",{staticClass:"search"},[a("v-uni-view",{staticClass:"iconfont icon-fadajing"}),a("v-uni-input",{attrs:{type:"text",placeholder:"输入搜索内容"}})],1)],1),a("mescroll-body",{ref:"mescrollRef",attrs:{down:t.downOption,up:t.upOption,top:0},on:{down:function(e){arguments[0]=e=t.$handleEvent(e),t.downCallback.apply(void 0,arguments)},up:function(e){arguments[0]=e=t.$handleEvent(e),t.upCallback.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"article-data"},[a("v-uni-view",{staticClass:"article-list"},t._l(8,(function(e,i){return a("v-uni-view",{key:i,staticClass:"list",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onArticle.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"title"},[a("v-uni-text",{staticClass:"two-omit"},[t._v("贴身内衣裤挑选指南,专业知识在这里")])],1),a("v-uni-view",{staticClass:"find-collect"},[a("v-uni-view",{staticClass:"find"},[a("v-uni-text",{staticClass:"iconfont icon-chankan"}),a("v-uni-text",[t._v("26.8万人")])],1),a("v-uni-view",{staticClass:"find"},[a("v-uni-text",{staticClass:"iconfont icon-shoucang"}),a("v-uni-text",[t._v("7000人")])],1)],1)],1),a("v-uni-view",{staticClass:"thumb"},[a("v-uni-image",{attrs:{src:"/static/img/goods_thumb_0"+(i+1)+".png"}})],1)],1)})),1)],1)],1),a("TabBar",{attrs:{tabBarShow:2}})],1)},r=[]},e06e:function(t,e,a){"use strict";var i=a("ee89"),n=a.n(i);n.a},e686:function(t,e,a){var i=a("93e5");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("1771924f",i,!0,{sourceMap:!1,shadowMode:!1})},eae9:function(t,e,a){"use strict";a.r(e);var i=a("0b29"),n=a("84a9");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("1d5a");var s=a("f0c5"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"36b00f8a",null,!1,i["a"],void 0);e["default"]=c.exports},ee89:function(t,e,a){var i=a("55f6");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("18c677c7",i,!0,{sourceMap:!1,shadowMode:!1})}}]);