提交 9c8902f6 编写于 作者: C Conan

update doc

上级 397661c9
webpackJsonp([0],[,function(t,i,e){t.exports=e.p+"page/img/13.06d11d0.png"},function(t,i,e){t.exports=e.p+"page/img/14.4a3620e.png"},function(t,i,e){t.exports=e.p+"page/img/15.781ec92.png"},function(t,i,e){t.exports=e.p+"page/img/16.9f3ce39.png"},function(t,i,e){t.exports=e.p+"page/img/17.3239bea.png"},function(t,i,e){t.exports=e.p+"page/img/18.5023f27.png"},function(t,i,e){t.exports=e.p+"page/img/banner.e1851bc.jpg"},function(t,i,e){t.exports=e.p+"page/img/logo.68d600c.png"},function(t,i,e){function s(t){e(30)}var n=e(0)(e(19),e(42),s,null,null);t.exports=n.exports},function(t,i,e){function s(t){e(25)}var n=e(0)(e(22),e(37),s,null,null);t.exports=n.exports},function(t,i,e){function s(t){e(28)}var n=e(0)(e(23),e(40),s,null,null);t.exports=n.exports},,function(t,i,e){function s(t){e(29)}var n=e(0)(e(18),e(41),s,null,null);t.exports=n.exports},function(t,i,e){function s(t){e(26)}var n=e(0)(e(20),e(38),s,null,null);t.exports=n.exports},function(t,i,e){function s(t){e(27)}var n=e(0)(e(21),e(39),s,null,null);t.exports=n.exports},,,function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default={data:function(){return{device:""}},created:function(){},mounted:function(){this.init()},methods:{init:function(){this.device=document.body.clientWidth>600?"pc":"phone"},topHeight:function(t){document.body.clientWidth>=2e3?t.style.height="700px":(console.log(.35*document.body.clientWidth),t.style.height=.35*document.body.clientWidth+"px")}},watch:{},components:{}}},function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default={props:{navList:{type:[Array]},qrcode:{type:[String]}},data:function(){return{isShow:null}},computed:{},created:function(){},mounted:function(){},methods:{navTab:function(t,i){return"English"==t.text?(this.$router.push({path:"/en"}),!1):"中文"==t.text?(this.$router.push({path:"/"}),!1):t.url?(location.href=t.url,!1):void(this.isShow==i?this.isShow=null:this.isShow=i)}},watch:{},components:{}}},function(t,i,e){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(i,"__esModule",{value:!0});var n=e(10),a=s(n),c=e(11),o=s(c),l=e(9),r=s(l);i.default={props:{device:{type:[String]}},data:function(){return{qrcode:"扫码关注Chameleon社区公众号",navList:[{text:"学习",navListChild:[{text:"小程序和CML对比",url:"./doc/example/guide.html"},{text:"教程",url:"./doc/example/main.html"},{text:"组件",url:"./doc/component/component.html"},{text:"API",url:"./doc/api/api.html"}]},{text:"生态",navListChild:[{text:"Demo实例",url:"https://github.com/beatles-chameleon/cml-demo"},{text:"社区",url:"https://github.com/didi/chameleon/wiki"},{text:"Awesome-cml",url:"https://github.com/beatles-chameleon/awesome-cml"}]},{text:"English"}]}},created:function(){},mounted:function(){this.topHeight()},methods:{topHeight:function(){this.$emit("topHeight",this.$refs.refTop)},navTab:function(t,i){return"English"==t.text?(this.$router.push({path:"/en"}),!1):t.url?(location.href=t.url,!1):void(this.isShow==i?this.isShow=null:this.isShow=i)}},watch:{},components:{navpc:a.default,navphone:o.default,bottom:r.default}}},function(t,i,e){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(i,"__esModule",{value:!0});var n=e(10),a=s(n),c=e(11),o=s(c),l=e(9),r=s(l);i.default={props:{device:{type:[String]}},data:function(){return{qrcode:"扫码关注Chameleon社区公众号",navList:[{text:"Study",navListChild:[{text:"Applet & CML",url:"./doc/example/guide.html"},{text:"Tutorials",url:"./doc/example/main.html"},{text:"Components",url:"./doc/component/component.html"},{text:"API",url:"./doc/api/api.html"}]},{text:"Documents",navListChild:[{text:"Demo",url:"https://github.com/beatles-chameleon/cml-demo"},{text:"Community",url:"https://github.com/didi/chameleon/wiki"},{text:"Awesome-cml",url:"https://github.com/beatles-chameleon/awesome-cml"}]},{text:"中文"}]}},created:function(){},mounted:function(){this.topHeight()},methods:{topHeight:function(){this.$emit("topHeight",this.$refs.refTop)}},watch:{},components:{navpc:a.default,navphone:o.default,bottom:r.default}}},function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default={props:{navList:{type:[Array]}},data:function(){return{isShow:null}},computed:{},created:function(){},mounted:function(){},methods:{enter:function(t,i){this.isShow=i},leave:function(){this.isShow=null},checkLan:function(t){return"English"==t.text?(this.$router.push({path:"/en"}),!1):"中文"==t.text?(this.$router.push({path:"/"}),!1):void 0}},watch:{},components:{}}},function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default={props:{navList:{type:[Array]}},data:function(){return{isShow:null,mNavBlock:!1}},computed:{},created:function(){},mounted:function(){},methods:{layerShow:function(){this.mNavBlock=!1},navTab:function(t,i){return"English"==t.text?(this.$router.push({path:"/en"}),!1):"中文"==t.text?(this.$router.push({path:"/"}),!1):void 0},menuClick:function(){this.mNavBlock=!this.mNavBlock}},watch:{},components:{}}},function(t,i,e){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}var n=e(17),a=s(n),c=e(13),o=s(c),l=e(16),r=s(l),u=e(14),v=s(u),d=e(15),p=s(d);a.default.use(r.default);var m=[{path:"/",component:v.default},{path:"/en",component:p.default}],f=new r.default({routes:m});new a.default({el:"#app",router:f,render:function(t){return t(o.default)}})},function(t,i){},function(t,i){},function(t,i){},function(t,i){},function(t,i){},function(t,i){},function(t,i,e){t.exports=e.p+"page/img/2.d3d8fa2.png"},function(t,i,e){t.exports=e.p+"page/img/4.72e547a.png"},function(t,i,e){t.exports=e.p+"page/img/arrow.3f20bf4.png"},function(t,i,e){t.exports=e.p+"page/img/en-architectrue.c4db2e1.png"},function(t,i,e){t.exports=e.p+"page/img/nav.0b414c3.png"},function(t,i,e){t.exports=e.p+"page/img/qrcode.d9f52b9.png"},function(t,i,e){t.exports={render:function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"nav"},[s("ul",{staticClass:"clearfix list"},[t._l(t.navList,function(i,n){return n+1!=t.navList.length?s("li",{staticClass:"listLi",on:{mouseenter:function(e){t.enter(i,n)},mouseleave:function(i){t.leave()}}},[t._v("\n "+t._s(i.text)),s("img",{attrs:{src:e(33)}}),t._v(" "),s("ul",{staticClass:"listChild",class:{active:t.isShow==n}},t._l(i.navListChild,function(i,e){return s("li",[s("a",{attrs:{href:i.url}},[t._v(t._s(i.text))])])}))]):t._e()}),t._v(" "),s("li",{staticClass:"listLi",on:{click:function(i){t.checkLan(t.navList[2])}}},[t._v("\n "+t._s(t.navList[2].text)+"\n ")])],2)])},staticRenderFns:[]}},function(t,i,e){t.exports={render:function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"chn"},[s("div",{ref:"refTop",staticClass:"top"},[s("div",{staticClass:"top-container"},[s("img",{staticClass:"banner",attrs:{src:e(7)}}),t._v(" "),s("div",{staticClass:"header clearfix"},[t._m(0),t._v(" "),"pc"==t.device?s("navpc",{attrs:{navList:t.navList}}):t._e(),t._v(" "),"phone"==t.device?s("navphone",{attrs:{navList:t.navList}}):t._e()],1),t._v(" "),t._m(1)])]),t._v(" "),t._m(2),t._v(" "),s("bottom",{attrs:{qrcode:t.qrcode}})],1)},staticRenderFns:[function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"logo"},[s("img",{attrs:{src:e(8)}})])},function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"top-container-cml"},[e("p",{staticClass:"f24"},[t._v("Chameleon 变色龙")]),t._v(" "),e("p",{staticClass:"f48"},[t._v("一套代码运行多端,一端所见即多端所见")]),t._v(" "),e("div",{staticClass:"btn"},[e("div",{staticClass:"btn1 btn-defult"},[e("a",{attrs:{href:"./doc/quick_start/quick_start.html"}},[t._v("快速开始")])]),t._v(" "),e("div",{staticClass:"btn2 btn-defult"},[e("a",{attrs:{href:"https://github.com/didi/chameleon"}},[t._v("Github")])])])])},function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"content"},[s("div",{staticClass:"introduce"},[s("p",{staticClass:"tc title"},[t._v("乘风破浪,助你多端开发一臂之力")]),t._v(" "),s("div",{staticClass:"introduce-list main"},[s("ul",{staticClass:"clearfix"},[s("li",[s("div",{staticClass:"introduce-list-img"},[s("img",{attrs:{src:e(4)}})]),t._v(" "),s("p",{staticClass:"introduce-list-title"},[t._v("开发效率高")]),t._v(" "),s("p",{staticClass:"introduce-list-text"},[t._v("独创强大的跨多端语法检查功能"),s("br"),t._v("拥有业内最优秀工程化设计")])]),t._v(" "),s("li",[s("div",{staticClass:"introduce-list-img"},[s("img",{attrs:{src:e(5)}})]),t._v(" "),s("p",{staticClass:"introduce-list-title"},[t._v("可维护性好")]),t._v(" "),s("p",{staticClass:"introduce-list-text"},[t._v("独创多态协议,轻松维护一套代码实现跨多端")])]),t._v(" "),s("li",[s("div",{staticClass:"introduce-list-img"},[s("img",{attrs:{src:e(1)}})]),t._v(" "),s("p",{staticClass:"introduce-list-title"},[t._v("多端高度一致")]),t._v(" "),s("p",{staticClass:"introduce-list-text"},[t._v("代码、界面交互、开发流程等多层次统一")])])]),t._v(" "),s("ul",{staticClass:"clearfix"},[s("li",[s("div",{staticClass:"introduce-list-img"},[s("img",{attrs:{src:e(6)}})]),t._v(" "),s("p",{staticClass:"introduce-list-title"},[t._v("扩展性强")]),t._v(" "),s("p",{staticClass:"introduce-list-text"},[t._v("基于多态协议,可以扩展任意底层接口,不强依赖框架的更新")])]),t._v(" "),s("li",[s("div",{staticClass:"introduce-list-img"},[s("img",{attrs:{src:e(3)}})]),t._v(" "),s("p",{staticClass:"introduce-list-title"},[t._v("基础库丰富")]),t._v(" "),s("p",{staticClass:"introduce-list-text"},[t._v("统一的Chameleon Native SDK"),s("br"),t._v("丰富的组件、API库")])]),t._v(" "),s("li",[s("div",{staticClass:"introduce-list-img"},[s("img",{attrs:{src:e(2)}})]),t._v(" "),s("p",{staticClass:"introduce-list-title"},[t._v("渐进式接入")]),t._v(" "),s("p",{staticClass:"introduce-list-text"},[t._v("一键导出原生组件"),s("br"),t._v("无污染引用原生组件")])])])])]),t._v(" "),s("div",{staticClass:"video"},[s("div",{staticClass:"main"},[s("p",{staticClass:"tc title"},[t._v("5分钟掌握Chameleon视频教程")]),t._v(" "),s("div",{staticClass:"video-video"},[s("video",{attrs:{controls:"",preload:"auto",width:"100%",type:"video/mp4",poster:"http://sfwb.didistatic.com/static/wb/do1_izQG5jn632D23ZVm7RjT",src:"http://sfwb.didistatic.com/static/wb/5%E5%88%86%E9%92%9F.mp4"}})])])]),t._v(" "),s("div",{staticClass:"platform"},[s("div",{staticClass:"main"},[s("p",{staticClass:"tc title"},[t._v("让MVVM跨端环境大统一")]),t._v(" "),s("p",{staticClass:"tc text"},[t._v("真正专注于让一套代码运行多端的开发框架,提供标准的MVVM架构开发模式统一各类终端。")]),t._v(" "),s("div",{staticClass:"platform-img"},[s("img",{attrs:{src:e(31)}})])])])])}]}},function(t,i,e){t.exports={render:function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"chn"},[s("div",{ref:"refTop",staticClass:"top"},[s("div",{staticClass:"top-container"},[s("img",{staticClass:"banner",attrs:{src:e(7)}}),t._v(" "),s("div",{staticClass:"header clearfix"},[t._m(0),t._v(" "),"pc"==t.device?s("navpc",{attrs:{navList:t.navList}}):t._e(),t._v(" "),"phone"==t.device?s("navphone",{attrs:{navList:t.navList}}):t._e()],1),t._v(" "),t._m(1)])]),t._v(" "),s("div",{staticClass:"content"},[t._m(2),t._v(" "),t._m(3),t._v(" "),t._m(4),t._v(" "),s("bottom",{attrs:{qrcode:t.qrcode}})],1)])},staticRenderFns:[function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"logo"},[s("img",{attrs:{src:e(8)}})])},function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"top-container-cml"},[e("p",{staticClass:"f24"},[t._v("Chameleon")]),t._v(" "),e("p",{staticClass:"f48"},[t._v("An overall solution for multi-platform development")]),t._v(" "),e("div",{staticClass:"btn clearfix"},[e("div",{staticClass:"btn1 btn-defult"},[e("a",{attrs:{href:"./doc/quick_start/quick_start.html"}},[t._v("Quick Start")])]),t._v(" "),e("div",{staticClass:"btn2 btn-defult"},[e("a",{attrs:{href:"https://github.com/didi/chameleon"}},[t._v("Github")])])])])},function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"introduce"},[s("p",{staticClass:"tc title"},[t._v("Chameleon will make it easier for you to develop multi-platform applications.")]),t._v(" "),s("p",{staticClass:"tc text"},[t._v("Meet all your needs for multi-platform development with a single codebase.")]),t._v(" "),s("div",{staticClass:"introduce-list main"},[s("ul",{staticClass:"clearfix"},[s("li",[s("div",{staticClass:"introduce-list-img"},[s("img",{attrs:{src:e(4)}})]),t._v(" "),s("p",{staticClass:"introduce-list-title"},[t._v("High Development Efficiency")]),t._v(" "),s("p",{staticClass:"introduce-list-text"},[t._v("Powerful syntax checker."),s("br"),t._v("Designed with the best engineering ideas in the industry.")])]),t._v(" "),s("li",[s("div",{staticClass:"introduce-list-img"},[s("img",{attrs:{src:e(5)}})]),t._v(" "),s("p",{staticClass:"introduce-list-title"},[t._v("Easy to Maintain")]),t._v(" "),s("p",{staticClass:"introduce-list-text"},[t._v("With polymorphic protocol, you can easily maintain multi-platform project within a single codebase.")])]),t._v(" "),s("li",[s("div",{staticClass:"introduce-list-img"},[s("img",{attrs:{src:e(1)}})]),t._v(" "),s("p",{staticClass:"introduce-list-title"},[t._v("Highly unified interfaces")]),t._v(" "),s("p",{staticClass:"introduce-list-text"},[t._v("Highly unified of coding, UI behaviors, development workflow, etc.")])])]),t._v(" "),s("ul",{staticClass:"clearfix"},[s("li",[s("div",{staticClass:"introduce-list-img"},[s("img",{attrs:{src:e(6)}})]),t._v(" "),s("p",{staticClass:"introduce-list-title"},[t._v("Highly Extendable")]),t._v(" "),s("p",{staticClass:"introduce-list-text"},[t._v("Based on polymorphic protocols, you can extend any native APIs that are not implemented yet.")])]),t._v(" "),s("li",[s("div",{staticClass:"introduce-list-img"},[s("img",{attrs:{src:e(3)}})]),t._v(" "),s("p",{staticClass:"introduce-list-title"},[t._v("Rich libs")]),t._v(" "),s("p",{staticClass:"introduce-list-text"},[t._v("Unified Chameleon Native SDK."),s("br"),t._v("Rich components and API libs.")])]),t._v(" "),s("li",[s("div",{staticClass:"introduce-list-img"},[s("img",{attrs:{src:e(2)}})]),t._v(" "),s("p",{staticClass:"introduce-list-title"},[t._v("Progressive Integration")]),t._v(" "),s("p",{staticClass:"introduce-list-text"},[t._v("Export native component with one-click."),s("br"),t._v("Directly import native components.")])])])])])},function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"video"},[e("div",{staticClass:"main"},[e("p",{staticClass:"tc title"},[t._v("5 minutes of video tutorial")]),t._v(" "),e("div",{staticClass:"video-video"},[e("video",{attrs:{controls:"",preload:"auto",width:"100%",type:"video/mp4",poster:"http://sfwb.didistatic.com/static/wb/do1_izQG5jn632D23ZVm7RjT",src:"http://sfwb.didistatic.com/static/wb/5%E5%88%86%E9%92%9F.mp4"}})])])])},function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"platform"},[s("div",{staticClass:"main"},[s("p",{staticClass:"tc title"},[t._v("Let's unify multi-platform development environments.")]),t._v(" "),s("p",{staticClass:"tc text"},[t._v("A framework that really focuses on multi-platform development with a single codebase, providing a standard MVVM development model to unify all kinds of terminals.")]),t._v(" "),s("div",{staticClass:"platform-img"},[s("img",{attrs:{src:e(34)}})])])])}]}},function(t,i,e){t.exports={render:function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"nav"},[s("div",{staticClass:"menu",on:{click:t.menuClick}},[s("img",{attrs:{src:e(35)}})]),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.mNavBlock,expression:"mNavBlock"}],staticClass:"layer",on:{click:t.layerShow}}),t._v(" "),s("ul",{staticClass:"mNav",class:{mNavBlock:t.mNavBlock}},t._l(t.navList,function(i,e){return s("li",{staticClass:"listLi",on:{click:function(s){t.navTab(i,e)}}},[t._v("\n "+t._s(i.text)+"\n "),s("ul",{staticClass:"listChild"},t._l(i.navListChild,function(i,e){return s("li",[s("a",{attrs:{href:i.url}},[t._v(t._s(i.text))])])}))])}))])},staticRenderFns:[]}},function(t,i){t.exports={render:function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{attrs:{id:"app"}},[e("router-view",{attrs:{device:t.device},on:{topHeight:t.topHeight}})],1)},staticRenderFns:[]}},function(t,i,e){t.exports={render:function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"bottom"},[s("div",{staticClass:"main clearfix"},[s("div",{staticClass:"row"},[s("img",{attrs:{src:e(36)}}),t._v(" "),s("p",[t._v(t._s(t.qrcode))])]),t._v(" "),t._m(0)])])},staticRenderFns:[function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"cml-logo"},[s("img",{attrs:{src:e(32)}}),t._v(" "),s("p",{staticClass:"cml-logo-text"},[t._v("Released under the Apache License"),s("br"),t._v("Copyright © 2012-2018 Didi Chuxing. All Rights Reserved")])])}]}}],[24]);
\ No newline at end of file
!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,u){for(var i,a,f,s=0,l=[];s<t.length;s++)a=t[s],o[a]&&l.push(o[a][0]),o[a]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(t,c,u);l.length;)l.shift()();if(u)for(s=0;s<u.length;s++)f=r(r.s=u[s]);return f};var t={},o={2:0};r.e=function(e){function n(){u.onerror=u.onload=null,clearTimeout(i);var r=o[e];0!==r&&(r&&r[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}if(0===o[e])return Promise.resolve();if(o[e])return o[e][2];var t=new Promise(function(r,n){o[e]=[r,n]});o[e][2]=t;var c=document.getElementsByTagName("head")[0],u=document.createElement("script");u.type="text/javascript",u.charset="utf-8",u.async=!0,u.timeout=12e4,r.nc&&u.setAttribute("nonce",r.nc),u.src=r.p+"page/js/"+e+"."+{0:"dde61bb63ed63a04b0e4",1:"b4bf7fd4d38bf6bc4fee"}[e]+".js";var i=setTimeout(n,12e4);return u.onerror=u.onload=n,c.appendChild(u),t},r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="",r.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册