pages-example-components.f3e0fb97.js 16 KB

1
  1. (self["webpackChunkuview2_0_cli"]=self["webpackChunkuview2_0_cli"]||[]).push([[3680],{69341:function(t,e,n){var i=n(60707);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var o=n(56).Z;o("7acd339d",i,!0,{sourceMap:!1,shadowMode:!1})},46141:function(t,e,n){var i=n(21208);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var o=n(56).Z;o("eade5dea",i,!0,{sourceMap:!1,shadowMode:!1})},70462:function(t,e,n){var i=n(68959);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var o=n(56).Z;o("5e3c6538",i,!0,{sourceMap:!1,shadowMode:!1})},21914:function(t,e,n){var i=n(72621);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var o=n(56).Z;o("731b51be",i,!0,{sourceMap:!1,shadowMode:!1})},33922:function(t,e,n){var i=n(11537);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var o=n(56).Z;o("2a3f178e",i,!0,{sourceMap:!1,shadowMode:!1})},45829:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var i,o={uLine:n(36083).Z},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-cell-group",class:[t.customClass],style:[t.$u.addStyle(t.customStyle)]},[t.title?n("v-uni-view",{staticClass:"u-cell-group__title"},[t._t("title",[n("v-uni-text",{staticClass:"u-cell-group__title__text"},[t._v(t._s(t.title))])])],2):t._e(),n("v-uni-view",{staticClass:"u-cell-group__wrapper"},[t.border?n("u-line"):t._e(),t._t("default")],2)],1)},s=[],l={props:{title:{type:String,default:uni.$u.props.cellGroup.title},border:{type:Boolean,default:uni.$u.props.cellGroup.border}}},p={name:"u-cell-group",mixins:[uni.$u.mpMixin,uni.$u.mixin,l]},c=p,r=(n(46141),n(69453)),u=(0,r.Z)(c,a,s,!1,null,"61315bde",null,!1,o,i),d=u.exports},70296:function(t,e,n){"use strict";var i;n.d(e,{Z:function(){return d}});var o,a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-gap",style:[t.gapStyle]})},s=[],l=(n(9653),{props:{bgColor:{type:String,default:uni.$u.props.gap.bgColor},height:{type:[String,Number],default:uni.$u.props.gap.height},marginTop:{type:[String,Number],default:uni.$u.props.gap.marginTop},marginBottom:{type:[String,Number],default:uni.$u.props.gap.marginBottom}}}),p={name:"u-gap",mixins:[uni.$u.mpMixin,uni.$u.mixin,l],computed:{gapStyle:function(){var t={backgroundColor:this.bgColor,height:uni.$u.addUnit(this.height),marginTop:uni.$u.addUnit(this.marginTop),marginBottom:uni.$u.addUnit(this.marginBottom)};return uni.$u.deepMerge(t,uni.$u.addStyle(this.customStyle))}}},c=p,r=(n(70462),n(69453)),u=(0,r.Z)(c,a,s,!1,null,"a54a97e0",null,!1,i,o),d=u.exports},44384:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var i,o={"u-Image":n(78657).Z},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"nav-wrap"},[n("v-uni-view",{staticClass:"nav-title"},[n("u--image",{attrs:{showLoading:!0,src:"https://cdn.uviewui.com/uview/common/logo.png",width:"70px",height:"70px"}}),n("v-uni-view",{staticClass:"nav-info"},[n("v-uni-view",{staticClass:"nav-info__title",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.jumpToWx.apply(void 0,arguments)}}},[n("v-uni-text",{staticClass:"nav-info__title__text"},[t._v("uView "+t._s(t.version))])],1),n("v-uni-text",{staticClass:"nav-slogan"},[t._v("多平台快速开发的UI框架")])],1)],1),n("v-uni-text",{staticClass:"nav-desc"},[t._v(t._s(t.desc))])],1)},s=[],l={props:{desc:String,title:String},data:function(){return{version:uni.$u.config.v}},methods:{jumpToWx:function(){}}},p=l,c=(n(21914),n(69453)),r=(0,c.Z)(p,a,s,!1,null,"1a91d7bd",null,!1,o,i),u=r.exports},51971:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return d}});var i,o={pageNav:n(44384).Z,uCellGroup:n(45829).Z,uCell:n(4438).Z,uGap:n(70296).Z},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"wrap"},[n("page-nav",{attrs:{desc:t.desc}}),n("v-uni-view",{staticClass:"list-wrap"},t._l(t.list,(function(e,i){return n("u-cell-group",{key:i,attrs:{"title-bg-color":"rgb(243, 244, 246)",title:e.groupName}},t._l(e.list,(function(e,i){return n("u-cell",{key:i,attrs:{titleStyle:{fontWeight:500},title:e.title,isLink:!0,name:e.path},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openPage.apply(void 0,arguments)}}},[n("v-uni-image",{staticClass:"u-cell-icon",attrs:{slot:"icon",src:t.getIcon(e.icon),mode:"widthFix"},slot:"icon"})],1)})),1)})),1),n("u-gap",{attrs:{height:"30",bgColor:"#fff"}})],1)},s=[],l=[{groupName:"基础组件",groupName_en:"Basic components",list:[{path:"/pages/componentsB/color/color",icon:"color",title:"Color 色彩",title_en:"Color"},{path:"/pages/componentsA/icon/icon",icon:"icon",title:"Icon 图标",title_en:"Icon"},{path:"/pages/componentsA/image/image",icon:"image",title:"Image 图片",title_en:"Image"},{path:"/pages/componentsA/button/button",icon:"button",title:"Button 按钮",title_en:"Button"},{path:"/pages/componentsC/text/text",icon:"text",title:"Text 文本",title_en:"Text"},{path:"/pages/componentsC/layout/layout",icon:"layout",title:"Layout 布局",title_en:"Layout"},{path:"/pages/componentsA/cell/cell",icon:"cell",title:"Cell 单元格",title_en:"Cell"},{path:"/pages/componentsB/badge/badge",icon:"badge",title:"Badge 徽标数",title_en:"Badge"},{path:"/pages/componentsB/tag/tag",icon:"tag",title:"Tag 标签",title_en:"Tag"},{path:"/pages/componentsA/loading-icon/loading-icon",icon:"loading",title:"Loading 加载动画",title_en:"loading Icon"},{path:"/pages/componentsA/loading-page/loading-page",icon:"loading-page",title:"Loading page 加载页",title_en:"Loading Page"}]},{groupName:"表单组件",groupName_en:"Form components",list:[{path:"/pages/componentsC/form/form",icon:"form",title:"Form 表单",title_en:"Form"},{path:"/pages/componentsC/calendar/calendar",icon:"calendar",title:"Calendar 日历",title_en:"Calendar"},{path:"/pages/componentsB/keyboard/keyboard",icon:"keyboard",title:"Keyboard 键盘",title_en:"Keyboard"},{path:"/pages/componentsC/picker/picker",icon:"picker",title:"Picker 选择器",title_en:"Picker"},{path:"/pages/componentsC/datetimePicker/datetimePicker",icon:"datetimePicker",title:"DatetimePicker 时间选择器",title_en:"Picker"},{path:"/pages/componentsA/rate/rate",icon:"rate",title:"Rate 评分",title_en:"Rate"},{path:"/pages/componentsB/search/search",icon:"search",title:"Search 搜索",title_en:"Search"},{path:"/pages/componentsB/numberBox/numberBox",icon:"numberBox",title:"NumberBox 步进器",title_en:"NumberBox"},{path:"/pages/componentsB/upload/upload",icon:"upload",title:"Upload 上传",title_en:"Upload"},{path:"/pages/componentsB/code/code",icon:"code",title:"Code 验证码倒计时",title_en:"VerificationCode"},{path:"/pages/componentsC/input/input",icon:"field",title:"Input 输入框",title_en:"Input"},{path:"/pages/componentsC/textarea/textarea",icon:"textarea",title:"Textarea 文本域",title_en:"Textarea"},{path:"/pages/componentsA/checkbox/checkbox",icon:"checkbox",title:"Checkbox 复选框",title_en:"Checkbox"},{path:"/pages/componentsA/radio/radio",icon:"radio",title:"Radio 单选框",title_en:"Radio"},{path:"/pages/componentsB/switch/switch",icon:"switch",title:"Switch 开关选择器",title_en:"Switch"},{path:"/pages/componentsB/slider/slider",icon:"slider",title:"Slider 滑动选择器",title_en:"Slider"},{path:"/pages/componentsC/album/album",icon:"album",title:"Album 相册",title_en:"Album"}]},{groupName:"数据组件",groupName_en:"Data components",list:[{path:"/pages/componentsC/list/list",icon:"list",title:"List 列表",title_en:"List"},{path:"/pages/componentsB/progress/progress",icon:"progress",title:"Progress 进度条",title_en:"Progress"},{path:"/pages/componentsB/countDown/countDown",icon:"countDown",title:"CountDown 倒计时",title_en:"CountDown"},{path:"/pages/componentsB/countTo/countTo",icon:"countTo",title:"CountTo 数字滚动",title_en:"CountTo"}]},{groupName:"反馈组件",groupName_en:"Feedback components",list:[{path:"/pages/componentsC/tooltip/tooltip",icon:"tooltip",title:"Tooltip 长按提示",title_en:"ActionSheet"},{path:"/pages/componentsB/actionSheet/actionSheet",icon:"actionSheet",title:"ActionSheet 上拉菜单",title_en:"ActionSheet"},{path:"/pages/componentsB/alert/alert",icon:"alert",title:"Alert 警告提示",title_en:"Alert"},{path:"/pages/componentsB/toast/toast",icon:"toast",title:"Toast 消息提示",title_en:"Toast"},{path:"/pages/componentsB/noticeBar/noticeBar",icon:"noticeBar",title:"NoticeBar 滚动通知",title_en:"NoticeBar"},{path:"/pages/componentsB/notify/notify",icon:"notify",title:"Notify 消息提示",title_en:"Notify"},{path:"/pages/componentsA/swipeAction/swipeAction",icon:"swipeAction",title:"SwipeAction 滑动单元格",title_en:"SwipeAction"},{path:"/pages/componentsB/collapse/collapse",icon:"collapse",title:"Collapse 折叠面板",title_en:"Collapse"},{path:"/pages/componentsA/popup/popup",icon:"popup",title:"Popup 弹出层",title_en:"Popup"},{path:"/pages/componentsC/modal/modal",icon:"modal",title:"Modal 模态框",title_en:"Modal"}]},{groupName:"布局组件",groupName_en:"Layout components",list:[{path:"/pages/componentsC/scrollList/scrollList",icon:"scrollList",title:"ScrollList 横向滚动列表",title_en:"ScrollList"},{path:"/pages/componentsA/line/line",icon:"line",title:"Line 线条",title_en:"Line"},{path:"/pages/componentsA/overlay/overlay",icon:"mask",title:"Overlay 遮罩层",title_en:"Overlay"},{path:"/pages/componentsC/noNetwork/noNetwork",icon:"noNetwork",title:"NoNetwork 无网络提示",title_en:"NoNetwork"},{path:"/pages/componentsA/grid/grid",icon:"grid",title:"Grid 宫格布局",title_en:"Grid"},{path:"/pages/componentsC/swiper/swiper",icon:"swiper",title:"Swiper 轮播图",title_en:"Swiper"},{path:"/pages/componentsC/skeleton/skeleton",icon:"skeleton",title:"Skeleton 骨架屏",title_en:"Skeleton"},{path:"/pages/componentsA/sticky/sticky",icon:"sticky",title:"Sticky 吸顶",title_en:"Sticky"},{path:"/pages/componentsA/divider/divider",icon:"divider",title:"Divider 分割线",title_en:"Divider"}]},{groupName:"导航组件",groupName_en:"Navigation components",list:[{path:"/pages/componentsB/tabbar/tabbar",icon:"tabbar",title:"Tabbar 底部导航栏",title_en:"Tabbar"},{path:"/pages/componentsA/backtop/backtop",icon:"backTop",title:"BackTop 返回顶部",title_en:"BackTop"},{path:"/pages/componentsC/navbar/navbar",icon:"navbar",title:"Navbar 导航栏",title_en:"Navbar"},{path:"/pages/componentsC/tabs/tabs",icon:"tabs",title:"Tabs 标签",title_en:"Tabs"},{path:"/pages/componentsC/subsection/subsection",icon:"subsection",title:"Subsection 分段器",title_en:"Subsection"},{path:"/pages/componentsC/indexList/indexList",icon:"indexList",title:"IndexList 索引列表",title_en:"IndexList"},{path:"/pages/componentsC/steps/steps",icon:"steps",title:"Steps 步骤条",title_en:"Steps"},{path:"/pages/componentsA/empty/empty",icon:"empty",title:"Empty 内容为空",title_en:"Empty"}]},{groupName:"其他组件",groupName_en:"Other components",list:[{path:"/pages/componentsB/parse/parse",icon:"parse",title:"Parse 富文本解析器",title_en:"Parse"},{path:"/pages/componentsC/codeInput/codeInput",icon:"messageInput",title:"CodeInput 验证码输入",title_en:"CodeInput"},{path:"/pages/componentsC/loadmore/loadmore",icon:"loadmore",title:"Loadmore 加载更多",title_en:"Loadmore"},{path:"/pages/componentsC/readMore/readMore",icon:"readMore",title:"ReadMore 展开阅读更多",title_en:"ReadMore"},{path:"/pages/componentsA/gap/gap",icon:"gap",title:"Gap 间隔槽",title_en:"Gap"},{path:"/pages/componentsC/avatar/avatar",icon:"avatar",title:"Avatar 头像",title_en:"Avatar"},{path:"/pages/componentsA/link/link",icon:"link",title:"Link 超链接",title_en:"Link"},{path:"/pages/componentsA/transition/transition",icon:"transition",title:"transition 动画",title_en:"动画"}]}],p={data:function(){return{list:l,desc:"uView UI,是全面兼容nvue的uni-app生态框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水。"}},computed:{getIcon:function(){return function(t){return"https://cdn.uviewui.com/uview/example/"+t+".png"}}},methods:{openPage:function(t){var e=t.name;uni.$u.route({url:e})}}},c=p,r=(n(69341),n(33922),n(69453)),u=(0,r.Z)(c,a,s,!1,null,"05e5e742",null,!1,o,i),d=u.exports},60707:function(t,e,n){"use strict";n.r(e);var i=n(43481),o=n.n(i),a=n(2400),s=n.n(a),l=s()(o());l.push([t.id,"\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["default"]=l},21208:function(t,e,n){"use strict";n.r(e);var i=n(43481),o=n.n(i),a=n(2400),s=n.n(a),l=s()(o());l.push([t.id,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用\n */uni-view[data-v-61315bde], uni-scroll-view[data-v-61315bde], uni-swiper-item[data-v-61315bde]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-cell-group[data-v-61315bde]{flex:1}.u-cell-group__title[data-v-61315bde]{padding:16px 16px 8px}.u-cell-group__title__text[data-v-61315bde]{font-size:15px;line-height:16px;color:#303133}.u-cell-group__wrapper[data-v-61315bde]{position:relative}',""]),e["default"]=l},68959:function(t,e,n){"use strict";n.r(e);var i=n(43481),o=n.n(i),a=n(2400),s=n.n(a),l=s()(o());l.push([t.id,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用\n */uni-view[data-v-a54a97e0], uni-scroll-view[data-v-a54a97e0], uni-swiper-item[data-v-a54a97e0]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}',""]),e["default"]=l},72621:function(t,e,n){"use strict";n.r(e);var i=n(43481),o=n.n(i),a=n(2400),s=n.n(a),l=s()(o());l.push([t.id,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用\n */.nav-wrap[data-v-1a91d7bd]{padding:15px;position:relative}.lang[data-v-1a91d7bd]{position:absolute;top:15px;right:15px}.nav-title[data-v-1a91d7bd]{display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.nav-info[data-v-1a91d7bd]{margin-left:15px}.nav-info__title[data-v-1a91d7bd]{display:flex;flex-direction:row;align-items:center}.nav-info__title__text[data-v-1a91d7bd]{display:flex;color:#303133;font-size:25px;font-weight:700;text-align:left}.nav-info__title__jump[data-v-1a91d7bd]{font-size:12px;color:#3c9cff;font-weight:400;margin-left:20px}.logo[data-v-1a91d7bd]{width:70px;height:70px;height:auto}.nav-slogan[data-v-1a91d7bd]{color:#909193;font-size:14px}.nav-desc[data-v-1a91d7bd]{margin-top:10px;font-size:14px;color:#606266;line-height:20px}',""]),e["default"]=l},11537:function(t,e,n){"use strict";n.r(e);var i=n(43481),o=n.n(i),a=n(2400),s=n.n(a),l=s()(o());l.push([t.id,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用\n */.u-cell-icon1[data-v-05e5e742]{width:%?36?%;height:%?36?%;margin-right:%?8?%}.u-cell-group__title__text[data-v-05e5e742]{font-weight:700}',""]),e["default"]=l}}]);