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.

1 line
11 KiB

3 years ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-example-components"],{2694:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var i={pageNav:n("6967").default,uCellGroup:n("e5cc").default,uCellItem:n("ee0a").default,uGap:n("e2a6").default},o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"wrap"},[n("page-nav",{attrs:{desc:e.desc,title:"nav.components"}}),n("v-uni-view",{staticClass:"list-wrap"},e._l(e.list,(function(t,i){return n("u-cell-group",{key:i,attrs:{"title-bg-color":"rgb(243, 244, 246)",title:e.getGroupTitle(t)}},e._l(t.list,(function(t,i){return n("u-cell-item",{key:i,attrs:{titleStyle:{fontWeight:500},title:e.getFieldTitle(t)},on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.openPage(t.path)}}},[n("v-uni-image",{staticClass:"u-cell-icon",attrs:{slot:"icon",src:e.getIcon(t.icon),mode:"widthFix"},slot:"icon"})],1)})),1)})),1),n("u-gap",{attrs:{height:"70"}})],1)},a=[]},"2ed8":function(e,t,n){"use strict";var i=n("a366"),o=n.n(i);o.a},"544d":function(e,t,n){"use strict";var i=n("a01d"),o=n.n(i);o.a},7281:function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \n */.u-cell-icon[data-v-a5dc715e]{width:%?36?%;height:%?36?%;margin-right:%?8?%}',""]),e.exports=t},"770d":function(e,t,n){"use strict";n.r(t);var i=n("84c7"),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a},"84c7":function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("d38d")),a={data:function(){return{list:o.default}},computed:{getIcon:function(){return function(e){return"https://cdn.uviewui.com/uview/example/"+e+".png"}},desc:function(){return this.$t("components.desc")}},onShow:function(){uni.setNavigationBarTitle({title:this.$t("nav.components")})},created:function(){},methods:{openPage:function(e){this.$u.route({url:e})},getGroupTitle:function(e){return"zh"==this.$i18n.locale?e.groupName:e.groupName_en},getFieldTitle:function(e){return"zh"==this.$i18n.locale?e.title:e.title_en}}};t.default=a},"90ba":function(e,t,n){"use strict";n.r(t);var i=n("2694"),o=n("770d");for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);n("2ed8"),n("544d");var p,c=n("f0c5"),s=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"a5dc715e",null,!1,i["a"],p);t["default"]=s.exports},a01d:function(e,t,n){var i=n("7281");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4f06").default;o("4550c9a5",i,!0,{sourceMap:!1,shadowMode:!1})},a366:function(e,t,n){var i=n("adfc");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4f06").default;o("7e454504",i,!0,{sourceMap:!1,shadowMode:!1})},adfc:function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* page {\n\tbackground-color: rgb(240, 242, 244);\n} */",""]),e.exports=t},d38d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=[{groupName:"基础组件",groupName_en:"Basic components",list:[{path:"/pages/componentsC/color/index",icon:"color",title:"Color 色彩",title_en:"Color"},{path:"/pages/componentsA/icon/index",icon:"icon",title:"Icon 图标",title_en:"Icon"},{path:"/pages/componentsB/image/index",icon:"image",title:"Image 图片",title_en:"Image"},{path:"/pages/componentsC/button/index",icon:"button",title:"Button 按钮",title_en:"Button"},{path:"/pages/componentsC/layout/index",icon:"layout",title:"Layout 布局",title_en:"Layout"},{path:"/pages/componentsC/cell/index",i