shop-php/public/static/js/pages-plantGrass-plant_topic-index.74e44c21.js

1 line
8.3 KiB
JavaScript
Raw Normal View History

2023-09-05 14:13:48 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-plantGrass-plant_topic-index"],{"0dc9":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("cd8c"),o=n("26cb"),r=(getApp(),{computed:(0,o.mapGetters)(["viewColor"]),data:function(){return{productList:[],navActive:0,number:"",height:0,winHeight:0,childList:[]}},watch:{},onLoad:function(t){var e=this;uni.getSystemInfo({success:function(t){e.winHeight=t.windowHeight}})},onShow:function(){this.productList.length||this.getAllCategory()},onReady:function(){},methods:{tap:function(t,e){this.navActive=t,this.childList=this.productList[t].children},getAllCategory:function(){var t=this;(0,i.getTopicList)().then((function(e){t.productList=e.data;for(var n=0;n<t.productList.length;n++)if(t.productList[n].children&&t.productList[n].children.length>0)return void(t.childList=t.productList[n].children)}))}}});e.default=r},3365:function(t,e,n){var i=n("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/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.productSort[data-v-2de9f2f8]{display:flex;flex-direction:column;width:100%}.productSort .con-box[data-v-2de9f2f8]{flex:1;display:flex;overflow:hidden}.productSort .aside[data-v-2de9f2f8]{background-color:#f5f5f5;overflow-y:auto;overflow-x:hidden;width:%?202?%;height:100%;overflow-y:scroll}.productSort .aside .item[data-v-2de9f2f8]{height:%?100?%;width:100%;font-size:%?28?%;color:#666}.productSort .aside .item_text[data-v-2de9f2f8]{padding-left:%?20?%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.productSort .aside .item.on[data-v-2de9f2f8]{background-color:#fff;border-left:%?4?% solid var(--view-theme);width:100%;text-align:center;color:var(--view-theme);font-weight:700}.productSort .conter[data-v-2de9f2f8]{flex:1;height:100%;padding:0 %?30?%;background-color:#fff;overflow-y:scroll}.productSort .conter .list[data-v-2de9f2f8]{flex-wrap:wrap}.productSort .conter .list .item[data-v-2de9f2f8]{margin-top:%?26?%;margin-bottom:%?40?%;align-items:center}.productSort .conter .list .item .picture[data-v-2de9f2f8]{width:%?110?%;height:%?110?%;border-radius:%?8?%}.productSort .conter .list .item .picture uni-image[data-v-2de9f2f8]{width:100%;height:100%;border-radius:%?8?%}.productSort .conter .list .item .text[data-v-2de9f2f8]{margin-left:%?30?%}.productSort .conter .list .text .name[data-v-2de9f2f8]{font-size:%?28?%;color:#282828;font-weight:700;max-width:%?300?%}.productSort .list .item .info[data-v-2de9f2f8]{font-size:%?24?%;color:#999;margin-top:%?10?%}',""]),t.exports=e},"39d5":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"productSort",style:"height:"+t.winHeight+"px"},[n("v-uni-view",{staticClass:"con-box",style:t.viewColor},[n("v-uni-view",{staticClass:"aside"},[n("v-uni-scroll-view",{staticStyle:{height:"100%",overflow:"hidden"},attrs:{"scroll-y":"true","scroll-with-animation":"true"}},t._l(t.p