├── .babelrc ├── .eslintignore ├── .eslintrc.js ├── .github └── ISSUE_TEMPLATE │ └── bug_report.md ├── .gitignore ├── .idea └── .gitignore ├── .npmignore ├── LICENSE ├── LICENSE.CN ├── contrast-with-React.md ├── dist ├── React.js ├── React │ └── server.js ├── ReactAli.js ├── ReactBu.js ├── ReactH5.js ├── ReactIE.js ├── ReactNoop.js ├── ReactQuick.js ├── ReactWX.js ├── Rematch.js └── Router.js ├── docs ├── _components │ └── Icon.jsx ├── _site │ ├── _components │ │ └── Icon.jsx │ ├── apis │ │ ├── animation.html │ │ ├── api.html │ │ ├── api.png │ │ ├── bluetooth.md │ │ ├── canvas.html │ │ ├── file.html │ │ ├── iBeacon.html │ │ ├── image.html │ │ ├── index.html │ │ ├── interaction.html │ │ ├── keyboard.html │ │ ├── location.html │ │ ├── miniprogram.html │ │ ├── nav-bar.html │ │ ├── network.html │ │ ├── pulldown.html │ │ ├── recorder.md │ │ ├── router.html │ │ ├── scroll.html │ │ ├── select.html │ │ ├── share.html │ │ └── storage.html │ ├── component │ │ ├── SUMMARY.md │ │ └── index.md │ ├── documents │ │ ├── about.html │ │ ├── about.jpg │ │ ├── alias.html │ │ ├── alias.png │ │ ├── app.html │ │ ├── app.jpg │ │ ├── async.html │ │ ├── box-sizing-defferent-code.jpg │ │ ├── box-sizing-defferent.jpg │ │ ├── boxDifferent.html │ │ ├── bu.html │ │ ├── build_ali.png │ │ ├── build_bu.png │ │ ├── build_wx.png │ │ ├── buildover.png │ │ ├── card.html │ │ ├── chaika.html │ │ ├── chaika.png │ │ ├── chaika_home_module_dir.jpg │ │ ├── chaika_hotel_module_dir.jpg │ │ ├── chaika_train_module_dir.jpg │ │ ├── chaka_confict.jpg │ │ ├── changlog.md │ │ ├── component.html │ │ ├── customBuildConfig.html │ │ ├── customConfig.html │ │ ├── debug.html │ │ ├── diff.html │ │ ├── event.html │ │ ├── feedback.html │ │ ├── hooks.html │ │ ├── huaweiQuery.html │ │ ├── iconfont.html │ │ ├── import_js.html │ │ ├── install.html │ │ ├── intro.html │ │ ├── jsx.html │ │ ├── lesssass.html │ │ ├── lifetimes.html │ │ ├── lifetimes1.png │ │ ├── lifetimes2.png │ │ ├── lifetimes3.png │ │ ├── lifetimes4.png │ │ ├── lifetimes5.jpg │ │ ├── link.html │ │ ├── logo.html │ │ ├── logo │ │ │ ├── qunar_ali_logo.png │ │ │ ├── qunar_bu_logo.png │ │ │ ├── qunar_qq_logo.png │ │ │ ├── qunar_quick_logo.png │ │ │ └── schnee_ui_logo.png │ │ ├── movable.html │ │ ├── nanachi.jpg │ │ ├── nativeComponents.html │ │ ├── nativeComponents.png │ │ ├── nativeComponents2.png │ │ ├── npm.html │ │ ├── onblur.html │ │ ├── page2.html │ │ ├── page2.jpg │ │ ├── page2.png │ │ ├── patchComponent.html │ │ ├── perf.jpg │ │ ├── preload.html │ │ ├── preload.jpg │ │ ├── publish.html │ │ ├── publish.png │ │ ├── query.html │ │ ├── questions.html │ │ ├── quick.md │ │ ├── quickdebugger.jpg │ │ ├── quicklist.html │ │ ├── quickstorage.html │ │ ├── qversion.png │ │ ├── redux.html │ │ ├── redux.png │ │ ├── report.html │ │ ├── scene.html │ │ ├── select_tmpl.png │ │ ├── share.html │ │ ├── size.html │ │ ├── standard.html │ │ ├── style.html │ │ ├── subpackages.html │ │ ├── subpackages.jpg │ │ ├── support-native-component.md │ │ ├── tabBar.html │ │ ├── titleBar.html │ │ ├── tools.jpg │ │ ├── tt.html │ │ ├── two-threaded.html │ │ ├── two-threaded01.png │ │ ├── two-threaded02.png │ │ ├── two-threaded03.png │ │ ├── two-threaded04.png │ │ ├── two-threaded05.png │ │ ├── two-threaded06.png │ │ ├── units.html │ │ ├── units.jpg │ │ ├── update.html │ │ ├── vscode.html │ │ ├── watch_ali.png │ │ ├── watch_bu.png │ │ ├── watch_quick.jpg │ │ ├── watch_wx.png │ │ ├── webview.html │ │ ├── wxplugin.html │ │ └── zoology.jpg │ ├── images │ │ ├── GitHub.png │ │ ├── banner.png │ │ ├── banner@2x.png │ │ ├── callout1.png │ │ ├── callout1@2x.png │ │ ├── callout2.png │ │ ├── callout2@2x.png │ │ ├── callout3.png │ │ ├── callout3@2x.png │ │ ├── callout4.png │ │ ├── callout4@2x.png │ │ ├── callout5.png │ │ ├── callout5@2x.png │ │ ├── callout6.png │ │ ├── callout6@2x.png │ │ ├── canvas_alpha.png │ │ ├── canvas_arc.png │ │ ├── canvas_closePath.png │ │ ├── canvas_fill.png │ │ ├── canvas_fill_2.png │ │ ├── canvas_gradient.png │ │ ├── canvas_lineTo.png │ │ ├── canvas_rect.png │ │ ├── canvas_scale.png │ │ ├── canvas_textAlign.png │ │ ├── canvas_transform.png │ │ ├── loading-1.png │ │ ├── loading-2.png │ │ ├── loading-3.png │ │ ├── loading-4.png │ │ ├── loading_1.png │ │ ├── loading_3.png │ │ ├── logo-foot.png │ │ ├── logo-foot@2x.png │ │ ├── logo.png │ │ ├── logo@2x.png │ │ ├── style_column.png │ │ ├── style_grid.png │ │ ├── style_hero_image.png │ │ ├── style_row.png │ │ └── titleLogo.png │ ├── index.html │ ├── search_json.js │ ├── style │ │ └── index.css │ ├── ui │ │ ├── SUMMARY.md │ │ └── index.md │ └── ydoc │ │ ├── images │ │ ├── browserconfig.xml │ │ ├── dog@1x.png │ │ ├── dog@2x.png │ │ ├── dogbg@1x.png │ │ ├── dogbg@2x.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── favicon.ico │ │ └── manifest.json │ │ ├── scripts │ │ ├── app.js │ │ └── plugins │ │ │ ├── dollar.min.js │ │ │ ├── responsive-nav.min.js │ │ │ └── slideout.min.js │ │ ├── styles │ │ └── style.css │ │ └── ydoc-plugin-search │ │ ├── core.js │ │ ├── search.css │ │ └── search.js ├── apis │ ├── animation.html │ ├── api.html │ ├── api.png │ ├── bluetooth.md │ ├── canvas.html │ ├── file.html │ ├── iBeacon.html │ ├── image.html │ ├── index.html │ ├── interaction.html │ ├── keyboard.html │ ├── location.html │ ├── miniprogram.html │ ├── nav-bar.html │ ├── network.html │ ├── pulldown.html │ ├── recorder.md │ ├── router.html │ ├── scroll.html │ ├── select.html │ ├── share.html │ └── storage.html ├── component │ ├── SUMMARY.md │ └── index.md ├── docs │ ├── NAV.md │ ├── _components │ │ └── Icon.jsx │ ├── _theme │ │ ├── build.js │ │ ├── components │ │ │ ├── Content.jsx │ │ │ ├── Footer.jsx │ │ │ ├── Head.jsx │ │ │ ├── Header.jsx │ │ │ ├── Homepage.jsx │ │ │ ├── Hook.jsx │ │ │ ├── Icon.jsx │ │ │ ├── Layout.jsx │ │ │ ├── Logo.jsx │ │ │ ├── Scripts.jsx │ │ │ └── Summary.jsx │ │ ├── images │ │ │ ├── browserconfig.xml │ │ │ ├── dog@1x.png │ │ │ ├── dog@2x.png │ │ │ ├── dogbg@1x.png │ │ │ ├── dogbg@2x.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon.ico │ │ │ └── manifest.json │ │ ├── scripts │ │ │ ├── app.js │ │ │ └── plugins │ │ │ │ ├── dollar.min.js │ │ │ │ ├── responsive-nav.min.js │ │ │ │ └── slideout.min.js │ │ ├── style.css │ │ └── styles │ │ │ ├── common │ │ │ ├── _grid_mobile_first.scss │ │ │ ├── _grid_pc_first.scss │ │ │ ├── base.scss │ │ │ ├── color.scss │ │ │ ├── grid.scss │ │ │ ├── index.scss │ │ │ ├── mixin.scss │ │ │ ├── reset.scss │ │ │ └── variables.scss │ │ │ ├── content.scss │ │ │ ├── footer.scss │ │ │ ├── header.scss │ │ │ ├── homepage.scss │ │ │ ├── index.scss │ │ │ ├── layout.scss │ │ │ ├── logo.scss │ │ │ ├── plugins │ │ │ ├── markdown.scss │ │ │ ├── nav.scss │ │ │ ├── prism.scss │ │ │ └── slide.scss │ │ │ └── summary.scss │ ├── apis │ │ ├── SUMMARY.md │ │ ├── animation.md │ │ ├── api.md │ │ ├── api.png │ │ ├── bluetooth.md │ │ ├── canvas.md │ │ ├── file.md │ │ ├── iBeacon.md │ │ ├── image.md │ │ ├── index.md │ │ ├── interaction.md │ │ ├── keyboard.md │ │ ├── location.md │ │ ├── miniprogram.md │ │ ├── nav-bar.md │ │ ├── network.md │ │ ├── pulldown.md │ │ ├── recorder.md │ │ ├── router.md │ │ ├── scroll.md │ │ ├── select.md │ │ ├── share.md │ │ └── storage.md │ ├── component │ │ ├── SUMMARY.md │ │ └── index.md │ ├── documents │ │ ├── SUMMARY.md │ │ ├── about.jpg │ │ ├── about.md │ │ ├── alias.md │ │ ├── alias.png │ │ ├── app.jpg │ │ ├── app.md │ │ ├── async.md │ │ ├── box-sizing-defferent-code.jpg │ │ ├── box-sizing-defferent.jpg │ │ ├── boxDifferent.md │ │ ├── bu.md │ │ ├── build_ali.png │ │ ├── build_bu.png │ │ ├── build_wx.png │ │ ├── buildover.png │ │ ├── card.md │ │ ├── chaika.md │ │ ├── chaika.png │ │ ├── chaika_home_module_dir.jpg │ │ ├── chaika_hotel_module_dir.jpg │ │ ├── chaika_train_module_dir.jpg │ │ ├── chaka_confict.jpg │ │ ├── changlog.md │ │ ├── component.md │ │ ├── customBuildConfig.md │ │ ├── customConfig.md │ │ ├── debug.md │ │ ├── diff.md │ │ ├── event.md │ │ ├── feedback.md │ │ ├── hooks.md │ │ ├── huaweiQuery.md │ │ ├── iconfont.md │ │ ├── import_js.md │ │ ├── install.md │ │ ├── intro.md │ │ ├── jsx.md │ │ ├── lesssass.md │ │ ├── lifetimes.md │ │ ├── lifetimes1.png │ │ ├── lifetimes2.png │ │ ├── lifetimes3.png │ │ ├── lifetimes4.png │ │ ├── lifetimes5.jpg │ │ ├── link.md │ │ ├── logo.md │ │ ├── logo │ │ │ ├── qunar_ali_logo.png │ │ │ ├── qunar_bu_logo.png │ │ │ ├── qunar_qq_logo.png │ │ │ ├── qunar_quick_logo.png │ │ │ └── schnee_ui_logo.png │ │ ├── movable.md │ │ ├── nanachi.jpg │ │ ├── nativeComponents.md │ │ ├── nativeComponents.png │ │ ├── nativeComponents2.png │ │ ├── npm.md │ │ ├── onblur.md │ │ ├── page2.jpg │ │ ├── page2.md │ │ ├── page2.png │ │ ├── patchComponent.md │ │ ├── perf.jpg │ │ ├── preload.jpg │ │ ├── preload.md │ │ ├── publish.md │ │ ├── publish.png │ │ ├── query.md │ │ ├── questions.md │ │ ├── quick.md │ │ ├── quickdebugger.jpg │ │ ├── quicklist.md │ │ ├── quickstorage.md │ │ ├── qversion.png │ │ ├── redux.md │ │ ├── redux.png │ │ ├── report.md │ │ ├── scene.md │ │ ├── select_tmpl.png │ │ ├── share.md │ │ ├── size.md │ │ ├── standard.md │ │ ├── style.md │ │ ├── subpackages.jpg │ │ ├── subpackages.md │ │ ├── support-native-component.md │ │ ├── tabBar.md │ │ ├── titleBar.md │ │ ├── tools.jpg │ │ ├── tt.md │ │ ├── two-threaded.md │ │ ├── two-threaded01.png │ │ ├── two-threaded02.png │ │ ├── two-threaded03.png │ │ ├── two-threaded04.png │ │ ├── two-threaded05.png │ │ ├── two-threaded06.png │ │ ├── units.jpg │ │ ├── units.md │ │ ├── update.md │ │ ├── vscode.md │ │ ├── watch_ali.png │ │ ├── watch_bu.png │ │ ├── watch_quick.jpg │ │ ├── watch_wx.png │ │ ├── webview.md │ │ ├── wxplugin.md │ │ └── zoology.jpg │ ├── images │ │ ├── GitHub.png │ │ ├── banner.png │ │ ├── banner@2x.png │ │ ├── callout1.png │ │ ├── callout1@2x.png │ │ ├── callout2.png │ │ ├── callout2@2x.png │ │ ├── callout3.png │ │ ├── callout3@2x.png │ │ ├── callout4.png │ │ ├── callout4@2x.png │ │ ├── callout5.png │ │ ├── callout5@2x.png │ │ ├── callout6.png │ │ ├── callout6@2x.png │ │ ├── canvas_alpha.png │ │ ├── canvas_arc.png │ │ ├── canvas_closePath.png │ │ ├── canvas_fill.png │ │ ├── canvas_fill_2.png │ │ ├── canvas_gradient.png │ │ ├── canvas_lineTo.png │ │ ├── canvas_rect.png │ │ ├── canvas_scale.png │ │ ├── canvas_textAlign.png │ │ ├── canvas_transform.png │ │ ├── loading-1.png │ │ ├── loading-2.png │ │ ├── loading-3.png │ │ ├── loading-4.png │ │ ├── loading_1.png │ │ ├── loading_3.png │ │ ├── logo-foot.png │ │ ├── logo-foot@2x.png │ │ ├── logo.png │ │ ├── logo@2x.png │ │ ├── style_column.png │ │ ├── style_grid.png │ │ ├── style_hero_image.png │ │ ├── style_row.png │ │ └── titleLogo.png │ ├── index.html │ ├── style │ │ └── index.css │ ├── ui │ │ ├── SUMMARY.md │ │ └── index.md │ └── ydoc │ │ ├── images │ │ ├── browserconfig.xml │ │ ├── dog@1x.png │ │ ├── dog@2x.png │ │ ├── dogbg@1x.png │ │ ├── dogbg@2x.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── favicon.ico │ │ └── manifest.json │ │ ├── scripts │ │ ├── app.js │ │ └── plugins │ │ │ ├── dollar.min.js │ │ │ ├── responsive-nav.min.js │ │ │ └── slideout.min.js │ │ ├── styles │ │ └── style.css │ │ └── ydoc-plugin-search │ │ ├── core.js │ │ ├── search.css │ │ └── search.js ├── documents │ ├── about.html │ ├── about.jpg │ ├── alias.html │ ├── alias.png │ ├── app.html │ ├── app.jpg │ ├── async.html │ ├── box-sizing-defferent-code.jpg │ ├── box-sizing-defferent.jpg │ ├── boxDifferent.html │ ├── bu.html │ ├── build_ali.png │ ├── build_bu.png │ ├── build_wx.png │ ├── buildover.png │ ├── card.html │ ├── chaika.html │ ├── chaika.png │ ├── chaika_home_module_dir.jpg │ ├── chaika_hotel_module_dir.jpg │ ├── chaika_train_module_dir.jpg │ ├── chaka_confict.jpg │ ├── changlog.md │ ├── component.html │ ├── customBuildConfig.html │ ├── customConfig.html │ ├── debug.html │ ├── diff.html │ ├── event.html │ ├── feedback.html │ ├── hooks.html │ ├── huaweiQuery.html │ ├── iconfont.html │ ├── import_js.html │ ├── install.html │ ├── intro.html │ ├── jsx.html │ ├── lesssass.html │ ├── lifetimes.html │ ├── lifetimes1.png │ ├── lifetimes2.png │ ├── lifetimes3.png │ ├── lifetimes4.png │ ├── lifetimes5.jpg │ ├── link.html │ ├── logo.html │ ├── logo │ │ ├── qunar_ali_logo.png │ │ ├── qunar_bu_logo.png │ │ ├── qunar_qq_logo.png │ │ ├── qunar_quick_logo.png │ │ └── schnee_ui_logo.png │ ├── movable.html │ ├── nanachi.jpg │ ├── nativeComponents.html │ ├── nativeComponents.png │ ├── nativeComponents2.png │ ├── npm.html │ ├── onblur.html │ ├── page2.html │ ├── page2.jpg │ ├── page2.png │ ├── patchComponent.html │ ├── perf.jpg │ ├── preload.html │ ├── preload.jpg │ ├── publish.html │ ├── publish.png │ ├── query.html │ ├── questions.html │ ├── quick.md │ ├── quickdebugger.jpg │ ├── quicklist.html │ ├── quickstorage.html │ ├── qversion.png │ ├── redux.html │ ├── redux.png │ ├── report.html │ ├── scene.html │ ├── select_tmpl.png │ ├── share.html │ ├── size.html │ ├── standard.html │ ├── style.html │ ├── subpackages.html │ ├── subpackages.jpg │ ├── support-native-component.md │ ├── tabBar.html │ ├── titleBar.html │ ├── tools.jpg │ ├── tt.html │ ├── two-threaded.html │ ├── two-threaded01.png │ ├── two-threaded02.png │ ├── two-threaded03.png │ ├── two-threaded04.png │ ├── two-threaded05.png │ ├── two-threaded06.png │ ├── units.html │ ├── units.jpg │ ├── update.html │ ├── vscode.html │ ├── watch_ali.png │ ├── watch_bu.png │ ├── watch_quick.jpg │ ├── watch_wx.png │ ├── webview.html │ ├── wxplugin.html │ └── zoology.jpg ├── images │ ├── GitHub.png │ ├── banner.png │ ├── banner@2x.png │ ├── callout1.png │ ├── callout1@2x.png │ ├── callout2.png │ ├── callout2@2x.png │ ├── callout3.png │ ├── callout3@2x.png │ ├── callout4.png │ ├── callout4@2x.png │ ├── callout5.png │ ├── callout5@2x.png │ ├── callout6.png │ ├── callout6@2x.png │ ├── canvas_alpha.png │ ├── canvas_arc.png │ ├── canvas_closePath.png │ ├── canvas_fill.png │ ├── canvas_fill_2.png │ ├── canvas_gradient.png │ ├── canvas_lineTo.png │ ├── canvas_rect.png │ ├── canvas_scale.png │ ├── canvas_textAlign.png │ ├── canvas_transform.png │ ├── loading-1.png │ ├── loading-2.png │ ├── loading-3.png │ ├── loading-4.png │ ├── loading_1.png │ ├── loading_3.png │ ├── logo-foot.png │ ├── logo-foot@2x.png │ ├── logo.png │ ├── logo@2x.png │ ├── style_column.png │ ├── style_grid.png │ ├── style_hero_image.png │ ├── style_row.png │ └── titleLogo.png ├── index.html ├── publish.sh ├── readme.md ├── search_json.js ├── style │ └── index.css ├── ui │ ├── SUMMARY.md │ └── index.md ├── ydoc.json └── ydoc │ ├── images │ ├── browserconfig.xml │ ├── dog@1x.png │ ├── dog@2x.png │ ├── dogbg@1x.png │ ├── dogbg@2x.png │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── favicon.ico │ └── manifest.json │ ├── scripts │ ├── app.js │ └── plugins │ │ ├── dollar.min.js │ │ ├── responsive-nav.min.js │ │ └── slideout.min.js │ ├── styles │ └── style.css │ └── ydoc-plugin-search │ ├── core.js │ ├── search.css │ └── search.js ├── effect.md ├── lerna.json ├── lib ├── ReactBrowserEventEmitter.js ├── ReactChildren.js ├── ReactDOMFactories.js ├── ReactInputSelection.js ├── ReactPropTypes.js ├── ReactProxy.js ├── ReactShallowRenderer.js ├── ReactTestUtils.js ├── ReduxIE.js ├── babel.js ├── createClass.js ├── createReactNoop.js ├── createResource.js ├── createSubscription.js ├── deepForceUpdate.js ├── devtools.js ├── injectTapEventPlugin.js ├── logo.png ├── onlyChild.js ├── polyfill.js ├── shallowCompare.js ├── sliceChildren.js └── traverseAllChildren.js ├── package-lock.json ├── package.json ├── packages ├── cli │ ├── .gitignore │ ├── CHANGELOG.md │ ├── README.md │ ├── bin │ │ ├── cliBuilder.d.ts │ │ ├── cliBuilder.js │ │ ├── commands │ │ │ ├── build.d.ts │ │ │ ├── build.js │ │ │ ├── createPage.d.ts │ │ │ ├── createPage.js │ │ │ ├── init.d.ts │ │ │ ├── init.js │ │ │ ├── install.d.ts │ │ │ ├── install.js │ │ │ ├── moduleUrls.d.ts │ │ │ └── moduleUrls.js │ │ ├── index.d.ts │ │ └── index.js │ ├── config │ │ ├── config.d.ts │ │ ├── config.js │ │ ├── eslint │ │ │ ├── .eslintrc-360.js │ │ │ ├── .eslintrc-ali.js │ │ │ ├── .eslintrc-bu.js │ │ │ ├── .eslintrc-h5.js │ │ │ ├── .eslintrc-qq.js │ │ │ ├── .eslintrc-quick.js │ │ │ ├── .eslintrc-tt.js │ │ │ └── .eslintrc-wx.js │ │ ├── h5 │ │ │ ├── configurations.d.ts │ │ │ ├── configurations.js │ │ │ ├── webpack.config.base.d.ts │ │ │ ├── webpack.config.base.js │ │ │ ├── webpack.config.d.ts │ │ │ ├── webpack.config.js │ │ │ ├── webpack.config.prod.d.ts │ │ │ └── webpack.config.prod.js │ │ ├── stylelint │ │ │ ├── .stylelint-360.config.js │ │ │ ├── .stylelint-ali.config.js │ │ │ ├── .stylelint-bu.config.js │ │ │ ├── .stylelint-h5.config.js │ │ │ ├── .stylelint-qq.config.js │ │ │ ├── .stylelint-quick.config.js │ │ │ ├── .stylelint-tt.config.js │ │ │ └── .stylelint-wx.config.js │ │ ├── webpackConfig.d.ts │ │ └── webpackConfig.js │ ├── consts │ │ ├── alias.d.ts │ │ ├── alias.js │ │ ├── buildOptions.d.ts │ │ ├── buildOptions.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── platforms.d.ts │ │ ├── platforms.js │ │ ├── quickAPIList.d.ts │ │ ├── quickAPIList.js │ │ ├── runtime │ │ │ ├── index.d.ts │ │ │ └── index.js │ │ ├── templates.d.ts │ │ └── templates.js │ ├── index.d.ts │ ├── index.js │ ├── lib │ │ ├── ReactAli.js │ │ ├── ReactBu.js │ │ ├── ReactH5.js │ │ ├── ReactQuick.js │ │ └── ReactWX.js │ ├── nanachi-loader │ │ ├── chaika-plugin │ │ │ ├── chaikaPlugin.d.ts │ │ │ └── chaikaPlugin.js │ │ ├── loaders │ │ │ ├── aliasLoader.d.ts │ │ │ ├── aliasLoader.js │ │ │ ├── decodeChineseLoader.js │ │ │ ├── fileLoader.d.ts │ │ │ ├── fileLoader.js │ │ │ ├── nanachiLoader.d.ts │ │ │ ├── nanachiLoader.js │ │ │ ├── nanachiStyleLoader.d.ts │ │ │ ├── nanachiStyleLoader.js │ │ │ ├── nodeLoader.d.ts │ │ │ ├── nodeLoader.js │ │ │ ├── reactLoader.d.ts │ │ │ └── reactLoader.js │ │ ├── plugin.d.ts │ │ ├── plugin.js │ │ ├── quickPlugin.d.ts │ │ ├── quickPlugin.js │ │ ├── sizePlugin.d.ts │ │ └── sizePlugin.js │ ├── package-lock.json │ ├── package.json │ ├── packages │ │ ├── 360Helpers │ │ │ └── template │ │ │ │ ├── app.js │ │ │ │ ├── app.json │ │ │ │ ├── package.json │ │ │ │ └── pages │ │ │ │ └── home │ │ │ │ └── index.js │ │ ├── aliHelpers │ │ │ ├── attrName.d.ts │ │ │ ├── attrName.js │ │ │ ├── attrValue.d.ts │ │ │ ├── attrValue.js │ │ │ ├── classDeclaration.d.ts │ │ │ ├── classDeclaration.js │ │ │ ├── configName.d.ts │ │ │ ├── configName.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── logic.d.ts │ │ │ ├── logic.js │ │ │ ├── nodeName.d.ts │ │ │ ├── nodeName.js │ │ │ ├── render.d.ts │ │ │ ├── render.js │ │ │ ├── wxml.d.ts │ │ │ └── wxml.js │ │ ├── babelPlugins │ │ │ ├── collectCommonCode.d.ts │ │ │ ├── collectCommonCode.js │ │ │ ├── collectDependencies.d.ts │ │ │ ├── collectDependencies.js │ │ │ ├── collectRegeneratorRuntime.d.ts │ │ │ ├── collectRegeneratorRuntime.js │ │ │ ├── collectTitleBarConfig.d.ts │ │ │ ├── collectTitleBarConfig.js │ │ │ ├── collectWebViewPage.d.ts │ │ │ ├── collectWebViewPage.js │ │ │ ├── h5 │ │ │ │ ├── transformH5.d.ts │ │ │ │ ├── transformH5.js │ │ │ │ ├── transformH5App.d.ts │ │ │ │ ├── transformH5App.js │ │ │ │ ├── transformH5Page.d.ts │ │ │ │ └── transformH5Page.js │ │ │ ├── miniappVisitor.d.ts │ │ │ ├── miniappVisitor.js │ │ │ ├── patchAsyncAwait.d.ts │ │ │ ├── patchAsyncAwait.js │ │ │ ├── patchComponents.d.ts │ │ │ ├── patchComponents.js │ │ │ ├── proposalOptionalChaining.d.ts │ │ │ ├── proposalOptionalChaining.js │ │ │ ├── remove-use-strict.d.ts │ │ │ ├── remove-use-strict.js │ │ │ ├── transformConfig.d.ts │ │ │ ├── transformConfig.js │ │ │ ├── transformDeadCode.d.ts │ │ │ ├── transformDeadCode.js │ │ │ ├── transformEnv.d.ts │ │ │ ├── transformEnv.js │ │ │ ├── transformIfFun.d.ts │ │ │ ├── transformIfFun.js │ │ │ ├── transformIfImport.d.ts │ │ │ ├── transformIfImport.js │ │ │ ├── transformJSXFragment.d.ts │ │ │ ├── transformJSXFragment.js │ │ │ ├── transformMiniApp.d.ts │ │ │ ├── transformMiniApp.js │ │ │ ├── transformTemplateLiterals.d.ts │ │ │ └── transformTemplateLiterals.js │ │ ├── buHelpers │ │ │ ├── attrName.d.ts │ │ │ ├── attrName.js │ │ │ ├── attrValue.d.ts │ │ │ ├── attrValue.js │ │ │ ├── classDeclaration.d.ts │ │ │ ├── classDeclaration.js │ │ │ ├── configName.d.ts │ │ │ ├── configName.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── logic.d.ts │ │ │ ├── logic.js │ │ │ ├── nodeName.d.ts │ │ │ ├── nodeName.js │ │ │ ├── render.d.ts │ │ │ ├── render.js │ │ │ ├── wxml.d.ts │ │ │ └── wxml.js │ │ ├── h5Helpers │ │ │ ├── common │ │ │ │ └── utils │ │ │ │ │ └── time.js │ │ │ ├── components │ │ │ │ ├── Audio │ │ │ │ │ └── index.js │ │ │ │ ├── ErrorBoundary │ │ │ │ │ └── index.js │ │ │ │ ├── HOC │ │ │ │ │ ├── calculateRem │ │ │ │ │ │ └── index.js │ │ │ │ │ └── dynamicPage │ │ │ │ │ │ └── index.js │ │ │ │ ├── Image │ │ │ │ │ └── index.js │ │ │ │ ├── Loading │ │ │ │ │ └── index.js │ │ │ │ ├── Overlay │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ ├── PageWrapper │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ ├── Picker │ │ │ │ │ ├── DatePickerItem │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── PickerItem │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── cnCity.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── index.scss │ │ │ │ │ └── time.js │ │ │ │ ├── PullDownLoading │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ ├── RichText │ │ │ │ │ └── index.js │ │ │ │ ├── ScrollView │ │ │ │ │ └── index.js │ │ │ │ ├── Slider │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ ├── Swiper │ │ │ │ │ ├── index.js │ │ │ │ │ ├── index.scss │ │ │ │ │ └── util.js │ │ │ │ ├── SwiperItem │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ ├── TabBar │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ ├── Textarea │ │ │ │ │ └── index.js │ │ │ │ └── TitleBar │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ ├── index.html │ │ │ └── share │ │ │ │ └── index.js │ │ ├── postcssPlugins │ │ │ ├── postCssPluginAddImport.d.ts │ │ │ ├── postCssPluginAddImport.js │ │ │ ├── postCssPluginAddStyleHash.d.ts │ │ │ ├── postCssPluginAddStyleHash.js │ │ │ ├── postCssPluginFixNumber.d.ts │ │ │ ├── postCssPluginFixNumber.js │ │ │ ├── postCssPluginLessParser.d.ts │ │ │ ├── postCssPluginLessParser.js │ │ │ ├── postCssPluginRemoveComments.d.ts │ │ │ ├── postCssPluginRemoveComments.js │ │ │ ├── postCssPluginRemoveRules.d.ts │ │ │ ├── postCssPluginRemoveRules.js │ │ │ ├── postCssPluginReport.d.ts │ │ │ ├── postCssPluginReport.js │ │ │ ├── postCssPluginRpxToRem.d.ts │ │ │ ├── postCssPluginRpxToRem.js │ │ │ ├── postCssPluginTransformKeyFrames.d.ts │ │ │ ├── postCssPluginTransformKeyFrames.js │ │ │ ├── postCssPluginValidateStyle.d.ts │ │ │ └── postCssPluginValidateStyle.js │ │ ├── qqHelpers │ │ │ ├── attrName.d.ts │ │ │ ├── attrName.js │ │ │ ├── attrValue.d.ts │ │ │ ├── attrValue.js │ │ │ ├── classDeclaration.d.ts │ │ │ ├── classDeclaration.js │ │ │ ├── configName.d.ts │ │ │ ├── configName.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── logic.d.ts │ │ │ ├── logic.js │ │ │ ├── nodeName.d.ts │ │ │ ├── nodeName.js │ │ │ ├── render.d.ts │ │ │ ├── render.js │ │ │ ├── wxml.d.ts │ │ │ └── wxml.js │ │ ├── quickHelpers │ │ │ ├── PageWrapper.js │ │ │ ├── PageWrapper.ux │ │ │ ├── WebViewPageWrapper.ux │ │ │ ├── attrName.d.ts │ │ │ ├── attrName.js │ │ │ ├── attrValue.d.ts │ │ │ ├── attrValue.js │ │ │ ├── classDeclaration.d.ts │ │ │ ├── classDeclaration.js │ │ │ ├── config.d.ts │ │ │ ├── config.js │ │ │ ├── huaweiStyle.d.ts │ │ │ ├── huaweiStyle.js │ │ │ ├── ignoreAttri.d.ts │ │ │ ├── ignoreAttri.js │ │ │ ├── ignoreCss.d.ts │ │ │ ├── ignoreCss.js │ │ │ ├── ignorePrevAttri.d.ts │ │ │ ├── ignorePrevAttri.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── logic.d.ts │ │ │ ├── logic.js │ │ │ ├── mergeUx.d.ts │ │ │ ├── mergeUx.js │ │ │ ├── nodeName.d.ts │ │ │ ├── nodeName.js │ │ │ ├── quickFiles.d.ts │ │ │ ├── quickFiles.js │ │ │ ├── quickInitConfig │ │ │ │ ├── babel.config.js │ │ │ │ ├── package.json │ │ │ │ └── sign │ │ │ │ │ └── debug │ │ │ │ │ ├── certificate.pem │ │ │ │ │ └── private.pem │ │ │ ├── render.d.ts │ │ │ ├── render.js │ │ │ ├── wxml.d.ts │ │ │ └── wxml.js │ │ ├── ttHelpers │ │ │ ├── attrName.d.ts │ │ │ ├── attrName.js │ │ │ ├── attrValue.d.ts │ │ │ ├── attrValue.js │ │ │ ├── classDeclaration.d.ts │ │ │ ├── classDeclaration.js │ │ │ ├── configName.d.ts │ │ │ ├── configName.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── logic.d.ts │ │ │ ├── logic.js │ │ │ ├── nodeName.d.ts │ │ │ ├── nodeName.js │ │ │ ├── project.config.json │ │ │ ├── render.d.ts │ │ │ ├── render.js │ │ │ ├── wxml.d.ts │ │ │ └── wxml.js │ │ ├── utils │ │ │ ├── calculateAlias.d.ts │ │ │ ├── calculateAlias.js │ │ │ ├── calculateAliasConfig.d.ts │ │ │ ├── calculateAliasConfig.js │ │ │ ├── calculateComponentsPath.d.ts │ │ │ ├── calculateComponentsPath.js │ │ │ ├── calculateStyleString.d.ts │ │ │ ├── calculateStyleString.js │ │ │ ├── decodeChinese.d.ts │ │ │ ├── decodeChinese.js │ │ │ ├── getDistPath.d.ts │ │ │ ├── getDistPath.js │ │ │ ├── getNativeComponentsNode.d.ts │ │ │ ├── getNativeComponentsNode.js │ │ │ ├── getSubPackage.d.ts │ │ │ ├── getSubPackage.js │ │ │ ├── globalStore.d.ts │ │ │ ├── globalStore.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── isNpmModule.d.ts │ │ │ ├── isNpmModule.js │ │ │ ├── isWindow.d.ts │ │ │ ├── isWindow.js │ │ │ ├── lintQueue.d.ts │ │ │ ├── lintQueue.js │ │ │ ├── logger │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── queue.d.ts │ │ │ │ └── queue.js │ │ │ ├── mergeConfigJson.d.ts │ │ │ ├── mergeConfigJson.js │ │ │ ├── publicPkg.d.ts │ │ │ ├── publicPkg.js │ │ │ ├── setSubPackage.d.ts │ │ │ ├── setSubPackage.js │ │ │ ├── setWebVeiw.d.ts │ │ │ ├── setWebVeiw.js │ │ │ ├── timer.d.ts │ │ │ ├── timer.js │ │ │ ├── toUpperCamel.d.ts │ │ │ └── toUpperCamel.js │ │ └── wxHelpers │ │ │ ├── attrName.d.ts │ │ │ ├── attrName.js │ │ │ ├── attrValue.d.ts │ │ │ ├── attrValue.js │ │ │ ├── classDeclaration.d.ts │ │ │ ├── classDeclaration.js │ │ │ ├── configName.d.ts │ │ │ ├── configName.js │ │ │ ├── createLogicHelper.d.ts │ │ │ ├── createLogicHelper.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── logic.d.ts │ │ │ ├── logic.js │ │ │ ├── nodeName.d.ts │ │ │ ├── nodeName.js │ │ │ ├── render.d.ts │ │ │ ├── render.js │ │ │ ├── wxml.d.ts │ │ │ └── wxml.js │ ├── parsers │ │ ├── jsParser │ │ │ ├── AliParser.d.ts │ │ │ ├── AliParser.js │ │ │ ├── BuParser.d.ts │ │ │ ├── BuParser.js │ │ │ ├── H5Parser.d.ts │ │ │ ├── H5Parser.js │ │ │ ├── JavascriptParser.d.ts │ │ │ ├── JavascriptParser.js │ │ │ ├── JavascriptParserFactory.d.ts │ │ │ ├── JavascriptParserFactory.js │ │ │ ├── QqParser.d.ts │ │ │ ├── QqParser.js │ │ │ ├── QuickParser.d.ts │ │ │ ├── QuickParser.js │ │ │ ├── TtParser.d.ts │ │ │ ├── TtParser.js │ │ │ ├── WxParser.d.ts │ │ │ └── WxParser.js │ │ └── styleParser │ │ │ ├── CssParser.d.ts │ │ │ ├── CssParser.js │ │ │ ├── LessParser.d.ts │ │ │ ├── LessParser.js │ │ │ ├── SassParser.d.ts │ │ │ ├── SassParser.js │ │ │ ├── StyleParser.d.ts │ │ │ ├── StyleParser.js │ │ │ ├── StyleParserFactory.d.ts │ │ │ └── StyleParserFactory.js │ ├── roadmap.md │ ├── tasks │ │ ├── chaikaMergeTask │ │ │ ├── copySource.d.ts │ │ │ ├── copySource.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── injectChaikaEnv.d.ts │ │ │ ├── injectChaikaEnv.js │ │ │ ├── installDefaultModule.d.ts │ │ │ ├── installDefaultModule.js │ │ │ ├── isMutilePack.d.ts │ │ │ ├── isMutilePack.js │ │ │ ├── mergeFiles.d.ts │ │ │ ├── mergeFiles.js │ │ │ ├── mergeFilesQueue.d.ts │ │ │ └── mergeFilesQueue.js │ │ ├── createH5Server.d.ts │ │ ├── createH5Server.js │ │ ├── pretasks.d.ts │ │ ├── pretasks.js │ │ ├── runBeforeParseTasks.d.ts │ │ └── runBeforeParseTasks.js │ ├── templates │ │ ├── helloNanachi │ │ │ ├── .eslintrc.js │ │ │ ├── .stylelintrc │ │ │ ├── package.json │ │ │ ├── project.config.json │ │ │ └── source │ │ │ │ ├── app.js │ │ │ │ ├── common │ │ │ │ └── GlobalTheme │ │ │ │ │ └── index.js │ │ │ │ ├── components │ │ │ │ ├── AnotherComponent │ │ │ │ │ └── index.js │ │ │ │ └── Layout │ │ │ │ │ └── index.js │ │ │ │ ├── pages │ │ │ │ └── index │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ └── project.config.json │ │ ├── mobx │ │ │ ├── .eslintrc.js │ │ │ ├── .stylelintrc │ │ │ ├── babel.config.js │ │ │ ├── package.json │ │ │ ├── project.config.json │ │ │ └── source │ │ │ │ ├── app.js │ │ │ │ ├── components │ │ │ │ └── Compute │ │ │ │ │ └── index.js │ │ │ │ ├── pages │ │ │ │ └── index │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ ├── project.config.json │ │ │ │ └── store │ │ │ │ └── index.js │ │ ├── qunar │ │ │ ├── .eslintrc.js │ │ │ ├── .stylelintrc │ │ │ ├── package.json │ │ │ ├── project.config.json │ │ │ └── source │ │ │ │ ├── aliConfig.json │ │ │ │ ├── app.js │ │ │ │ ├── app.scss │ │ │ │ ├── assets │ │ │ │ ├── global.scss │ │ │ │ ├── image │ │ │ │ │ ├── agree_with.png │ │ │ │ │ ├── arrow.png │ │ │ │ │ ├── eye.png │ │ │ │ │ ├── homepage_normal.png │ │ │ │ │ ├── homepage_select.png │ │ │ │ │ ├── message.png │ │ │ │ │ ├── open.png │ │ │ │ │ ├── open_select.png │ │ │ │ │ ├── order_none.png │ │ │ │ │ ├── question_normal.png │ │ │ │ │ ├── question_select.png │ │ │ │ │ ├── qunar-loading.png │ │ │ │ │ ├── search.png │ │ │ │ │ ├── search_btn.png │ │ │ │ │ ├── sort.png │ │ │ │ │ ├── switch.png │ │ │ │ │ ├── train_highSpeed.png │ │ │ │ │ ├── train_icon.png │ │ │ │ │ ├── uc_normal.png │ │ │ │ │ └── uc_select.png │ │ │ │ └── logo.png │ │ │ │ ├── buConfig.json │ │ │ │ ├── common │ │ │ │ ├── style │ │ │ │ │ ├── common.scss │ │ │ │ │ ├── iconfont.scss │ │ │ │ │ └── variables.scss │ │ │ │ └── utils │ │ │ │ │ ├── EventEmitter.js │ │ │ │ │ ├── config │ │ │ │ │ ├── config.js │ │ │ │ │ └── configs │ │ │ │ │ │ ├── config-ali.js │ │ │ │ │ │ └── config-wx.js │ │ │ │ │ ├── date │ │ │ │ │ ├── format.js │ │ │ │ │ ├── get12Hours.js │ │ │ │ │ ├── getPartYear.js │ │ │ │ │ └── math.js │ │ │ │ │ ├── holidayDate.js │ │ │ │ │ ├── pad.js │ │ │ │ │ ├── request.js │ │ │ │ │ ├── requester │ │ │ │ │ ├── requestManager.js │ │ │ │ │ └── requester.js │ │ │ │ │ └── util.js │ │ │ │ ├── components │ │ │ │ ├── Animal │ │ │ │ │ └── index.js │ │ │ │ ├── Calendar │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ ├── Navigator │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ └── Swiper │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ ├── pages │ │ │ │ ├── apis │ │ │ │ │ ├── canvas │ │ │ │ │ │ ├── arc │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── index.scss │ │ │ │ │ │ ├── fillStyle │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ ├── globalAlpha │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── index.scss │ │ │ │ │ │ ├── rect │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ ├── strokeStyle │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── index.scss │ │ │ │ │ │ └── textBaseline │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── clipboard │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── index │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── innerAudio │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── previewimage │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── pull │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── request │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── route │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ └── storage │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ ├── native │ │ │ │ │ ├── audio │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── button │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── camera │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── checkbox │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── components │ │ │ │ │ │ └── ScrollItemDiv │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── index.ux │ │ │ │ │ ├── image │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── index │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── input │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── label │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── movableView │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── picker │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── radio │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── scrollView │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── slider │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── swiper │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── textarea │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── video │ │ │ │ │ │ └── index.js │ │ │ │ │ └── view │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ ├── platform │ │ │ │ │ ├── about │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── base │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── boat │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── calendar │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── cardList │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── citySelect │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── index │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── question │ │ │ │ │ │ ├── detail │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── index.scss │ │ │ │ │ │ └── index │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── scenic │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── strategy │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── ticketSearch │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── uis │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ └── userCenter │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ └── syntax │ │ │ │ │ ├── await │ │ │ │ │ └── index.js │ │ │ │ │ ├── children │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ │ ├── components │ │ │ │ │ ├── Cat │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── Count │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── Counter │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── Dialog │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── Dog │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── Fish │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── Label │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── Parent │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── Son │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── Super │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── WebView │ │ │ │ │ │ └── index.js │ │ │ │ │ └── YButton │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index.scss │ │ │ │ │ ├── extend │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ │ ├── hooks │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ │ ├── if │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ │ ├── ifcom │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ │ ├── index │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ │ ├── inlineStyle │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ │ ├── loop │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ │ ├── loop2 │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ │ ├── loop3 │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ │ ├── loop4 │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ │ ├── loop5 │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ │ ├── multiple │ │ │ │ │ └── index.js │ │ │ │ │ ├── stateless │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ │ └── webview │ │ │ │ │ └── index.js │ │ │ │ └── wxConfig.json │ │ ├── redux │ │ │ ├── .eslintrc.js │ │ │ ├── .stylelintrc │ │ │ ├── babel.config.js │ │ │ ├── package.json │ │ │ ├── project.config.json │ │ │ └── source │ │ │ │ ├── ReactWX.js │ │ │ │ ├── app.js │ │ │ │ ├── components │ │ │ │ └── Compute │ │ │ │ │ └── index.js │ │ │ │ ├── pages │ │ │ │ └── index │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.scss │ │ │ │ ├── project.config.json │ │ │ │ └── store │ │ │ │ ├── component.js │ │ │ │ ├── index.js │ │ │ │ └── page.js │ │ └── ts_demo │ │ │ ├── .eslintrc.js │ │ │ ├── .stylelintrc │ │ │ ├── package.json │ │ │ ├── project.config.json │ │ │ ├── source │ │ │ ├── ReactWX.js │ │ │ ├── app.tsx │ │ │ ├── common │ │ │ │ └── GlobalTheme │ │ │ │ │ └── index.ts │ │ │ ├── components │ │ │ │ ├── AnotherComponent │ │ │ │ │ └── index.tsx │ │ │ │ └── Layout │ │ │ │ │ └── index.tsx │ │ │ ├── pages │ │ │ │ └── index │ │ │ │ │ ├── index.scss │ │ │ │ │ └── index.tsx │ │ │ ├── project.config.json │ │ │ └── store │ │ │ │ └── index.ts │ │ │ └── tsconfig.json │ └── test │ │ ├── ReactWX.js │ │ ├── alias-test.js │ │ ├── api-open-test.js │ │ ├── api-request-test.js │ │ ├── api-storage-test.js │ │ ├── cases │ │ └── pages │ │ │ ├── control-flow │ │ │ ├── 2-base.js │ │ │ ├── 2-multi-1.js │ │ │ ├── 2-multi-2.js │ │ │ ├── 3-base.js │ │ │ ├── 3-multi.js │ │ │ ├── base.js │ │ │ └── if-eles.js │ │ │ ├── loop │ │ │ ├── base-2-logic.js │ │ │ ├── base-2.js │ │ │ ├── base-calee-1.js │ │ │ ├── base-calee-2.js │ │ │ ├── base-key-1.js │ │ │ ├── base-key-2.js │ │ │ └── base.js │ │ │ ├── style │ │ │ └── keyframes.scss │ │ │ └── template │ │ │ ├── canvas.js │ │ │ ├── className1.js │ │ │ ├── className2.js │ │ │ ├── font.js │ │ │ ├── input-change.js │ │ │ ├── onclick1.js │ │ │ ├── onclick2.js │ │ │ └── slot.js │ │ ├── config │ │ └── index.js │ │ ├── control-flow-ali-test.js │ │ ├── control-flow-quick-test.js │ │ ├── control-flow-swan-test.js │ │ ├── control-flow-tt-test.js │ │ ├── control-flow-wx-test.js │ │ ├── expects │ │ ├── ali │ │ │ └── pages │ │ │ │ ├── control-flow │ │ │ │ ├── 2-base.axml │ │ │ │ ├── 2-multi-1.axml │ │ │ │ ├── 2-multi-2.axml │ │ │ │ ├── 3-base.axml │ │ │ │ ├── 3-multi.axml │ │ │ │ ├── base.axml │ │ │ │ └── if-eles.axml │ │ │ │ ├── loop │ │ │ │ ├── base-2-logic.axml │ │ │ │ ├── base-2.axml │ │ │ │ ├── base-calee-1.axml │ │ │ │ ├── base-calee-2.axml │ │ │ │ ├── base-key-1.axml │ │ │ │ ├── base-key-2.axml │ │ │ │ └── base.axml │ │ │ │ └── template │ │ │ │ ├── canvas.axml │ │ │ │ ├── className1.axml │ │ │ │ ├── className2.axml │ │ │ │ ├── font.axml │ │ │ │ ├── input-change.axml │ │ │ │ ├── onclick1.axml │ │ │ │ ├── onclick2.axml │ │ │ │ └── slot.axml │ │ ├── bu │ │ │ └── pages │ │ │ │ ├── control-flow │ │ │ │ ├── 2-base.swan │ │ │ │ ├── 2-multi-1.swan │ │ │ │ ├── 2-multi-2.swan │ │ │ │ ├── 3-base.swan │ │ │ │ ├── 3-multi.swan │ │ │ │ ├── base.swan │ │ │ │ └── if-eles.swan │ │ │ │ ├── loop │ │ │ │ ├── base-2-logic.swan │ │ │ │ ├── base-2.swan │ │ │ │ ├── base-calee-1.swan │ │ │ │ ├── base-calee-2.swan │ │ │ │ ├── base-key-1.swan │ │ │ │ ├── base-key-2.swan │ │ │ │ └── base.swan │ │ │ │ └── template │ │ │ │ ├── canvas.swan │ │ │ │ ├── className1.swan │ │ │ │ ├── className2.swan │ │ │ │ ├── font.swan │ │ │ │ ├── input-change.swan │ │ │ │ ├── onclick1.swan │ │ │ │ ├── onclick2.swan │ │ │ │ └── slot.swan │ │ ├── quick │ │ │ └── pages │ │ │ │ ├── control-flow │ │ │ │ ├── 2-base.ux │ │ │ │ ├── 2-multi-1.ux │ │ │ │ ├── 2-multi-2.ux │ │ │ │ ├── 3-base.ux │ │ │ │ ├── 3-multi.ux │ │ │ │ ├── base.ux │ │ │ │ └── if-eles.ux │ │ │ │ ├── loop │ │ │ │ ├── base-2-logic.ux │ │ │ │ ├── base-2.ux │ │ │ │ ├── base-calee-1.ux │ │ │ │ ├── base-calee-2.ux │ │ │ │ ├── base-key-1.ux │ │ │ │ ├── base-key-2.ux │ │ │ │ └── base.ux │ │ │ │ ├── style │ │ │ │ └── keyframes.css │ │ │ │ └── template │ │ │ │ ├── canvas.ux │ │ │ │ ├── className1.ux │ │ │ │ ├── className2.ux │ │ │ │ ├── font.ux │ │ │ │ ├── input-change.ux │ │ │ │ ├── onclick1.ux │ │ │ │ ├── onclick2.ux │ │ │ │ └── slot.ux │ │ ├── tt │ │ │ └── pages │ │ │ │ ├── control-flow │ │ │ │ ├── 2-base.ttml │ │ │ │ ├── 2-multi-1.ttml │ │ │ │ ├── 2-multi-2.ttml │ │ │ │ ├── 3-base.ttml │ │ │ │ ├── 3-multi.ttml │ │ │ │ ├── base.ttml │ │ │ │ └── if-eles.ttml │ │ │ │ ├── loop │ │ │ │ ├── base-2-logic.ttml │ │ │ │ ├── base-2.ttml │ │ │ │ ├── base-calee-1.ttml │ │ │ │ ├── base-calee-2.ttml │ │ │ │ ├── base-key-1.ttml │ │ │ │ ├── base-key-2.ttml │ │ │ │ └── base.ttml │ │ │ │ └── template │ │ │ │ ├── canvas.ttml │ │ │ │ ├── className1.ttml │ │ │ │ ├── className2.ttml │ │ │ │ ├── font.ttml │ │ │ │ ├── input-change.ttml │ │ │ │ ├── onclick1.ttml │ │ │ │ ├── onclick2.ttml │ │ │ │ └── slot.ttml │ │ └── wx │ │ │ └── pages │ │ │ ├── control-flow │ │ │ ├── 2-base.wxml │ │ │ ├── 2-multi-1.wxml │ │ │ ├── 2-multi-2.wxml │ │ │ ├── 3-base.wxml │ │ │ ├── 3-multi.wxml │ │ │ ├── base.wxml │ │ │ └── if-eles.wxml │ │ │ ├── loop │ │ │ ├── base-2-logic.wxml │ │ │ ├── base-2.wxml │ │ │ ├── base-calee-1.wxml │ │ │ ├── base-calee-2.wxml │ │ │ ├── base-key-1.wxml │ │ │ ├── base-key-2.wxml │ │ │ └── base.wxml │ │ │ └── template │ │ │ ├── canvas.wxml │ │ │ ├── className1.wxml │ │ │ ├── className2.wxml │ │ │ ├── font.wxml │ │ │ ├── input-change.wxml │ │ │ ├── onclick1.wxml │ │ │ ├── onclick2.wxml │ │ │ └── slot.wxml │ │ ├── loop-ali-test.js │ │ ├── loop-quick-test.js │ │ ├── loop-swan-test.js │ │ ├── loop-tt-test.js │ │ ├── loop-wx-test.js │ │ ├── style-quick-test.js │ │ ├── template-ali-test.js │ │ ├── template-bu-test.js │ │ ├── template-quick-test.js │ │ ├── template-tt-test.js │ │ ├── template-wx-test.js │ │ ├── using-components-test.js │ │ └── utils │ │ ├── apiMock.js │ │ └── index.js ├── core │ ├── Children.js │ ├── Component.js │ ├── PropTypes.js │ ├── PureComponent.js │ ├── __tests__ │ │ ├── ReactChildren-test.js │ │ ├── ReactContextValidator-test.js │ │ ├── ReactES6Class-test.js │ │ ├── ReactElement-test.js │ │ ├── ReactElementClone-test.js │ │ ├── ReactElementValidator-test.internal.js │ │ ├── ReactJSXElement-test.js │ │ ├── ReactJSXElementValidator-test.js │ │ ├── ReactProxy-test.js │ │ ├── ReactPureComponent-test.js │ │ ├── createReactClassIntegration-test.js │ │ ├── forwardRef-test.internal.js │ │ └── onlyChild-test.js │ ├── createClass.js │ ├── createContext.js │ ├── createElement.js │ ├── createPortal.js │ ├── createRef.js │ ├── createRenderer.js │ ├── hooks.js │ ├── readme.md │ ├── shallowEqual.js │ ├── util.d.ts │ └── util.js ├── fiber │ ├── ErrorBoundary.js │ ├── Fiber.js │ ├── README.md │ ├── Refs.js │ ├── Suspense.js │ ├── beginWork.js │ ├── commitWork.js │ ├── createInstance.js │ ├── dispatcher.js │ ├── effectTag.js │ ├── findHostInstance.js │ ├── insertPoint.js │ ├── lazy.js │ ├── memo.js │ ├── scheduleWork.js │ └── unbatch.js ├── readme.md ├── render │ ├── canvas │ │ └── readme.md │ ├── console │ │ └── readme.md │ ├── dom │ │ ├── DOMRenderer.js │ │ ├── __tests__ │ │ │ ├── README.md │ │ │ ├── ReactComponent-test.js │ │ │ ├── ReactComponentLifeCycle-test.js │ │ │ ├── ReactCompositeComponent-test.js │ │ │ ├── ReactCompositeComponentNestedState-test.js │ │ │ ├── ReactCompositeComponentState-test.js │ │ │ ├── ReactDOMComponentTree-test.js │ │ │ ├── ReactDOMEventListener-test.js │ │ │ ├── ReactDOMFiber-test.js │ │ │ ├── ReactDOMInput-test.js │ │ │ ├── ReactDOMOption-test.js │ │ │ ├── ReactDOMSVG-test.js │ │ │ ├── ReactDOMSelect-test.js │ │ │ ├── ReactDOMTextComponent-test.js │ │ │ ├── ReactDOMTextarea-test.js │ │ │ ├── ReactEmptyComponent-test.js │ │ │ ├── ReactErrorBoundaries-test.internal.js │ │ │ ├── ReactHook-test.js │ │ │ ├── ReactIdentity-test.js │ │ │ ├── ReactMount-test.js │ │ │ ├── ReactMountDestruction-test.js │ │ │ ├── ReactMultiChild-test.js │ │ │ ├── ReactMultiChildReconcile-test.js │ │ │ ├── ReactStatelessComponent-test.js │ │ │ ├── ReactTestUtils-test.js │ │ │ ├── ReactUpdates-test.js │ │ │ ├── __snapshots__ │ │ │ │ └── ReactTestUtils-test.js.snap │ │ │ ├── findDOMNode-test.js │ │ │ ├── refs-destruction-test.js │ │ │ ├── refs-test.js │ │ │ └── renderSubtreeIntoContainer-test.js │ │ ├── browser.js │ │ ├── compat.js │ │ ├── duplex.js │ │ ├── event.js │ │ ├── findDOMNode.js │ │ ├── index.ie8.js │ │ ├── index.js │ │ ├── props.js │ │ ├── readme.md │ │ └── style.js │ ├── miniapp │ │ ├── apiForAlipay │ │ │ ├── file.js │ │ │ └── index.js │ │ ├── apiForBaidu │ │ │ └── index.js │ │ ├── apiForH5 │ │ │ ├── Components │ │ │ │ ├── ActionSheet.js │ │ │ │ ├── Loading.js │ │ │ │ ├── Modal.js │ │ │ │ ├── Share.js │ │ │ │ └── Toast.js │ │ │ ├── audio.js │ │ │ ├── call.js │ │ │ ├── canIUse.js │ │ │ ├── canvas.js │ │ │ ├── clipboard.js │ │ │ ├── file.js │ │ │ ├── images.js │ │ │ ├── index.js │ │ │ ├── interaction.js │ │ │ ├── location.js │ │ │ ├── notSupport.js │ │ │ ├── previewImage.js │ │ │ ├── request.js │ │ │ ├── scroll.js │ │ │ ├── selectorQuery.js │ │ │ ├── share.js │ │ │ ├── storage.js │ │ │ ├── systemInfo.js │ │ │ ├── vibrate.js │ │ │ └── ws.js │ │ ├── apiForQuick │ │ │ ├── account.js │ │ │ ├── canvas.js │ │ │ ├── clipboard.js │ │ │ ├── device.js │ │ │ ├── dialog.js │ │ │ ├── file.js │ │ │ ├── index.js │ │ │ ├── media.js │ │ │ ├── network.js │ │ │ ├── pay.js │ │ │ ├── push.js │ │ │ ├── request.js │ │ │ ├── router.js │ │ │ ├── share.js │ │ │ ├── shortcut.js │ │ │ ├── storage.js │ │ │ ├── title.js │ │ │ └── vibrator.js │ │ ├── apiForWeixin │ │ │ └── index.js │ │ ├── apiList.js │ │ ├── dist │ │ │ ├── index.ali.dev.js │ │ │ └── utils.dev.js │ │ ├── eventSystem.js │ │ ├── eventSystem.quick.js │ │ ├── getCurrentPages.quick.js │ │ ├── index.ali.js │ │ ├── index.bu.js │ │ ├── index.h5.js │ │ ├── index.quick.js │ │ ├── index.wx.js │ │ ├── lifeCycleHooks.js │ │ ├── readme.md │ │ ├── registerAPIs.js │ │ ├── registerApp.all.js │ │ ├── registerApp.quick.js │ │ ├── registerComponent.ali.js │ │ ├── registerComponent.bu.js │ │ ├── registerComponent.quick.js │ │ ├── registerComponent.wx.js │ │ ├── registerPage.all.js │ │ ├── registerPage.h5.js │ │ ├── registerPage.quick.js │ │ ├── registerPage.wx.js │ │ ├── registerPageHook.js │ │ ├── render.all.js │ │ ├── render.h5.js │ │ ├── toStyle.js │ │ ├── toStyle.quick.js │ │ └── utils.js │ ├── noop │ │ ├── NoopRenderer.js │ │ ├── index.js │ │ └── readme.md │ ├── readme.md │ └── server │ │ ├── Renderer.js │ │ ├── __tests2__ │ │ ├── index.js │ │ └── utils │ │ │ └── ReactDOMServerIntegrationTestUtils.js │ │ ├── duplex.js │ │ ├── encode.js │ │ ├── html.js │ │ ├── index.js │ │ ├── namespaces.js │ │ ├── readme.md │ │ └── style.js └── router │ ├── history.js │ ├── index.jsx │ ├── readme.md │ └── utils.js ├── readme.md ├── scripts ├── .eslintrc.js ├── build │ ├── ReactSelection.js │ ├── buildIE.js │ ├── create-class.js │ ├── rollup.ali.js │ ├── rollup.bu.js │ ├── rollup.h5.js │ ├── rollup.ie.js │ ├── rollup.js │ ├── rollup.noop.js │ ├── rollup.quick.js │ ├── rollup.reach.js │ ├── rollup.rematch.js │ ├── rollup.ssr.js │ ├── rollup.wx.js │ ├── shallowCompare.index.js │ ├── shallowCompare.js │ ├── sync.js │ ├── syncAntd.js │ └── syncReactMini.js └── jest │ ├── codes.json │ ├── config.build.js │ ├── config.source.js │ ├── matchers │ └── toWarnDev.js │ ├── noHaste.js │ ├── preprocessor.js │ ├── setupEnvironment.js │ ├── setupTests.js │ ├── spec-equivalence-reporter │ └── setupTests.js │ └── typescript │ ├── jest.d.ts │ └── preprocessor.js ├── src ├── cli │ ├── bin │ │ ├── cliBuilder.ts │ │ ├── commands │ │ │ ├── build.ts │ │ │ ├── createPage.ts │ │ │ ├── init.ts │ │ │ └── install.ts │ │ └── index.ts │ ├── config │ │ ├── config.ts │ │ ├── h5 │ │ │ ├── configurations.ts │ │ │ ├── webpack.config.base.ts │ │ │ ├── webpack.config.prod.ts │ │ │ └── webpack.config.ts │ │ └── webpackConfig.ts │ ├── consts │ │ ├── alias.ts │ │ ├── buildOptions.ts │ │ ├── index.ts │ │ ├── platforms.ts │ │ ├── quickAPIList.ts │ │ ├── runtime │ │ │ └── index.ts │ │ └── templates.ts │ ├── global.d.ts │ ├── index.ts │ ├── nanachi-loader │ │ ├── chaika-plugin │ │ │ └── chaikaPlugin.ts │ │ ├── loaders │ │ │ ├── aliasLoader.ts │ │ │ ├── fileLoader.ts │ │ │ ├── nanachiLoader.ts │ │ │ ├── nanachiStyleLoader.ts │ │ │ ├── nodeLoader.ts │ │ │ └── reactLoader.ts │ │ ├── plugin.ts │ │ ├── quickPlugin.ts │ │ └── sizePlugin.ts │ ├── packages │ │ ├── aliHelpers │ │ │ ├── attrName.ts │ │ │ ├── attrValue.ts │ │ │ ├── classDeclaration.ts │ │ │ ├── configName.ts │ │ │ ├── index.ts │ │ │ ├── logic.ts │ │ │ ├── nodeName.ts │ │ │ ├── render.ts │ │ │ └── wxml.ts │ │ ├── babelPlugins │ │ │ ├── collectCommonCode.ts │ │ │ ├── collectDependencies.ts │ │ │ ├── collectRegeneratorRuntime.ts │ │ │ ├── collectTitleBarConfig.ts │ │ │ ├── collectWebViewPage.ts │ │ │ ├── h5 │ │ │ │ ├── transformH5.ts │ │ │ │ ├── transformH5App.ts │ │ │ │ └── transformH5Page.ts │ │ │ ├── miniappVisitor.ts │ │ │ ├── patchAsyncAwait.ts │ │ │ ├── patchComponents.ts │ │ │ ├── proposalOptionalChaining.ts │ │ │ ├── remove-use-strict.ts │ │ │ ├── transformConfig.ts │ │ │ ├── transformDeadCode.ts │ │ │ ├── transformEnv.ts │ │ │ ├── transformIfFun.ts │ │ │ ├── transformIfImport.ts │ │ │ ├── transformJSXFragment.ts │ │ │ ├── transformMiniApp.ts │ │ │ └── transformTemplateLiterals.ts │ │ ├── buHelpers │ │ │ ├── attrName.ts │ │ │ ├── attrValue.ts │ │ │ ├── classDeclaration.ts │ │ │ ├── configName.ts │ │ │ ├── index.ts │ │ │ ├── logic.ts │ │ │ ├── nodeName.ts │ │ │ ├── render.ts │ │ │ └── wxml.ts │ │ ├── postcssPlugins │ │ │ ├── postCssPluginAddImport.ts │ │ │ ├── postCssPluginAddStyleHash.ts │ │ │ ├── postCssPluginFixNumber.ts │ │ │ ├── postCssPluginLessParser.ts │ │ │ ├── postCssPluginRemoveComments.ts │ │ │ ├── postCssPluginRemoveRules.ts │ │ │ ├── postCssPluginReport.ts │ │ │ ├── postCssPluginRpxToRem.ts │ │ │ ├── postCssPluginTransformKeyFrames.ts │ │ │ └── postCssPluginValidateStyle.ts │ │ ├── qqHelpers │ │ │ ├── attrName.ts │ │ │ ├── attrValue.ts │ │ │ ├── classDeclaration.ts │ │ │ ├── configName.ts │ │ │ ├── index.ts │ │ │ ├── logic.ts │ │ │ ├── nodeName.ts │ │ │ ├── render.ts │ │ │ └── wxml.ts │ │ ├── quickHelpers │ │ │ ├── PageWrapper.js │ │ │ ├── PageWrapper.ux │ │ │ ├── WebViewPageWrapper.ux │ │ │ ├── attrName.ts │ │ │ ├── attrValue.ts │ │ │ ├── classDeclaration.ts │ │ │ ├── config.ts │ │ │ ├── huaweiStyle.ts │ │ │ ├── ignoreAttri.ts │ │ │ ├── ignoreCss.ts │ │ │ ├── ignorePrevAttri.ts │ │ │ ├── index.ts │ │ │ ├── logic.ts │ │ │ ├── mergeUx.ts │ │ │ ├── nodeName.ts │ │ │ ├── quickFiles.ts │ │ │ ├── quickInitConfig │ │ │ │ ├── babel.config.js │ │ │ │ ├── package.json │ │ │ │ └── sign │ │ │ │ │ └── debug │ │ │ │ │ ├── certificate.pem │ │ │ │ │ └── private.pem │ │ │ ├── render.ts │ │ │ └── wxml.ts │ │ ├── ttHelpers │ │ │ ├── attrName.ts │ │ │ ├── attrValue.ts │ │ │ ├── classDeclaration.ts │ │ │ ├── configName.ts │ │ │ ├── index.ts │ │ │ ├── logic.ts │ │ │ ├── nodeName.ts │ │ │ ├── project.config.json │ │ │ ├── render.ts │ │ │ └── wxml.ts │ │ ├── utils │ │ │ ├── calculateAlias.ts │ │ │ ├── calculateAliasConfig.ts │ │ │ ├── calculateComponentsPath.ts │ │ │ ├── calculateStyleString.ts │ │ │ ├── decodeChinese.ts │ │ │ ├── dist │ │ │ │ ├── index.js │ │ │ │ └── setSubPackage.js │ │ │ ├── getDistPath.ts │ │ │ ├── getNativeComponentsNode.ts │ │ │ ├── getSubPackage.ts │ │ │ ├── globalStore.ts │ │ │ ├── index.ts │ │ │ ├── isNpmModule.ts │ │ │ ├── isWindow.ts │ │ │ ├── lintQueue.ts │ │ │ ├── logger │ │ │ │ ├── index.ts │ │ │ │ └── queue.ts │ │ │ ├── mergeConfigJson.ts │ │ │ ├── setSubPackage.ts │ │ │ ├── setWebVeiw.ts │ │ │ ├── timer.ts │ │ │ └── toUpperCamel.ts │ │ └── wxHelpers │ │ │ ├── attrName.ts │ │ │ ├── attrValue.ts │ │ │ ├── classDeclaration.ts │ │ │ ├── configName.ts │ │ │ ├── createLogicHelper.ts │ │ │ ├── index.ts │ │ │ ├── logic.ts │ │ │ ├── nodeName.ts │ │ │ ├── render.ts │ │ │ └── wxml.ts │ ├── parsers │ │ ├── jsParser │ │ │ ├── AliParser.ts │ │ │ ├── BuParser.ts │ │ │ ├── H5Parser.ts │ │ │ ├── JavascriptParser.ts │ │ │ ├── JavascriptParserFactory.ts │ │ │ ├── QqParser.ts │ │ │ ├── QuickParser.ts │ │ │ ├── TtParser.ts │ │ │ └── WxParser.ts │ │ └── styleParser │ │ │ ├── CssParser.ts │ │ │ ├── LessParser.ts │ │ │ ├── SassParser.ts │ │ │ ├── StyleParser.ts │ │ │ └── StyleParserFactory.ts │ ├── tasks │ │ ├── chaikaMergeTask │ │ │ ├── copySource.ts │ │ │ ├── index.ts │ │ │ ├── injectChaikaEnv.ts │ │ │ ├── installDefaultModule.ts │ │ │ ├── isMutilePack.ts │ │ │ ├── mergeFiles.ts │ │ │ └── mergeFilesQueue.ts │ │ ├── createH5Server.ts │ │ ├── pretasks.ts │ │ └── runBeforeParseTasks.ts │ └── types │ │ └── validate-npm-package-name.d.ts └── core │ └── utils.ts ├── tsconfig.json └── version.md /.eslintignore: -------------------------------------------------------------------------------- 1 | ReactWX.js 2 | node_modules/ 3 | packages/cli/packages/lib/ 4 | packages/cli/packages/templates/* 5 | __tests1__/ -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /nbproject/private/ 2 | /node_modules/* 3 | /md/* 4 | /coverage/ 5 | node_modules/ 6 | chromedriver 7 | selenium-server-* 8 | .vscode/ 9 | /.history/* 10 | stand.js 11 | react-dom.js 12 | .DS_Store 13 | packages/cli/packages/lib/ 14 | .idea/ -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # 默认忽略的文件 2 | /shelf/ 3 | /workspace.xml 4 | # 基于编辑器的 HTTP 客户端请求 5 | /httpRequests/ 6 | # GitHub Copilot persisted chat sessions 7 | /copilot/chatSessions 8 | -------------------------------------------------------------------------------- /docs/_components/Icon.jsx: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /docs/_site/_components/Icon.jsx: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /docs/_site/apis/api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/apis/api.png -------------------------------------------------------------------------------- /docs/_site/documents/about.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/about.jpg -------------------------------------------------------------------------------- /docs/_site/documents/alias.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/alias.png -------------------------------------------------------------------------------- /docs/_site/documents/app.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/app.jpg -------------------------------------------------------------------------------- /docs/_site/documents/box-sizing-defferent-code.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/box-sizing-defferent-code.jpg -------------------------------------------------------------------------------- /docs/_site/documents/box-sizing-defferent.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/box-sizing-defferent.jpg -------------------------------------------------------------------------------- /docs/_site/documents/build_ali.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/build_ali.png -------------------------------------------------------------------------------- /docs/_site/documents/build_bu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/build_bu.png -------------------------------------------------------------------------------- /docs/_site/documents/build_wx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/build_wx.png -------------------------------------------------------------------------------- /docs/_site/documents/buildover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/buildover.png -------------------------------------------------------------------------------- /docs/_site/documents/chaika.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/chaika.png -------------------------------------------------------------------------------- /docs/_site/documents/chaika_home_module_dir.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/chaika_home_module_dir.jpg -------------------------------------------------------------------------------- /docs/_site/documents/chaika_hotel_module_dir.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/chaika_hotel_module_dir.jpg -------------------------------------------------------------------------------- /docs/_site/documents/chaika_train_module_dir.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/chaika_train_module_dir.jpg -------------------------------------------------------------------------------- /docs/_site/documents/chaka_confict.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/chaka_confict.jpg -------------------------------------------------------------------------------- /docs/_site/documents/changlog.md: -------------------------------------------------------------------------------- 1 | # 更新日志 2 | 3 | - 完美支持支付宝小程序 4 | - 模板添加webview的测试 5 | - 去哪儿网模板的样式全部改成scss -------------------------------------------------------------------------------- /docs/_site/documents/lifetimes1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/lifetimes1.png -------------------------------------------------------------------------------- /docs/_site/documents/lifetimes2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/lifetimes2.png -------------------------------------------------------------------------------- /docs/_site/documents/lifetimes3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/lifetimes3.png -------------------------------------------------------------------------------- /docs/_site/documents/lifetimes4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/lifetimes4.png -------------------------------------------------------------------------------- /docs/_site/documents/lifetimes5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/lifetimes5.jpg -------------------------------------------------------------------------------- /docs/_site/documents/logo/qunar_ali_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/logo/qunar_ali_logo.png -------------------------------------------------------------------------------- /docs/_site/documents/logo/qunar_bu_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/logo/qunar_bu_logo.png -------------------------------------------------------------------------------- /docs/_site/documents/logo/qunar_qq_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/logo/qunar_qq_logo.png -------------------------------------------------------------------------------- /docs/_site/documents/logo/qunar_quick_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/logo/qunar_quick_logo.png -------------------------------------------------------------------------------- /docs/_site/documents/logo/schnee_ui_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/logo/schnee_ui_logo.png -------------------------------------------------------------------------------- /docs/_site/documents/nanachi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/nanachi.jpg -------------------------------------------------------------------------------- /docs/_site/documents/nativeComponents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/nativeComponents.png -------------------------------------------------------------------------------- /docs/_site/documents/nativeComponents2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/nativeComponents2.png -------------------------------------------------------------------------------- /docs/_site/documents/page2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/page2.jpg -------------------------------------------------------------------------------- /docs/_site/documents/page2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/page2.png -------------------------------------------------------------------------------- /docs/_site/documents/perf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/perf.jpg -------------------------------------------------------------------------------- /docs/_site/documents/preload.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/preload.jpg -------------------------------------------------------------------------------- /docs/_site/documents/publish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/publish.png -------------------------------------------------------------------------------- /docs/_site/documents/quick.md: -------------------------------------------------------------------------------- 1 | # 快应用问题 2 | 3 | 快应用 npm run watch编译不可靠,有时不成功需要手动npm run build -------------------------------------------------------------------------------- /docs/_site/documents/quickdebugger.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/quickdebugger.jpg -------------------------------------------------------------------------------- /docs/_site/documents/qversion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/qversion.png -------------------------------------------------------------------------------- /docs/_site/documents/redux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/redux.png -------------------------------------------------------------------------------- /docs/_site/documents/select_tmpl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/select_tmpl.png -------------------------------------------------------------------------------- /docs/_site/documents/subpackages.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/subpackages.jpg -------------------------------------------------------------------------------- /docs/_site/documents/tools.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/tools.jpg -------------------------------------------------------------------------------- /docs/_site/documents/two-threaded01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/two-threaded01.png -------------------------------------------------------------------------------- /docs/_site/documents/two-threaded02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/two-threaded02.png -------------------------------------------------------------------------------- /docs/_site/documents/two-threaded03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/two-threaded03.png -------------------------------------------------------------------------------- /docs/_site/documents/two-threaded04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/two-threaded04.png -------------------------------------------------------------------------------- /docs/_site/documents/two-threaded05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/two-threaded05.png -------------------------------------------------------------------------------- /docs/_site/documents/two-threaded06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/two-threaded06.png -------------------------------------------------------------------------------- /docs/_site/documents/units.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/units.jpg -------------------------------------------------------------------------------- /docs/_site/documents/watch_ali.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/watch_ali.png -------------------------------------------------------------------------------- /docs/_site/documents/watch_bu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/watch_bu.png -------------------------------------------------------------------------------- /docs/_site/documents/watch_quick.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/watch_quick.jpg -------------------------------------------------------------------------------- /docs/_site/documents/watch_wx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/watch_wx.png -------------------------------------------------------------------------------- /docs/_site/documents/zoology.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/documents/zoology.jpg -------------------------------------------------------------------------------- /docs/_site/images/GitHub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/GitHub.png -------------------------------------------------------------------------------- /docs/_site/images/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/banner.png -------------------------------------------------------------------------------- /docs/_site/images/banner@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/banner@2x.png -------------------------------------------------------------------------------- /docs/_site/images/callout1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/callout1.png -------------------------------------------------------------------------------- /docs/_site/images/callout1@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/callout1@2x.png -------------------------------------------------------------------------------- /docs/_site/images/callout2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/callout2.png -------------------------------------------------------------------------------- /docs/_site/images/callout2@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/callout2@2x.png -------------------------------------------------------------------------------- /docs/_site/images/callout3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/callout3.png -------------------------------------------------------------------------------- /docs/_site/images/callout3@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/callout3@2x.png -------------------------------------------------------------------------------- /docs/_site/images/callout4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/callout4.png -------------------------------------------------------------------------------- /docs/_site/images/callout4@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/callout4@2x.png -------------------------------------------------------------------------------- /docs/_site/images/callout5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/callout5.png -------------------------------------------------------------------------------- /docs/_site/images/callout5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/callout5@2x.png -------------------------------------------------------------------------------- /docs/_site/images/callout6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/callout6.png -------------------------------------------------------------------------------- /docs/_site/images/callout6@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/callout6@2x.png -------------------------------------------------------------------------------- /docs/_site/images/canvas_alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/canvas_alpha.png -------------------------------------------------------------------------------- /docs/_site/images/canvas_arc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/canvas_arc.png -------------------------------------------------------------------------------- /docs/_site/images/canvas_closePath.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/canvas_closePath.png -------------------------------------------------------------------------------- /docs/_site/images/canvas_fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/canvas_fill.png -------------------------------------------------------------------------------- /docs/_site/images/canvas_fill_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/canvas_fill_2.png -------------------------------------------------------------------------------- /docs/_site/images/canvas_gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/canvas_gradient.png -------------------------------------------------------------------------------- /docs/_site/images/canvas_lineTo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/canvas_lineTo.png -------------------------------------------------------------------------------- /docs/_site/images/canvas_rect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/canvas_rect.png -------------------------------------------------------------------------------- /docs/_site/images/canvas_scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/canvas_scale.png -------------------------------------------------------------------------------- /docs/_site/images/canvas_textAlign.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/canvas_textAlign.png -------------------------------------------------------------------------------- /docs/_site/images/canvas_transform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/canvas_transform.png -------------------------------------------------------------------------------- /docs/_site/images/loading-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/loading-1.png -------------------------------------------------------------------------------- /docs/_site/images/loading-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/loading-2.png -------------------------------------------------------------------------------- /docs/_site/images/loading-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/loading-3.png -------------------------------------------------------------------------------- /docs/_site/images/loading-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/loading-4.png -------------------------------------------------------------------------------- /docs/_site/images/loading_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/loading_1.png -------------------------------------------------------------------------------- /docs/_site/images/loading_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/loading_3.png -------------------------------------------------------------------------------- /docs/_site/images/logo-foot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/logo-foot.png -------------------------------------------------------------------------------- /docs/_site/images/logo-foot@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/logo-foot@2x.png -------------------------------------------------------------------------------- /docs/_site/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/logo.png -------------------------------------------------------------------------------- /docs/_site/images/logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/logo@2x.png -------------------------------------------------------------------------------- /docs/_site/images/style_column.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/style_column.png -------------------------------------------------------------------------------- /docs/_site/images/style_grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/style_grid.png -------------------------------------------------------------------------------- /docs/_site/images/style_hero_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/style_hero_image.png -------------------------------------------------------------------------------- /docs/_site/images/style_row.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/style_row.png -------------------------------------------------------------------------------- /docs/_site/images/titleLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/images/titleLogo.png -------------------------------------------------------------------------------- /docs/_site/ui/SUMMARY.md: -------------------------------------------------------------------------------- 1 | 2 | # UI 3 | 4 | * [UI](index.md#UI) 5 | * [QunarLoading](index.md#qunarloading) 6 | * [CitySelect](index.md#cityselect) 7 | * [SideBar](index.md#sidebar) 8 | * [Calendar](index.md#Calendar) 9 | 10 | -------------------------------------------------------------------------------- /docs/_site/ydoc/images/dog@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/ydoc/images/dog@1x.png -------------------------------------------------------------------------------- /docs/_site/ydoc/images/dog@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/ydoc/images/dog@2x.png -------------------------------------------------------------------------------- /docs/_site/ydoc/images/dogbg@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/ydoc/images/dogbg@1x.png -------------------------------------------------------------------------------- /docs/_site/ydoc/images/dogbg@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/ydoc/images/dogbg@2x.png -------------------------------------------------------------------------------- /docs/_site/ydoc/images/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/ydoc/images/favicon-16x16.png -------------------------------------------------------------------------------- /docs/_site/ydoc/images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/ydoc/images/favicon-32x32.png -------------------------------------------------------------------------------- /docs/_site/ydoc/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/_site/ydoc/images/favicon.ico -------------------------------------------------------------------------------- /docs/apis/api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/apis/api.png -------------------------------------------------------------------------------- /docs/component/SUMMARY.md: -------------------------------------------------------------------------------- 1 | 2 | # 组件 3 | 4 | * [组件](index.md#组件对比) 5 | * [视图容器](index.md#视图容器) 6 | * [基础内容](index.md#基础内容) 7 | * [表单组件](index.md#表单组件) 8 | * [导航](index.md#导航) 9 | * [媒体组件](index.md#媒体组件) 10 | * [地图](index.md#地图) 11 | * [画布](index.md#画布) 12 | * [开放能力](index.md#开放能力) 13 | -------------------------------------------------------------------------------- /docs/docs/NAV.md: -------------------------------------------------------------------------------- 1 | ![logo](images/logo@2x.png) 2 | 3 | * [文档](documents/intro.md) 4 | * [已兼容处理的API](apis/index.md) 5 | * [谁在用nanachi](documents/logo.md) 6 | * [关于](documents/about.md) -------------------------------------------------------------------------------- /docs/docs/_components/Icon.jsx: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /docs/docs/_theme/components/Hook.jsx: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /docs/docs/_theme/components/Icon.jsx: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /docs/docs/_theme/images/dog@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/_theme/images/dog@1x.png -------------------------------------------------------------------------------- /docs/docs/_theme/images/dog@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/_theme/images/dog@2x.png -------------------------------------------------------------------------------- /docs/docs/_theme/images/dogbg@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/_theme/images/dogbg@1x.png -------------------------------------------------------------------------------- /docs/docs/_theme/images/dogbg@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/_theme/images/dogbg@2x.png -------------------------------------------------------------------------------- /docs/docs/_theme/images/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/_theme/images/favicon-16x16.png -------------------------------------------------------------------------------- /docs/docs/_theme/images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/_theme/images/favicon-32x32.png -------------------------------------------------------------------------------- /docs/docs/_theme/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/_theme/images/favicon.ico -------------------------------------------------------------------------------- /docs/docs/_theme/styles/common/mixin.scss: -------------------------------------------------------------------------------- 1 | @mixin user-select-none { 2 | -webkit-tap-highlight-color: rgba(0,0,0,0); 3 | -webkit-touch-callout: none; 4 | -webkit-user-select: none; 5 | -moz-user-select: none; 6 | -ms-user-select: none; 7 | -o-user-select: none; 8 | user-select: none; 9 | } -------------------------------------------------------------------------------- /docs/docs/_theme/styles/logo.scss: -------------------------------------------------------------------------------- 1 | .m-logo { 2 | cursor: pointer; 3 | } -------------------------------------------------------------------------------- /docs/docs/apis/api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/apis/api.png -------------------------------------------------------------------------------- /docs/docs/apis/pulldown.md: -------------------------------------------------------------------------------- 1 | # 下拉刷新 2 | 3 | ## stopPullDownRefresh() 4 | 5 | 停止当前页面下拉刷新。 6 | 7 | ```javascript 8 | React.api.stopPullDownRefresh() 9 | ``` 10 | 11 | -------------------------------------------------------------------------------- /docs/docs/component/SUMMARY.md: -------------------------------------------------------------------------------- 1 | 2 | # 组件 3 | 4 | * [组件](index.md#组件对比) 5 | * [视图容器](index.md#视图容器) 6 | * [基础内容](index.md#基础内容) 7 | * [表单组件](index.md#表单组件) 8 | * [导航](index.md#导航) 9 | * [媒体组件](index.md#媒体组件) 10 | * [地图](index.md#地图) 11 | * [画布](index.md#画布) 12 | * [开放能力](index.md#开放能力) 13 | -------------------------------------------------------------------------------- /docs/docs/documents/about.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/about.jpg -------------------------------------------------------------------------------- /docs/docs/documents/alias.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/alias.png -------------------------------------------------------------------------------- /docs/docs/documents/app.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/app.jpg -------------------------------------------------------------------------------- /docs/docs/documents/box-sizing-defferent-code.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/box-sizing-defferent-code.jpg -------------------------------------------------------------------------------- /docs/docs/documents/box-sizing-defferent.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/box-sizing-defferent.jpg -------------------------------------------------------------------------------- /docs/docs/documents/bu.md: -------------------------------------------------------------------------------- 1 | ## 百度小程序环境判定 2 | 3 | 百度小程序userAgent 会有 swan, swan-baiduboxapp。这俩个其中的一个有可以稳定判断百度小程序环境的么。 baiduboxapp,在百度客户端,小程序都会有,我马上发截图 -------------------------------------------------------------------------------- /docs/docs/documents/build_ali.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/build_ali.png -------------------------------------------------------------------------------- /docs/docs/documents/build_bu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/build_bu.png -------------------------------------------------------------------------------- /docs/docs/documents/build_wx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/build_wx.png -------------------------------------------------------------------------------- /docs/docs/documents/buildover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/buildover.png -------------------------------------------------------------------------------- /docs/docs/documents/chaika.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/chaika.png -------------------------------------------------------------------------------- /docs/docs/documents/chaika_home_module_dir.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/chaika_home_module_dir.jpg -------------------------------------------------------------------------------- /docs/docs/documents/chaika_hotel_module_dir.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/chaika_hotel_module_dir.jpg -------------------------------------------------------------------------------- /docs/docs/documents/chaika_train_module_dir.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/chaika_train_module_dir.jpg -------------------------------------------------------------------------------- /docs/docs/documents/chaka_confict.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/chaka_confict.jpg -------------------------------------------------------------------------------- /docs/docs/documents/changlog.md: -------------------------------------------------------------------------------- 1 | # 更新日志 2 | 3 | - 完美支持支付宝小程序 4 | - 模板添加webview的测试 5 | - 去哪儿网模板的样式全部改成scss -------------------------------------------------------------------------------- /docs/docs/documents/lifetimes1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/lifetimes1.png -------------------------------------------------------------------------------- /docs/docs/documents/lifetimes2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/lifetimes2.png -------------------------------------------------------------------------------- /docs/docs/documents/lifetimes3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/lifetimes3.png -------------------------------------------------------------------------------- /docs/docs/documents/lifetimes4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/lifetimes4.png -------------------------------------------------------------------------------- /docs/docs/documents/lifetimes5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/lifetimes5.jpg -------------------------------------------------------------------------------- /docs/docs/documents/logo/qunar_ali_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/logo/qunar_ali_logo.png -------------------------------------------------------------------------------- /docs/docs/documents/logo/qunar_bu_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/logo/qunar_bu_logo.png -------------------------------------------------------------------------------- /docs/docs/documents/logo/qunar_qq_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/logo/qunar_qq_logo.png -------------------------------------------------------------------------------- /docs/docs/documents/logo/qunar_quick_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/logo/qunar_quick_logo.png -------------------------------------------------------------------------------- /docs/docs/documents/logo/schnee_ui_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/logo/schnee_ui_logo.png -------------------------------------------------------------------------------- /docs/docs/documents/nanachi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/nanachi.jpg -------------------------------------------------------------------------------- /docs/docs/documents/nativeComponents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/nativeComponents.png -------------------------------------------------------------------------------- /docs/docs/documents/nativeComponents2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/nativeComponents2.png -------------------------------------------------------------------------------- /docs/docs/documents/page2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/page2.jpg -------------------------------------------------------------------------------- /docs/docs/documents/page2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/page2.png -------------------------------------------------------------------------------- /docs/docs/documents/perf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/perf.jpg -------------------------------------------------------------------------------- /docs/docs/documents/preload.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/preload.jpg -------------------------------------------------------------------------------- /docs/docs/documents/publish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/publish.png -------------------------------------------------------------------------------- /docs/docs/documents/quick.md: -------------------------------------------------------------------------------- 1 | # 快应用问题 2 | 3 | 快应用 npm run watch编译不可靠,有时不成功需要手动npm run build -------------------------------------------------------------------------------- /docs/docs/documents/quickdebugger.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/quickdebugger.jpg -------------------------------------------------------------------------------- /docs/docs/documents/qversion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/qversion.png -------------------------------------------------------------------------------- /docs/docs/documents/redux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/redux.png -------------------------------------------------------------------------------- /docs/docs/documents/select_tmpl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/select_tmpl.png -------------------------------------------------------------------------------- /docs/docs/documents/subpackages.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/subpackages.jpg -------------------------------------------------------------------------------- /docs/docs/documents/tools.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/tools.jpg -------------------------------------------------------------------------------- /docs/docs/documents/two-threaded01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/two-threaded01.png -------------------------------------------------------------------------------- /docs/docs/documents/two-threaded02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/two-threaded02.png -------------------------------------------------------------------------------- /docs/docs/documents/two-threaded03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/two-threaded03.png -------------------------------------------------------------------------------- /docs/docs/documents/two-threaded04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/two-threaded04.png -------------------------------------------------------------------------------- /docs/docs/documents/two-threaded05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/two-threaded05.png -------------------------------------------------------------------------------- /docs/docs/documents/two-threaded06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/two-threaded06.png -------------------------------------------------------------------------------- /docs/docs/documents/units.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/units.jpg -------------------------------------------------------------------------------- /docs/docs/documents/units.md: -------------------------------------------------------------------------------- 1 | # rpx <-->px互转 2 | 3 | ## 小程序中 4 | 5 | 小程序行内样式 会根据屏幕比例将 `px` 转换成`rpx` 6 | 7 | 如果你希望部分 `px` 单位不被转换成 `rpx` ,最简单的做法就是在px单位中增加一个大写字母,例如 `PX`这样,则会被转换插件忽略。 8 | 9 | ## 快应用中 10 | 11 | 如果用户书写的是 `1px`, 则会转译成 `2px`, 如果用户写的是`rpx`, 则会转译成 `px` 。 -------------------------------------------------------------------------------- /docs/docs/documents/update.md: -------------------------------------------------------------------------------- 1 | # 如何升级 2 | 3 | 娜娜奇转译器正处在高速迭代的时期,不断添加更多好用的特性,支持更多的平台。因此出BUG时,可以给我们提ISSUE。我们修复后,大家如何应用新的娜娜奇版本呢? 4 | 5 | 回到你之前下载的anu目录下,然后定位到`packages/cli`目录,再次`npm i` 或 `yarn`就行了。然后你在自己的工程,再次`nanachi watch`或`nanachi watch:bu`就是使用新的娜娜奇版本进行编译 6 | 7 | 8 | ![image](./buildover.png) -------------------------------------------------------------------------------- /docs/docs/documents/watch_ali.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/watch_ali.png -------------------------------------------------------------------------------- /docs/docs/documents/watch_bu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/watch_bu.png -------------------------------------------------------------------------------- /docs/docs/documents/watch_quick.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/watch_quick.jpg -------------------------------------------------------------------------------- /docs/docs/documents/watch_wx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/watch_wx.png -------------------------------------------------------------------------------- /docs/docs/documents/zoology.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/documents/zoology.jpg -------------------------------------------------------------------------------- /docs/docs/images/GitHub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/GitHub.png -------------------------------------------------------------------------------- /docs/docs/images/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/banner.png -------------------------------------------------------------------------------- /docs/docs/images/banner@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/banner@2x.png -------------------------------------------------------------------------------- /docs/docs/images/callout1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/callout1.png -------------------------------------------------------------------------------- /docs/docs/images/callout1@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/callout1@2x.png -------------------------------------------------------------------------------- /docs/docs/images/callout2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/callout2.png -------------------------------------------------------------------------------- /docs/docs/images/callout2@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/callout2@2x.png -------------------------------------------------------------------------------- /docs/docs/images/callout3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/callout3.png -------------------------------------------------------------------------------- /docs/docs/images/callout3@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/callout3@2x.png -------------------------------------------------------------------------------- /docs/docs/images/callout4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/callout4.png -------------------------------------------------------------------------------- /docs/docs/images/callout4@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/callout4@2x.png -------------------------------------------------------------------------------- /docs/docs/images/callout5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/callout5.png -------------------------------------------------------------------------------- /docs/docs/images/callout5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/callout5@2x.png -------------------------------------------------------------------------------- /docs/docs/images/callout6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/callout6.png -------------------------------------------------------------------------------- /docs/docs/images/callout6@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/callout6@2x.png -------------------------------------------------------------------------------- /docs/docs/images/canvas_alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/canvas_alpha.png -------------------------------------------------------------------------------- /docs/docs/images/canvas_arc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/canvas_arc.png -------------------------------------------------------------------------------- /docs/docs/images/canvas_closePath.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/canvas_closePath.png -------------------------------------------------------------------------------- /docs/docs/images/canvas_fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/canvas_fill.png -------------------------------------------------------------------------------- /docs/docs/images/canvas_fill_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/canvas_fill_2.png -------------------------------------------------------------------------------- /docs/docs/images/canvas_gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/canvas_gradient.png -------------------------------------------------------------------------------- /docs/docs/images/canvas_lineTo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/canvas_lineTo.png -------------------------------------------------------------------------------- /docs/docs/images/canvas_rect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/canvas_rect.png -------------------------------------------------------------------------------- /docs/docs/images/canvas_scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/canvas_scale.png -------------------------------------------------------------------------------- /docs/docs/images/canvas_textAlign.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/canvas_textAlign.png -------------------------------------------------------------------------------- /docs/docs/images/canvas_transform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/canvas_transform.png -------------------------------------------------------------------------------- /docs/docs/images/loading-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/loading-1.png -------------------------------------------------------------------------------- /docs/docs/images/loading-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/loading-2.png -------------------------------------------------------------------------------- /docs/docs/images/loading-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/loading-3.png -------------------------------------------------------------------------------- /docs/docs/images/loading-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/loading-4.png -------------------------------------------------------------------------------- /docs/docs/images/loading_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/loading_1.png -------------------------------------------------------------------------------- /docs/docs/images/loading_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/loading_3.png -------------------------------------------------------------------------------- /docs/docs/images/logo-foot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/logo-foot.png -------------------------------------------------------------------------------- /docs/docs/images/logo-foot@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/logo-foot@2x.png -------------------------------------------------------------------------------- /docs/docs/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/logo.png -------------------------------------------------------------------------------- /docs/docs/images/logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/logo@2x.png -------------------------------------------------------------------------------- /docs/docs/images/style_column.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/style_column.png -------------------------------------------------------------------------------- /docs/docs/images/style_grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/style_grid.png -------------------------------------------------------------------------------- /docs/docs/images/style_hero_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/style_hero_image.png -------------------------------------------------------------------------------- /docs/docs/images/style_row.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/style_row.png -------------------------------------------------------------------------------- /docs/docs/images/titleLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/images/titleLogo.png -------------------------------------------------------------------------------- /docs/docs/ui/SUMMARY.md: -------------------------------------------------------------------------------- 1 | 2 | # UI 3 | 4 | * [UI](index.md#UI) 5 | * [QunarLoading](index.md#qunarloading) 6 | * [CitySelect](index.md#cityselect) 7 | * [SideBar](index.md#sidebar) 8 | * [Calendar](index.md#Calendar) 9 | 10 | -------------------------------------------------------------------------------- /docs/docs/ydoc/images/dog@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/ydoc/images/dog@1x.png -------------------------------------------------------------------------------- /docs/docs/ydoc/images/dog@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/ydoc/images/dog@2x.png -------------------------------------------------------------------------------- /docs/docs/ydoc/images/dogbg@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/ydoc/images/dogbg@1x.png -------------------------------------------------------------------------------- /docs/docs/ydoc/images/dogbg@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/ydoc/images/dogbg@2x.png -------------------------------------------------------------------------------- /docs/docs/ydoc/images/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/ydoc/images/favicon-16x16.png -------------------------------------------------------------------------------- /docs/docs/ydoc/images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/ydoc/images/favicon-32x32.png -------------------------------------------------------------------------------- /docs/docs/ydoc/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/docs/ydoc/images/favicon.ico -------------------------------------------------------------------------------- /docs/documents/about.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/about.jpg -------------------------------------------------------------------------------- /docs/documents/alias.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/alias.png -------------------------------------------------------------------------------- /docs/documents/app.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/app.jpg -------------------------------------------------------------------------------- /docs/documents/box-sizing-defferent-code.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/box-sizing-defferent-code.jpg -------------------------------------------------------------------------------- /docs/documents/box-sizing-defferent.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/box-sizing-defferent.jpg -------------------------------------------------------------------------------- /docs/documents/build_ali.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/build_ali.png -------------------------------------------------------------------------------- /docs/documents/build_bu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/build_bu.png -------------------------------------------------------------------------------- /docs/documents/build_wx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/build_wx.png -------------------------------------------------------------------------------- /docs/documents/buildover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/buildover.png -------------------------------------------------------------------------------- /docs/documents/chaika.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/chaika.png -------------------------------------------------------------------------------- /docs/documents/chaika_home_module_dir.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/chaika_home_module_dir.jpg -------------------------------------------------------------------------------- /docs/documents/chaika_hotel_module_dir.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/chaika_hotel_module_dir.jpg -------------------------------------------------------------------------------- /docs/documents/chaika_train_module_dir.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/chaika_train_module_dir.jpg -------------------------------------------------------------------------------- /docs/documents/chaka_confict.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/chaka_confict.jpg -------------------------------------------------------------------------------- /docs/documents/changlog.md: -------------------------------------------------------------------------------- 1 | # 更新日志 2 | 3 | - 完美支持支付宝小程序 4 | - 模板添加webview的测试 5 | - 去哪儿网模板的样式全部改成scss -------------------------------------------------------------------------------- /docs/documents/lifetimes1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/lifetimes1.png -------------------------------------------------------------------------------- /docs/documents/lifetimes2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/lifetimes2.png -------------------------------------------------------------------------------- /docs/documents/lifetimes3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/lifetimes3.png -------------------------------------------------------------------------------- /docs/documents/lifetimes4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/lifetimes4.png -------------------------------------------------------------------------------- /docs/documents/lifetimes5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/lifetimes5.jpg -------------------------------------------------------------------------------- /docs/documents/logo/qunar_ali_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/logo/qunar_ali_logo.png -------------------------------------------------------------------------------- /docs/documents/logo/qunar_bu_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/logo/qunar_bu_logo.png -------------------------------------------------------------------------------- /docs/documents/logo/qunar_qq_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/logo/qunar_qq_logo.png -------------------------------------------------------------------------------- /docs/documents/logo/qunar_quick_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/logo/qunar_quick_logo.png -------------------------------------------------------------------------------- /docs/documents/logo/schnee_ui_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/logo/schnee_ui_logo.png -------------------------------------------------------------------------------- /docs/documents/nanachi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/nanachi.jpg -------------------------------------------------------------------------------- /docs/documents/nativeComponents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/nativeComponents.png -------------------------------------------------------------------------------- /docs/documents/nativeComponents2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/nativeComponents2.png -------------------------------------------------------------------------------- /docs/documents/page2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/page2.jpg -------------------------------------------------------------------------------- /docs/documents/page2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/page2.png -------------------------------------------------------------------------------- /docs/documents/perf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/perf.jpg -------------------------------------------------------------------------------- /docs/documents/preload.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/preload.jpg -------------------------------------------------------------------------------- /docs/documents/publish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/publish.png -------------------------------------------------------------------------------- /docs/documents/quick.md: -------------------------------------------------------------------------------- 1 | # 快应用问题 2 | 3 | 快应用 npm run watch编译不可靠,有时不成功需要手动npm run build -------------------------------------------------------------------------------- /docs/documents/quickdebugger.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/quickdebugger.jpg -------------------------------------------------------------------------------- /docs/documents/qversion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/qversion.png -------------------------------------------------------------------------------- /docs/documents/redux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/redux.png -------------------------------------------------------------------------------- /docs/documents/select_tmpl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/select_tmpl.png -------------------------------------------------------------------------------- /docs/documents/subpackages.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/subpackages.jpg -------------------------------------------------------------------------------- /docs/documents/tools.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/tools.jpg -------------------------------------------------------------------------------- /docs/documents/two-threaded01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/two-threaded01.png -------------------------------------------------------------------------------- /docs/documents/two-threaded02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/two-threaded02.png -------------------------------------------------------------------------------- /docs/documents/two-threaded03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/two-threaded03.png -------------------------------------------------------------------------------- /docs/documents/two-threaded04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/two-threaded04.png -------------------------------------------------------------------------------- /docs/documents/two-threaded05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/two-threaded05.png -------------------------------------------------------------------------------- /docs/documents/two-threaded06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/two-threaded06.png -------------------------------------------------------------------------------- /docs/documents/units.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/units.jpg -------------------------------------------------------------------------------- /docs/documents/watch_ali.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/watch_ali.png -------------------------------------------------------------------------------- /docs/documents/watch_bu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/watch_bu.png -------------------------------------------------------------------------------- /docs/documents/watch_quick.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/watch_quick.jpg -------------------------------------------------------------------------------- /docs/documents/watch_wx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/watch_wx.png -------------------------------------------------------------------------------- /docs/documents/zoology.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/documents/zoology.jpg -------------------------------------------------------------------------------- /docs/images/GitHub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/GitHub.png -------------------------------------------------------------------------------- /docs/images/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/banner.png -------------------------------------------------------------------------------- /docs/images/banner@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/banner@2x.png -------------------------------------------------------------------------------- /docs/images/callout1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/callout1.png -------------------------------------------------------------------------------- /docs/images/callout1@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/callout1@2x.png -------------------------------------------------------------------------------- /docs/images/callout2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/callout2.png -------------------------------------------------------------------------------- /docs/images/callout2@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/callout2@2x.png -------------------------------------------------------------------------------- /docs/images/callout3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/callout3.png -------------------------------------------------------------------------------- /docs/images/callout3@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/callout3@2x.png -------------------------------------------------------------------------------- /docs/images/callout4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/callout4.png -------------------------------------------------------------------------------- /docs/images/callout4@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/callout4@2x.png -------------------------------------------------------------------------------- /docs/images/callout5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/callout5.png -------------------------------------------------------------------------------- /docs/images/callout5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/callout5@2x.png -------------------------------------------------------------------------------- /docs/images/callout6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/callout6.png -------------------------------------------------------------------------------- /docs/images/callout6@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/callout6@2x.png -------------------------------------------------------------------------------- /docs/images/canvas_alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/canvas_alpha.png -------------------------------------------------------------------------------- /docs/images/canvas_arc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/canvas_arc.png -------------------------------------------------------------------------------- /docs/images/canvas_closePath.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/canvas_closePath.png -------------------------------------------------------------------------------- /docs/images/canvas_fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/canvas_fill.png -------------------------------------------------------------------------------- /docs/images/canvas_fill_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/canvas_fill_2.png -------------------------------------------------------------------------------- /docs/images/canvas_gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/canvas_gradient.png -------------------------------------------------------------------------------- /docs/images/canvas_lineTo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/canvas_lineTo.png -------------------------------------------------------------------------------- /docs/images/canvas_rect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/canvas_rect.png -------------------------------------------------------------------------------- /docs/images/canvas_scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/canvas_scale.png -------------------------------------------------------------------------------- /docs/images/canvas_textAlign.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/canvas_textAlign.png -------------------------------------------------------------------------------- /docs/images/canvas_transform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/canvas_transform.png -------------------------------------------------------------------------------- /docs/images/loading-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/loading-1.png -------------------------------------------------------------------------------- /docs/images/loading-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/loading-2.png -------------------------------------------------------------------------------- /docs/images/loading-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/loading-3.png -------------------------------------------------------------------------------- /docs/images/loading-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/loading-4.png -------------------------------------------------------------------------------- /docs/images/loading_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/loading_1.png -------------------------------------------------------------------------------- /docs/images/loading_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/loading_3.png -------------------------------------------------------------------------------- /docs/images/logo-foot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/logo-foot.png -------------------------------------------------------------------------------- /docs/images/logo-foot@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/logo-foot@2x.png -------------------------------------------------------------------------------- /docs/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/logo.png -------------------------------------------------------------------------------- /docs/images/logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/logo@2x.png -------------------------------------------------------------------------------- /docs/images/style_column.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/style_column.png -------------------------------------------------------------------------------- /docs/images/style_grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/style_grid.png -------------------------------------------------------------------------------- /docs/images/style_hero_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/style_hero_image.png -------------------------------------------------------------------------------- /docs/images/style_row.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/style_row.png -------------------------------------------------------------------------------- /docs/images/titleLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/images/titleLogo.png -------------------------------------------------------------------------------- /docs/publish.sh: -------------------------------------------------------------------------------- 1 | echo 拷贝_site下的文件到根目录 2 | 3 | cp -a _site/. ./ 4 | 5 | git add . 6 | 7 | echo -n "请输入 commit message -> " 8 | read msg 9 | git commit -m "$msg" 10 | 11 | git pull 12 | 13 | git push -------------------------------------------------------------------------------- /docs/ui/SUMMARY.md: -------------------------------------------------------------------------------- 1 | 2 | # UI 3 | 4 | * [UI](index.md#UI) 5 | * [QunarLoading](index.md#qunarloading) 6 | * [CitySelect](index.md#cityselect) 7 | * [SideBar](index.md#sidebar) 8 | * [Calendar](index.md#Calendar) 9 | 10 | -------------------------------------------------------------------------------- /docs/ydoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": "nanachi", 3 | "description": "使用Reac微信小程序", 4 | "author": "司徒正美", 5 | "pluginsConfig": { 6 | "import-asset": { 7 | "css": ["style/index.css"] 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /docs/ydoc/images/dog@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/ydoc/images/dog@1x.png -------------------------------------------------------------------------------- /docs/ydoc/images/dog@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/ydoc/images/dog@2x.png -------------------------------------------------------------------------------- /docs/ydoc/images/dogbg@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/ydoc/images/dogbg@1x.png -------------------------------------------------------------------------------- /docs/ydoc/images/dogbg@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/ydoc/images/dogbg@2x.png -------------------------------------------------------------------------------- /docs/ydoc/images/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/ydoc/images/favicon-16x16.png -------------------------------------------------------------------------------- /docs/ydoc/images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/ydoc/images/favicon-32x32.png -------------------------------------------------------------------------------- /docs/ydoc/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/docs/ydoc/images/favicon.ico -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "independent", 3 | "packages": [ 4 | "packages/cli" 5 | ], 6 | "command": { 7 | "publish": { 8 | "message": "release: publish %s" 9 | } 10 | }, 11 | "npmClient": "npm" 12 | } 13 | -------------------------------------------------------------------------------- /lib/ReactChildren.js: -------------------------------------------------------------------------------- 1 | 2 | //by 司徒正美 3 | module.exports = require("../src/Children"); -------------------------------------------------------------------------------- /lib/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/lib/logo.png -------------------------------------------------------------------------------- /lib/onlyChild.js: -------------------------------------------------------------------------------- 1 | function onlyChild(children) { 2 | var el = children && children.slice && children.slice(0,1) || null; 3 | if (el && el.vtype) { 4 | return el 5 | } 6 | return el 7 | } 8 | 9 | module.exports = onlyChild; -------------------------------------------------------------------------------- /packages/cli/bin/commands/build.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/bin/commands/createPage.d.ts: -------------------------------------------------------------------------------- 1 | export default function (data: { 2 | name: string; 3 | isPage: boolean; 4 | }): void; 5 | -------------------------------------------------------------------------------- /packages/cli/bin/commands/init.d.ts: -------------------------------------------------------------------------------- 1 | /*! 2 | 输出命令行提示与选择模板 3 | */ 4 | declare function init(appName: string): Promise; 5 | export default init; 6 | -------------------------------------------------------------------------------- /packages/cli/bin/commands/install.d.ts: -------------------------------------------------------------------------------- 1 | export default function (name: string, opts: any): void; 2 | -------------------------------------------------------------------------------- /packages/cli/bin/commands/moduleUrls.d.ts: -------------------------------------------------------------------------------- 1 | declare const URLS: { 2 | "getVersionsUrl": string; 3 | "moduleGitUrl": string; 4 | "packageUrl": string; 5 | "prefix": string; 6 | }; 7 | declare function patchOldChaikaDownLoad(name: string, downLoadGitRepo: any, downLoadBinaryLib: any): void; 8 | -------------------------------------------------------------------------------- /packages/cli/bin/index.d.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | import '../tasks/chaikaMergeTask/injectChaikaEnv'; 3 | -------------------------------------------------------------------------------- /packages/cli/config/eslint/.eslintrc-360.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ["plugin:nanachi/h5"] 3 | } -------------------------------------------------------------------------------- /packages/cli/config/eslint/.eslintrc-ali.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ["plugin:nanachi/ali"] 3 | } -------------------------------------------------------------------------------- /packages/cli/config/eslint/.eslintrc-bu.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ["plugin:nanachi/bu"] 3 | } -------------------------------------------------------------------------------- /packages/cli/config/eslint/.eslintrc-h5.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ["plugin:nanachi/h5"] 3 | } -------------------------------------------------------------------------------- /packages/cli/config/eslint/.eslintrc-qq.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ["plugin:nanachi/qq"] 3 | } -------------------------------------------------------------------------------- /packages/cli/config/eslint/.eslintrc-quick.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ["plugin:nanachi/quick"] 3 | } -------------------------------------------------------------------------------- /packages/cli/config/eslint/.eslintrc-tt.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ["plugin:nanachi/tt"] 3 | } -------------------------------------------------------------------------------- /packages/cli/config/eslint/.eslintrc-wx.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ["plugin:nanachi/wx"] 3 | } -------------------------------------------------------------------------------- /packages/cli/config/h5/webpack.config.base.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import webpack from 'webpack'; 3 | declare const webpackConfig: webpack.Configuration; 4 | export default webpackConfig; 5 | -------------------------------------------------------------------------------- /packages/cli/config/h5/webpack.config.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import webpack = require('webpack'); 3 | declare const config: webpack.Configuration; 4 | export default config; 5 | -------------------------------------------------------------------------------- /packages/cli/config/h5/webpack.config.prod.d.ts: -------------------------------------------------------------------------------- 1 | declare const developmentConfig: any; 2 | declare const merge: any; 3 | declare const env: any; 4 | -------------------------------------------------------------------------------- /packages/cli/config/stylelint/.stylelint-360.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "extends": [ 3 | "stylelint-plugin-nanachi/config/h5.json" 4 | ] 5 | } -------------------------------------------------------------------------------- /packages/cli/config/stylelint/.stylelint-ali.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "extends": [ 3 | "stylelint-plugin-nanachi/config/ali.json" 4 | ] 5 | } -------------------------------------------------------------------------------- /packages/cli/config/stylelint/.stylelint-bu.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "extends": [ 3 | "stylelint-plugin-nanachi/config/bu.json" 4 | ] 5 | } -------------------------------------------------------------------------------- /packages/cli/config/stylelint/.stylelint-h5.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "extends": [ 3 | "stylelint-plugin-nanachi/config/h5.json" 4 | ] 5 | } -------------------------------------------------------------------------------- /packages/cli/config/stylelint/.stylelint-qq.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "extends": [ 3 | "stylelint-plugin-nanachi/config/qq.json" 4 | ] 5 | } -------------------------------------------------------------------------------- /packages/cli/config/stylelint/.stylelint-quick.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "extends": [ 3 | "stylelint-plugin-nanachi/config/quick.json" 4 | ] 5 | } -------------------------------------------------------------------------------- /packages/cli/config/stylelint/.stylelint-tt.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "extends": [ 3 | "stylelint-plugin-nanachi/config/tt.json" 4 | ] 5 | } -------------------------------------------------------------------------------- /packages/cli/config/stylelint/.stylelint-wx.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "extends": [ 3 | "stylelint-plugin-nanachi/config/wx.json" 4 | ] 5 | } -------------------------------------------------------------------------------- /packages/cli/consts/alias.d.ts: -------------------------------------------------------------------------------- 1 | export interface Alias { 2 | [propsName: string]: string; 3 | } 4 | declare const _default: (platform: string) => any; 5 | export default _default; 6 | -------------------------------------------------------------------------------- /packages/cli/consts/buildOptions.d.ts: -------------------------------------------------------------------------------- 1 | export interface CmdOption { 2 | readonly desc: string; 3 | readonly alias?: string; 4 | } 5 | export interface CmdMap { 6 | readonly [commandName: string]: CmdOption; 7 | } 8 | declare const BUILD_OPTIONS: CmdMap; 9 | export default BUILD_OPTIONS; 10 | -------------------------------------------------------------------------------- /packages/cli/consts/platforms.d.ts: -------------------------------------------------------------------------------- 1 | export interface Platform { 2 | buildType: string; 3 | des: string; 4 | isDefault?: boolean; 5 | } 6 | declare const platforms: Array; 7 | export default platforms; 8 | -------------------------------------------------------------------------------- /packages/cli/consts/quickAPIList.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: string[]; 2 | export default _default; 3 | -------------------------------------------------------------------------------- /packages/cli/consts/runtime/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const MAX_VIEWPORT_WIDTH = 480; 2 | export declare const MIN_VIEWPORT_WIDTH = 320; 3 | -------------------------------------------------------------------------------- /packages/cli/consts/runtime/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.MAX_VIEWPORT_WIDTH = 480; 4 | exports.MIN_VIEWPORT_WIDTH = 320; 5 | -------------------------------------------------------------------------------- /packages/cli/consts/templates.d.ts: -------------------------------------------------------------------------------- 1 | declare const templates: Array<{ 2 | name: string; 3 | value: string; 4 | }>; 5 | export default templates; 6 | -------------------------------------------------------------------------------- /packages/cli/nanachi-loader/chaika-plugin/chaikaPlugin.d.ts: -------------------------------------------------------------------------------- 1 | import webpack = require("webpack"); 2 | declare class ChaikaPlugin { 3 | apply(compiler: webpack.Compiler): void; 4 | } 5 | export default ChaikaPlugin; 6 | -------------------------------------------------------------------------------- /packages/cli/nanachi-loader/loaders/aliasLoader.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/nanachi-loader/loaders/fileLoader.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/nanachi-loader/loaders/nanachiStyleLoader.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/nanachi-loader/loaders/nodeLoader.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/nanachi-loader/loaders/reactLoader.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/nanachi-loader/quickPlugin.d.ts: -------------------------------------------------------------------------------- 1 | import webpack = require("webpack"); 2 | declare class QuickPlugin { 3 | apply(compiler: webpack.Compiler): void; 4 | } 5 | export default QuickPlugin; 6 | -------------------------------------------------------------------------------- /packages/cli/nanachi-loader/sizePlugin.d.ts: -------------------------------------------------------------------------------- 1 | import webpack = require("webpack"); 2 | declare class SizePlugin { 3 | apply(compiler: webpack.Compiler): void; 4 | } 5 | export default SizePlugin; 6 | -------------------------------------------------------------------------------- /packages/cli/packages/360Helpers/template/app.js: -------------------------------------------------------------------------------- 1 | App({}); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/360Helpers/template/pages/home/index.js: -------------------------------------------------------------------------------- 1 | Page({}); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/aliHelpers/attrName.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/aliHelpers/attrName.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/aliHelpers/attrName.js: -------------------------------------------------------------------------------- 1 | module.exports = function mapPropName(astPath, attrName) { 2 | var attrNameNode = astPath.node.name; 3 | if (attrName === 'className') { 4 | attrNameNode.name = 'class'; 5 | } 6 | }; 7 | -------------------------------------------------------------------------------- /packages/cli/packages/aliHelpers/attrValue.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/aliHelpers/attrValue.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/aliHelpers/attrValue.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrValue'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/aliHelpers/classDeclaration.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/aliHelpers/classDeclaration.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/aliHelpers/classDeclaration.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/classDeclaration'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/aliHelpers/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/aliHelpers/index.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/aliHelpers/logic.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/aliHelpers/nodeName.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/aliHelpers/render.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/aliHelpers/render.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/aliHelpers/render.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/render'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/aliHelpers/wxml.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/aliHelpers/wxml.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/aliHelpers/wxml.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/wxml'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/collectCommonCode.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/collectDependencies.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/collectRegeneratorRuntime.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/collectTitleBarConfig.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/collectWebViewPage.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/h5/transformH5.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/h5/transformH5App.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/h5/transformH5Page.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/miniappVisitor.d.ts: -------------------------------------------------------------------------------- 1 | declare const visitor: babel.Visitor; 2 | export default visitor; 3 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/patchAsyncAwait.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/patchComponents.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/proposalOptionalChaining.d.ts: -------------------------------------------------------------------------------- 1 | export interface Options { 2 | loose?: boolean; 3 | } 4 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/transformConfig.d.ts: -------------------------------------------------------------------------------- 1 | import { validatePlatforms } from '../../config/config'; 2 | declare function transformConfig(modules: any, astPath: any, buildType: validatePlatforms): void; 3 | export default transformConfig; 4 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/transformEnv.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/transformIfFun.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/transformIfImport.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/transformJSXFragment.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/transformMiniApp.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/babelPlugins/transformTemplateLiterals.d.ts: -------------------------------------------------------------------------------- 1 | export interface Options { 2 | loose?: boolean; 3 | } 4 | -------------------------------------------------------------------------------- /packages/cli/packages/buHelpers/attrName.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/buHelpers/attrName.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/buHelpers/attrName.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrName'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/buHelpers/attrValue.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/buHelpers/attrValue.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/buHelpers/attrValue.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrValue'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/buHelpers/classDeclaration.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/buHelpers/classDeclaration.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/buHelpers/classDeclaration.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/classDeclaration'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/buHelpers/configName.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/buHelpers/configName.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/buHelpers/configName.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/configName'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/buHelpers/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/buHelpers/index.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/buHelpers/logic.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/buHelpers/nodeName.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/buHelpers/render.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/buHelpers/render.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/buHelpers/render.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/render'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/buHelpers/wxml.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/buHelpers/wxml.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/buHelpers/wxml.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/wxml'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/h5Helpers/components/PullDownLoading/index.js: -------------------------------------------------------------------------------- 1 | import './index.scss'; 2 | export default function(){ 3 | return
4 |
5 |
6 |
7 |
8 |
; 9 | } -------------------------------------------------------------------------------- /packages/cli/packages/h5Helpers/components/SwiperItem/index.scss: -------------------------------------------------------------------------------- 1 | .h5-swiper-item { 2 | display: flex; 3 | flex-direction: column; 4 | align-items: center; 5 | flex-shrink: 0; 6 | margin: 0 0.04rem; 7 | } -------------------------------------------------------------------------------- /packages/cli/packages/postcssPlugins/postCssPluginAddImport.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/postcssPlugins/postCssPluginAddStyleHash.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/postcssPlugins/postCssPluginFixNumber.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/postcssPlugins/postCssPluginLessParser.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/postcssPlugins/postCssPluginRemoveComments.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/postcssPlugins/postCssPluginRemoveRules.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/postcssPlugins/postCssPluginReport.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/postcssPlugins/postCssPluginRpxToRem.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/postcssPlugins/postCssPluginTransformKeyFrames.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/postcssPlugins/postCssPluginValidateStyle.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/attrName.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/qqHelpers/attrName.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/attrName.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrName'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/attrValue.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/qqHelpers/attrValue.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/attrValue.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrValue'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/classDeclaration.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/qqHelpers/classDeclaration.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/classDeclaration.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/classDeclaration'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/configName.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/qqHelpers/configName.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/configName.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/configName'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/qqHelpers/index.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/logic.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/nodeName.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/qqHelpers/nodeName.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/nodeName.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/nodeName'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/render.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/qqHelpers/render.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/render.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/render'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/wxml.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/qqHelpers/wxml.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/qqHelpers/wxml.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/wxml'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/attrName.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/quickHelpers/attrName.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/attrValue.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/quickHelpers/attrValue.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/attrValue.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrValue'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/classDeclaration.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/quickHelpers/classDeclaration.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/classDeclaration.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/classDeclaration'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/config.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/huaweiStyle.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/ignoreAttri.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/ignoreCss.d.ts: -------------------------------------------------------------------------------- 1 | declare const ignoreCss: any; 2 | export default ignoreCss; 3 | -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/ignorePrevAttri.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/quickHelpers/index.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/logic.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/mergeUx.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/nodeName.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/quickFiles.d.ts: -------------------------------------------------------------------------------- 1 | declare const quickFiles: any; 2 | export default quickFiles; 3 | -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/quickFiles.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const quickFiles = {}; 4 | module.exports = quickFiles; 5 | exports.default = quickFiles; 6 | -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/render.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/wxml.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/quickHelpers/wxml.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/quickHelpers/wxml.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/wxml'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/attrName.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/ttHelpers/attrName.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/attrName.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrName'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/attrValue.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/ttHelpers/attrValue.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/attrValue.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrValue'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/classDeclaration.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/ttHelpers/classDeclaration.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/classDeclaration.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/classDeclaration'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/configName.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/ttHelpers/configName.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/configName.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/configName'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/ttHelpers/index.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/logic.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/nodeName.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/project.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "setting": { 3 | "urlCheck": true, 4 | "es6": true, 5 | "postcss": true, 6 | "minified": true, 7 | "newFeature": true 8 | }, 9 | "appid": "体验appId", 10 | "projectname": "bbb" 11 | } -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/render.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/ttHelpers/render.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/render.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/render'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/wxml.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/ttHelpers/wxml.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/ttHelpers/wxml.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/wxml'); 2 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/calculateAlias.d.ts: -------------------------------------------------------------------------------- 1 | declare function calculateAlias(srcPath: string, importerSource: string, ignoredPaths?: Array, importSpecifierName: string): string; 2 | export default calculateAlias; 3 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/calculateAliasConfig.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/calculateComponentsPath.d.ts: -------------------------------------------------------------------------------- 1 | declare function calculateComponentsPath(bag: any): string; 2 | export default calculateComponentsPath; 3 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/calculateStyleString.d.ts: -------------------------------------------------------------------------------- 1 | declare function calculateStyleString(expr: any): any; 2 | export default calculateStyleString; 3 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/decodeChinese.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/utils/decodeChinese.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/utils/decodeChinese.js: -------------------------------------------------------------------------------- 1 | module.exports = function decodeChinese(code) { 2 | return code.replace(/\\?(?:\\u)([\da-f]{4})/gi, function (a, b) { 3 | return unescape(`%u${b}`); 4 | }); 5 | }; 6 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/getDistPath.d.ts: -------------------------------------------------------------------------------- 1 | declare function getDistPath(sourcePath: string): string; 2 | export default getDistPath; 3 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/getNativeComponentsNode.d.ts: -------------------------------------------------------------------------------- 1 | declare function getNativeComponents(): any; 2 | export default getNativeComponents; 3 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/getSubPackage.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/globalStore.d.ts: -------------------------------------------------------------------------------- 1 | declare const globalStore: { 2 | quickPageDisplayConifg: {}; 3 | }; 4 | export default globalStore; 5 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/globalStore.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const globalStore = { 4 | quickPageDisplayConifg: {} 5 | }; 6 | exports.default = globalStore; 7 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/isNpmModule.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/utils/isNpmModule.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/utils/isNpmModule.js: -------------------------------------------------------------------------------- 1 | module.exports = function isNpmModule(name) { 2 | var c = name.charAt(0); 3 | return c !== '.' && c !== '/' && c !== '@'; 4 | }; 5 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/isWindow.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/utils/isWindow.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/utils/isWindow.js: -------------------------------------------------------------------------------- 1 | module.exports = process.platform === 'win32'; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/lintQueue.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: any[]; 2 | export default _default; 3 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/lintQueue.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.default = []; 4 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/logger/queue.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.build = []; 4 | exports.error = []; 5 | exports.warning = []; 6 | exports.setError = (newError) => { 7 | exports.error = newError; 8 | }; 9 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/mergeConfigJson.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/setSubPackage.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/setWebVeiw.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/timer.d.ts: -------------------------------------------------------------------------------- 1 | declare class Timer { 2 | private startTime; 3 | private endTime; 4 | constructor(); 5 | start(): void; 6 | end(): void; 7 | getProcessTime(precision?: number): string; 8 | } 9 | export default Timer; 10 | -------------------------------------------------------------------------------- /packages/cli/packages/utils/toUpperCamel.d.ts: -------------------------------------------------------------------------------- 1 | declare const firstLetter: RegExp; 2 | declare const middleLetter: RegExp; 3 | -------------------------------------------------------------------------------- /packages/cli/packages/wxHelpers/attrName.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/wxHelpers/attrValue.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/wxHelpers/classDeclaration.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/wxHelpers/configName.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/wxHelpers/createLogicHelper.d.ts: -------------------------------------------------------------------------------- 1 | declare function createLogicHelper(prefix: string, keyName: string, hasDefaultKey: boolean): (expr: any, modules: any, isText?: boolean) => any; 2 | export default createLogicHelper; 3 | -------------------------------------------------------------------------------- /packages/cli/packages/wxHelpers/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/packages/wxHelpers/index.d.ts -------------------------------------------------------------------------------- /packages/cli/packages/wxHelpers/logic.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/wxHelpers/nodeName.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/wxHelpers/render.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/packages/wxHelpers/wxml.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/parsers/jsParser/AliParser.d.ts: -------------------------------------------------------------------------------- 1 | import WxParser from './WxParser'; 2 | declare class AliParser extends WxParser { 3 | } 4 | export default AliParser; 5 | -------------------------------------------------------------------------------- /packages/cli/parsers/jsParser/BuParser.d.ts: -------------------------------------------------------------------------------- 1 | import WxParser from './WxParser'; 2 | declare class BuParser extends WxParser { 3 | } 4 | export default BuParser; 5 | -------------------------------------------------------------------------------- /packages/cli/parsers/jsParser/QqParser.d.ts: -------------------------------------------------------------------------------- 1 | import WxParser from './WxParser'; 2 | declare class QqParser extends WxParser { 3 | } 4 | export default QqParser; 5 | -------------------------------------------------------------------------------- /packages/cli/parsers/jsParser/TtParser.d.ts: -------------------------------------------------------------------------------- 1 | import WxParser from './WxParser'; 2 | declare class TtParser extends WxParser { 3 | } 4 | export default TtParser; 5 | -------------------------------------------------------------------------------- /packages/cli/parsers/styleParser/CssParser.d.ts: -------------------------------------------------------------------------------- 1 | import LessParser from './LessParser'; 2 | declare class CssParser extends LessParser { 3 | } 4 | export default CssParser; 5 | -------------------------------------------------------------------------------- /packages/cli/parsers/styleParser/LessParser.d.ts: -------------------------------------------------------------------------------- 1 | import StyleParser from './StyleParser'; 2 | import { StyleParserOptions } from './StyleParserFactory'; 3 | declare class LessParser extends StyleParser { 4 | constructor(props: StyleParserOptions); 5 | } 6 | export default LessParser; 7 | -------------------------------------------------------------------------------- /packages/cli/parsers/styleParser/SassParser.d.ts: -------------------------------------------------------------------------------- 1 | import StyleParser from './StyleParser'; 2 | import { StyleParserOptions } from './StyleParserFactory'; 3 | declare class SassParser extends StyleParser { 4 | constructor(props: StyleParserOptions); 5 | } 6 | export default SassParser; 7 | -------------------------------------------------------------------------------- /packages/cli/tasks/chaikaMergeTask/copySource.d.ts: -------------------------------------------------------------------------------- 1 | export default function (): Promise; 2 | -------------------------------------------------------------------------------- /packages/cli/tasks/chaikaMergeTask/index.d.ts: -------------------------------------------------------------------------------- 1 | export default function (): Promise; 2 | -------------------------------------------------------------------------------- /packages/cli/tasks/chaikaMergeTask/injectChaikaEnv.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cli/tasks/chaikaMergeTask/installDefaultModule.d.ts: -------------------------------------------------------------------------------- 1 | declare function installDefaultModule(buildType: string): Promise; 2 | export default installDefaultModule; 3 | -------------------------------------------------------------------------------- /packages/cli/tasks/chaikaMergeTask/isMutilePack.d.ts: -------------------------------------------------------------------------------- 1 | declare const isMultiple: () => any; 2 | export default isMultiple; 3 | export declare const getMultiplePackDirPrefix: () => "" | "wx" | "qq" | "ali" | "bu" | "tt" | "quick" | "h5" | "360"; 4 | -------------------------------------------------------------------------------- /packages/cli/tasks/chaikaMergeTask/mergeFiles.d.ts: -------------------------------------------------------------------------------- 1 | export default function (): Promise; 2 | -------------------------------------------------------------------------------- /packages/cli/tasks/chaikaMergeTask/mergeFilesQueue.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/tasks/chaikaMergeTask/mergeFilesQueue.d.ts -------------------------------------------------------------------------------- /packages/cli/tasks/chaikaMergeTask/mergeFilesQueue.js: -------------------------------------------------------------------------------- 1 | module.exports = new Set(); 2 | -------------------------------------------------------------------------------- /packages/cli/tasks/createH5Server.d.ts: -------------------------------------------------------------------------------- 1 | import webpack = require('webpack'); 2 | export default function (compiler: webpack.Compiler): Promise; 3 | -------------------------------------------------------------------------------- /packages/cli/tasks/pretasks.d.ts: -------------------------------------------------------------------------------- 1 | import { NanachiOptions } from '../index'; 2 | export default function runTask({ platform: buildType, beta, betaUi, compress }: NanachiOptions): Promise; 3 | -------------------------------------------------------------------------------- /packages/cli/tasks/runBeforeParseTasks.d.ts: -------------------------------------------------------------------------------- 1 | import { NanachiOptions } from '..'; 2 | export default function (args: NanachiOptions): Promise; 3 | -------------------------------------------------------------------------------- /packages/cli/templates/helloNanachi/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ["plugin:nanachi/wx"] // platform包括wx、tt、qq、ali、bu、quick 3 | } -------------------------------------------------------------------------------- /packages/cli/templates/helloNanachi/.stylelintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "stylelint-plugin-nanachi/config/wx.json" 4 | ] 5 | } -------------------------------------------------------------------------------- /packages/cli/templates/helloNanachi/project.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "appid": "touristappid", 3 | "setting": { 4 | "urlCheck": true, 5 | "es6": true, 6 | "postcss": true, 7 | "minified": true, 8 | "newFeature": true 9 | } 10 | } -------------------------------------------------------------------------------- /packages/cli/templates/helloNanachi/source/common/GlobalTheme/index.js: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line 2 | import React from '@react'; 3 | 4 | export const GlobalTheme = React.createContext(); //它要表示为一个组件,因此必须 大写开头 5 | -------------------------------------------------------------------------------- /packages/cli/templates/mobx/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ["plugin:nanachi/wx"] // platform包括wx、tt、qq、ali、bu、quick 3 | } -------------------------------------------------------------------------------- /packages/cli/templates/mobx/.stylelintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "stylelint-plugin-nanachi/config/wx.json" 4 | ] 5 | } -------------------------------------------------------------------------------- /packages/cli/templates/mobx/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = function(api) { 2 | api.cache(true); 3 | return { 4 | 'presets':['@babel/preset-env'], 5 | 'plugins':['@babel/plugin-transform-modules-commonjs'], 6 | 'babelrcRoots': ['.', 'node_modules'] 7 | }; 8 | }; -------------------------------------------------------------------------------- /packages/cli/templates/mobx/project.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "appid": "touristappid", 3 | "setting": { 4 | "urlCheck": true, 5 | "es6": true, 6 | "postcss": true, 7 | "minified": true, 8 | "newFeature": true 9 | } 10 | } -------------------------------------------------------------------------------- /packages/cli/templates/mobx/source/pages/index/index.scss: -------------------------------------------------------------------------------- 1 | page{ 2 | height: 100%; 3 | } 4 | .page{ 5 | position: fixed; 6 | top: 50rpx; 7 | bottom: 50rpx; 8 | left: 50rpx; 9 | right: 50rpx; 10 | text-align: center; 11 | } -------------------------------------------------------------------------------- /packages/cli/templates/mobx/source/project.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "appid": "touristappid", 3 | "setting": { 4 | "urlCheck": true, 5 | "es6": true, 6 | "postcss": true, 7 | "minified": true, 8 | "newFeature": true 9 | }, 10 | "projectname": "ddd" 11 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ["plugin:nanachi/wx"] // platform包括wx、tt、qq、ali、bu、quick 3 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/.stylelintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "stylelint-plugin-nanachi/config/wx.json" 4 | ] 5 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/project.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "appid": "touristappid", 3 | "setting": { 4 | "urlCheck": true, 5 | "es6": true, 6 | "postcss": true, 7 | "minified": true, 8 | "newFeature": true 9 | } 10 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/agree_with.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/agree_with.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/arrow.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/eye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/eye.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/homepage_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/homepage_normal.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/homepage_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/homepage_select.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/message.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/message.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/open.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/open_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/open_select.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/order_none.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/order_none.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/question_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/question_normal.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/question_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/question_select.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/qunar-loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/qunar-loading.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/search.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/search_btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/search_btn.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/sort.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/sort.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/switch.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/train_highSpeed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/train_highSpeed.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/train_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/train_icon.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/uc_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/uc_normal.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/image/uc_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/image/uc_select.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qunarcorp/anu/0f2903c64a5bba1cb9d77e9fb8f80e5bc0fc6e77/packages/cli/templates/qunar/source/assets/logo.png -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/common/utils/requester/requestManager.js: -------------------------------------------------------------------------------- 1 | import React from '@react'; 2 | 3 | const RequestManager = { 4 | request: function(reqObj) { 5 | React.api.request(reqObj); 6 | } 7 | }; 8 | 9 | export default RequestManager; -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/components/Navigator/index.scss: -------------------------------------------------------------------------------- 1 | .anu-navigator { 2 | display: flex; 3 | flex-direction: column; 4 | justify-content: center; 5 | align-items: center; 6 | width: 100%; 7 | text{ 8 | text-align: center 9 | } 10 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/apis/canvas/arc/index.scss: -------------------------------------------------------------------------------- 1 | .content { 2 | width: 100%; 3 | background-color: #ffffff; 4 | padding: 30px 0px 10px 0px; 5 | height: 300px; 6 | display: flex; 7 | flex-direction: column; 8 | border: 1px solid #eeeeee; 9 | 10 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/apis/canvas/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/apis/canvas/strokeStyle/index.scss: -------------------------------------------------------------------------------- 1 | .content { 2 | width: 100%; 3 | background-color: #ffffff; 4 | padding: 30px 0px 10px 0px; 5 | height: 300px; 6 | display: flex; 7 | flex-direction: column; 8 | border: 1px solid #eeeeee; 9 | 10 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/apis/canvas/textBaseline/index.scss: -------------------------------------------------------------------------------- 1 | .content { 2 | width: 100%; 3 | background-color: #ffffff; 4 | padding: 30px 0px 10px 0px; 5 | height: 300px; 6 | display: flex; 7 | flex-direction: column; 8 | border: 1px solid #eeeeee; 9 | 10 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/apis/index/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/apis/innerAudio/index.scss: -------------------------------------------------------------------------------- 1 | .row { 2 | display: flex; 3 | flex-direction: row; 4 | } 5 | 6 | .tip { 7 | color: red; 8 | font-size: 36rpx; 9 | text-align: center; 10 | } 11 | -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/apis/pull/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; 2 | .col { 3 | display:flex; 4 | flex-direction: column; 5 | flex:1; 6 | width: 100% 7 | 8 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/apis/request/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; 2 | 3 | -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/apis/route/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; 2 | .col { 3 | display:flex; 4 | flex-direction: column; 5 | flex:1; 6 | width: 100% 7 | 8 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/native/index/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/native/input/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/native/picker/index.scss: -------------------------------------------------------------------------------- 1 | .picker-demo { 2 | display: flex; 3 | flex-direction: column; 4 | } 5 | 6 | .item-li { 7 | display: flex; 8 | flex-direction: column; 9 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/native/slider/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/platform/uis/index.scss: -------------------------------------------------------------------------------- 1 | page { 2 | height: 100%; 3 | } 4 | 5 | .page_hd { 6 | text-align: center; 7 | padding: 10px; 8 | font-weight: bold; 9 | } 10 | -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/children/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; 2 | 3 | -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/components/Cat/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/components/Count/index.js: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line 2 | import React from "@react"; 3 | 4 | 5 | export default function Count(props){ 6 | return

{props.a}+{props.b}={props.a+props.b}

; 7 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/components/Dialog/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; 2 | 3 | -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/components/Dog/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/components/Fish/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss' -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/components/Parent/index.scss: -------------------------------------------------------------------------------- 1 | .parent { 2 | width: 200rpx; 3 | height: 200rpx; 4 | border: 1px solid rgb(97, 95, 95); 5 | margin-left: 20rpx; 6 | .title { 7 | font-size: 30rpx; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/components/Son/index.scss: -------------------------------------------------------------------------------- 1 | .son{ 2 | font-size: 25rpx; 3 | width: 120rpx; 4 | height: 120rpx; 5 | border: 1px solid rgb(97, 95, 95); 6 | margin-left: 20rpx; 7 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/components/Super/index.scss: -------------------------------------------------------------------------------- 1 | .super { 2 | width: 280rpx; 3 | height: 280rpx; 4 | border: 1px solid rgb(97, 95, 95); 5 | title { 6 | font-size: 35rpx; 7 | font-weight: 700; 8 | } 9 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/extend/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/hooks/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/if/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/ifcom/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/index/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss' -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/loop/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/loop2/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; 2 | 3 | .loop2-cell{ 4 | width: 32%; 5 | height:100px; 6 | border: 1px solid violet; 7 | text-align: center; 8 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/loop3/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; 2 | 3 | .index-item-1 { 4 | padding: 20px; 5 | padding-left: 10px; 6 | } 7 | 8 | .index-item-2 { 9 | padding-left: 40px; 10 | } 11 | 12 | .index-item-3 { 13 | padding-left: 80px; 14 | } -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/loop4/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/loop5/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; -------------------------------------------------------------------------------- /packages/cli/templates/qunar/source/pages/syntax/stateless/index.scss: -------------------------------------------------------------------------------- 1 | @import '@assets/global.scss'; 2 | 3 | 4 | -------------------------------------------------------------------------------- /packages/cli/templates/redux/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ["plugin:nanachi/wx"] // platform包括wx、tt、qq、ali、bu、quick 3 | } -------------------------------------------------------------------------------- /packages/cli/templates/redux/.stylelintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "stylelint-plugin-nanachi/config/wx.json" 4 | ] 5 | } -------------------------------------------------------------------------------- /packages/cli/templates/redux/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = function(api) { 2 | api.cache(true); 3 | return { 4 | 'presets':['@babel/preset-env'], 5 | 'plugins':['@babel/plugin-transform-modules-commonjs'], 6 | 'babelrcRoots': ['.', 'node_modules'] 7 | }; 8 | }; -------------------------------------------------------------------------------- /packages/cli/templates/redux/project.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "appid": "touristappid", 3 | "setting": { 4 | "urlCheck": true, 5 | "es6": true, 6 | "postcss": true, 7 | "minified": true, 8 | "newFeature": true 9 | } 10 | } -------------------------------------------------------------------------------- /packages/cli/templates/redux/source/pages/index/index.scss: -------------------------------------------------------------------------------- 1 | page{ 2 | height: 100%; 3 | } 4 | .page{ 5 | position: fixed; 6 | top: 150rpx; 7 | bottom: 50rpx; 8 | left: 50rpx; 9 | right: 50rpx; 10 | text-align: center; 11 | } -------------------------------------------------------------------------------- /packages/cli/templates/redux/source/project.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "appid": "touristappid", 3 | "setting": { 4 | "urlCheck": true, 5 | "es6": true, 6 | "postcss": true, 7 | "minified": true, 8 | "newFeature": true 9 | }, 10 | "projectname": "ddd" 11 | } -------------------------------------------------------------------------------- /packages/cli/templates/ts_demo/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ["plugin:nanachi/wx"] // platform包括wx、tt、qq、ali、bu、quick 3 | } -------------------------------------------------------------------------------- /packages/cli/templates/ts_demo/.stylelintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "stylelint-plugin-nanachi/config/wx.json" 4 | ] 5 | } -------------------------------------------------------------------------------- /packages/cli/templates/ts_demo/project.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "appid": "touristappid", 3 | "setting": { 4 | "urlCheck": true, 5 | "es6": true, 6 | "postcss": true, 7 | "minified": true, 8 | "newFeature": true 9 | } 10 | } -------------------------------------------------------------------------------- /packages/cli/templates/ts_demo/source/common/GlobalTheme/index.ts: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line 2 | import React from '@react'; 3 | 4 | export const GlobalTheme = React.createContext(); //它要表示为一个组件,因此必须 大写开头 5 | -------------------------------------------------------------------------------- /packages/cli/templates/ts_demo/source/pages/index/index.scss: -------------------------------------------------------------------------------- 1 | page{ 2 | height: 100%; 3 | } 4 | .page{ 5 | background-color: #00afc7; 6 | display: flex; 7 | align-items: center; 8 | justify-content: center; 9 | position: fixed; 10 | height: 100%; 11 | width: 100%; 12 | } -------------------------------------------------------------------------------- /packages/cli/templates/ts_demo/source/store/index.ts: -------------------------------------------------------------------------------- 1 | import { observable, action } from 'mobx'; 2 | class Store { 3 | @observable text = 'hello typescript!'; 4 | @action.bound 5 | addText() { 6 | this.text += '!'; 7 | } 8 | } 9 | export default Store; -------------------------------------------------------------------------------- /packages/cli/test/cases/pages/control-flow/2-base.js: -------------------------------------------------------------------------------- 1 | class P extends React.Components { 2 | render() { 3 | return
{this.state.show &&
hello word
}
; 4 | } 5 | } 6 | 7 | export default P; -------------------------------------------------------------------------------- /packages/cli/test/cases/pages/control-flow/2-multi-1.js: -------------------------------------------------------------------------------- 1 | class P extends React.Components { 2 | render() { 3 | return
{(this.state.show && this.state.isOk) &&
hello word
}
; 4 | } 5 | } 6 | 7 | export default P; 8 | 9 | -------------------------------------------------------------------------------- /packages/cli/test/cases/pages/control-flow/2-multi-2.js: -------------------------------------------------------------------------------- 1 | class P extends React.Components { 2 | render() { 3 | return
{(this.state.show || this.state.isOk) &&
hello word
}
; 4 | } 5 | } 6 | 7 | export default P; 8 | 9 | -------------------------------------------------------------------------------- /packages/cli/test/cases/pages/control-flow/3-base.js: -------------------------------------------------------------------------------- 1 | class P extends React.Components { 2 | render() { 3 | return
{this.state.show ?
hello word
:
hello nanachi
}
; 4 | } 5 | } 6 | 7 | export default P; -------------------------------------------------------------------------------- /packages/cli/test/cases/pages/template/canvas.js: -------------------------------------------------------------------------------- 1 | class P extends React.Components { 2 | render() { 3 | return ; 4 | } 5 | } 6 | 7 | export default P; -------------------------------------------------------------------------------- /packages/cli/test/cases/pages/template/className1.js: -------------------------------------------------------------------------------- 1 | class P extends React.Components { 2 | render() { 3 | return
; 4 | } 5 | } 6 | 7 | export default P; -------------------------------------------------------------------------------- /packages/cli/test/cases/pages/template/className2.js: -------------------------------------------------------------------------------- 1 | class P extends React.Components { 2 | render() { 3 | return
; 4 | } 5 | } 6 | 7 | export default P; -------------------------------------------------------------------------------- /packages/cli/test/cases/pages/template/input-change.js: -------------------------------------------------------------------------------- 1 | class P extends React.Components { 2 | render() { 3 | return ; 4 | } 5 | } 6 | 7 | export default P; -------------------------------------------------------------------------------- /packages/cli/test/cases/pages/template/onclick1.js: -------------------------------------------------------------------------------- 1 | class P extends React.Components { 2 | render() { 3 | return
hello world
; 4 | } 5 | } 6 | 7 | export default P; -------------------------------------------------------------------------------- /packages/cli/test/cases/pages/template/onclick2.js: -------------------------------------------------------------------------------- 1 | class P extends React.Components { 2 | render() { 3 | return
hello world
; 4 | } 5 | } 6 | 7 | export default P; -------------------------------------------------------------------------------- /packages/cli/test/cases/pages/template/slot.js: -------------------------------------------------------------------------------- 1 | class P extends React.Components { 2 | render() { 3 | return ( 4 |
5 | {this.props.children} 6 |
7 | ); 8 | } 9 | } 10 | 11 | export default P; -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/control-flow/2-base.axml: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/control-flow/2-multi-1.axml: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/control-flow/2-multi-2.axml: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/control-flow/3-base.axml: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | 6 | hello nanachi 7 | 8 | -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/control-flow/base.axml: -------------------------------------------------------------------------------- 1 | 2 | tasks 3 | 4 | 5 | 6 | Hello world! 7 | 8 | -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/loop/base-key-1.axml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{item.item}} 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/loop/base-key-2.axml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{item.item}} 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/loop/base.axml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{item.item}} 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/template/canvas.axml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/template/className1.axml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/template/className2.axml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/template/font.axml: -------------------------------------------------------------------------------- 1 | ¥¢£© -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/template/input-change.axml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/template/onclick1.axml: -------------------------------------------------------------------------------- 1 | hello world -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/template/onclick2.axml: -------------------------------------------------------------------------------- 1 | hello world -------------------------------------------------------------------------------- /packages/cli/test/expects/ali/pages/template/slot.axml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/control-flow/2-base.swan: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/control-flow/2-multi-1.swan: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/control-flow/2-multi-2.swan: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/control-flow/3-base.swan: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | 6 | hello nanachi 7 | 8 | -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/control-flow/base.swan: -------------------------------------------------------------------------------- 1 | 2 | tasks 3 | 4 | 5 | 6 | Hello world! 7 | 8 | -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/loop/base-key-1.swan: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{item.item}} 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/loop/base-key-2.swan: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{item.item}} 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/loop/base.swan: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{item.item}} 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/template/canvas.swan: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/template/className1.swan: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/template/className2.swan: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/template/font.swan: -------------------------------------------------------------------------------- 1 | ¥¢£© -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/template/input-change.swan: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/template/onclick1.swan: -------------------------------------------------------------------------------- 1 | hello world -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/template/onclick2.swan: -------------------------------------------------------------------------------- 1 | hello world -------------------------------------------------------------------------------- /packages/cli/test/expects/bu/pages/template/slot.swan: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/control-flow/2-base.ttml: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/control-flow/2-multi-1.ttml: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/control-flow/2-multi-2.ttml: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/control-flow/3-base.ttml: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | 6 | hello nanachi 7 | 8 | -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/control-flow/base.ttml: -------------------------------------------------------------------------------- 1 | 2 | tasks 3 | 4 | 5 | 6 | Hello world! 7 | 8 | -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/loop/base-key-1.ttml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{item.item}} 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/loop/base-key-2.ttml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{item.item}} 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/loop/base.ttml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{item.item}} 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/template/canvas.ttml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/template/className1.ttml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/template/className2.ttml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/template/font.ttml: -------------------------------------------------------------------------------- 1 | ¥¢£© -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/template/input-change.ttml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/template/onclick1.ttml: -------------------------------------------------------------------------------- 1 | hello world -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/template/onclick2.ttml: -------------------------------------------------------------------------------- 1 | hello world -------------------------------------------------------------------------------- /packages/cli/test/expects/tt/pages/template/slot.ttml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/control-flow/2-base.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/control-flow/2-multi-1.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/control-flow/2-multi-2.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/control-flow/3-base.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello word 4 | 5 | 6 | hello nanachi 7 | 8 | -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/control-flow/base.wxml: -------------------------------------------------------------------------------- 1 | 2 | tasks 3 | 4 | 5 | 6 | Hello world! 7 | 8 | -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/loop/base-calee-2.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{item.item}} 5 | 6 | 7 | -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/loop/base-key-1.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{item.item}} 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/loop/base-key-2.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{item.item}} 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/loop/base.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{item.item}} 4 | 5 | -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/template/canvas.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/template/className1.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/template/className2.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/template/font.wxml: -------------------------------------------------------------------------------- 1 | ¥¢£© -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/template/input-change.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/template/onclick1.wxml: -------------------------------------------------------------------------------- 1 | hello world -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/template/onclick2.wxml: -------------------------------------------------------------------------------- 1 | hello world -------------------------------------------------------------------------------- /packages/cli/test/expects/wx/pages/template/slot.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/fiber/Suspense.js: -------------------------------------------------------------------------------- 1 | 2 | function Suspense(props){ 3 | return props.children 4 | } 5 | 6 | export { 7 | Suspense 8 | } 9 | -------------------------------------------------------------------------------- /packages/readme.md: -------------------------------------------------------------------------------- 1 | ## react16的迷你实现 2 | 3 | core: 放置一些公用接口 4 | 5 | fiber: 放置调度器,比较有趣. 包含有时间分片,错误处理,批量更新,任务收集,任务分拣。。。 6 | 7 | render: 放置渲染层的具体实现,比如createElement, 在dom里面就是document.createElement, 它会考虑到复杂的文档空间切换; 8 | 9 | 在noop里只是一个包含type, props, children的纯对象; 在server里面就是可以一个能序列化为字符串的对象。 10 | 11 | -------------------------------------------------------------------------------- /packages/render/canvas/readme.md: -------------------------------------------------------------------------------- 1 | ## canvas -------------------------------------------------------------------------------- /packages/render/console/readme.md: -------------------------------------------------------------------------------- 1 | ## console-render 2 | 3 | 用于终端,计划打算移植 ink -------------------------------------------------------------------------------- /packages/render/dom/__tests__/README.md: -------------------------------------------------------------------------------- 1 | https://github.com/facebook/react/tree/master/packages/react-dom/src/__tests__ 2 | 3 | 4 | ReactDOMEventListener -------------------------------------------------------------------------------- /packages/render/miniapp/apiForAlipay/file.js: -------------------------------------------------------------------------------- 1 | 2 | export function fixFilePath(api, name){ 3 | return function(a){ 4 | a.apFilePath = a.filePath; 5 | api[name](a) 6 | } 7 | } 8 | 9 | -------------------------------------------------------------------------------- /packages/render/miniapp/apiForQuick/share.js: -------------------------------------------------------------------------------- 1 | export function share(obj) { 2 | var share = require('@service.share'); 3 | share.getAvailablePlatforms({ 4 | success: function() { 5 | share.share(obj); 6 | } 7 | }); 8 | } -------------------------------------------------------------------------------- /packages/render/miniapp/registerApp.all.js: -------------------------------------------------------------------------------- 1 | let GlobalApp; 2 | 3 | export function _getGlobalApp(app) { 4 | return GlobalApp || app.globalData._GlobalApp; 5 | } 6 | 7 | export function registerApp(app) { 8 | GlobalApp = app.constructor; 9 | return app; 10 | } -------------------------------------------------------------------------------- /packages/render/miniapp/registerPage.h5.js: -------------------------------------------------------------------------------- 1 | export function registerPage(PageClass, path) { 2 | this.api.__pages[path] = PageClass 3 | return PageClass 4 | } -------------------------------------------------------------------------------- /packages/render/miniapp/render.h5.js: -------------------------------------------------------------------------------- 1 | import {DOMRenderer} from '../dom/DOMRenderer'; 2 | DOMRenderer.onBeforeRender = function(fiber) { 3 | var instance = fiber.stateNode; 4 | } -------------------------------------------------------------------------------- /packages/render/noop/readme.md: -------------------------------------------------------------------------------- 1 | ## noop-renderer 2 | 3 | 用于单元测试 -------------------------------------------------------------------------------- /packages/render/readme.md: -------------------------------------------------------------------------------- 1 | ## render 2 | 3 | 各种渲染器 -------------------------------------------------------------------------------- /packages/render/server/readme.md: -------------------------------------------------------------------------------- 1 | ## server-renderer 2 | 3 | 用于后端渲染 4 | -------------------------------------------------------------------------------- /packages/router/readme.md: -------------------------------------------------------------------------------- 1 | ## ReachRouter 2 | 3 | Reach Router的改造版 4 | 5 | 去掉一些高级的es6语法糖,让它最终编译后的代码量更少,兼容性更好 6 | 7 | 并且在Router组件上添加一个mode属性,值为"history" 或"hash",“hash“用于兼容IE8, 默认是“history” 8 | 9 | 依赖于anujs内部的createContext版本 10 | 11 | ``` 12 | npm start 13 | ``` 14 | 15 | 选择 index8.html index9.html -------------------------------------------------------------------------------- /scripts/jest/noHaste.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | module.exports = { 4 | getHasteName() { 5 | // We never want Haste. 6 | return null; 7 | }, 8 | }; 9 | -------------------------------------------------------------------------------- /src/cli/consts/runtime/index.ts: -------------------------------------------------------------------------------- 1 | export const MAX_VIEWPORT_WIDTH = 480; 2 | export const MIN_VIEWPORT_WIDTH = 320; -------------------------------------------------------------------------------- /src/cli/global.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'rd'; 2 | -------------------------------------------------------------------------------- /src/cli/packages/aliHelpers/attrName.ts: -------------------------------------------------------------------------------- 1 | 2 | module.exports = function mapPropName(astPath: any, attrName: string) { 3 | var attrNameNode = astPath.node.name; 4 | if (attrName === 'className') { 5 | attrNameNode.name = 'class'; 6 | } 7 | }; -------------------------------------------------------------------------------- /src/cli/packages/aliHelpers/attrValue.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrValue'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/aliHelpers/classDeclaration.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/classDeclaration'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/aliHelpers/logic.ts: -------------------------------------------------------------------------------- 1 | import createLogicHelper from '../wxHelpers/createLogicHelper'; 2 | module.exports = createLogicHelper('a:', 'a:key', true); 3 | -------------------------------------------------------------------------------- /src/cli/packages/aliHelpers/render.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/render'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/aliHelpers/wxml.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/wxml'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/buHelpers/attrName.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrName'); 2 | //百度的属性系统 与微信的一样 -------------------------------------------------------------------------------- /src/cli/packages/buHelpers/attrValue.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrValue'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/buHelpers/classDeclaration.ts: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('../wxHelpers/classDeclaration'); 3 | -------------------------------------------------------------------------------- /src/cli/packages/buHelpers/configName.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/configName'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/buHelpers/logic.ts: -------------------------------------------------------------------------------- 1 | import createLogicHelper from '../wxHelpers/createLogicHelper'; 2 | module.exports = createLogicHelper('s-', 's-key', false); 3 | -------------------------------------------------------------------------------- /src/cli/packages/buHelpers/render.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | module.exports = require('../wxHelpers/render'); 4 | -------------------------------------------------------------------------------- /src/cli/packages/buHelpers/wxml.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/wxml'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/qqHelpers/attrName.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrName'); 2 | //百度的属性系统 与微信的一样 -------------------------------------------------------------------------------- /src/cli/packages/qqHelpers/attrValue.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrValue'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/qqHelpers/classDeclaration.ts: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('../wxHelpers/classDeclaration'); 3 | -------------------------------------------------------------------------------- /src/cli/packages/qqHelpers/configName.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/configName'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/qqHelpers/logic.ts: -------------------------------------------------------------------------------- 1 | import createLogicHelper from '../wxHelpers/createLogicHelper'; 2 | module.exports = createLogicHelper('qq:', 'qq:key', false); 3 | -------------------------------------------------------------------------------- /src/cli/packages/qqHelpers/nodeName.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/nodeName'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/qqHelpers/render.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | module.exports = require('../wxHelpers/render'); 4 | -------------------------------------------------------------------------------- /src/cli/packages/qqHelpers/wxml.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/wxml'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/quickHelpers/attrValue.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrValue'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/quickHelpers/classDeclaration.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/classDeclaration'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/quickHelpers/logic.ts: -------------------------------------------------------------------------------- 1 | import createLogicHelper from '../wxHelpers/createLogicHelper'; 2 | module.exports = createLogicHelper('', '', false); 3 | -------------------------------------------------------------------------------- /src/cli/packages/quickHelpers/quickFiles.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * 用于收集 App Component Page 的类型与 xml 3 | */ 4 | const quickFiles: any = {}; 5 | module.exports = quickFiles; 6 | export default quickFiles; -------------------------------------------------------------------------------- /src/cli/packages/quickHelpers/wxml.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/wxml'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/ttHelpers/attrName.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrName'); 2 | //头条的属性系统 与微信的一样 -------------------------------------------------------------------------------- /src/cli/packages/ttHelpers/attrValue.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/attrValue'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/ttHelpers/classDeclaration.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/classDeclaration'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/ttHelpers/configName.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/configName'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/ttHelpers/logic.ts: -------------------------------------------------------------------------------- 1 | import createLogicHelper from '../wxHelpers/createLogicHelper'; 2 | module.exports = createLogicHelper('tt:', 'tt:key', true); 3 | -------------------------------------------------------------------------------- /src/cli/packages/ttHelpers/project.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "setting": { 3 | "urlCheck": true, 4 | "es6": true, 5 | "postcss": true, 6 | "minified": true, 7 | "newFeature": true 8 | }, 9 | "appid": "体验appId", 10 | "projectname": "bbb" 11 | } -------------------------------------------------------------------------------- /src/cli/packages/ttHelpers/render.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/render'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/ttHelpers/wxml.ts: -------------------------------------------------------------------------------- 1 | module.exports = require('../wxHelpers/wxml'); 2 | -------------------------------------------------------------------------------- /src/cli/packages/utils/decodeChinese.ts: -------------------------------------------------------------------------------- 1 | module.exports = function decodeChinese(code: string) { 2 | return code.replace(/\\?(?:\\u)([\da-f]{4})/gi, function (a, b) { 3 | return unescape(`%u${b}`); 4 | }); 5 | } -------------------------------------------------------------------------------- /src/cli/packages/utils/globalStore.ts: -------------------------------------------------------------------------------- 1 | const globalStore = { 2 | quickPageDisplayConifg: { 3 | 4 | } 5 | } 6 | export default globalStore; -------------------------------------------------------------------------------- /src/cli/packages/utils/isNpmModule.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | module.exports = function isNpmModule(name: string){ 4 | //如果模块名的第一个字符不是. / @ 就粗略地认为它是来自npm 5 | var c = name.charAt(0); 6 | return c !== '.' && c !== '/' && c !== '@'; 7 | } -------------------------------------------------------------------------------- /src/cli/packages/utils/isWindow.ts: -------------------------------------------------------------------------------- 1 | module.exports = process.platform === 'win32' -------------------------------------------------------------------------------- /src/cli/packages/utils/lintQueue.ts: -------------------------------------------------------------------------------- 1 | export default []; -------------------------------------------------------------------------------- /src/cli/packages/wxHelpers/logic.ts: -------------------------------------------------------------------------------- 1 | import createLogicHelper from './createLogicHelper'; 2 | module.exports = createLogicHelper('wx:', 'wx:key', false); 3 | -------------------------------------------------------------------------------- /src/cli/parsers/jsParser/AliParser.ts: -------------------------------------------------------------------------------- 1 | import WxParser from './WxParser'; 2 | 3 | class AliParser extends WxParser { 4 | 5 | } 6 | 7 | export default AliParser; -------------------------------------------------------------------------------- /src/cli/parsers/jsParser/BuParser.ts: -------------------------------------------------------------------------------- 1 | import WxParser from './WxParser'; 2 | 3 | class BuParser extends WxParser { 4 | 5 | } 6 | 7 | export default BuParser; -------------------------------------------------------------------------------- /src/cli/parsers/jsParser/QqParser.ts: -------------------------------------------------------------------------------- 1 | import WxParser from './WxParser'; 2 | 3 | class QqParser extends WxParser { 4 | 5 | } 6 | 7 | export default QqParser; -------------------------------------------------------------------------------- /src/cli/parsers/jsParser/TtParser.ts: -------------------------------------------------------------------------------- 1 | import WxParser from './WxParser'; 2 | 3 | class TtParser extends WxParser { 4 | 5 | } 6 | 7 | export default TtParser; -------------------------------------------------------------------------------- /src/cli/parsers/styleParser/CssParser.ts: -------------------------------------------------------------------------------- 1 | import LessParser from './LessParser'; 2 | 3 | class CssParser extends LessParser { 4 | 5 | } 6 | 7 | export default CssParser; -------------------------------------------------------------------------------- /src/cli/tasks/chaikaMergeTask/mergeFilesQueue.ts: -------------------------------------------------------------------------------- 1 | module.exports = new Set(); -------------------------------------------------------------------------------- /src/cli/types/validate-npm-package-name.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'validate-npm-package-name' { 2 | export default function(path: string): any 3 | } --------------------------------------------------------------------------------