text: !function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=453)}({0:function(t,e,i){"use strict";function n(t,e,i,n,o,r,a,l,s,c){var u,d="function"==typeof t?t.options:t;if(s){d.components||(d.components={});var f=Object.prototype.hasOwnProperty;for(var _ in s)f.call(s,_)&&!f.call(d.components,_)&&(d.components[_]=s[_])}if(c&&((c.beforeCreate||(c.beforeCreate=[])).unshift((function(){this[c.__module]=this})),(d.mixins||(d.mixins=[])).push(c)),e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),n&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),a?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},d._ssrRegister=u):o&&(u=l?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(d.functional){d._injectStyles=u;var p=d.render;d.render=function(t,e){return u.call(e),p(t,e)}}else{var g=d.beforeCreate;d.beforeCreate=g?[].concat(g,u):[u]}return{exports:t,options:d}}i.d(e,"a",(function(){return n}))},1:function(t,e){t.exports={}},11:function(t,e,i){Vue.prototype.__$appStyle__={},Vue.prototype.__merge_style&&Vue.prototype.__merge_style(i(12).default,Vue.prototype.__$appStyle__)},12:function(t,e,i){"use strict";i.r(e);var n=i(1),o=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e.default=o.a},13:function(t,e,i){"use strict";i.r(e);var n=i(5),o=i(2);for(var r in o)"default"!==r&&function(t){i.d(e,t,(function(){return o[t]}))}(r);var a=i(0);var l=Object(a.a)(o.default,n.b,n.c,!1,null,"89f36d3c","79710968",!1,n.a,void 0);(function(t){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(i(6).default,this.options.style):Object.assign(this.options.style,i(6).default)}).call(l),e.default=l.exports},2:function(t,e,i){"use strict";i.r(e);var n=i(3),o=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e.default=o.a},207:function(t,e,i){"use strict";i.r(e);var n=i(208),o=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e.default=o.a},208:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"UniCard",props:{title:{type:String,default:""},subTitle:{type:String,default:""},extra:{type:String,default:""},note:{type:String,default:""},thumbnail:{type:String,default:""},mode:{type:String,default:"basic"},isFull:{type:Boolean,default:!1},isShadow:{type:[Boolean,String],default:!1}},methods:{onClick:function(){this.$emit("click")}}};e.default=n},209:function(t,e){t.exports={"uni-card":{marginTop:"12",marginRight:"15",marginBottom:"12",marginLeft:"15",backgroundColor:"#ffffff",position:"relative",flexDirection:"column",borderRadius:"5",overflow:"hidden"},"uni-border":{position:"relative",borderColor:"#e5e5e5",borderStyle:"solid",borderWidth:"0.5",zIndex:1},"uni-border-bottom":{position:"relative",borderBottomColor:"#e5e5e5",borderBottomStyle:"solid",borderBottomWidth:"0.5",zIndex:1},"uni-border-top":{position:"relative",borderTopColor:"#e5e5e5",borderTopStyle:"solid",borderTopWidth:"0.5",zIndex:1},"uni-card__thumbnailimage":{position:"relative",flexDirection:"column",justifyContent:"center",height:"150",overflow:"hidden"},"uni-card__thumbnailimage-box":{flex:1,flexDirection:"row",overflow:"hidden"},"uni-card__thumbnailimage-image":{flex:1},"uni-card__thumbnailimage-title":{position:"absolute",bottom:0,left:0,right:0,flexDirection:"row",paddingTop:"8",paddingRight:"12",paddingBottom:"8",paddingLeft:"12",backgroundColor:"rgba(0,0,0,0.4)"},"uni-card__thumbnailimage-title-text":{flex:1,fontSize:"14",color:"#ffffff"},"uni-card__title":{flexDirection:"row",alignItems:"center",paddingTop:"10",paddingRight:"10",paddingBottom:"10",paddingLeft:"10"},"uni-card__title-box":{flex:1,flexDirection:"row",alignItems:"center",overflow:"hidden"},"uni-card__title-header":{width:"40",height:"40",overflow:"hidden",borderRadius:"5"},"uni-card__title-header-image":{width:"40",height:"40"},"uni-card__title-content":{flexDirection:"column",justifyContent:"center",flex:1,paddingLeft:"10",height:"40",overflow:"hidden"},"uni-card__title-content-title":{fontSize:"14",lineHeight:"22"},"uni-card__title-content-extra":{fontSize:"12",lineHeight:"27",color:"#999999"},"uni-card__header":{position:"relative",flexDirection:"row",paddingTop:"12",paddingRight:"12",paddingBottom:"12",paddingLeft:"12",alignItems:"center"},"uni-card__header-title":{flexDirection:"row",marginRight:"8",justifyContent:"flex-start",alignItems:"center"},"uni-card__header-title-text":{fontSize:16,flex:1,color:"#333333"},"uni-card__header-extra-img":{height:"20",width:"20",marginRight:"8"},"uni-card__header-extra-text":{flex:1,marginLeft:"8",fontSize:"12",textAlign:"right",color:"#999999"},"uni-card__content":{color:"#333333"},"uni-card__content--pd":{paddingTop:"12",paddingRight:"12",paddingBottom:"12",paddingLeft:"12"},"uni-card__content-extra":{fontSize:"14",paddingBottom:"10",color:"#999999"},"uni-card__footer":{justifyContent:"space-between",paddingTop:"12",paddingRight:"12",paddingBottom:"12",paddingLeft:"12"},"uni-card__footer-text":{color:"#999999",fontSize:"12"},"uni-card--shadow":{position:"relative"},"uni-card--full":{marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,borderRadius:0},"uni-ellipsis":{lines:1}}},210:function(t,e,i){"use strict";var n=i(211),o=i.n(n);e.default=o.a},211:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={components:{},data:function(){return{list:[{id:0,title:"",content:"",shadow:!1,note:"",extra:"",thumbnail:""},{id:1,title:"标题文字",content:"",shadow:!0,note:"",extra:"额外信息",thumbnail:""},{id:2,title:"标题文字",content:"",shadow:!0,note:"Tips",extra:"额外信息",thumbnail:""},{id:3,title:"标题文字",content:"这是一个完整配置的基础卡片示例。内容样式可自定义。",shadow:!0,note:"Tips",extra:"额外信息",thumbnail:"https://img-cdn-qiniu.dcloud.net.cn/new-page/uni.png"}],Tips:["喜欢","评论","分享"]}},methods:{clickCard:function(){uni.showToast({title:"点击卡片",icon:"none"})},footerClick:function(t){uni.showToast({title:t,icon:"none"})}}};e.default=n},212:function(t,e){t.exports={example:{paddingTop:0,paddingRight:"15",paddingBottom:0,paddingLeft:"15"},"example-info":{paddingTop:"15",paddingRight:"15",paddingBottom:"15",paddingLeft:"15",color:"#3b4144",backgroundColor:"#ffffff",fontSize:"14",lineHeight:"20"},"example-info-text":{fontSize:"14",lineHeight:"20",color:"#3b4144"},"example-body":{flexDirection:"column",paddingTop:"1",paddingRight:0,paddingBottom:"1",paddingLeft:0,backgroundColor:"#ffffff"},"word-btn-white":{fontSize:"18",color:"#FFFFFF"},"word-btn":{flexDirection:"row",alignItems:"center",justifyContent:"center",borderRadius:"6",height:"48",marginTop:"15",marginRight:"15",marginBottom:"15",marginLeft:"15",backgroundColor:"#007AFF"},"word-btn--hover":{backgroundColor:"#4ca2ff"},"example-box":{marginTop:"12",marginRight:0,marginBottom:"12",marginLeft:0},"image-box":{height:"350rpx",overflow:"hidden"},image:{flex:1},"content-box":{paddingTop:"20rpx"},"content-box-text":{fontSize:"12",lineHeight:"22"},"footer-box":{justifyContent:"space-between",flexDirection:"row"},"footer-box__item":{alignItems:"center",paddingTop:"2",paddingRight:0,paddingBottom:"2",paddingLeft:0,fontSize:"12",color:"#666666"}}},3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"UniTitle",props:{type:{type:String,default:""},title:{type:String,default:""},subTitle:{type:String,default:""}},data:function(){return{}},watch:{title:function(t){uni.report&&""!==t&&uni.report("title",t)}},methods:{onClick:function(){this.$emit("click")}}};e.default=n},306:function(t,e,i){"use strict";var n={uniSection:i(13).default,uniCard:i(454).default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("scroll-view",{staticStyle:{flexDirection:"column"},attrs:{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true"}},[i("view",[i("u-text",{staticClass:["example-info"]},[t._v("卡片组件通用来显示完整独立的一段信息，同时让用户理解他的作用。例如一篇文章的预览图、作者信息、时间等，卡片通常是更复杂和更详细信息的入口点。")]),i("uni-section",{attrs:{title:"基础卡片",type:"line"}}),i("view",{staticClass:["example-body"]},[i("uni-card",{on:{click:t.clickCard}},[i("u-text",{staticClass:["content-box-text"]},[t._v("这是一个基础卡片示例，内容较少，此示例不带边框阴影。")])]),i("uni-card",{attrs:{title:"标题文字",isShadow:!0},on:{click:t.clickCard}},[i("u-text",{staticClass:["content-box-text"]},[t._v("这是一个基础卡片示例，内容比较多，内容样式可自定义，卡片视图常用来显示完整独立的一段信息，比如一篇文章的预览图、作者信息、时间等，此示例带边框阴影。")])]),i("uni-card",{attrs:{title:"标题文字",extra:"额外信息",isShadow:!0,note:"Tips"},on:{click:t.clickCard}},[i("u-text",{staticClass:["content-box-text"]},[t._v("这是一个相对比较完整的基础卡片示例，带有标题、额外信息以及底部信息，内容样式可自定义。")])])],1),i("uni-section",{attrs:{title:"通栏卡片",type:"line"}}),i("view",{staticClass:["example-body"]},[i("view",{staticClass:["example-box"]},[i("uni-card",{attrs:{title:"标题文字",isFull:!0,isShadow:"true",note:"额外信息",extra:"额外信息"},on:{click:t.clickCard}},[i("u-text",{staticClass:["content-box-text"]},[t._v("通栏卡片，左右上下没有间距，用户可自定义卡片距离等信息")])])],1)]),i("uni-section",{attrs:{title:"图文卡片",type:"line"}}),i("view",{staticClass:["example-body"]},[i("uni-card",{attrs:{isShadow:!0,title:"标题文字",mode:"style",thumbnail:"https://img-cdn-qiniu.dcloud.net.cn/uniapp/images/shuijiao.jpg",extra:"额外信息",note:"true"},on:{click:t.clickCard}},[i("u-text",{staticClass:["content-box-text"]},[t._v("图文卡片支持传入一张图片，在最上方显示，标题作为图片描述，额外信息作为内容标题，通常作用为作者信息或发布时间描述，自行配置是否需要底部信息")]),i("block",{attrs:{slot:"footer"},slot:"footer"},[i("view",{staticClass:["footer-box"]},[i("view",{on:{click:function(e){t.footerClick("喜欢")}}},[i("u-text",{staticClass:["footer-box__item"]},[t._v("喜欢")])]),i("view",{on:{click:function(e){t.footerClick("评论")}}},[i("u-text",{staticClass:["footer-box__item"]},[t._v("评论")])]),i("view",{on:{click:function(e){t.footerClick("分享")}}},[i("u-text",{staticClass:["footer-box__item"]},[t._v("分享")])])])])],1)],1),i("uni-section",{attrs:{title:"标题卡片",type:"line"}}),i("view",{staticClass:["example-body"]},[i("uni-card",{attrs:{isShadow:!0,title:"标题内容",subTitle:"副标题",mode:"title",thumbnail:"https://img-cdn-qiniu.dcloud.net.cn/new-page/uni.png",extra:"技术没有上限",note:"true"},on:{click:t.clickCard}},[i("view",[i("view",{staticClass:["image-box"]},[i("u-image",{staticClass:["image"],attrs:{mode:"aspectFill",src:"https://img-cdn-qiniu.dcloud.net.cn/uniapp/images/shuijiao.jpg"}})],1),i("view",{staticClass:["content-box"]},[i("u-text",{staticClass:["content-box-text"]},[t._v("标题卡片带有一个双标题头部，右侧为额外描述信息 ，内容可自定义实现")])])]),i("template",{slot:"footer"},[i("view",{staticClass:["footer-box"]},[i("view",{on:{click:function(e){t.footerClick("喜欢")}}},[i("u-text",{staticClass:["footer-box__item"]},[t._v("喜欢")])]),i("view",{on:{click:function(e){t.footerClick("评论")}}},[i("u-text",{staticClass:["footer-box__item"]},[t._v("评论")])]),i("view",{on:{click:function(e){t.footerClick("分享")}}},[i("u-text",{staticClass:["footer-box__item"]},[t._v("分享")])])])])],2)],1)],1)])},r=[];i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}))},330:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:["uni-card","uni-border"],class:{"uni-card--full":!0===t.isFull||"true"===t.isFull,"uni-card--shadow":!0===t.isShadow||"true"===t.isShadow}},["basic"===t.mode&&t.title?i("view",{staticClass:["uni-card__header","uni-border-bottom"],on:{click:t.onClick}},[t.thumbnail?i("view",{staticClass:["uni-card__header-extra-img-view"]},[i("u-image",{staticClass:["uni-card__header-extra-img"],attrs:{src:t.thumbnail}})],1):t._e(),i("u-text",{staticClass:["uni-card__header-title-text"]},[t._v(t._s(t.title))]),t.extra?i("u-text",{staticClass:["uni-card__header-extra-text"]},[t._v(t._s(t.extra))]):t._e()]):t._e(),"title"===t.mode?i("view",{staticClass:["uni-card__title","uni-border-bottom"],on:{click:t.onClick}},[i("view",{staticClass:["uni-card__title-box"]},[i("view",{staticClass:["uni-card__title-header"]},[i("u-image",{staticClass:["uni-card__title-header-image"],attrs:{src:t.thumbnail,mode:"scaleToFill"}})],1),i("view",{staticClass:["uni-card__title-content"]},[i("u-text",{staticClass:["uni-card__title-content-title","uni-ellipsis"]},[t._v(t._s(t.title))]),i("u-text",{staticClass:["uni-card__title-content-extra","uni-ellipsis"]},[t._v(t._s(t.subTitle))])])]),t.extra?i("view",[i("u-text",{staticClass:["uni-card__header-extra-text"]},[t._v(t._s(t.extra))])]):t._e()]):t._e(),"style"===t.mode?i("view",{staticClass:["uni-card__thumbnailimage"],on:{click:t.onClick}},[i("view",{staticClass:["uni-card__thumbnailimage-box"]},[i("u-image",{staticClass:["uni-card__thumbnailimage-image"],attrs:{src:t.thumbnail,mode:"aspectFill"}})],1),t.title?i("view",{staticClass:["uni-card__thumbnailimage-title"]},[i("u-text",{staticClass:["uni-card__thumbnailimage-title-text"]},[t._v(t._s(t.title))])]):t._e()]):t._e(),i("view",{staticClass:["uni-card__content","uni-card__content--pd"],on:{click:t.onClick}},["style"===t.mode&&t.extra?i("view",{},[i("u-text",{staticClass:["uni-card__content-extra"]},[t._v(t._s(t.extra))])]):t._e(),t._t("default")],2),t.note?i("view",{staticClass:["uni-card__footer","uni-border-top"]},[t._t("footer",[i("u-text",{staticClass:["uni-card__footer-text"]},[t._v(t._s(t.note))])])],2):t._e()])},o=[];i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}))},385:function(t,e,i){"use strict";i.r(e);var n=i(209),o=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e.default=o.a},386:function(t,e,i){"use strict";i.r(e);var n=i(212),o=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e.default=o.a},4:function(t,e){t.exports={"uni-section":{position:"relative",marginTop:"10",flexDirection:"row",alignItems:"center",paddingTop:0,paddingRight:"10",paddingBottom:0,paddingLeft:"10",height:"50",backgroundColor:"#f8f8f8",borderBottomColor:"#e5e5e5",borderBottomStyle:"solid",borderBottomWidth:"0.5",fontWeight:"normal"},"uni-section__head":{flexDirection:"row",justifyContent:"center",alignItems:"center",marginRight:"10"},line:{height:"15",backgroundColor:"#c0c0c0",borderRadius:"5",width:"3"},circle:{width:"8",height:"8",borderTopRightRadius:"50",borderTopLeftRadius:"50",borderBottomLeftRadius:"50",borderBottomRightRadius:"50",backgroundColor:"#c0c0c0"},"uni-section__content":{flexDirection:"column",flex:1,color:"#333333"},"uni-section__content-title":{fontSize:"14",color:"#333333"},distraction:{flexDirection:"row",alignItems:"center"},"uni-section__content-sub":{fontSize:"12",color:"#999999"}}},453:function(t,e,i){"use strict";i.r(e);i(11);var n=i(72);n.default.mpType="page",n.default.route="pages/nvue/card/card",n.default.el="#root",new Vue(n.default)},454:function(t,e,i){"use strict";i.r(e);var n=i(330),o=i(207);for(var r in o)"default"!==r&&function(t){i.d(e,t,(function(){return o[t]}))}(r);var a=i(0);var l=Object(a.a)(o.default,n.b,n.c,!1,null,"f2bf48b2","d2b4004c",!1,n.a,void 0);(function(t){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(i(385).default,this.options.style):Object.assign(this.options.style,i(385).default)}).call(l),e.default=l.exports},5:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:["uni-section"],attrs:{nvue:!0}},[t.type?i("view",{staticClass:["uni-section__head"]},[i("view",{staticClass:["uni-section__head-tag"],class:t.type})]):t._e(),i("view",{staticClass:["uni-section__content"]},[i("u-text",{staticClass:["uni-section__content-title"],class:{distraction:!t.subTitle}},[t._v(t._s(t.title))]),t.subTitle?i("u-text",{staticClass:["uni-section__content-sub"]},[t._v(t._s(t.subTitle))]):t._e()]),t._t("default")],2)},o=[];i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}))},6:function(t,e,i){"use strict";i.r(e);var n=i(4),o=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e.default=o.a},72:function(t,e,i){"use strict";var n=i(306),o=i(210),r=i(0);var a=Object(r.a)(o.default,n.b,n.c,!1,null,null,"7169d5b2",!1,n.a,void 0);(function(t){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(i(386).default,this.options.style):Object.assign(this.options.style,i(386).default)}).call(a),e.default=a.exports}});