UNPKG

@ozo/react-rock

Version:

React 移动端开发脚手架,基于CRA3,通用、开箱即用。

2 lines 3.35 kB
(this["webpackJsonp@ozo/react-rock"]=this["webpackJsonp@ozo/react-rock"]||[]).push([["3094"],{qnvH:function(t,i,e){"use strict";e.r(i);var r,_=e("q1tI"),s=e.n(_),a=(e("2B1R"),e("2bPg")),n=e("BRlI"),l=e("tLe6"),o=e("00an"),p=e("Ty5D"),h=e("55Ip"),c=e("TyAF"),L=e("Z3vd"),d=e("Kvkj"),W=e("vC7d"),A=e.n(W),m=Object(c.b)("demoListStore")(r=Object(p.h)(r=Object(c.c)(r=function(t){Object(o.a)(e,t);var i=Object(l.a)(e);function e(t){var r;return Object(a.a)(this,e),(r=i.call(this,t)).handleClick=function(){r.props.demoListStore.getDataInfo()},r.state={},r}return Object(n.a)(e,[{key:"componentDidMount",value:function(){this.props.demoListStore.getDataInfo()}},{key:"render",value:function(){var t=this.props.demoListStore,i=t.articleListCount,e=t.articleList;return s.a.createElement("div",{className:A.a.content},i<=0?s.a.createElement("div",null,s.a.createElement(L.a,{variant:"contained",size:"small",color:"primary",onClick:this.handleClick},"\u83b7\u53d6\u6570\u636e")):e.map((function(t){var i=t.desc,e=t.id,r=t.type,_=t.url,a=t.who,n=t.publishedAt;return(s.a.createElement(s.a.Fragment,{key:e},s.a.createElement(d.i,{noFirst:!0}),s.a.createElement(d.j,{className:A.a.itemWrap,key:e},s.a.createElement(h.b,{to:{pathname:"/view/iframe/".concat(r),state:{url:encodeURIComponent(_)}},className:A.a.item},s.a.createElement("h3",null,i,s.a.createElement("span",null,r)),s.a.createElement("h4",null,a),s.a.createElement("p",null,n)))))})))}}]),e}(_.Component))||r)||r)||r;i.default=function(){return s.a.createElement(m,null)}},vC7d:function(t,i,e){t.exports={h1:"ListWithApi_h1__1VkHC",h2:"ListWithApi_h2__9We-M",h3:"ListWithApi_h3__3fhpc",h4:"ListWithApi_h4__17ZjZ",h5:"ListWithApi_h5__2oXOf",h6:"ListWithApi_h6__19ky-","txt-subhead":"ListWithApi_txt-subhead__3te6K","txt-heading":"ListWithApi_txt-heading__YnF69","txt-info":"ListWithApi_txt-info__2dZX1","txt-tips":"ListWithApi_txt-tips__rn7Qx","txt-monospace":"ListWithApi_txt-monospace__3xdxn","txt-number":"ListWithApi_txt-number__1xrVc","float-l":"ListWithApi_float-l__8SwdS","float-r":"ListWithApi_float-r__1NLQQ",clearfix:"ListWithApi_clearfix__28vkT",ellipsis:"ListWithApi_ellipsis__1rFJe","ellipsis-flex":"ListWithApi_ellipsis-flex__JAZMO","ellipsis-2":"ListWithApi_ellipsis-2__2wMhx","ellipsis-3":"ListWithApi_ellipsis-3__3-LFt","center-h":"ListWithApi_center-h__3YRZ5","center-v":"ListWithApi_center-v__3TWeA",center:"ListWithApi_center__99P6k","border-t":"ListWithApi_border-t__ErTUZ","border-r":"ListWithApi_border-r__14Ye2","border-b":"ListWithApi_border-b__WT-hI","border-l":"ListWithApi_border-l__20TvO","border-v":"ListWithApi_border-v__1SWFJ",border:"ListWithApi_border__2CNgj","border-radius":"ListWithApi_border-radius__17U69","side-line":"ListWithApi_side-line__2fW76","side-line-dash":"ListWithApi_side-line-dash__2GH9K","side-line-double":"ListWithApi_side-line-double__2BxLm","arrow-t":"ListWithApi_arrow-t__3kZzF","arrow-r":"ListWithApi_arrow-r__2mcvx","arrow-b":"ListWithApi_arrow-b__2XJ_p","arrow-l":"ListWithApi_arrow-l__ItcBi","triangle-t":"ListWithApi_triangle-t__-epDV","triangle-r":"ListWithApi_triangle-r__3WKcH","triangle-b":"ListWithApi_triangle-b__35xGP","triangle-l":"ListWithApi_triangle-l__scJoX",content:"ListWithApi_content__1u9uG",itemWrap:"ListWithApi_itemWrap__2Ymf5",item:"ListWithApi_item__25CF-"}}}]); //# sourceMappingURL=3094.360bf298.chunk.js.map