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-classify-classify.1c5...

1 lines
12 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-classify-classify"],{"0b29":function(a,t,i){"use strict";i.d(t,"b",(function(){return e})),i.d(t,"c",(function(){return s})),i.d(t,"a",(function(){}));var e=function(){var a=this,t=a.$createElement,i=a._self._c||t;return i("v-uni-view",{staticClass:"page-total"},[i("v-uni-view",{staticClass:"tab-list"},a._l(a.TabBarList,(function(t,e){return i("v-uni-view",{key:e,staticClass:"list",on:{click:function(i){arguments[0]=i=a.$handleEvent(i),a.onTabBar(t,e)}}},[i("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:a.tabBarShow===e,expression:"tabBarShow === index"}],attrs:{src:t.acImg,mode:"widthFix"}}),i("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:a.tabBarShow!=e,expression:"tabBarShow != index"}],attrs:{src:t.img,mode:"widthFix"}}),i("v-uni-text",{class:{action:a.tabBarShow===e}},[a._v(a._s(t.name))])],1)})),1)],1)},s=[]},"1d5a":function(a,t,i){"use strict";var e=i("e686"),s=i.n(e);s.a},"7a9d":function(a,t,i){"use strict";i.r(t);var e=i("8ec9"),s=i("9c34");for(var n in s)["default"].indexOf(n)<0&&function(a){i.d(t,a,(function(){return s[a]}))}(n);i("b771");var c=i("f0c5"),r=Object(c["a"])(s["default"],e["b"],e["c"],!1,null,"04fcafa5",null,!1,e["a"],void 0);t["default"]=r.exports},"84a9":function(a,t,i){"use strict";i.r(t);var e=i("c0c0"),s=i.n(e);for(var n in e)["default"].indexOf(n)<0&&function(a){i.d(t,a,(function(){return e[a]}))}(n);t["default"]=s.a},"8ec9":function(a,t,i){"use strict";i.d(t,"b",(function(){return s})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return e}));var e={TabBar:i("eae9").default},s=function(){var a=this,t=a.$createElement,i=a._self._c||t;return i("v-uni-view",{ref:"page",staticClass:"page"},[i("v-uni-view",{staticClass:"search-index"},[i("v-uni-view",{staticClass:"icon",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.onPayCode.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont icon-fukuanma"})],1),i("v-uni-view",{staticClass:"search"},[i("v-uni-view",{staticClass:"iconfont icon-fadajing"}),i("v-uni-input",{attrs:{type:"text",placeholder:"输入搜索内容"}})],1),i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"iconfont icon-xiaoxi"})],1)],1),i("v-uni-view",{staticClass:"classify-data",style:"height:"+a.height+"px"},[i("v-uni-view",{staticClass:"classify-one"},[i("v-uni-scroll-view",{staticClass:"classify-list",attrs:{"scroll-y":!0}},[i("v-uni-view",{staticClass:"list action"},[i("v-uni-text",[a._v("推荐分类")])],1),a._l(10,(function(t,e){return i("v-uni-view",{key:e,staticClass:"list"},[i("v-uni-text",[a._v("分类"+a._s(e))])],1)}))],2)],1),i("v-uni-view",{staticClass:"classify-two-three"},[i("v-uni-scroll-view",{staticClass:"scroll",attrs:{"scroll-y":!0}},a._l(6,(function(t,e){return i("v-uni-view",{key:e,staticClass:"classify-two"},[i("v-uni-view",{staticClass:"two-name"},[i("v-uni-view",{staticClass:"name"},[a._v("常用分类")])],1),i("v-uni-view",{staticClass:"classify-three"},[i("v-uni-view",{staticClass:"list"},[i("v-uni-image",{attrs:{src:"/static/img/goods_thumb_0"+(e+1)+".png"}}),i("v-uni-text",[a._v("女衣服")])],1),i("v-uni-view",{staticClass:"list"},[i("v-uni-image",{attrs:{src:"/static/img/goods_thumb_0"+(e+1)+".png"}}),i("v-uni-text",[a._v("男衣服")])],1),i("v-uni-view",{staticClass:"list"},[i("v-uni-image",{attrs:{src:"/static/img/goods_thumb_0"+(e+1)+".png"}}),i("v-uni-text",[a._v("衣服啊")])],1)],1)],1)})),1)],1)],1),i("TabBar",{attrs:{tabBarShow:1}})],1)},n=[]},"93e5":function(a,t,i){var e=i("24fb");t=e(!1),t.push([a.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}',""]),a.exports=t},"9c34":function(a,t,i){"use strict";i.r(t);var e=i("c524"),s=i.n(e);for(var n in e)["default"].indexOf(n)<0&&function(a){i.d(t,a,(function(){return e[a]}))}(n);t["default"]=s.a},adf1:function(a,t,i){var e=i("c341");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[a.i,e,""]]),e.locals&&(a.exports=e.locals);var s=i("4f06").default;s("33d70abf",e,!0,{sourceMap:!1,shadowMode:!1})},b771:function(a,t,i){"use strict";var e=i("adf1"),s=i.n(e);s.a},c0c0:function(a,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("a9e3"),i("ac1f"),i("841c");var e={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 a=this;uni.getSystemInfo({success:function(t){console.log(t.brand),console.log(t.model),console.log(t.screenWidth),console.log(t.screenHeight),a.codeheight=Math.round(t.screenHeight),a.phoneModel=t.model,t.model.search("iPhone")?a.isOverall=0:Math.round(t.screenHeight)>740&&(a.isOverall=1),console.log(a.isOverall)}})}catch(t){}},methods:{onTabBar:function(a,t){switch(t){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}}}};t.default=e},c341:function(a,t,i){var e=i("24fb");t=e(!1),t.push([a.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/* 文章场景相关 */uni-page-body[data-v-04fcafa5]{background-color:#fff}body.?%PAGE?%[data-v-04fcafa5]{background-color:#fff}.page[data-v-04fcafa5]{position:absolute;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;padding-bottom:%?100?%;background-color:#fff}\r\n/* 搜索 */.search-index[data-v-04fcafa5]{position:fixed;left:0;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;width:100%;height:%?100?%;padding:0 4%;background-color:#fff}.search-index .icon[data-v-04fcafa5]{display:flex;align-items:center;justify-content:space-around;width:10%;height:100%}.search-index .icon uni-text[data-v-04fcafa5]{color:#333;font-size:%?52?%}.search-index .search[data-v-04fcafa5]{display:flex;align-items:center;padding:0 3%;width:75%;height:%?60?%;background-color:#f6f6f6;border-radius:%?60?%}.search-index .search .iconfont[data-v-04fcafa5]{font-size:%?28?%;color:silver}.search-index .search uni-input[data-v-04fcafa5]{width:90%;height:100%;color:#212121;font-size:%?24?%;margin-left:%?10?%}\r\n/* 分类数据 */.classify-data[data-v-04fcafa5]{display:flex;width:100%;height:90%;background-color:#fff;margin-top:%?100?%}.classify-data .classify-one[data-v-04fcafa5]{width:25%;height:100%;background-color:#f6f6f6}.classify-data .classify-one .classify-list[data-v-04fcafa5]{width:100%;height:100%}.classify-data .classify-one .classify-list .list[data-v-04fcafa5]{display:flex;align-items:center;justify-content:center;width:100%;height:%?80?%}.classify-data .classify-one .classify-list .list uni-text[data-v-04fcafa5]{display:flex;align-items:center;justify-content:center;width:100%;color:silver;font-size:%?26?%;box-sizing:border-box}.classify-data .classify-one .classify-list .action[data-v-04fcafa5]{background-color:#fff}.classify-data .classify-one .classify-list .action uni-text[data-v-04fcafa5]{font-size:%?28?%;color:#212121;border-left:%?6?% solid #236030;box-sizing:border-box}.classify-data .classify-two-three[data-v-04fcafa5]{width:70%;height:100%;padding-left:5%}.classify-data .classify-two-three .scroll[data-v-04fcafa5]{width:100%;height:100%}.classify-data .classify-two-three .scroll .classify-two[data-v-04fcafa5]{width:100%}.classify-data .classify-two-three .scroll .classify-two .two-name[data-v-04fcafa5]{display:flex;justify-content:space-between;align-items:center;width:100%;height:%?80?%}.classify-data .classify-two-three .scroll .classify-two .two-name .name[data-v-04fcafa5]{font-size:%?26?%;color:#212121}.classify-data .classify-two-three .scroll .classify-three[data-v-04fcafa5]{display:flex;flex-wrap:wrap;width:100%}.classify-data .classify-two-three .scroll .classify-three .list[data-v-04fcafa5]{display:flex;flex-direction:column;justify-content:center;align-items:center;width:32%;height:%?140?%;margin-right:2%}.classify-data .classify-two-three .scroll .classify-three .list uni-image[data-v-04fcafa5]{width:%?80?%;height:%?80?%}.classify-data .classify-two-three .scroll .classify-three .list uni-text[data-v-04fcafa5]{color:#212121;font-size:%?24?%;margin-top:%?10?%}.classify-data .classify-two-three .scroll .classify-three .list[data-v-04fcafa5]:nth-child(3n){margin-right:0}',""]),a.exports=t},c524:function(a,t,i){"use strict";i("7a82");var e=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("ac1f");var s=e(i("eae9")),n={components:{TabBar:s.default},data:function(){return{height:0}},onReady:function(){var a=this;setTimeout((function(){uni.hideTabBar()}),100);var t=uni.createSelectorQuery().select(".page");t.boundingClientRect((function(t){console.log(t.height),a.height=t.height-100})).exec()},methods:{onCode:function(){uni.scanCode({onlyFromCamera:!0,success:function(a){console.log("条码类型:"+a.scanType),console.log("条码内容:"+a.result)}})},onPayCode:function(){uni.navigateTo({url:"/pages/PaymentCode/PaymentCode"})}}};t.default=n},e686:function(a,t,i){var e=i("93e5");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[a.i,e,""]]),e.locals&&(a.exports=e.locals);var s=i("4f06").default;s("1771924f",e,!0,{sourceMap:!1,shadowMode:!1})},eae9:function(a,t,i){"use strict";i.r(t);var e=i("0b29"),s=i("84a9");for(var n in s)["default"].indexOf(n)<0&&function(a){i.d(t,a,(function(){return s[a]}))}(n);i("1d5a");var c=i("f0c5"),r=Object(c["a"])(s["default"],e["b"],e["c"],!1,null,"36b00f8a",null,!1,e["a"],void 0);t["default"]=r.exports}}]);