├── .DS_Store ├── .hbuilderx └── launch.json ├── App.vue ├── README.md ├── common ├── http.api.js ├── http.interceptor.js └── public.func.js ├── components ├── history-cell │ └── history-cell.vue └── space │ └── space.vue ├── config.code-profile ├── jsons ├── AMapLocation.json ├── ArticleNormalList.json ├── ArticleTopList.json ├── Banner.json ├── CollectArticleAction.json ├── HotKey.json ├── LoginAndRegister.json ├── Logout.json ├── MyCoinList.json ├── MyCollectList.json ├── ProjectClassify.json ├── ProjectClassifyList.json ├── PublicNumber.json ├── PublicNumberList.json ├── RankList.json ├── SearchResult.json └── Tree.json ├── main.js ├── manifest.json ├── pages.json ├── pages ├── ad │ └── ad.vue ├── index │ ├── index.vue │ ├── result.vue │ └── search.vue ├── infomation │ ├── index.vue │ └── single.vue ├── login │ ├── index.vue │ └── register.vue ├── my │ ├── callNativeMethod.vue │ ├── collection.vue │ ├── detail.vue │ ├── history.vue │ ├── index.vue │ ├── nativeMapComponent.nvue │ ├── ranking.vue │ └── tree.vue ├── publicNum │ └── index.vue └── web │ ├── banner-web.vue │ └── index.vue ├── static ├── ad │ ├── 1.png │ ├── 2.png │ └── 3.png ├── user │ ├── placeholder.png │ └── saber.jpg └── uview │ ├── common │ ├── favicon.ico │ └── logo.png │ └── example │ ├── component.png │ ├── component_select.png │ ├── js.png │ ├── js_bak.png │ ├── js_select.png │ ├── js_select_bak.png │ ├── min_button.png │ ├── min_button_select.png │ ├── template.png │ └── template_select.png ├── store └── store.js ├── uni.scss ├── uniCloud-alipay ├── cloudfunctions │ ├── common │ │ └── uni-stat │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── shared │ │ │ ├── create-api.js │ │ │ ├── error.js │ │ │ ├── index.js │ │ │ └── utils.js │ │ │ └── stat │ │ │ ├── lib │ │ │ ├── date.js │ │ │ ├── index.js │ │ │ └── uni-crypto.js │ │ │ ├── mod │ │ │ ├── activeDevices.js │ │ │ ├── activeUsers.js │ │ │ ├── appCrashLogs.js │ │ │ ├── base.js │ │ │ ├── channel.js │ │ │ ├── device.js │ │ │ ├── errorLog.js │ │ │ ├── errorResult.js │ │ │ ├── event.js │ │ │ ├── eventLog.js │ │ │ ├── eventResult.js │ │ │ ├── index.js │ │ │ ├── loyalty.js │ │ │ ├── page.js │ │ │ ├── pageDetail.js │ │ │ ├── pageDetailResult.js │ │ │ ├── pageLog.js │ │ │ ├── pageResult.js │ │ │ ├── platform.js │ │ │ ├── runErrors.js │ │ │ ├── scenes.js │ │ │ ├── sessionLog.js │ │ │ ├── setting.js │ │ │ ├── shareLog.js │ │ │ ├── statResult.js │ │ │ ├── uni-pay │ │ │ │ ├── dao │ │ │ │ │ ├── config.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── uniIdUsers.js │ │ │ │ │ ├── uniPayOrders.js │ │ │ │ │ ├── uniStatPayResult.js │ │ │ │ │ ├── uniStatSessionLogs.js │ │ │ │ │ └── uniStatUserSessionLogs.js │ │ │ │ ├── index.js │ │ │ │ └── payResult.js │ │ │ ├── uniIDUsers.js │ │ │ ├── userSessionLog.js │ │ │ └── version.js │ │ │ ├── receiver.js │ │ │ └── stat.js │ ├── ext-storage-co │ │ ├── index.obj.js │ │ └── package.json │ ├── uni-analyse-searchhot │ │ ├── index.js │ │ └── package.json │ ├── uni-portal │ │ ├── createPublishHtml │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ └── art-template.js │ │ │ └── template.html │ │ ├── index.js │ │ └── package.json │ ├── uni-sms-co │ │ ├── build-template-data.js │ │ ├── index.obj.js │ │ ├── package.json │ │ ├── preset-condition.js │ │ ├── schema-name-adapter.js │ │ └── utils.js │ ├── uni-stat-cron │ │ ├── index.js │ │ └── package.json │ ├── uni-stat-receiver │ │ ├── index.obj.js │ │ └── package.json │ └── uni-upgrade-center │ │ ├── checkVersion │ │ └── index.js │ │ ├── index.js │ │ ├── package.json │ │ └── uni-upgrade-center.param.json └── database │ └── JQL查询.jql ├── uni_modules ├── uni-captcha │ └── uniCloud │ │ └── cloudfunctions │ │ ├── common │ │ └── uni-captcha │ │ │ ├── LICENSE.md │ │ │ ├── fonts │ │ │ └── font.ttf │ │ │ ├── index.js │ │ │ └── package.json │ │ └── uni-captcha-co │ │ ├── index.obj.js │ │ └── package.json ├── uni-cloud-s2s │ └── uniCloud │ │ └── cloudfunctions │ │ └── common │ │ └── uni-cloud-s2s │ │ ├── index.js │ │ └── package.json ├── uni-config-center │ ├── changelog.md │ ├── package.json │ ├── readme.md │ └── uniCloud │ │ └── cloudfunctions │ │ └── common │ │ └── uni-config-center │ │ ├── index.js │ │ ├── package.json │ │ ├── uni-ad │ │ └── config.json │ │ ├── uni-captcha │ │ ├── config.json │ │ └── config.md │ │ ├── uni-id │ │ └── config.json │ │ ├── uni-open-bridge │ │ └── config.json │ │ ├── uni-sms-co │ │ └── config.json │ │ └── uni-stat │ │ └── config.json ├── uni-id-common │ ├── changelog.md │ ├── package.json │ ├── readme.md │ └── uniCloud │ │ └── cloudfunctions │ │ └── common │ │ └── uni-id-common │ │ ├── index.js │ │ └── package.json ├── uni-id-pages │ └── uniCloud │ │ └── cloudfunctions │ │ └── uni-id-co │ │ ├── common │ │ ├── constants.js │ │ ├── error.js │ │ ├── sensitive-aes-cipher.js │ │ ├── universal.js │ │ ├── utils.js │ │ └── validator.js │ │ ├── config │ │ └── permission.js │ │ ├── index.obj.js │ │ ├── lang │ │ ├── en.js │ │ ├── index.js │ │ └── zh-hans.js │ │ ├── lib │ │ ├── README.md │ │ ├── npm │ │ │ └── index.js │ │ ├── third-party │ │ │ ├── alipay │ │ │ │ ├── account │ │ │ │ │ ├── index.js │ │ │ │ │ └── protocols.js │ │ │ │ └── alipayBase.js │ │ │ ├── apple │ │ │ │ ├── account │ │ │ │ │ └── index.js │ │ │ │ └── rsa-public-key-pem.js │ │ │ ├── index.js │ │ │ ├── qq │ │ │ │ ├── account │ │ │ │ │ └── index.js │ │ │ │ └── normalize.js │ │ │ ├── share │ │ │ │ └── create-api.js │ │ │ └── weixin │ │ │ │ ├── account │ │ │ │ └── index.js │ │ │ │ ├── normalize.js │ │ │ │ └── utils.js │ │ └── utils │ │ │ ├── account.js │ │ │ ├── captcha.js │ │ │ ├── config.js │ │ │ ├── fission.js │ │ │ ├── login.js │ │ │ ├── logout.js │ │ │ ├── password.js │ │ │ ├── qq.js │ │ │ ├── register.js │ │ │ ├── relate.js │ │ │ ├── sms.js │ │ │ ├── unified-login.js │ │ │ ├── univerify.js │ │ │ ├── update-user-info.js │ │ │ ├── utils.js │ │ │ ├── verify-code.js │ │ │ └── weixin.js │ │ ├── middleware │ │ ├── access-control.js │ │ ├── auth.js │ │ ├── index.js │ │ ├── rbac.js │ │ ├── uni-id-log.js │ │ ├── validate.js │ │ └── verify-request-sign.js │ │ ├── module │ │ ├── account │ │ │ ├── close-account.js │ │ │ ├── get-account-info.js │ │ │ ├── get-realname-info.js │ │ │ ├── index.js │ │ │ ├── reset-pwd-by-email.js │ │ │ ├── reset-pwd-by-sms.js │ │ │ ├── set-pwd.js │ │ │ └── update-pwd.js │ │ ├── admin │ │ │ ├── add-user.js │ │ │ ├── index.js │ │ │ └── update-user.js │ │ ├── dev │ │ │ ├── get-supported-login-type.js │ │ │ └── index.js │ │ ├── external │ │ │ ├── index.js │ │ │ ├── login.js │ │ │ ├── register.js │ │ │ └── update-user-info.js │ │ ├── facial-recognition-verify │ │ │ ├── get-auth-result.js │ │ │ ├── get-certify-id.js │ │ │ └── index.js │ │ ├── fission │ │ │ ├── accept-invite.js │ │ │ ├── get-invited-user.js │ │ │ └── index.js │ │ ├── login │ │ │ ├── index.js │ │ │ ├── login-by-alipay.js │ │ │ ├── login-by-apple.js │ │ │ ├── login-by-baidu.js │ │ │ ├── login-by-dingtalk.js │ │ │ ├── login-by-douyin.js │ │ │ ├── login-by-email-code.js │ │ │ ├── login-by-email-link.js │ │ │ ├── login-by-facebook.js │ │ │ ├── login-by-google.js │ │ │ ├── login-by-qq.js │ │ │ ├── login-by-sms.js │ │ │ ├── login-by-taobao.js │ │ │ ├── login-by-toutiao.js │ │ │ ├── login-by-univerify.js │ │ │ ├── login-by-weibo.js │ │ │ ├── login-by-weixin-mobile.js │ │ │ ├── login-by-weixin.js │ │ │ └── login.js │ │ ├── logout │ │ │ ├── index.js │ │ │ └── logout.js │ │ ├── multi-end │ │ │ ├── authorize-app-login.js │ │ │ ├── index.js │ │ │ ├── remove-authorized-app.js │ │ │ ├── set-authorized-app.js │ │ │ └── utils.js │ │ ├── register │ │ │ ├── index.js │ │ │ ├── register-admin.js │ │ │ ├── register-user-by-email.js │ │ │ └── register-user.js │ │ ├── relate │ │ │ ├── bind-alipay.js │ │ │ ├── bind-apple.js │ │ │ ├── bind-mobile-by-mp-weixin.js │ │ │ ├── bind-mobile-by-sms.js │ │ │ ├── bind-mobile-by-univerify.js │ │ │ ├── bind-qq.js │ │ │ ├── bind-weixin.js │ │ │ ├── index.js │ │ │ ├── unbind-alipay.js │ │ │ ├── unbind-apple.js │ │ │ ├── unbind-qq.js │ │ │ └── unbind-weixin.js │ │ ├── utils │ │ │ ├── index.js │ │ │ ├── refresh-token.js │ │ │ ├── secure-network-handshake-by-weixin.js │ │ │ └── set-push-cid.js │ │ └── verify │ │ │ ├── create-captcha.js │ │ │ ├── index.js │ │ │ ├── refresh-captcha.js │ │ │ ├── send-email-code.js │ │ │ ├── send-email-link.js │ │ │ └── send-sms-code.js │ │ └── package.json ├── uni-open-bridge-common │ └── uniCloud │ │ └── cloudfunctions │ │ └── common │ │ └── uni-open-bridge-common │ │ ├── bridge-error.js │ │ ├── config.js │ │ ├── consts.js │ │ ├── index.js │ │ ├── package.json │ │ ├── storage.js │ │ ├── uni-cloud-cache.js │ │ ├── validator.js │ │ └── weixin-server.js ├── uni-sign-in │ └── uniCloud │ │ └── cloudfunctions │ │ ├── common │ │ └── sign-in │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── rewarded-video-ad-notify-url │ │ ├── index.js │ │ └── package.json │ │ └── uni-clientDB-actions │ │ └── signIn.js ├── uni-swipe-action │ ├── changelog.md │ ├── components │ │ ├── uni-swipe-action-item │ │ │ ├── bindingx.js │ │ │ ├── index.wxs │ │ │ ├── isPC.js │ │ │ ├── mpalipay.js │ │ │ ├── mpother.js │ │ │ ├── mpwxs.js │ │ │ └── uni-swipe-action-item.vue │ │ └── uni-swipe-action │ │ │ └── uni-swipe-action.vue │ ├── package.json │ └── readme.md ├── uni-upgrade-center-app │ ├── changelog.md │ ├── package.json │ ├── pages │ │ ├── uni-app-x │ │ │ └── upgrade-popup.uvue │ │ └── upgrade-popup.vue │ ├── readme.md │ ├── static │ │ └── app │ │ │ ├── app_update_close.png │ │ │ └── bg_top.png │ ├── uniCloud │ │ └── database │ │ │ └── db_init.json │ └── utils │ │ ├── call-check-version.ts │ │ ├── check-update-nvue.js │ │ ├── check-update.ts │ │ └── utils.ts ├── uts-openSchema │ ├── changelog.md │ ├── package.json │ ├── readme.md │ └── utssdk │ │ ├── app-android │ │ ├── config.json │ │ └── index.uts │ │ ├── app-ios │ │ ├── config.json │ │ └── index.uts │ │ ├── interface.uts │ │ └── web │ │ └── index.uts └── uts-progressNotification │ ├── changelog.md │ ├── package.json │ ├── readme.md │ └── utssdk │ ├── app-android │ ├── AndroidManifest.xml │ ├── TransparentActivity.uts │ ├── callbacks.uts │ ├── config.json │ ├── constant.uts │ ├── index.uts │ └── res │ │ └── values │ │ └── notification_progress_styles.xml │ ├── interface.uts │ └── unierror.uts ├── unpackage ├── .DS_Store ├── dist │ ├── .DS_Store │ ├── build │ │ ├── .automator │ │ │ ├── app-plus │ │ │ │ └── .automator.json │ │ │ └── h5 │ │ │ │ └── .automator.json │ │ ├── .tsc │ │ │ ├── app-android │ │ │ │ └── uni_modules │ │ │ │ │ └── uts-progressNotification │ │ │ │ │ └── utssdk │ │ │ │ │ ├── app-android │ │ │ │ │ ├── TransparentActivity.uts.ts │ │ │ │ │ ├── callbacks.uts.ts │ │ │ │ │ ├── constant.uts.ts │ │ │ │ │ └── index.uts.ts │ │ │ │ │ ├── interface.uts.ts │ │ │ │ │ └── unierror.uts.ts │ │ │ └── app-ios │ │ │ │ └── uni_modules │ │ │ │ └── uts-progressNotification │ │ │ │ └── utssdk │ │ │ │ ├── app-android │ │ │ │ ├── TransparentActivity.uts.ts │ │ │ │ ├── callbacks.uts.ts │ │ │ │ ├── constant.uts.ts │ │ │ │ └── index.uts.ts │ │ │ │ ├── interface.uts.ts │ │ │ │ └── unierror.uts.ts │ │ ├── .uvue │ │ │ └── app-android │ │ │ │ └── uni_modules │ │ │ │ └── uts-progressNotification │ │ │ │ └── utssdk │ │ │ │ ├── app-android │ │ │ │ ├── TransparentActivity.uts │ │ │ │ ├── callbacks.uts │ │ │ │ ├── constant.uts │ │ │ │ └── index.uts │ │ │ │ └── interface.uts │ │ ├── app-plus │ │ │ ├── __uniappchooselocation.js │ │ │ ├── __uniapperror.png │ │ │ ├── __uniappes6.js │ │ │ ├── __uniappopenlocation.js │ │ │ ├── __uniapppicker.js │ │ │ ├── __uniappquill.js │ │ │ ├── __uniappquillimageresize.js │ │ │ ├── __uniappscan.js │ │ │ ├── __uniappsuccess.png │ │ │ ├── __uniappview.html │ │ │ ├── app-config-service.js │ │ │ ├── app-config.js │ │ │ ├── app-service.js │ │ │ ├── app-view.js │ │ │ ├── manifest.json │ │ │ ├── pages │ │ │ │ └── my │ │ │ │ │ └── nativeMapComponent.js │ │ │ ├── static │ │ │ │ ├── ad │ │ │ │ │ ├── 1.png │ │ │ │ │ ├── 2.png │ │ │ │ │ └── 3.png │ │ │ │ ├── user │ │ │ │ │ ├── placeholder.png │ │ │ │ │ └── saber.jpg │ │ │ │ └── uview │ │ │ │ │ ├── common │ │ │ │ │ ├── favicon.ico │ │ │ │ │ └── logo.png │ │ │ │ │ └── example │ │ │ │ │ ├── component.png │ │ │ │ │ ├── component_select.png │ │ │ │ │ ├── js.png │ │ │ │ │ ├── js_bak.png │ │ │ │ │ ├── js_select.png │ │ │ │ │ ├── js_select_bak.png │ │ │ │ │ ├── min_button.png │ │ │ │ │ ├── min_button_select.png │ │ │ │ │ ├── template.png │ │ │ │ │ └── template_select.png │ │ │ ├── uni_modules │ │ │ │ └── uni-upgrade-center-app │ │ │ │ │ └── static │ │ │ │ │ └── app │ │ │ │ │ ├── app_update_close.png │ │ │ │ │ └── bg_top.png │ │ │ ├── view.css │ │ │ └── view.umd.min.js │ │ └── web │ │ │ ├── index.html │ │ │ └── static │ │ │ ├── ad │ │ │ ├── 1.png │ │ │ ├── 2.png │ │ │ └── 3.png │ │ │ ├── index.2da1efab.css │ │ │ ├── js │ │ │ ├── chunk-vendors.11fed03b.js │ │ │ ├── index.1986c4f0.js │ │ │ ├── pages-index-index.4fe673fa.js │ │ │ ├── pages-index-index~pages-index-result~pages-index-search~pages-infomation-index~pages-login-index~pag~ed463b32.27b4769d.js │ │ │ ├── pages-index-index~pages-index-result~pages-infomation-index~pages-my-collection~pages-my-detail~page~495a0b5d.8354b73a.js │ │ │ ├── pages-index-result.f5bcc7ab.js │ │ │ ├── pages-index-search.bdefffbb.js │ │ │ ├── pages-infomation-index.c84be712.js │ │ │ ├── pages-infomation-index~pages-publicNum-index.a5ae80a8.js │ │ │ ├── pages-login-index.c97cdcd9.js │ │ │ ├── pages-login-index~pages-login-register.45876e2d.js │ │ │ ├── pages-login-register.b8d59352.js │ │ │ ├── pages-my-callNativeMethod.fc8f0316.js │ │ │ ├── pages-my-collection.5ffcfcd7.js │ │ │ ├── pages-my-detail.adff34ae.js │ │ │ ├── pages-my-history.3be3f886.js │ │ │ ├── pages-my-index.d53da05a.js │ │ │ ├── pages-my-index~pages-web-index.4a9efd35.js │ │ │ ├── pages-my-nativeMapComponent.20fa1de4.js │ │ │ ├── pages-my-ranking.111a9af1.js │ │ │ ├── pages-my-tree.c1d00318.js │ │ │ ├── pages-publicNum-index.a432d264.js │ │ │ ├── pages-web-banner-web.ec267241.js │ │ │ └── pages-web-index.eeb677c1.js │ │ │ ├── user │ │ │ ├── placeholder.png │ │ │ └── saber.jpg │ │ │ └── uview │ │ │ ├── common │ │ │ ├── favicon.ico │ │ │ └── logo.png │ │ │ └── example │ │ │ ├── component.png │ │ │ ├── component_select.png │ │ │ ├── js.png │ │ │ ├── js_bak.png │ │ │ ├── js_select.png │ │ │ ├── js_select_bak.png │ │ │ ├── min_button.png │ │ │ ├── min_button_select.png │ │ │ ├── template.png │ │ │ └── template_select.png │ └── dev │ │ ├── .DS_Store │ │ ├── .automator │ │ ├── app-plus │ │ │ └── .automator.json │ │ └── mp-weixin │ │ │ └── .automator.json │ │ ├── .sourcemap │ │ └── mp-weixin │ │ │ ├── common │ │ │ ├── main.js.map │ │ │ ├── runtime.js.map │ │ │ └── vendor.js.map │ │ │ ├── components │ │ │ ├── history-cell │ │ │ │ └── history-cell.js.map │ │ │ └── space │ │ │ │ └── space.js.map │ │ │ ├── pages │ │ │ ├── index │ │ │ │ ├── index.js.map │ │ │ │ ├── result.js.map │ │ │ │ └── search.js.map │ │ │ ├── infomation │ │ │ │ ├── index.js.map │ │ │ │ └── single.js.map │ │ │ ├── login │ │ │ │ ├── index.js.map │ │ │ │ └── register.js.map │ │ │ ├── my │ │ │ │ ├── collection.js.map │ │ │ │ ├── detail.js.map │ │ │ │ ├── history.js.map │ │ │ │ ├── index.js.map │ │ │ │ ├── ranking.js.map │ │ │ │ └── tree.js.map │ │ │ ├── publicNum │ │ │ │ └── index.js.map │ │ │ └── web │ │ │ │ ├── banner-web.js.map │ │ │ │ └── index.js.map │ │ │ ├── uni_modules │ │ │ └── uni-swipe-action │ │ │ │ └── components │ │ │ │ ├── uni-swipe-action-item │ │ │ │ └── uni-swipe-action-item.js.map │ │ │ │ └── uni-swipe-action │ │ │ │ └── uni-swipe-action.js.map │ │ │ └── uview-ui │ │ │ └── components │ │ │ ├── u-badge │ │ │ └── u-badge.js.map │ │ │ ├── u-button │ │ │ └── u-button.js.map │ │ │ ├── u-cell-group │ │ │ └── u-cell-group.js.map │ │ │ ├── u-cell-item │ │ │ └── u-cell-item.js.map │ │ │ ├── u-divider │ │ │ └── u-divider.js.map │ │ │ ├── u-field │ │ │ └── u-field.js.map │ │ │ ├── u-gap │ │ │ └── u-gap.js.map │ │ │ ├── u-grid-item │ │ │ └── u-grid-item.js.map │ │ │ ├── u-grid │ │ │ └── u-grid.js.map │ │ │ ├── u-icon │ │ │ └── u-icon.js.map │ │ │ ├── u-line │ │ │ └── u-line.js.map │ │ │ ├── u-loading │ │ │ └── u-loading.js.map │ │ │ ├── u-loadmore │ │ │ └── u-loadmore.js.map │ │ │ ├── u-mask │ │ │ └── u-mask.js.map │ │ │ ├── u-modal │ │ │ └── u-modal.js.map │ │ │ ├── u-popup │ │ │ └── u-popup.js.map │ │ │ ├── u-swiper │ │ │ └── u-swiper.js.map │ │ │ ├── u-tabs-swiper │ │ │ └── u-tabs-swiper.js.map │ │ │ ├── u-tag │ │ │ └── u-tag.js.map │ │ │ └── u-toast │ │ │ └── u-toast.js.map │ │ ├── app-plus │ │ ├── __uniappchooselocation.js │ │ ├── __uniapperror.png │ │ ├── __uniappes6.js │ │ ├── __uniappopenlocation.js │ │ ├── __uniapppicker.js │ │ ├── __uniappquill.js │ │ ├── __uniappquillimageresize.js │ │ ├── __uniappscan.js │ │ ├── __uniappsuccess.png │ │ ├── __uniappview.html │ │ ├── app-config-service.js │ │ ├── app-config.js │ │ ├── app-service.js │ │ ├── app-view.js │ │ ├── manifest.json │ │ ├── static │ │ │ ├── ad │ │ │ │ ├── 1.png │ │ │ │ ├── 2.png │ │ │ │ └── 3.png │ │ │ ├── user │ │ │ │ ├── placeholder.png │ │ │ │ └── saber.jpg │ │ │ └── uview │ │ │ │ ├── common │ │ │ │ ├── favicon.ico │ │ │ │ └── logo.png │ │ │ │ └── example │ │ │ │ ├── component.png │ │ │ │ ├── component_select.png │ │ │ │ ├── js.png │ │ │ │ ├── js_bak.png │ │ │ │ ├── js_select.png │ │ │ │ ├── js_select_bak.png │ │ │ │ ├── min_button.png │ │ │ │ ├── min_button_select.png │ │ │ │ ├── template.png │ │ │ │ └── template_select.png │ │ ├── view.css │ │ └── view.umd.min.js │ │ └── mp-weixin │ │ ├── app.js │ │ ├── app.json │ │ ├── app.wxss │ │ ├── common │ │ ├── main.js │ │ ├── main.wxss │ │ ├── runtime.js │ │ └── vendor.js │ │ ├── components │ │ ├── history-cell │ │ │ ├── history-cell.js │ │ │ ├── history-cell.json │ │ │ ├── history-cell.wxml │ │ │ └── history-cell.wxss │ │ └── space │ │ │ ├── space.js │ │ │ ├── space.json │ │ │ ├── space.wxml │ │ │ └── space.wxss │ │ ├── pages │ │ ├── index │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ ├── index.wxss │ │ │ ├── result.js │ │ │ ├── result.json │ │ │ ├── result.wxml │ │ │ ├── search.js │ │ │ ├── search.json │ │ │ ├── search.wxml │ │ │ └── search.wxss │ │ ├── infomation │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ ├── index.wxss │ │ │ ├── single.js │ │ │ ├── single.json │ │ │ └── single.wxml │ │ ├── login │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ ├── index.wxss │ │ │ ├── register.js │ │ │ ├── register.json │ │ │ ├── register.wxml │ │ │ └── register.wxss │ │ ├── my │ │ │ ├── collection.js │ │ │ ├── collection.json │ │ │ ├── collection.wxml │ │ │ ├── collection.wxss │ │ │ ├── detail.js │ │ │ ├── detail.json │ │ │ ├── detail.wxml │ │ │ ├── history.js │ │ │ ├── history.json │ │ │ ├── history.wxml │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ ├── index.wxss │ │ │ ├── ranking.js │ │ │ ├── ranking.json │ │ │ ├── ranking.wxml │ │ │ ├── tree.js │ │ │ ├── tree.json │ │ │ ├── tree.wxml │ │ │ └── tree.wxss │ │ ├── publicNum │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ └── web │ │ │ ├── banner-web.js │ │ │ ├── banner-web.json │ │ │ ├── banner-web.wxml │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── project.config.json │ │ ├── sitemap.json │ │ ├── sitemap10.json │ │ ├── sitemap23.json │ │ ├── sitemap26.json │ │ ├── sitemap28.json │ │ ├── sitemap30.json │ │ ├── sitemap4.json │ │ ├── sitemap40.json │ │ ├── sitemap42.json │ │ ├── sitemap43.json │ │ ├── sitemap53.json │ │ ├── sitemap63.json │ │ ├── sitemap70.json │ │ ├── sitemap71.json │ │ ├── sitemap85.json │ │ ├── sitemap91.json │ │ ├── sitemap95.json │ │ ├── static │ │ ├── ad │ │ │ ├── 1.png │ │ │ ├── 2.png │ │ │ └── 3.png │ │ ├── user │ │ │ ├── placeholder.png │ │ │ └── saber.jpg │ │ └── uview │ │ │ ├── common │ │ │ ├── favicon.ico │ │ │ └── logo.png │ │ │ └── example │ │ │ ├── component.png │ │ │ ├── component_select.png │ │ │ ├── js.png │ │ │ ├── js_bak.png │ │ │ ├── js_select.png │ │ │ ├── js_select_bak.png │ │ │ ├── min_button.png │ │ │ ├── min_button_select.png │ │ │ ├── template.png │ │ │ └── template_select.png │ │ ├── uni_modules │ │ └── uni-swipe-action │ │ │ └── components │ │ │ ├── uni-swipe-action-item │ │ │ ├── index.wxs │ │ │ ├── uni-swipe-action-item.js │ │ │ ├── uni-swipe-action-item.json │ │ │ ├── uni-swipe-action-item.wxml │ │ │ └── uni-swipe-action-item.wxss │ │ │ └── uni-swipe-action │ │ │ ├── uni-swipe-action.js │ │ │ ├── uni-swipe-action.json │ │ │ └── uni-swipe-action.wxml │ │ └── uview-ui │ │ └── components │ │ ├── u-badge │ │ ├── u-badge.js │ │ ├── u-badge.json │ │ ├── u-badge.wxml │ │ └── u-badge.wxss │ │ ├── u-button │ │ ├── u-button.js │ │ ├── u-button.json │ │ ├── u-button.wxml │ │ └── u-button.wxss │ │ ├── u-cell-group │ │ ├── u-cell-group.js │ │ ├── u-cell-group.json │ │ ├── u-cell-group.wxml │ │ └── u-cell-group.wxss │ │ ├── u-cell-item │ │ ├── u-cell-item.js │ │ ├── u-cell-item.json │ │ ├── u-cell-item.wxml │ │ └── u-cell-item.wxss │ │ ├── u-divider │ │ ├── u-divider.js │ │ ├── u-divider.json │ │ ├── u-divider.wxml │ │ └── u-divider.wxss │ │ ├── u-field │ │ ├── u-field.js │ │ ├── u-field.json │ │ ├── u-field.wxml │ │ └── u-field.wxss │ │ ├── u-gap │ │ ├── u-gap.js │ │ ├── u-gap.json │ │ ├── u-gap.wxml │ │ └── u-gap.wxss │ │ ├── u-grid-item │ │ ├── u-grid-item.js │ │ ├── u-grid-item.json │ │ ├── u-grid-item.wxml │ │ └── u-grid-item.wxss │ │ ├── u-grid │ │ ├── u-grid.js │ │ ├── u-grid.json │ │ ├── u-grid.wxml │ │ └── u-grid.wxss │ │ ├── u-icon │ │ ├── u-icon.js │ │ ├── u-icon.json │ │ ├── u-icon.wxml │ │ └── u-icon.wxss │ │ ├── u-line │ │ ├── u-line.js │ │ ├── u-line.json │ │ ├── u-line.wxml │ │ └── u-line.wxss │ │ ├── u-loading │ │ ├── u-loading.js │ │ ├── u-loading.json │ │ ├── u-loading.wxml │ │ └── u-loading.wxss │ │ ├── u-loadmore │ │ ├── u-loadmore.js │ │ ├── u-loadmore.json │ │ ├── u-loadmore.wxml │ │ └── u-loadmore.wxss │ │ ├── u-mask │ │ ├── u-mask.js │ │ ├── u-mask.json │ │ ├── u-mask.wxml │ │ └── u-mask.wxss │ │ ├── u-modal │ │ ├── u-modal.js │ │ ├── u-modal.json │ │ ├── u-modal.wxml │ │ └── u-modal.wxss │ │ ├── u-popup │ │ ├── u-popup.js │ │ ├── u-popup.json │ │ ├── u-popup.wxml │ │ └── u-popup.wxss │ │ ├── u-swiper │ │ ├── u-swiper.js │ │ ├── u-swiper.json │ │ ├── u-swiper.wxml │ │ └── u-swiper.wxss │ │ ├── u-tabs-swiper │ │ ├── u-tabs-swiper.js │ │ ├── u-tabs-swiper.json │ │ ├── u-tabs-swiper.wxml │ │ └── u-tabs-swiper.wxss │ │ ├── u-tag │ │ ├── u-tag.js │ │ ├── u-tag.json │ │ ├── u-tag.wxml │ │ └── u-tag.wxss │ │ └── u-toast │ │ ├── u-toast.js │ │ ├── u-toast.json │ │ ├── u-toast.wxml │ │ └── u-toast.wxss ├── release │ └── __UNI__98AF8A0.wgt └── resources │ └── __UNI__98AF8A0 │ └── www │ ├── __uniappchooselocation.js │ ├── __uniapperror.png │ ├── __uniappes6.js │ ├── __uniappopenlocation.js │ ├── __uniapppicker.js │ ├── __uniappquill.js │ ├── __uniappquillimageresize.js │ ├── __uniappscan.js │ ├── __uniappsuccess.png │ ├── __uniappview.html │ ├── app-config-service.js │ ├── app-config.js │ ├── app-service.js │ ├── app-view.js │ ├── manifest.json │ ├── static │ ├── ad │ │ ├── 1.png │ │ ├── 2.png │ │ └── 3.png │ ├── user │ │ ├── placeholder.png │ │ └── saber.jpg │ └── uview │ │ ├── common │ │ ├── favicon.ico │ │ └── logo.png │ │ └── example │ │ ├── component.png │ │ ├── component_select.png │ │ ├── js.png │ │ ├── js_bak.png │ │ ├── js_select.png │ │ ├── js_select_bak.png │ │ ├── min_button.png │ │ ├── min_button_select.png │ │ ├── template.png │ │ └── template_select.png │ ├── view.css │ └── view.umd.min.js └── uview-ui ├── LICENSE ├── README.md ├── components ├── u-action-sheet │ └── u-action-sheet.vue ├── u-alert-tips │ └── u-alert-tips.vue ├── u-avatar-cropper │ ├── u-avatar-cropper.vue │ └── weCropper.js ├── u-avatar │ └── u-avatar.vue ├── u-back-top │ └── u-back-top.vue ├── u-badge │ └── u-badge.vue ├── u-button │ └── u-button.vue ├── u-calendar │ └── u-calendar.vue ├── u-car-keyboard │ └── u-car-keyboard.vue ├── u-card │ └── u-card.vue ├── u-cell-group │ └── u-cell-group.vue ├── u-cell-item │ └── u-cell-item.vue ├── u-checkbox-group │ └── u-checkbox-group.vue ├── u-checkbox │ └── u-checkbox.vue ├── u-circle-progress │ └── u-circle-progress.vue ├── u-col │ └── u-col.vue ├── u-collapse-item │ └── u-collapse-item.vue ├── u-collapse │ └── u-collapse.vue ├── u-column-notice │ └── u-column-notice.vue ├── u-count-down │ └── u-count-down.vue ├── u-count-to │ └── u-count-to.vue ├── u-divider │ └── u-divider.vue ├── u-dropdown-item │ └── u-dropdown-item.vue ├── u-dropdown │ └── u-dropdown.vue ├── u-empty │ └── u-empty.vue ├── u-field │ └── u-field.vue ├── u-form-item │ └── u-form-item.vue ├── u-form │ └── u-form.vue ├── u-full-screen │ └── u-full-screen.vue ├── u-gap │ └── u-gap.vue ├── u-grid-item │ └── u-grid-item.vue ├── u-grid │ └── u-grid.vue ├── u-icon │ └── u-icon.vue ├── u-image │ └── u-image.vue ├── u-index-anchor │ └── u-index-anchor.vue ├── u-index-list │ └── u-index-list.vue ├── u-input │ └── u-input.vue ├── u-keyboard │ └── u-keyboard.vue ├── u-lazy-load │ └── u-lazy-load.vue ├── u-line-progress │ └── u-line-progress.vue ├── u-line │ └── u-line.vue ├── u-link │ └── u-link.vue ├── u-loading-page │ └── u-loading-page.vue ├── u-loading │ └── u-loading.vue ├── u-loadmore │ └── u-loadmore.vue ├── u-mask │ └── u-mask.vue ├── u-message-input │ └── u-message-input.vue ├── u-modal │ └── u-modal.vue ├── u-navbar │ └── u-navbar.vue ├── u-no-network │ └── u-no-network.vue ├── u-notice-bar │ └── u-notice-bar.vue ├── u-number-box │ └── u-number-box.vue ├── u-number-keyboard │ └── u-number-keyboard.vue ├── u-parse │ ├── libs │ │ ├── CssHandler.js │ │ ├── MpHtmlParser.js │ │ ├── config.js │ │ ├── handler.wxs │ │ └── trees.vue │ └── u-parse.vue ├── u-picker │ └── u-picker.vue ├── u-popup │ └── u-popup.vue ├── u-radio-group │ └── u-radio-group.vue ├── u-radio │ └── u-radio.vue ├── u-rate │ └── u-rate.vue ├── u-read-more │ └── u-read-more.vue ├── u-row-notice │ └── u-row-notice.vue ├── u-row │ └── u-row.vue ├── u-search │ └── u-search.vue ├── u-section │ └── u-section.vue ├── u-select │ └── u-select.vue ├── u-skeleton │ └── u-skeleton.vue ├── u-slider │ └── u-slider.vue ├── u-steps │ └── u-steps.vue ├── u-sticky │ └── u-sticky.vue ├── u-subsection │ └── u-subsection.vue ├── u-swipe-action │ └── u-swipe-action.vue ├── u-swiper │ └── u-swiper.vue ├── u-switch │ └── u-switch.vue ├── u-tabbar │ └── u-tabbar.vue ├── u-table │ └── u-table.vue ├── u-tabs-swiper │ └── u-tabs-swiper.vue ├── u-tabs │ └── u-tabs.vue ├── u-tag │ └── u-tag.vue ├── u-td │ └── u-td.vue ├── u-th │ └── u-th.vue ├── u-time-line-item │ └── u-time-line-item.vue ├── u-time-line │ └── u-time-line.vue ├── u-toast │ └── u-toast.vue ├── u-top-tips │ └── u-top-tips.vue ├── u-tr │ └── u-tr.vue ├── u-upload │ └── u-upload.vue ├── u-verification-code │ └── u-verification-code.vue └── u-waterfall │ └── u-waterfall.vue ├── iconfont.css ├── index.js ├── index.scss ├── libs ├── config │ ├── config.js │ └── zIndex.js ├── css │ ├── color.scss │ ├── common.scss │ ├── style.components.scss │ ├── style.h5.scss │ ├── style.mp.scss │ ├── style.nvue.scss │ └── style.vue.scss ├── function │ ├── $parent.js │ ├── addUnit.js │ ├── bem.js │ ├── color.js │ ├── colorGradient.js │ ├── debounce.js │ ├── deepClone.js │ ├── deepMerge.js │ ├── getParent.js │ ├── guid.js │ ├── md5.js │ ├── queryParams.js │ ├── random.js │ ├── randomArray.js │ ├── route.js │ ├── sys.js │ ├── test.js │ ├── throttle.js │ ├── timeFormat.js │ ├── timeFrom.js │ ├── toast.js │ ├── trim.js │ └── type2icon.js ├── mixin │ ├── mixin.js │ └── mpShare.js ├── request │ └── index.js ├── store │ └── index.js └── util │ ├── area.js │ ├── async-validator.js │ ├── city.js │ ├── emitter.js │ └── province.js ├── package.json └── theme.scss /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/.DS_Store -------------------------------------------------------------------------------- /.hbuilderx/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ 3 | // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 4 | "version" : "0.0", 5 | "configurations" : [ 6 | { 7 | "app-plus" : { 8 | "launchtype" : "local" 9 | }, 10 | "default" : { 11 | "launchtype" : "local" 12 | }, 13 | "h5" : { 14 | "launchtype" : "remote" 15 | }, 16 | "provider" : "alipay", 17 | "type" : "uniCloud" 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /App.vue: -------------------------------------------------------------------------------- 1 | 28 | 29 | 30 | 33 | -------------------------------------------------------------------------------- /components/space/space.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 13 | -------------------------------------------------------------------------------- /jsons/AMapLocation.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "1", 3 | "info": "OK", 4 | "infocode": "10000", 5 | "count": "1", 6 | "geocodes": [ 7 | { 8 | "formatted_address": "北京市", 9 | "country": "中国", 10 | "province": "北京市", 11 | "citycode": "010", 12 | "city": "北京市", 13 | "district": [], 14 | "township": [], 15 | "neighborhood": { 16 | "name": [], 17 | "type": [] 18 | }, 19 | "building": { 20 | "name": [], 21 | "type": [] 22 | }, 23 | "adcode": "110000", 24 | "street": [], 25 | "number": [], 26 | "location": "116.407526,39.904030", 27 | "level": "省" 28 | } 29 | ] 30 | } -------------------------------------------------------------------------------- /jsons/CollectArticleAction.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": null, 3 | "errorCode": 0, 4 | "errorMsg": "" 5 | } -------------------------------------------------------------------------------- /jsons/LoginAndRegister.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": { 3 | "admin": false, 4 | "chapterTops": [], 5 | "collectIds": [], 6 | "email": "", 7 | "icon": "", 8 | "id": 59171, 9 | "nickname": "13437156081", 10 | "password": "", 11 | "publicName": "13437156081", 12 | "token": "", 13 | "type": 0, 14 | "username": "13437156081" 15 | }, 16 | "errorCode": 0, 17 | "errorMsg": "" 18 | } -------------------------------------------------------------------------------- /jsons/Logout.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": null, 3 | "errorCode": 0, 4 | "errorMsg": "" 5 | } -------------------------------------------------------------------------------- /jsons/MyCoinList.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": { 3 | "curPage": 0, 4 | "datas": [ 5 | { 6 | "coinCount": 11, 7 | "date": 1587302836000, 8 | "desc": "2020-04-19 21:27:16 签到 , 积分:10 + 1", 9 | "id": 191949, 10 | "reason": "签到", 11 | "type": 1, 12 | "userId": 59171, 13 | "userName": "13437156081" 14 | } 15 | ], 16 | "offset": -20, 17 | "over": false, 18 | "pageCount": 1, 19 | "size": 20, 20 | "total": 2 21 | }, 22 | "errorCode": 0, 23 | "errorMsg": "" 24 | } -------------------------------------------------------------------------------- /jsons/MyCollectList.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": { 3 | "curPage": 1, 4 | "datas": [ 5 | { 6 | "author": "扔物线", 7 | "chapterId": 249, 8 | "chapterName": "干货资源", 9 | "courseId": 13, 10 | "desc": "", 11 | "envelopePic": "", 12 | "id": 127991, 13 | "link": "https://mp.weixin.qq.com/s/CFWznkSrq6JmW1fZdqdlOg", 14 | "niceDate": "1分钟前", 15 | "origin": "", 16 | "originId": 12554, 17 | "publishTime": 1587307096000, 18 | "title": "【扔物线】消失了半年,这个 Android 界的第一骚货终于回来了", 19 | "userId": 59171, 20 | "visible": 0, 21 | "zan": 0 22 | } 23 | ], 24 | "offset": 0, 25 | "over": true, 26 | "pageCount": 1, 27 | "size": 20, 28 | "total": 1 29 | }, 30 | "errorCode": 0, 31 | "errorMsg": "" 32 | } -------------------------------------------------------------------------------- /jsons/PublicNumber.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": [ 3 | { 4 | "children": [], 5 | "courseId": 13, 6 | "id": 408, 7 | "name": "鸿洋", 8 | "order": 190000, 9 | "parentChapterId": 407, 10 | "userControlSetTop": false, 11 | "visible": 1 12 | } 13 | ], 14 | "errorCode": 0, 15 | "errorMsg": "" 16 | } -------------------------------------------------------------------------------- /jsons/RankList.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": { 3 | "curPage": 1, 4 | "datas": [ 5 | { 6 | "coinCount": 12159, 7 | "level": 122, 8 | "rank": 1, 9 | "userId": 20382, 10 | "username": "g**eii" 11 | } 12 | ], 13 | "offset": 0, 14 | "over": false, 15 | "pageCount": 1070, 16 | "size": 30, 17 | "total": 32082 18 | }, 19 | "errorCode": 0, 20 | "errorMsg": "" 21 | } -------------------------------------------------------------------------------- /main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './App' 3 | import store from 'store/store.js' 4 | 5 | Vue.prototype.$store = store 6 | 7 | Vue.config.productionTip = false 8 | 9 | App.mpType = 'app' 10 | 11 | // 引入全局uView 12 | import uView from 'uview-ui'; 13 | Vue.use(uView); 14 | 15 | //公共js 16 | import PubFuc from'./common/public.func.js' 17 | Vue.prototype.$pubFuc = PubFuc 18 | 19 | const app = new Vue({ 20 | ...App 21 | }) 22 | 23 | // http拦截器,将此部分放在new Vue()和app.$mount()之间,才能App.vue中正常使用 24 | import httpInterceptor from '@/common/http.interceptor.js'; 25 | Vue.use(httpInterceptor, app); 26 | 27 | // http接口API抽离,免于写url或者一些固定的参数 28 | import httpApi from '@/common/http.api.js'; 29 | Vue.use(httpApi, app); 30 | 31 | app.$mount(); 32 | -------------------------------------------------------------------------------- /pages/my/history.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 46 | 47 | 50 | -------------------------------------------------------------------------------- /pages/my/nativeMapComponent.nvue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /pages/my/ranking.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | 45 | 46 | 49 | -------------------------------------------------------------------------------- /pages/web/banner-web.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 24 | 25 | 28 | -------------------------------------------------------------------------------- /static/ad/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/ad/1.png -------------------------------------------------------------------------------- /static/ad/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/ad/2.png -------------------------------------------------------------------------------- /static/ad/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/ad/3.png -------------------------------------------------------------------------------- /static/user/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/user/placeholder.png -------------------------------------------------------------------------------- /static/user/saber.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/user/saber.jpg -------------------------------------------------------------------------------- /static/uview/common/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/uview/common/favicon.ico -------------------------------------------------------------------------------- /static/uview/common/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/uview/common/logo.png -------------------------------------------------------------------------------- /static/uview/example/component.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/uview/example/component.png -------------------------------------------------------------------------------- /static/uview/example/component_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/uview/example/component_select.png -------------------------------------------------------------------------------- /static/uview/example/js.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/uview/example/js.png -------------------------------------------------------------------------------- /static/uview/example/js_bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/uview/example/js_bak.png -------------------------------------------------------------------------------- /static/uview/example/js_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/uview/example/js_select.png -------------------------------------------------------------------------------- /static/uview/example/js_select_bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/uview/example/js_select_bak.png -------------------------------------------------------------------------------- /static/uview/example/min_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/uview/example/min_button.png -------------------------------------------------------------------------------- /static/uview/example/min_button_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/uview/example/min_button_select.png -------------------------------------------------------------------------------- /static/uview/example/template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/uview/example/template.png -------------------------------------------------------------------------------- /static/uview/example/template_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/static/uview/example/template_select.png -------------------------------------------------------------------------------- /store/store.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Vuex from 'vuex' 3 | 4 | Vue.use(Vuex) 5 | 6 | const store = new Vuex.Store({ 7 | state: { 8 | userInfo: { // 用户信息 9 | hasLogin: false, 10 | cookie: '', 11 | profile: {} // 简介 12 | }, 13 | }, 14 | mutations: { 15 | // 改变登录状态 16 | storeLogin(state, payload) { 17 | const temp = { 18 | hasLogin: true, 19 | cookie: payload.cookie, 20 | profile: payload.profile 21 | } 22 | 23 | state.userInfo = Object.assign({}, state.userInfo, temp) 24 | 25 | // 将用户信息保存在本地 26 | uni.setStorageSync('userInfo', JSON.stringify(state.userInfo)) 27 | 28 | }, 29 | 30 | // 退出登录 31 | storeLogout(state) { 32 | const temp = { 33 | hasLogin: false, 34 | cookie: '', 35 | profile: {} 36 | } 37 | state.userInfo = Object.assign({}, state.userInfo, temp) 38 | 39 | uni.removeStorageSync('userInfo') 40 | } 41 | } 42 | }) 43 | 44 | export default store -------------------------------------------------------------------------------- /uni.scss: -------------------------------------------------------------------------------- 1 | @import 'uview-ui/theme.scss'; -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/common/uni-stat/index.js: -------------------------------------------------------------------------------- 1 | const { 2 | createApi 3 | } = require('./shared/index') 4 | 5 | let reportDataReceiver, dataStatCron 6 | module.exports = { 7 | //uni统计数据上报数据接收器初始化 8 | initReceiver: (options = {}) => { 9 | if(!reportDataReceiver) { 10 | reportDataReceiver = require('./stat/receiver') 11 | } 12 | options.clientType = options.clientType || __ctx__.PLATFORM 13 | return createApi(reportDataReceiver, options) 14 | }, 15 | //uni统计数据统计模块初始化 16 | initStat: (options = {}) => { 17 | if(!dataStatCron) { 18 | dataStatCron = require('./stat/stat') 19 | } 20 | options.clientType = options.clientType || __ctx__.PLATFORM 21 | return createApi(dataStatCron, options) 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/common/uni-stat/package.json: -------------------------------------------------------------------------------- 1 | {"name":"uni-stat","version":"1.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":"","license":"ISC","dependencies":{"uni-config-center":"file:../../../../uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"},"origin-plugin-dev-name":"uni-template-admin","origin-plugin-version":"2.4.25","plugin-dev-name":"uni-template-admin","plugin-version":"2.4.25"} 2 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/common/uni-stat/shared/error.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @class UniCloudError 错误处理模块 3 | */ 4 | module.exports = class UniCloudError extends Error { 5 | constructor (options) { 6 | super(options.message) 7 | this.errMsg = options.message || '' 8 | Object.defineProperties(this, { 9 | message: { 10 | get () { 11 | return `errCode: ${options.code || ''} | errMsg: ` + this.errMsg 12 | }, 13 | set (msg) { 14 | this.errMsg = msg 15 | } 16 | } 17 | }) 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/common/uni-stat/shared/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | UniCloudError: require('./error'), 3 | createApi: require('./create-api'), 4 | ... require('./utils') 5 | } 6 | 7 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/common/uni-stat/stat/lib/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | DateTime: require('./date'), 3 | UniCrypto: require('./uni-crypto') 4 | } -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/common/uni-stat/stat/mod/appCrashLogs.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @class AppCrashLogs 原生应用崩溃日志模型 3 | * @function clean 原生应用崩溃日志清理函数 4 | */ 5 | const BaseMod = require('./base') 6 | const { 7 | DateTime, 8 | UniCrypto 9 | } = require('../lib') 10 | module.exports = class AppCrashLogs extends BaseMod { 11 | constructor() { 12 | super() 13 | this.tableName = 'app-crash-logs' 14 | } 15 | 16 | /** 17 | * 原生应用崩溃日志清理函数 18 | * @param {Number} days 保留天数, 0为永久保留 19 | */ 20 | async clean(days = 7) { 21 | if(days === 0) { 22 | return false; 23 | } 24 | days = Math.max(parseInt(days), 1) 25 | console.log('clean app crash logs - day:', days) 26 | const dateTime = new DateTime() 27 | const res = await this.delete(this.tableName, { 28 | create_time: { 29 | $lt: dateTime.getTimeBySetDays(0 - days) 30 | } 31 | }) 32 | if (!res.code) { 33 | console.log('clean app crash log:', res) 34 | } 35 | return res 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/common/uni-stat/stat/mod/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 基础对外模型 3 | */ 4 | module.exports = { 5 | BaseMod: require('./base'), 6 | SessionLog: require('./sessionLog'), 7 | UserSessionLog: require('./userSessionLog'), 8 | PageLog: require('./pageLog'), 9 | EventLog: require('./eventLog'), 10 | ShareLog: require('./shareLog'), 11 | ErrorLog: require('./errorLog'), 12 | AppCrashLogs: require('./appCrashLogs'), 13 | StatResult: require('./statResult'), 14 | ActiveUsers: require('./activeUsers'), 15 | ActiveDevices: require('./activeDevices'), 16 | PageResult: require('./pageResult'), 17 | PageDetailResult: require('./pageDetailResult'), 18 | EventResult: require('./eventResult'), 19 | ErrorResult: require('./errorResult'), 20 | Loyalty: require('./loyalty'), 21 | RunErrors: require('./runErrors'), 22 | uniPay: require('./uni-pay'), 23 | Setting: require('./setting'), 24 | } 25 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/common/uni-stat/stat/mod/runErrors.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @class RunErrors 运行错误日志 3 | */ 4 | const BaseMod = require('./base') 5 | module.exports = class RunErrors extends BaseMod { 6 | constructor() { 7 | super() 8 | this.tableName = 'run-errors' 9 | } 10 | 11 | /** 12 | * 创建日志 13 | * @param {Object} params 参数 14 | */ 15 | async create(params) { 16 | if (!params) return 17 | const res = await this.insert(this.tableName, params) 18 | return res 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/common/uni-stat/stat/mod/setting.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @class Version 应用版本模型 3 | */ 4 | const BaseMod = require('./base') 5 | const { 6 | DateTime 7 | } = require('../lib') 8 | module.exports = class Setting extends BaseMod { 9 | constructor() { 10 | super() 11 | this.tableName = 'opendb-tempdata' 12 | this.tablePrefix = false 13 | this.settingKey = "uni-stat-setting" 14 | } 15 | 16 | /** 17 | * 获取统计云端配置 18 | */ 19 | async getSetting() { 20 | const res = await this.getCollection(this.tableName).doc(this.settingKey).get(); 21 | if (res.data && res.data[0] && res.data[0].value) { 22 | return res.data[0].value; 23 | } else { 24 | return { 25 | mode: "open", 26 | day: 7 27 | }; 28 | } 29 | } 30 | /** 31 | * 检测N天内是否有设备访问记录,如果有,则返回true,否则返回false 32 | */ 33 | async checkAutoRun(obj = {}) { 34 | let { 35 | day = 7 36 | } = obj; 37 | const _ = this.dbCmd; 38 | let nowTime = Date.now(); 39 | const res = await this.getCollection("uni-stat-session-logs").where({ 40 | create_time: _.gte(nowTime - 1000 * 3600 * 24 * day) 41 | }).count(); 42 | return res.total > 0 ? true : false; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/common/uni-stat/stat/mod/uni-pay/dao/config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 表名 3 | */ 4 | const dbName = { 5 | uniIdUsers: 'uni-id-users', // 支付订单明细表 6 | uniPayOrders: 'uni-pay-orders', // 支付订单明细表 7 | uniStatPayResult: 'uni-stat-pay-result', // 统计结果存储表 8 | uniStatSessionLogs: 'uni-stat-session-logs', // 设备会话日志表(主要用于统计访问设备数) 9 | uniStatUserSessionLogs: 'uni-stat-user-session-logs', // 用户会话日志表(主要用于统计访问人数) 10 | }; 11 | 12 | module.exports = dbName; 13 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/common/uni-stat/stat/mod/uni-pay/dao/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 数据库操作 3 | */ 4 | module.exports = { 5 | uniIdUsers: require('./uniIdUsers'), 6 | uniPayOrders: require('./uniPayOrders'), 7 | uniStatPayResult: require('./uniStatPayResult'), 8 | uniStatSessionLogs: require('./uniStatSessionLogs'), 9 | uniStatUserSessionLogs: require('./uniStatUserSessionLogs'), 10 | } 11 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/common/uni-stat/stat/mod/uni-pay/dao/uniStatPayResult.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 数据库操作 3 | */ 4 | const BaseMod = require('../../base'); 5 | const dbName = require("./config"); 6 | 7 | class Dao extends BaseMod { 8 | 9 | constructor() { 10 | super(); 11 | this.tablePrefix = false; // 不使用表前缀 12 | } 13 | 14 | // 获取符合条件的文档列表 15 | async list(data) { 16 | let { 17 | whereJson, 18 | } = data; 19 | const dbRes = await this.getCollection(dbName.uniStatPayResult).where(whereJson).get(); 20 | return dbRes.data; 21 | } 22 | 23 | // 删除符合条件的文档 24 | async del(data) { 25 | let { 26 | whereJson 27 | } = data; 28 | const dbRes = await this.delete(dbName.uniStatPayResult, whereJson); 29 | return dbRes.deleted; 30 | } 31 | 32 | // 批量插入文档 33 | async adds(saveList) { 34 | return await this.batchInsert(dbName.uniStatPayResult, saveList); 35 | } 36 | } 37 | 38 | module.exports = new Dao(); 39 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/common/uni-stat/stat/mod/uni-pay/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 基础对外模型 3 | */ 4 | module.exports = { 5 | PayResult: require('./payResult'), 6 | } 7 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/ext-storage-co/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ext-storage-co", 3 | "dependencies": {}, 4 | "extensions": { 5 | "uni-cloud-ext-storage": {} 6 | }, 7 | "origin-plugin-dev-name": "uni-template-admin", 8 | "origin-plugin-version": "2.4.25", 9 | "plugin-dev-name": "uni-template-admin", 10 | "plugin-version": "2.4.25" 11 | } -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/uni-analyse-searchhot/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "uni-analyse-searchhot", 3 | "version": "1.0.0", 4 | "description": "定时归纳热搜", 5 | "main": "index.js", 6 | "dependencies": {}, 7 | "cloudfunction-config": { 8 | "triggers": [ 9 | { 10 | "name": "analyse-searchHot", 11 | "type": "timer", 12 | "config": "0 0 *\/2 * * * *" 13 | } 14 | ] 15 | }, 16 | "origin-plugin-dev-name": "uni-template-admin", 17 | "origin-plugin-version": "2.4.25", 18 | "plugin-dev-name": "uni-template-admin", 19 | "plugin-version": "2.4.25" 20 | } -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/uni-portal/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // 定义一个对象success, 成功时使用 4 | const success = { 5 | success: true 6 | }; 7 | 8 | // 定义一个对象fail, 失败时使用 9 | const fail = { 10 | success: false 11 | }; 12 | 13 | // 引入createPublishHtml函数 14 | const createPublishHtml = require('./createPublishHtml'); 15 | 16 | // 导出一个main函数 17 | exports.main = async (event, context) => { 18 | //event为客户端上传的参数 19 | console.log('event : ', event); 20 | 21 | // 初始化res对象 22 | let res = {}; 23 | 24 | // 获取event对象中data或params的值, 并初始化为params 25 | let params = event.data || event.params; 26 | 27 | // 根据不同的action, 执行不同的操作 28 | switch (event.action) { 29 | case 'createPublishHtml': // 如果action是createPublishHtml 30 | // 执行createPublishHtml函数并将结果赋值给res 31 | res = createPublishHtml(params.id); 32 | break; 33 | } 34 | 35 | //返回数据给客户端 36 | return res; 37 | }; 38 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/uni-portal/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "uni-portal", 3 | "dependencies": {}, 4 | "extensions": { 5 | "uni-cloud-jql": {} 6 | }, 7 | "origin-plugin-dev-name": "uni-template-admin", 8 | "origin-plugin-version": "2.4.25", 9 | "plugin-dev-name": "uni-template-admin", 10 | "plugin-version": "2.4.25" 11 | } -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/uni-sms-co/build-template-data.js: -------------------------------------------------------------------------------- 1 | module.exports = (templateData, user) => { 2 | 3 | const data = {} 4 | 5 | for (const template of templateData) { 6 | 7 | // 检查模板是否包含动态值 8 | const isDynamic = /\{.*?\}/.test(template.value) 9 | 10 | // 仅支持uni-id-users 11 | if (isDynamic) { 12 | // 从模板中提取出集合和字段名 13 | const [collection, field] = template.value.replace(/\{|\}/g, '').split('.') 14 | // 如果是uni-id-users,提取相应字段的值 15 | // 否则使用模板值本身 16 | data[template.field] = collection === 'uni-id-users' ? user[field] || template.value: template.value 17 | } else { 18 | // 如果没有动态值,则使用模板值本身 19 | data[template.field] = template.value 20 | } 21 | // 下面是一些注释的代码 22 | // switch (template.type) { 23 | // case 'static': 24 | // // 对于静态值,直接使用模板值本身 25 | // data[template.field] = template.value 26 | // break 27 | // case 'dynamic': 28 | // // 对于动态值,使用用户对象中的相应字段 29 | // data[template.field] = user[template.value] || '' 30 | // break 31 | // default: 32 | // // 抛出不支持的模板类型错误 33 | // throw new Error(`template type [${template.type}] not supported`) 34 | // } 35 | } 36 | 37 | return data 38 | } 39 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/uni-sms-co/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "uni-sms-co", 3 | "dependencies": { 4 | "uni-config-center": "file:..\/..\/..\/uni_modules\/uni-config-center\/uniCloud\/cloudfunctions\/common\/uni-config-center" 5 | }, 6 | "extensions": { 7 | "uni-cloud-sms": {}, 8 | "uni-cloud-jql": {} 9 | }, 10 | "origin-plugin-dev-name": "uni-template-admin", 11 | "origin-plugin-version": "2.4.25", 12 | "plugin-dev-name": "uni-template-admin", 13 | "plugin-version": "2.4.25" 14 | } -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/uni-sms-co/schema-name-adapter.js: -------------------------------------------------------------------------------- 1 | // 引入uniCloud的数据库操作 2 | const db = uniCloud.database() 3 | 4 | module.exports = async function () { 5 | try { 6 | // 查询批量短信模板的文档数 7 | const count = await db.collection('batch-sms-template').count() 8 | 9 | // 如果文档数大于0,则设置表名 10 | if (count.total > 0) { 11 | this.tableNames = { 12 | template: 'batch-sms-template', // 模板表名 13 | task: 'batch-sms-task', // 任务表名 14 | log: 'batch-sms-result' // 日志表名 15 | } 16 | } 17 | } catch (e) {} 18 | } 19 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/uni-sms-co/utils.js: -------------------------------------------------------------------------------- 1 | exports.chunk = function (arr, num) { 2 | const list = [] 3 | let current = [] 4 | 5 | for (const item of arr) { 6 | current.push(item); 7 | if (current.length === num) { 8 | list.push(current) 9 | current = [] 10 | } 11 | } 12 | 13 | if (current.length) list.push(current) 14 | 15 | return list 16 | } 17 | 18 | exports.checkIsStaticTemplate = function (data = []) { 19 | let isStatic = data.length <= 0 20 | 21 | for (const template of data) { 22 | if (template.type === 'static') { 23 | isStatic = true 24 | break 25 | } 26 | } 27 | 28 | return isStatic 29 | } 30 | 31 | exports.parserDynamicField = function (templateData) { 32 | return templateData.reduce((res, template) => { 33 | if (/\{.*?\}/.test(template.value)) { 34 | const [collection, field] = template.value.replace(/\{|\}/g, '').split('.') 35 | if (!res[collection]) { 36 | res[collection] = [] 37 | } 38 | res[collection].push(field) 39 | } 40 | return res 41 | }, {}) 42 | } -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/uni-stat-cron/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const uniStat = require('uni-stat') 3 | exports.main = async (event, context) => { 4 | //数据跑批处理函数 5 | return await uniStat.initStat().cron(context) 6 | }; 7 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/uni-stat-cron/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "uni-stat-cron", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "uni-stat": "file:..\/common\/uni-stat" 13 | }, 14 | "cloudfunction-config": { 15 | "concurrency": 1, 16 | "memorySize": 512, 17 | "timeout": 600, 18 | "triggers": [ 19 | { 20 | "name": "uni-stat-cron", 21 | "type": "timer", 22 | "config": "19 19 * * * * *" 23 | } 24 | ] 25 | }, 26 | "extensions": {}, 27 | "origin-plugin-dev-name": "uni-template-admin", 28 | "origin-plugin-version": "2.4.25", 29 | "plugin-dev-name": "uni-template-admin", 30 | "plugin-version": "2.4.25" 31 | } -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/uni-stat-receiver/index.obj.js: -------------------------------------------------------------------------------- 1 | const uniStat = require('uni-stat') 2 | const uniID = require('uni-id-common') 3 | module.exports = { 4 | report: async function (params = {}) { 5 | //客户端信息 6 | const clientInfo = this.getClientInfo() 7 | //云服务信息 8 | const cloudInfo = this.getCloudInfo() 9 | //token信息 10 | const token = this.getUniIdToken() 11 | //当前登录用户id 12 | let uid 13 | if(token) { 14 | const tokenRes = await uniID.createInstance({ 15 | clientInfo 16 | }).checkToken(token) 17 | 18 | if(tokenRes.uid) { 19 | uid = tokenRes.uid 20 | } 21 | } 22 | //数据上报 23 | return await uniStat.initReceiver().report(params, { 24 | ...clientInfo, 25 | ...cloudInfo, 26 | uid 27 | }) 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/uni-stat-receiver/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "uni-stat-receiver", 3 | "dependencies": { 4 | "uni-stat": "file:..\/common\/uni-stat", 5 | "uni-id-common": "file:..\/..\/..\/uni_modules\/uni-id-common\/uniCloud\/cloudfunctions\/common\/uni-id-common" 6 | }, 7 | "cloudfunction-config": { 8 | "concurrency": 1, 9 | "memorySize": 128, 10 | "timeout": 60, 11 | "triggers": [] 12 | }, 13 | "extensions": { 14 | "uni-cloud-jql": {} 15 | }, 16 | "origin-plugin-dev-name": "uni-template-admin", 17 | "origin-plugin-version": "2.4.25", 18 | "plugin-dev-name": "uni-template-admin", 19 | "plugin-version": "2.4.25" 20 | } -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/uni-upgrade-center/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "uni-app-manager", 3 | "dependencies": { 4 | "uni-id-common": "file:..\/..\/..\/uni_modules\/uni-id-common\/uniCloud\/cloudfunctions\/common\/uni-id-common" 5 | }, 6 | "extensions": { 7 | "uni-cloud-jql": {} 8 | }, 9 | "origin-plugin-dev-name": "uni-template-admin", 10 | "origin-plugin-version": "2.4.25", 11 | "plugin-dev-name": "uni-template-admin", 12 | "plugin-version": "2.4.25" 13 | } -------------------------------------------------------------------------------- /uniCloud-alipay/cloudfunctions/uni-upgrade-center/uni-upgrade-center.param.json: -------------------------------------------------------------------------------- 1 | // 本文件中的json内容将在云函数【运行】时作为参数传给云函数。 2 | 3 | // 配置教程参考:https://uniapp.dcloud.net.cn/uniCloud/quickstart?id=runparam 4 | 5 | { 6 | "action": "checkVersion", 7 | "appid": "__UNI__3584C99", 8 | "appVersion": "1.0.0", 9 | "wgtVersion": "1.0.0" 10 | } 11 | -------------------------------------------------------------------------------- /uniCloud-alipay/database/JQL查询.jql: -------------------------------------------------------------------------------- 1 | // 本文件用于,使用JQL语法操作项目关联的uniCloud空间的数据库,方便开发调试和远程数据库管理 2 | // 编写clientDB的js API(也支持常规js语法,比如var),可以对云数据库进行增删改查操作。不支持uniCloud-db组件写法 3 | // 可以全部运行,也可以选中部分代码运行。点击工具栏上的运行按钮或者按下【F5】键运行代码 4 | // 如果文档中存在多条JQL语句,只有最后一条语句生效 5 | // 如果混写了普通js,最后一条语句需是数据库操作语句 6 | // 此处代码运行不受DB Schema的权限控制,移植代码到实际业务中注意在schema中配好permission 7 | // 不支持clientDB的action 8 | // 数据库查询有最大返回条数限制,详见:https://uniapp.dcloud.net.cn/uniCloud/cf-database.html#limit 9 | // 详细JQL语法,请参考:https://uniapp.dcloud.net.cn/uniCloud/jql.html 10 | 11 | // 下面示例查询uni-id-users表的所有数据 12 | db.collection('uni-id-users').get(); 13 | -------------------------------------------------------------------------------- /uni_modules/uni-captcha/uniCloud/cloudfunctions/common/uni-captcha/fonts/font.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/uni_modules/uni-captcha/uniCloud/cloudfunctions/common/uni-captcha/fonts/font.ttf -------------------------------------------------------------------------------- /uni_modules/uni-captcha/uniCloud/cloudfunctions/common/uni-captcha/package.json: -------------------------------------------------------------------------------- 1 | {"name":"uni-captcha","version":"0.7.0","description":"uni-captcha","main":"index.js","homepage":"https://ext.dcloud.net.cn/plugin?id=4048","repository":{"type":"git","url":"git+https://gitee.com/dcloud/uni-captcha"},"author":"DCloud","license":"Apache-2.0","dependencies":{"uni-config-center":"file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"},"origin-plugin-dev-name":"uni-template-admin","origin-plugin-version":"2.4.25","plugin-dev-name":"uni-template-admin","plugin-version":"2.4.25"} 2 | -------------------------------------------------------------------------------- /uni_modules/uni-captcha/uniCloud/cloudfunctions/uni-captcha-co/index.obj.js: -------------------------------------------------------------------------------- 1 | // 开发文档: https://uniapp.dcloud.net.cn/uniCloud/cloud-obj 2 | //导入验证码公共模块 3 | const uniCaptcha = require('uni-captcha') 4 | //获取数据库对象 5 | const db = uniCloud.database(); 6 | //获取数据表opendb-verify-codes对象 7 | const verifyCodes = db.collection('opendb-verify-codes') 8 | module.exports = { 9 | async getImageCaptcha({ 10 | scene,isUniAppX 11 | }) { 12 | //获取设备id 13 | let { 14 | deviceId, 15 | platform 16 | } = this.getClientInfo(); 17 | //根据:设备id、场景值、状态,查找记录是否存在 18 | let res = await verifyCodes.where({ 19 | scene, 20 | deviceId, 21 | state: 0 22 | }).limit(1).get() 23 | //如果已存在则调用刷新接口,反之调用插件接口 24 | let action = res.data.length ? 'refresh' : 'create' 25 | //执行并返回结果 26 | let option = { 27 | scene, //来源客户端传递,表示:使用场景值,用于防止不同功能的验证码混用 28 | uniPlatform: platform 29 | } 30 | if(isUniAppX){ 31 | option.mode = "bmp" 32 | } 33 | return await uniCaptcha[action](option) 34 | } 35 | } -------------------------------------------------------------------------------- /uni_modules/uni-captcha/uniCloud/cloudfunctions/uni-captcha-co/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "uni-captcha-co", 3 | "dependencies": { 4 | "uni-captcha": "file:..\/common\/uni-captcha", 5 | "uni-config-center": "file:..\/..\/..\/..\/uni-config-center\/uniCloud\/cloudfunctions\/common\/uni-config-center" 6 | }, 7 | "extensions": { 8 | "uni-cloud-jql": {} 9 | }, 10 | "origin-plugin-dev-name": "uni-template-admin", 11 | "origin-plugin-version": "2.4.25", 12 | "plugin-dev-name": "uni-template-admin", 13 | "plugin-version": "2.4.25" 14 | } -------------------------------------------------------------------------------- /uni_modules/uni-cloud-s2s/uniCloud/cloudfunctions/common/uni-cloud-s2s/package.json: -------------------------------------------------------------------------------- 1 | {"name":"uni-cloud-s2s","version":"1.0.1","description":"","keywords":[],"author":"DCloud","main":"index.js","dependencies":{"uni-config-center":"file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"},"origin-plugin-dev-name":"uni-template-admin","origin-plugin-version":"2.4.25","plugin-dev-name":"uni-template-admin","plugin-version":"2.4.25"} 2 | -------------------------------------------------------------------------------- /uni_modules/uni-config-center/changelog.md: -------------------------------------------------------------------------------- 1 | ## 0.0.3(2022-11-11) 2 | - 修复 config 方法获取根节点为数组格式配置时错误的转化为了对象的Bug 3 | ## 0.0.2(2021-04-16) 4 | - 修改插件package信息 5 | ## 0.0.1(2021-03-15) 6 | - 初始化项目 7 | -------------------------------------------------------------------------------- /uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/package.json: -------------------------------------------------------------------------------- 1 | {"name":"uni-config-center","version":"0.0.3","description":"配置中心","main":"index.js","keywords":[],"author":"DCloud","license":"Apache-2.0","origin-plugin-dev-name":"uni-template-admin","origin-plugin-version":"2.4.25","plugin-dev-name":"uni-template-admin","plugin-version":"2.4.25"} 2 | -------------------------------------------------------------------------------- /uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-ad/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "广告位id":"密钥" 3 | } -------------------------------------------------------------------------------- /uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-captcha/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "mode": "svg", 3 | "level": 2, 4 | "width": 150, 5 | "height": 50, 6 | "background": "#FFFAE8", 7 | "size": 4, 8 | "noise": 4, 9 | "color": false, 10 | "fontSize": 40, 11 | "ignoreChars": "", 12 | "mathExpr": false, 13 | "mathMin": 1, 14 | "mathMax": 9, 15 | "mathOperator": "", 16 | "expiresDate": 180, 17 | "scene": { 18 | "login": { 19 | "mathExpr": true 20 | }, 21 | "register": { 22 | "expiresDate": 60 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-captcha/config.md: -------------------------------------------------------------------------------- 1 | ## 配置参数说明 2 | 3 | 由于json不可以写注释,故在此写说明 4 | 5 | ```js 6 | { 7 | "mode": "svg", // 可选 svg bmp 默认使用svg格式验证码,nvue(uniapp X)只支持bmp格式验证码 8 | "background": "#FFFAE8", //验证码背景色,设置空字符`''`不使用背景颜色 9 | "size": 4, //验证码长度,最多 6 个字符 10 | // "expiresDate": 180 //验证码过期时间(s) 11 | // "noise": 6, //验证码干扰线条数 12 | // 以下是svg专属配置 ----------------------------------------------------------- 13 | "width": 150, //图片宽度 14 | "height": 50, //图片高度 15 | // "color": false, //字体是否使用随机颜色,当设置`background`后恒为`true` 16 | // "fontSize": 40, //字体大小 17 | // "ignoreChars": '', //忽略那些字符 18 | // "mathExpr": false, //是否使用数学表达式 19 | // "mathMin": 1, //表达式所使用的最小数字 20 | // "mathMax": 9, //表达式所使用的最大数字 21 | // "mathOperator": '' //表达式所使用的运算符,支持 `+`、`-`。不传随机使用 22 | // 以下是bmp专属配置 ----------------------------------------------------------- 23 | "level": 2, // 干扰等级 1 低 2 中 3 高 4 极高 推荐使用2或3即可 24 | } 25 | ``` 26 | -------------------------------------------------------------------------------- /uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-open-bridge/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "schedule": { 3 | "__UNI__xxxxxx": { 4 | "enable": true, 5 | "h5-weixin": { 6 | "enable": false, 7 | "tasks": ["ticket"] 8 | } 9 | } 10 | }, 11 | "ipWhitelist": ["0.0.0.0"] 12 | } -------------------------------------------------------------------------------- /uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-sms-co/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "smsKey": "your smsKey", 3 | "smsSecret": "your smsSecret" 4 | } 5 | -------------------------------------------------------------------------------- /uni_modules/uni-id-common/readme.md: -------------------------------------------------------------------------------- 1 | # uni-id-common 2 | 3 | 文档请参考:[uni-id-common](https://uniapp.dcloud.net.cn/uniCloud/uni-id-common.html) -------------------------------------------------------------------------------- /uni_modules/uni-id-common/uniCloud/cloudfunctions/common/uni-id-common/package.json: -------------------------------------------------------------------------------- 1 | {"name":"uni-id-common","version":"1.0.18","description":"uni-id token生成、校验、刷新","main":"index.js","homepage":"https://uniapp.dcloud.io/uniCloud/uni-id-common.html","repository":{"type":"git","url":"git+https://gitee.com/dcloud/uni-id-common.git"},"author":"DCloud","license":"Apache-2.0","dependencies":{"uni-config-center":"file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"},"origin-plugin-dev-name":"uni-template-admin","origin-plugin-version":"2.4.25","plugin-dev-name":"uni-template-admin","plugin-version":"2.4.25"} 2 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lang/index.js: -------------------------------------------------------------------------------- 1 | let lang = { 2 | 'zh-Hans': require('./zh-hans'), 3 | en: require('./en') 4 | } 5 | 6 | function mergeLanguage (lang1, lang2) { 7 | const localeList = Object.keys(lang1) 8 | localeList.push(...Object.keys(lang2)) 9 | const result = {} 10 | for (let i = 0; i < localeList.length; i++) { 11 | const locale = localeList[i] 12 | result[locale] = Object.assign({}, lang1[locale], lang2[locale]) 13 | } 14 | return result 15 | } 16 | 17 | try { 18 | const langPath = require.resolve('uni-config-center/uni-id/lang/index.js') 19 | lang = mergeLanguage(lang, require(langPath)) 20 | } catch (error) { } 21 | 22 | module.exports = lang 23 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/README.md: -------------------------------------------------------------------------------- 1 | # 说明 2 | 3 | 此目录内为uni-id-co基础能力,不建议直接修改。如果你发现有些逻辑加入会更好,或者此部分代码有Bug可以向我们提交PR,仓库地址:[]()。如果有特殊的需求也可以在[论坛](https://ask.dcloud.net.cn/)提出,我们可以讨论下如何实现。 -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/alipay/account/index.js: -------------------------------------------------------------------------------- 1 | const AlipayBase = require('../alipayBase') 2 | const protocols = require('./protocols') 3 | module.exports = class Auth extends AlipayBase { 4 | constructor (options) { 5 | super(options) 6 | this._protocols = protocols 7 | } 8 | 9 | async code2Session (code) { 10 | const result = await this._exec('alipay.system.oauth.token', { 11 | grantType: 'authorization_code', 12 | code 13 | }) 14 | return result 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/alipay/account/protocols.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | code2Session: { 3 | // args (fromArgs) { 4 | // return fromArgs 5 | // }, 6 | returnValue: { 7 | openid: 'userId' 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/logout.js: -------------------------------------------------------------------------------- 1 | const { 2 | dbCmd, 3 | LOG_TYPE, 4 | deviceCollection, 5 | userCollection 6 | } = require('../../common/constants') 7 | 8 | async function logout () { 9 | const { 10 | deviceId 11 | } = this.getUniversalClientInfo() 12 | const uniIdToken = this.getUniversalUniIdToken() 13 | const payload = await this.uniIdCommon.checkToken( 14 | uniIdToken, 15 | { 16 | autoRefresh: false 17 | } 18 | ) 19 | if (payload.errCode) { 20 | throw payload 21 | } 22 | const uid = payload.uid 23 | 24 | // 删除token 25 | await userCollection.doc(uid).update({ 26 | token: dbCmd.pull(uniIdToken) 27 | }) 28 | 29 | // 仅当device表的device_id和user_id均对应时才进行更新 30 | await deviceCollection.where({ 31 | device_id: deviceId, 32 | user_id: uid 33 | }).update({ 34 | token_expired: 0 35 | }) 36 | await this.middleware.uniIdLog({ 37 | data: { 38 | user_id: uid 39 | }, 40 | type: LOG_TYPE.LOGOUT 41 | }) 42 | return { 43 | errCode: 0 44 | } 45 | } 46 | 47 | module.exports = { 48 | logout 49 | } 50 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/univerify.js: -------------------------------------------------------------------------------- 1 | async function getPhoneNumber ({ 2 | // eslint-disable-next-line camelcase 3 | access_token, 4 | openid 5 | } = {}) { 6 | const requiredParams = [] 7 | const univerifyConfig = (this.config.service && this.config.service.univerify) || {} 8 | for (let i = 0; i < requiredParams.length; i++) { 9 | const key = requiredParams[i] 10 | if (!univerifyConfig[key]) { 11 | throw new Error(`Missing config param: service.univerify.${key}`) 12 | } 13 | } 14 | return uniCloud.getPhoneNumber({ 15 | provider: 'univerify', 16 | appid: this.getUniversalClientInfo().appId, 17 | apiKey: univerifyConfig.apiKey, 18 | apiSecret: univerifyConfig.apiSecret, 19 | // eslint-disable-next-line camelcase 20 | access_token, 21 | openid 22 | }) 23 | } 24 | 25 | module.exports = { 26 | getPhoneNumber 27 | } 28 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/update-user-info.js: -------------------------------------------------------------------------------- 1 | const { 2 | userCollection 3 | } = require('../../common/constants') 4 | const { 5 | USER_STATUS 6 | } = require('../../common/constants') 7 | async function setUserStatus (uid, status) { 8 | const updateData = { 9 | status 10 | } 11 | if (status !== USER_STATUS.NORMAL) { 12 | updateData.valid_token_date = Date.now() 13 | } 14 | await userCollection.doc(uid).update({ 15 | status 16 | }) 17 | // TODO 此接口尚不完善,例如注销后其他客户端可能存在有效token,支持Redis后此处会补充额外逻辑 18 | return { 19 | errCode: 0 20 | } 21 | } 22 | 23 | module.exports = { 24 | setUserStatus 25 | } 26 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/utils.js: -------------------------------------------------------------------------------- 1 | let redisEnable = null 2 | function getRedisEnable() { 3 | // 未用到的时候不调用redis接口,节省一些连接数 4 | if (redisEnable !== null) { 5 | return redisEnable 6 | } 7 | try { 8 | uniCloud.redis() 9 | redisEnable = true 10 | } catch (error) { 11 | redisEnable = false 12 | } 13 | return redisEnable 14 | } 15 | 16 | module.exports = { 17 | getRedisEnable 18 | } -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/auth.js: -------------------------------------------------------------------------------- 1 | module.exports = async function () { 2 | if (this.authInfo) { // 多次执行auth时如果第一次成功后续不再执行 3 | return 4 | } 5 | const token = this.getUniversalUniIdToken() 6 | const payload = await this.uniIdCommon.checkToken(token) 7 | if (payload.errCode) { 8 | throw payload 9 | } 10 | this.authInfo = payload 11 | if (payload.token) { 12 | this.response.newToken = { 13 | token: payload.token, 14 | tokenExpired: payload.tokenExpired 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | auth: require('./auth'), 3 | uniIdLog: require('./uni-id-log'), 4 | validate: require('./validate'), 5 | accessControl: require('./access-control'), 6 | verifyRequestSign: require('./verify-request-sign'), 7 | ...require('./rbac') 8 | } 9 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/rbac.js: -------------------------------------------------------------------------------- 1 | const { 2 | ERROR 3 | } = require('../common/error') 4 | 5 | function hasRole (...roleList) { 6 | const userRole = this.authInfo.role || [] 7 | if (userRole.includes('admin')) { 8 | return 9 | } 10 | const isMatch = roleList.every(roleItem => { 11 | return userRole.includes(roleItem) 12 | }) 13 | if (!isMatch) { 14 | throw { 15 | errCode: ERROR.PERMISSION_ERROR 16 | } 17 | } 18 | } 19 | 20 | function hasPermission (...permissionList) { 21 | const userRole = this.authInfo.role || [] 22 | const userPermission = this.authInfo.permission || [] 23 | if (userRole.includes('admin')) { 24 | return 25 | } 26 | const isMatch = permissionList.every(permissionItem => { 27 | return userPermission.includes(permissionItem) 28 | }) 29 | if (!isMatch) { 30 | throw { 31 | errCode: ERROR.PERMISSION_ERROR 32 | } 33 | } 34 | } 35 | 36 | module.exports = { 37 | hasRole, 38 | hasPermission 39 | } 40 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/uni-id-log.js: -------------------------------------------------------------------------------- 1 | const db = uniCloud.database() 2 | module.exports = async function ({ 3 | data = {}, 4 | success = true, 5 | type = 'login' 6 | } = {}) { 7 | const now = Date.now() 8 | const uniIdLogCollection = db.collection('uni-id-log') 9 | const requiredDataKeyList = ['user_id', 'username', 'email', 'mobile'] 10 | const dataCopy = {} 11 | for (let i = 0; i < requiredDataKeyList.length; i++) { 12 | const key = requiredDataKeyList[i] 13 | if (key in data && typeof data[key] === 'string') { 14 | dataCopy[key] = data[key] 15 | } 16 | } 17 | const { 18 | appId, 19 | clientIP, 20 | deviceId, 21 | userAgent 22 | } = this.getUniversalClientInfo() 23 | const logData = { 24 | appid: appId, 25 | device_id: deviceId, 26 | ip: clientIP, 27 | type, 28 | ua: userAgent, 29 | create_date: now, 30 | ...dataCopy 31 | } 32 | 33 | if (success) { 34 | logData.state = 1 35 | } else { 36 | logData.state = 0 37 | } 38 | return uniIdLogCollection.add(logData) 39 | } 40 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/validate.js: -------------------------------------------------------------------------------- 1 | module.exports = function (value = {}, schema = {}) { 2 | const validateRes = this.validator.validate(value, schema) 3 | if (validateRes) { 4 | delete validateRes.schemaKey 5 | throw validateRes 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/close-account.js: -------------------------------------------------------------------------------- 1 | const { 2 | setUserStatus 3 | } = require('../../lib/utils/update-user-info') 4 | const { 5 | USER_STATUS 6 | } = require('../../common/constants') 7 | 8 | /** 9 | * 注销账户 10 | * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#close-account 11 | * @returns 12 | */ 13 | module.exports = async function () { 14 | const { uid } = this.authInfo 15 | return setUserStatus(uid, USER_STATUS.CLOSED) 16 | } 17 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | setPwd: require('./set-pwd'), 3 | updatePwd: require('./update-pwd'), 4 | resetPwdBySms: require('./reset-pwd-by-sms'), 5 | resetPwdByEmail: require('./reset-pwd-by-email'), 6 | closeAccount: require('./close-account'), 7 | getAccountInfo: require('./get-account-info'), 8 | getRealNameInfo: require('./get-realname-info') 9 | } 10 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/admin/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | addUser: require('./add-user'), 3 | updateUser: require('./update-user') 4 | } 5 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/dev/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | getSupportedLoginType: require('./get-supported-login-type') 3 | } 4 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/external/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | externalRegister: require('./register'), 3 | externalLogin: require('./login'), 4 | updateUserInfoByExternal: require('./update-user-info') 5 | } 6 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/facial-recognition-verify/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | getFrvCertifyId: require('./get-certify-id'), 3 | getFrvAuthResult: require('./get-auth-result') 4 | } 5 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/fission/accept-invite.js: -------------------------------------------------------------------------------- 1 | const { 2 | acceptInvite 3 | } = require('../../lib/utils/fission') 4 | 5 | /** 6 | * 接受邀请 7 | * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#accept-invite 8 | * @param {Object} params 9 | * @param {String} params.inviteCode 邀请码 10 | * @returns 11 | */ 12 | module.exports = async function (params = {}) { 13 | const schema = { 14 | inviteCode: 'string' 15 | } 16 | this.middleware.validate(params, schema) 17 | const { 18 | inviteCode 19 | } = params 20 | const uid = this.authInfo.uid 21 | return acceptInvite({ 22 | uid, 23 | inviteCode 24 | }) 25 | } 26 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/fission/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | acceptInvite: require('./accept-invite'), 3 | getInvitedUser: require('./get-invited-user') 4 | } 5 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | login: require('./login'), 3 | loginBySms: require('./login-by-sms'), 4 | loginByUniverify: require('./login-by-univerify'), 5 | loginByWeixin: require('./login-by-weixin'), 6 | loginByAlipay: require('./login-by-alipay'), 7 | loginByQQ: require('./login-by-qq'), 8 | loginByApple: require('./login-by-apple'), 9 | loginByBaidu: require('./login-by-baidu'), 10 | loginByDingtalk: require('./login-by-dingtalk'), 11 | loginByToutiao: require('./login-by-toutiao'), 12 | loginByDouyin: require('./login-by-douyin'), 13 | loginByWeibo: require('./login-by-weibo'), 14 | loginByTaobao: require('./login-by-taobao'), 15 | loginByEmailLink: require('./login-by-email-link'), 16 | loginByEmailCode: require('./login-by-email-code'), 17 | loginByFacebook: require('./login-by-facebook'), 18 | loginByGoogle: require('./login-by-google'), 19 | loginByWeixinMobile: require('./login-by-weixin-mobile') 20 | } 21 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-baidu.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 百度登录 3 | * @param {Object} params 4 | * @returns 5 | */ 6 | module.exports = async function (params = {}) { 7 | // 此接口暂未实现,欢迎向我们提交pr 8 | throw new Error('api[loginByBaidu] is not yet implemented') 9 | } 10 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-dingtalk.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 钉钉登录 3 | * @param {Object} params 4 | * @returns 5 | */ 6 | module.exports = async function (params = {}) { 7 | // 此接口暂未实现,欢迎向我们提交pr 8 | throw new Error('api[loginByDingtalk] is not yet implemented') 9 | } 10 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-douyin.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 抖音登录 3 | * @param {Object} params 4 | * @returns 5 | */ 6 | module.exports = async function (params = {}) { 7 | // 此接口暂未实现,欢迎向我们提交pr 8 | throw new Error('api[loginByDouyin] is not yet implemented') 9 | } 10 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-email-code.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 邮箱验证码登录 3 | * @param {Object} params 4 | * @returns 5 | */ 6 | module.exports = async function (params = {}) { 7 | // 此接口暂未实现,欢迎向我们提交pr 8 | throw new Error('api[loginByEmailCode] is not yet implemented') 9 | } 10 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-email-link.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 邮箱点击链接登录 3 | * @param {Object} params 4 | * @returns 5 | */ 6 | module.exports = async function (params = {}) { 7 | // 此接口暂未实现,欢迎向我们提交pr 8 | throw new Error('api[loginByEmailLink] is not yet implemented') 9 | } 10 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-facebook.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Facebook登录 3 | * @param {Object} params 4 | * @returns 5 | */ 6 | module.exports = async function (params = {}) { 7 | // 此接口暂未实现,欢迎向我们提交pr 8 | throw new Error('api[loginByFacebook] is not yet implemented') 9 | } 10 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-google.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Google登录 3 | * @param {Object} params 4 | * @returns 5 | */ 6 | module.exports = async function (params = {}) { 7 | // 此接口暂未实现,欢迎向我们提交pr 8 | throw new Error('api[loginByGoogle] is not yet implemented') 9 | } 10 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-taobao.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 淘宝登录 3 | * @param {Object} params 4 | * @returns 5 | */ 6 | module.exports = async function (params = {}) { 7 | // 此接口暂未实现,欢迎向我们提交pr 8 | throw new Error('api[loginByTaobao] is not yet implemented') 9 | } 10 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-toutiao.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 头条登录 3 | * @param {Object} params 4 | * @returns 5 | */ 6 | module.exports = async function (params = {}) { 7 | // 此接口暂未实现,欢迎向我们提交pr 8 | throw new Error('api[loginByToutiao] is not yet implemented') 9 | } 10 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-weibo.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 微博登录 3 | * @param {Object} params 4 | * @returns 5 | */ 6 | module.exports = async function (params = {}) { 7 | // 此接口暂未实现,欢迎向我们提交pr 8 | throw new Error('api[loginByWeibo] is not yet implemented') 9 | } 10 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/logout/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | logout: require('./logout') 3 | } 4 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/logout/logout.js: -------------------------------------------------------------------------------- 1 | const { 2 | logout 3 | } = require('../../lib/utils/logout') 4 | 5 | /** 6 | * 用户退出登录 7 | * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#logout 8 | * @returns 9 | */ 10 | module.exports = async function () { 11 | await logout.call(this) 12 | return { 13 | errCode: 0 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/multi-end/authorize-app-login.js: -------------------------------------------------------------------------------- 1 | const { 2 | isAuthorizeApproved 3 | } = require('./utils') 4 | const { 5 | dbCmd, 6 | userCollection 7 | } = require('../../common/constants') 8 | 9 | /** 10 | * 授权用户登录应用 11 | * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#authorize-app-login 12 | * @param {Object} params 13 | * @param {String} params.uid 用户id 14 | * @param {String} params.appId 授权的应用的AppId 15 | * @returns 16 | */ 17 | module.exports = async function (params = {}) { 18 | const schema = { 19 | uid: 'string', 20 | appId: 'string' 21 | } 22 | this.middleware.validate(params, schema) 23 | const { 24 | uid, 25 | appId 26 | } = params 27 | await isAuthorizeApproved({ 28 | uid, 29 | appIdList: [appId] 30 | }) 31 | await userCollection.doc(uid).update({ 32 | dcloud_appid: dbCmd.push(appId) 33 | }) 34 | return { 35 | errCode: 0 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/multi-end/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | authorizeAppLogin: require('./authorize-app-login'), 3 | removeAuthorizedApp: require('./remove-authorized-app'), 4 | setAuthorizedApp: require('./set-authorized-app') 5 | } 6 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/multi-end/remove-authorized-app.js: -------------------------------------------------------------------------------- 1 | const { 2 | dbCmd, 3 | userCollection 4 | } = require('../../common/constants') 5 | 6 | /** 7 | * 移除用户登录授权 8 | * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#remove-authorized-app 9 | * @param {Object} params 10 | * @param {String} params.uid 用户id 11 | * @param {String} params.appId 取消授权的应用的AppId 12 | * @returns 13 | */ 14 | module.exports = async function (params = {}) { 15 | const schema = { 16 | uid: 'string', 17 | appId: 'string' 18 | } 19 | this.middleware.validate(params, schema) 20 | const { 21 | uid, 22 | appId 23 | } = params 24 | await userCollection.doc(uid).update({ 25 | dcloud_appid: dbCmd.pull(appId) 26 | }) 27 | return { 28 | errCode: 0 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/multi-end/set-authorized-app.js: -------------------------------------------------------------------------------- 1 | const { 2 | isAuthorizeApproved 3 | } = require('./utils') 4 | const { 5 | userCollection 6 | } = require('../../common/constants') 7 | 8 | /** 9 | * 设置用户允许登录的应用列表 10 | * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#set-authorized-app 11 | * @param {Object} params 12 | * @param {String} params.uid 用户id 13 | * @param {Array} params.appIdList 允许登录的应用AppId列表 14 | * @returns 15 | */ 16 | module.exports = async function (params = {}) { 17 | const schema = { 18 | uid: 'string', 19 | appIdList: 'array' 20 | } 21 | this.middleware.validate(params, schema) 22 | const { 23 | uid, 24 | appIdList 25 | } = params 26 | await isAuthorizeApproved({ 27 | uid, 28 | appIdList 29 | }) 30 | await userCollection.doc(uid).update({ 31 | dcloud_appid: appIdList 32 | }) 33 | return { 34 | errCode: 0 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/multi-end/utils.js: -------------------------------------------------------------------------------- 1 | const { 2 | userCollection 3 | } = require('../../common/constants') 4 | const { 5 | ERROR 6 | } = require('../../common/error') 7 | const { 8 | findUser 9 | } = require('../../lib/utils/account') 10 | 11 | async function isAuthorizeApproved ({ 12 | uid, 13 | appIdList 14 | } = {}) { 15 | const getUserRes = await userCollection.doc(uid).get() 16 | const userRecord = getUserRes.data[0] 17 | if (!userRecord) { 18 | throw { 19 | errCode: ERROR.ACCOUNT_NOT_EXISTS 20 | } 21 | } 22 | const { 23 | userMatched 24 | } = await findUser({ 25 | userQuery: userRecord, 26 | authorizedApp: appIdList 27 | }) 28 | 29 | if (userMatched.some(item => item._id !== uid)) { 30 | throw { 31 | errCode: ERROR.ACCOUNT_CONFLICT 32 | } 33 | } 34 | } 35 | 36 | module.exports = { 37 | isAuthorizeApproved 38 | } 39 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/register/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | registerUser: require('./register-user'), 3 | registerAdmin: require('./register-admin'), 4 | registerUserByEmail: require('./register-user-by-email') 5 | } 6 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | bindMobileBySms: require('./bind-mobile-by-sms'), 3 | bindMobileByUniverify: require('./bind-mobile-by-univerify'), 4 | bindMobileByMpWeixin: require('./bind-mobile-by-mp-weixin'), 5 | bindAlipay: require('./bind-alipay'), 6 | bindApple: require('./bind-apple'), 7 | bindQQ: require('./bind-qq'), 8 | bindWeixin: require('./bind-weixin'), 9 | unbindWeixin: require('./unbind-weixin'), 10 | unbindAlipay: require('./unbind-alipay'), 11 | unbindQQ: require('./unbind-qq'), 12 | unbindApple: require('./unbind-apple') 13 | } 14 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/unbind-alipay.js: -------------------------------------------------------------------------------- 1 | const { 2 | preUnBind, 3 | postUnBind 4 | } = require('../../lib/utils/relate') 5 | const { 6 | LOG_TYPE, dbCmd 7 | } = require('../../common/constants') 8 | 9 | /** 10 | * 解绑支付宝 11 | * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#unbind-alipay 12 | * @returns 13 | */ 14 | module.exports = async function () { 15 | const { uid } = this.authInfo 16 | 17 | await preUnBind.call(this, { 18 | uid, 19 | unBindAccount: { 20 | ali_openid: dbCmd.exists(true) 21 | }, 22 | logType: LOG_TYPE.UNBIND_ALIPAY 23 | }) 24 | 25 | return await postUnBind.call(this, { 26 | uid, 27 | unBindAccount: { 28 | ali_openid: dbCmd.remove() 29 | }, 30 | logType: LOG_TYPE.UNBIND_ALIPAY 31 | }) 32 | } 33 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/unbind-apple.js: -------------------------------------------------------------------------------- 1 | const { 2 | preUnBind, 3 | postUnBind 4 | } = require('../../lib/utils/relate') 5 | const { 6 | LOG_TYPE, dbCmd 7 | } = require('../../common/constants') 8 | 9 | /** 10 | * 解绑apple 11 | * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#unbind-apple 12 | * @returns 13 | */ 14 | module.exports = async function () { 15 | const { uid } = this.authInfo 16 | 17 | await preUnBind.call(this, { 18 | uid, 19 | unBindAccount: { 20 | apple_openid: dbCmd.exists(true) 21 | }, 22 | logType: LOG_TYPE.UNBIND_APPLE 23 | }) 24 | 25 | return await postUnBind.call(this, { 26 | uid, 27 | unBindAccount: { 28 | apple_openid: dbCmd.remove() 29 | }, 30 | logType: LOG_TYPE.UNBIND_APPLE 31 | }) 32 | } 33 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/unbind-qq.js: -------------------------------------------------------------------------------- 1 | const { 2 | preUnBind, 3 | postUnBind 4 | } = require('../../lib/utils/relate') 5 | const { 6 | LOG_TYPE, dbCmd 7 | } = require('../../common/constants') 8 | /** 9 | * 解绑QQ 10 | * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#unbind-qq 11 | * @returns 12 | */ 13 | module.exports = async function () { 14 | const { uid } = this.authInfo 15 | 16 | await preUnBind.call(this, { 17 | uid, 18 | unBindAccount: { 19 | qq_openid: dbCmd.exists(true), 20 | qq_unionid: dbCmd.exists(true) 21 | }, 22 | logType: LOG_TYPE.UNBIND_QQ 23 | }) 24 | 25 | return await postUnBind.call(this, { 26 | uid, 27 | unBindAccount: { 28 | qq_openid: dbCmd.remove(), 29 | qq_unionid: dbCmd.remove() 30 | }, 31 | logType: LOG_TYPE.UNBIND_QQ 32 | }) 33 | } 34 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/unbind-weixin.js: -------------------------------------------------------------------------------- 1 | const { 2 | preUnBind, 3 | postUnBind 4 | } = require('../../lib/utils/relate') 5 | const { 6 | LOG_TYPE, dbCmd 7 | } = require('../../common/constants') 8 | const { 9 | getWeixinPlatform 10 | } = require('../../lib/utils/weixin') 11 | 12 | /** 13 | * 解绑微信 14 | * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#unbind-weixin 15 | * @returns 16 | */ 17 | module.exports = async function () { 18 | const { uid } = this.authInfo 19 | // const weixinPlatform = getWeixinPlatform.call(this) 20 | 21 | await preUnBind.call(this, { 22 | uid, 23 | unBindAccount: { 24 | wx_openid: dbCmd.exists(true), 25 | wx_unionid: dbCmd.exists(true) 26 | }, 27 | logType: LOG_TYPE.UNBIND_WEIXIN 28 | }) 29 | 30 | return await postUnBind.call(this, { 31 | uid, 32 | unBindAccount: { 33 | wx_openid: dbCmd.remove(), 34 | wx_unionid: dbCmd.remove() 35 | }, 36 | logType: LOG_TYPE.UNBIND_WEIXIN 37 | }) 38 | } 39 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/utils/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | refreshToken: require('./refresh-token'), 3 | setPushCid: require('./set-push-cid'), 4 | secureNetworkHandshakeByWeixin: require('./secure-network-handshake-by-weixin') 5 | } 6 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/utils/refresh-token.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 刷新token 3 | * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#refresh-token 4 | */ 5 | module.exports = async function () { 6 | const refreshTokenRes = await this.uniIdCommon.refreshToken({ 7 | token: this.getUniversalUniIdToken() 8 | }) 9 | const { 10 | errCode, 11 | token, 12 | tokenExpired 13 | } = refreshTokenRes 14 | if (errCode) { 15 | throw refreshTokenRes 16 | } 17 | return { 18 | errCode: 0, 19 | newToken: { 20 | token, 21 | tokenExpired 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/create-captcha.js: -------------------------------------------------------------------------------- 1 | const { 2 | CAPTCHA_SCENE 3 | } = require('../../common/constants') 4 | const { 5 | ERROR 6 | } = require('../../common/error') 7 | 8 | /** 9 | * 创建图形验证码 10 | * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#create-captcha 11 | * @param {Object} params 12 | * @param {String} params.scene 图形验证码使用场景 13 | * @returns 14 | */ 15 | module.exports = async function (params = {}) { 16 | const schema = { 17 | scene: 'string' 18 | } 19 | this.middleware.validate(params, schema) 20 | 21 | const { deviceId, platform } = this.getUniversalClientInfo() 22 | const { 23 | scene 24 | } = params 25 | if (!(Object.values(CAPTCHA_SCENE).includes(scene))) { 26 | throw { 27 | errCode: ERROR.INVALID_PARAM 28 | } 29 | } 30 | return this.uniCaptcha.create({ 31 | deviceId, 32 | scene, 33 | uniPlatform: platform 34 | }) 35 | } 36 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | createCaptcha: require('./create-captcha'), 3 | refreshCaptcha: require('./refresh-captcha'), 4 | sendSmsCode: require('./send-sms-code'), 5 | sendEmailLink: require('./send-email-link'), 6 | sendEmailCode: require('./send-email-code') 7 | } 8 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/refresh-captcha.js: -------------------------------------------------------------------------------- 1 | const { 2 | CAPTCHA_SCENE 3 | } = require('../../common/constants') 4 | const { 5 | ERROR 6 | } = require('../../common/error') 7 | 8 | /** 9 | * 刷新图形验证码 10 | * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#refresh-captcha 11 | * @param {Object} params 12 | * @param {String} params.scene 图形验证码使用场景 13 | * @returns 14 | */ 15 | module.exports = async function (params = {}) { 16 | const schema = { 17 | scene: 'string' 18 | } 19 | this.middleware.validate(params, schema) 20 | 21 | const { deviceId, platform } = this.getUniversalClientInfo() 22 | 23 | const { 24 | scene 25 | } = params 26 | if (!(Object.values(CAPTCHA_SCENE).includes(scene))) { 27 | throw { 28 | errCode: ERROR.INVALID_PARAM 29 | } 30 | } 31 | return this.uniCaptcha.refresh({ 32 | deviceId, 33 | scene, 34 | uniPlatform: platform 35 | }) 36 | } 37 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/send-email-link.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 发送邮箱链接,可用于登录、注册、绑定邮箱、修改密码等操作 3 | * @tutorial 4 | * @param {Object} params 5 | * @param {String} params.email 邮箱 6 | * @param {String} params.scene 使用场景 7 | * @returns 8 | */ 9 | module.exports = async function (params = {}) { 10 | // 此接口暂未实现,欢迎向我们提交pr 11 | throw new Error('api[sendEmailLink] is not yet implemented') 12 | } 13 | -------------------------------------------------------------------------------- /uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "uni-id-co", 3 | "version": "1.1.20", 4 | "description": "", 5 | "main": "index.js", 6 | "keywords": [], 7 | "author": "DCloud", 8 | "dependencies": { 9 | "uni-captcha": "file:..\/..\/..\/..\/uni-captcha\/uniCloud\/cloudfunctions\/common\/uni-captcha", 10 | "uni-config-center": "file:..\/..\/..\/..\/uni-config-center\/uniCloud\/cloudfunctions\/common\/uni-config-center", 11 | "uni-id-common": "file:..\/..\/..\/..\/uni-id-common\/uniCloud\/cloudfunctions\/common\/uni-id-common", 12 | "uni-open-bridge-common": "file:..\/..\/..\/..\/uni-open-bridge-common\/uniCloud\/cloudfunctions\/common\/uni-open-bridge-common", 13 | "uni-cloud-s2s": "file:..\/..\/..\/..\/uni-cloud-s2s\/uniCloud\/cloudfunctions\/common\/uni-cloud-s2s" 14 | }, 15 | "extensions": { 16 | "uni-cloud-redis": {}, 17 | "uni-cloud-sms": {}, 18 | "uni-cloud-verify": {} 19 | }, 20 | "cloudfunction-config": { 21 | "keepRunningAfterReturn": false 22 | }, 23 | "origin-plugin-dev-name": "uni-template-admin", 24 | "origin-plugin-version": "2.4.25", 25 | "plugin-dev-name": "uni-template-admin", 26 | "plugin-version": "2.4.25" 27 | } -------------------------------------------------------------------------------- /uni_modules/uni-open-bridge-common/uniCloud/cloudfunctions/common/uni-open-bridge-common/bridge-error.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | class BridgeError extends Error { 4 | 5 | constructor(code, message) { 6 | super(message) 7 | 8 | this._code = code 9 | } 10 | 11 | get code() { 12 | return this._code 13 | } 14 | 15 | get errCode() { 16 | return this._code 17 | } 18 | 19 | get errMsg() { 20 | return this.message 21 | } 22 | } 23 | 24 | module.exports = { 25 | BridgeError 26 | } 27 | -------------------------------------------------------------------------------- /uni_modules/uni-open-bridge-common/uniCloud/cloudfunctions/common/uni-open-bridge-common/consts.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const TAG = "UNI_OPEN_BRIDGE" 4 | 5 | const HTTP_STATUS = { 6 | SUCCESS: 200 7 | } 8 | 9 | const ProviderType = { 10 | WEIXIN_MP: 'weixin-mp', 11 | WEIXIN_H5: 'weixin-h5', 12 | WEIXIN_APP: 'weixin-app', 13 | WEIXIN_WEB: 'weixin-web', 14 | QQ_MP: 'qq-mp', 15 | QQ_APP: 'qq-app' 16 | } 17 | 18 | // old 19 | const PlatformType = ProviderType 20 | 21 | const ErrorCodeType = { 22 | SYSTEM_ERROR: TAG + "_SYSTEM_ERROR" 23 | } 24 | 25 | module.exports = { 26 | HTTP_STATUS, 27 | ProviderType, 28 | PlatformType, 29 | ErrorCodeType 30 | } 31 | -------------------------------------------------------------------------------- /uni_modules/uni-open-bridge-common/uniCloud/cloudfunctions/common/uni-open-bridge-common/package.json: -------------------------------------------------------------------------------- 1 | {"name":"uni-open-bridge-common","version":"1.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":"","license":"ISC","dependencies":{"uni-config-center":"file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"},"origin-plugin-dev-name":"uni-template-admin","origin-plugin-version":"2.4.25","plugin-dev-name":"uni-template-admin","plugin-version":"2.4.25"} 2 | -------------------------------------------------------------------------------- /uni_modules/uni-open-bridge-common/uniCloud/cloudfunctions/common/uni-open-bridge-common/validator.js: -------------------------------------------------------------------------------- 1 | const Validator = { 2 | 3 | Key(keyArray, parameters) { 4 | for (let i = 0; i < keyArray.length; i++) { 5 | const keyName = keyArray[i] 6 | if (typeof parameters[keyName] !== 'string') { 7 | Validator.ThrowNewError(`Invalid ${keyName}`) 8 | } 9 | if (parameters[keyName].length < 1) { 10 | Validator.ThrowNewError(`Invalid ${keyName}`) 11 | } 12 | } 13 | }, 14 | 15 | Value(value) { 16 | if (value === undefined) { 17 | Validator.ThrowNewError('Invalid Value') 18 | } 19 | if (typeof value !== 'object') { 20 | Validator.ThrowNewError('Invalid Value Type') 21 | } 22 | }, 23 | 24 | ThrowNewError(message) { 25 | throw new Error(message) 26 | } 27 | } 28 | 29 | module.exports = { 30 | Validator 31 | } 32 | -------------------------------------------------------------------------------- /uni_modules/uni-sign-in/uniCloud/cloudfunctions/common/sign-in/package.json: -------------------------------------------------------------------------------- 1 | {"name":"sign-in","version":"1.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":"","license":"ISC","origin-plugin-dev-name":"uni-template-admin","origin-plugin-version":"2.4.25","plugin-dev-name":"uni-template-admin","plugin-version":"2.4.25"} 2 | -------------------------------------------------------------------------------- /uni_modules/uni-sign-in/uniCloud/cloudfunctions/rewarded-video-ad-notify-url/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "rewarded-video-ad-notify-url", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "sign-in": "file:..\/common\/sign-in", 13 | "uni-config-center": "file:..\/..\/..\/..\/uni-config-center\/uniCloud\/cloudfunctions\/common\/uni-config-center" 14 | }, 15 | "origin-plugin-dev-name": "uni-template-admin", 16 | "origin-plugin-version": "2.4.25", 17 | "plugin-dev-name": "uni-template-admin", 18 | "plugin-version": "2.4.25" 19 | } -------------------------------------------------------------------------------- /uni_modules/uni-swipe-action/changelog.md: -------------------------------------------------------------------------------- 1 | ## 1.1.9(2021-05-12) 2 | - 新增 项目示例地址 3 | ## 1.1.8(2021-03-26) 4 | - 修复 微信小程序 nv_navigator is not defined 报错的bug 5 | ## 1.1.7(2021-02-05) 6 | - 调整为uni_modules目录规范 7 | - 新增 左侧滑动 8 | - 新增 插槽使用方式 9 | - 新增 threshold 属性,可以控制滑动缺省值 10 | - 优化 长列表滚动性能 11 | - 修复 滚动页面时触发组件滑动的Bug 12 | -------------------------------------------------------------------------------- /uni_modules/uni-swipe-action/components/uni-swipe-action-item/isPC.js: -------------------------------------------------------------------------------- 1 | export function isPC() { 2 | var userAgentInfo = navigator.userAgent; 3 | var Agents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"]; 4 | var flag = true; 5 | for (let v = 0; v < Agents.length - 1; v++) { 6 | if (userAgentInfo.indexOf(Agents[v]) > 0) { 7 | flag = false; 8 | break; 9 | } 10 | } 11 | return flag; 12 | } -------------------------------------------------------------------------------- /uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /uni_modules/uni-upgrade-center-app/readme.md: -------------------------------------------------------------------------------- 1 | 文档已移至 [uni-upgrade-center](https://uniapp.dcloud.net.cn/uniCloud/upgrade-center.html) -------------------------------------------------------------------------------- /uni_modules/uni-upgrade-center-app/static/app/app_update_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/uni_modules/uni-upgrade-center-app/static/app/app_update_close.png -------------------------------------------------------------------------------- /uni_modules/uni-upgrade-center-app/static/app/bg_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/uni_modules/uni-upgrade-center-app/static/app/bg_top.png -------------------------------------------------------------------------------- /uni_modules/uni-upgrade-center-app/uniCloud/database/db_init.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /uni_modules/uts-openSchema/changelog.md: -------------------------------------------------------------------------------- 1 | ## 1.1.1(2024-12-16) 2 | - 修复 canOpenURL 在安卓端可能会报类型错误的问题 3 | ## 1.1.0(2024-12-06) 4 | - 新增 canOpenURL UTS API,可用此API判断url是否可以跳转 5 | ## 1.0.1(2024-11-13) 6 | - 修复 Android 打开部分 schema 时没有跳转到目标应用的 Bug 7 | ## 1.0.0(2024-04-25) 8 | - 更新 在 Android 和 iOS 上打开链接的 UTS API 9 | -------------------------------------------------------------------------------- /uni_modules/uts-openSchema/utssdk/app-android/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "minSdkVersion": "21" 3 | } -------------------------------------------------------------------------------- /uni_modules/uts-openSchema/utssdk/app-android/index.uts: -------------------------------------------------------------------------------- 1 | import Intent from 'android.content.Intent' 2 | import Uri from 'android.net.Uri' 3 | import { OpenSchema, CanOpenURL } from '../interface.uts' 4 | 5 | export const openSchema : OpenSchema = function (url : string) { 6 | if (canOpenURL(url)) { 7 | const context = UTSAndroid.getUniActivity()! 8 | const uri = Uri.parse(url) 9 | const intent = new Intent(Intent.ACTION_VIEW, uri) 10 | intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK) 11 | intent.setData(uri) 12 | context.startActivity(intent) 13 | } else { 14 | console.error('url param Error:', JSON.stringify(url)) 15 | } 16 | } 17 | 18 | export const canOpenURL : CanOpenURL = function (url : string) : boolean { 19 | if (typeof url === 'string' && url.length > 0) { 20 | const context = UTSAndroid.getUniActivity()! 21 | const uri = Uri.parse(url) 22 | const intent = new Intent(Intent.ACTION_VIEW, uri) 23 | return intent.resolveActivity(context.packageManager) != null ? true : false 24 | } else { 25 | return false 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /uni_modules/uts-openSchema/utssdk/app-ios/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "deploymentTarget": "12.0" 3 | } -------------------------------------------------------------------------------- /uni_modules/uts-openSchema/utssdk/app-ios/index.uts: -------------------------------------------------------------------------------- 1 | import { OpenSchema, CanOpenURL } from '../interface.uts' 2 | 3 | export const openSchema : OpenSchema = function (url : string) : void { 4 | if (canOpenURL(url)) { 5 | let uri = new URL(string = url) 6 | UIApplication.shared.open(uri!, options = new Map(), completionHandler = null) 7 | } else { 8 | console.error('url param Error: ', url) 9 | } 10 | } 11 | 12 | export const canOpenURL : CanOpenURL = function (url : string) : boolean { 13 | if (typeof url == 'string' && url.length > 0) { 14 | let uri = new URL(string = url) 15 | if (uri != null && UIApplication.shared.canOpenURL(uri!)) { 16 | return true 17 | } 18 | } 19 | return false 20 | } 21 | -------------------------------------------------------------------------------- /uni_modules/uts-openSchema/utssdk/interface.uts: -------------------------------------------------------------------------------- 1 | export type OpenSchema = (url : string) => void 2 | export type CanOpenURL = (url : string) => boolean 3 | -------------------------------------------------------------------------------- /uni_modules/uts-openSchema/utssdk/web/index.uts: -------------------------------------------------------------------------------- 1 | import { OpenSchema, CanOpenURL } from '../interface.uts' 2 | 3 | export const openSchema : OpenSchema = function (url : string) : void { 4 | location.href = url; 5 | } 6 | 7 | export const canOpenURL : CanOpenURL = function (url : string) : boolean { 8 | if (url != "") { 9 | return true; 10 | } 11 | return false; 12 | } 13 | -------------------------------------------------------------------------------- /uni_modules/uts-progressNotification/changelog.md: -------------------------------------------------------------------------------- 1 | ## 1.1.1(2024-09-03) 2 | 去除TypeScript警告 3 | ## 1.1.0(2024-03-08) 4 | 修复uniapp打包报错问题 5 | ## 1.0.9(2024-02-29) 6 | 去除代码过时警告 7 | ## 1.0.8(2023-12-21) 8 | 去除app-ios目录 9 | ## 1.0.7(2023-12-11) 10 | 去除无用代码 11 | ## 1.0.6(2023-12-11) 12 | 修改文档 13 | ## 1.0.5(2023-12-11) 14 | 1.修改插件名称 15 | 2.修改插件引入方式为import导入 16 | ## 1.0.4(2023-11-30) 17 | 1. createNotificationProgress增加`onClick`回调 18 | 2.修复在小米部分系统上,通知消息会归类于不重要通知的bug 19 | ## 1.0.3(2023-11-28) 20 | 更新截图 21 | ## 1.0.2(2023-11-28) 22 | 修改资源的包名 23 | ## 1.0.1(2023-11-28) 24 | 更新文档 25 | ## 1.0.0(2023-11-28) 26 | Android通知栏显示进度插件 27 | -------------------------------------------------------------------------------- /uni_modules/uts-progressNotification/readme.md: -------------------------------------------------------------------------------- 1 | # uts-progressNotification 2 | 3 | ## 使用说明 4 | 5 | Android平台创建显示进度的通知栏消息 6 | 7 | **注意: 需要自定义基座,否则点击通知栏消息不会拉起应用** 8 | 9 | ### 导入 10 | 11 | 需要import导入插件 12 | 13 | ### createNotificationProgress(options : CreateNotificationProgressOptions) : void, 14 | 15 | 创建显示进度的通知栏消息 16 | 17 | 参数说明 18 | 19 | ``` 20 | export type CreateNotificationProgressOptions = { 21 | /** 22 | * 通知标题 23 | * @defaultValue 应用名称 24 | */ 25 | title ?: string | null 26 | /** 27 | * 通知内容 28 | */ 29 | content : string, 30 | /** 31 | * 进度 32 | */ 33 | progress : number, 34 | /** 35 | * 点击通知消息回调 36 | * @defaultValue null 37 | */ 38 | onClick? : (() => void) | null 39 | } 40 | ``` 41 | 42 | ### finishNotificationProgress(options: FinishNotificationProgressOptions) : void 43 | 44 | 完成时调用的API,比如下载完成后需要显示下载完成并隐藏进度时调用。 45 | 46 | 参数说明 47 | 48 | 49 | ``` 50 | export type FinishNotificationProgressOptions = { 51 | /** 52 | * 通知标题 53 | * @defaultValue 应用名称 54 | */ 55 | title ?: string | null 56 | /** 57 | * 通知内容 58 | */ 59 | content : string, 60 | /** 61 | * 点击通知消息回调 62 | */ 63 | onClick : () => void 64 | } 65 | ``` 66 | 67 | 68 | ### cancelNotificationProgress() : void 69 | 70 | 取消通知消息显示 71 | 72 | -------------------------------------------------------------------------------- /uni_modules/uts-progressNotification/utssdk/app-android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /uni_modules/uts-progressNotification/utssdk/app-android/callbacks.uts: -------------------------------------------------------------------------------- 1 | let globalNotificationProgressCallBack : (() => void) | null = () => { } 2 | let globalNotificationProgressFinishCallBack : (() => void) | null = () => { } 3 | 4 | export function setGlobalNotificationProgressCallBack(callBack : (() => void) | null) : void { 5 | globalNotificationProgressCallBack = callBack 6 | } 7 | 8 | export function getGlobalNotificationProgressCallBack() : (() => void) | null { 9 | return globalNotificationProgressCallBack 10 | } 11 | 12 | 13 | export function setGlobalNotificationProgressFinishCallBack(callBack : (() => void) | null) : void { 14 | globalNotificationProgressFinishCallBack = callBack 15 | } 16 | 17 | export function getGlobalNotificationProgressFinishCallBack() : (() => void) | null { 18 | return globalNotificationProgressFinishCallBack 19 | } 20 | -------------------------------------------------------------------------------- /uni_modules/uts-progressNotification/utssdk/app-android/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "minSdkVersion": "19" 3 | } -------------------------------------------------------------------------------- /uni_modules/uts-progressNotification/utssdk/app-android/constant.uts: -------------------------------------------------------------------------------- 1 | export const ACTION_DOWNLOAD_FINISH = "ACTION_DOWNLOAD_FINISH" 2 | export const ACTION_DOWNLOAD_PROGRESS = "ACTION_DOWNLOAD_PROGRESS" -------------------------------------------------------------------------------- /uni_modules/uts-progressNotification/utssdk/app-android/res/values/notification_progress_styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | -------------------------------------------------------------------------------- /uni_modules/uts-progressNotification/utssdk/interface.uts: -------------------------------------------------------------------------------- 1 | export type CreateNotificationProgressOptions = { 2 | /** 3 | * 通知标题 4 | * @defaultValue 应用名称 5 | */ 6 | title ?: string | null 7 | /** 8 | * 通知内容 9 | */ 10 | content : string, 11 | /** 12 | * 进度 13 | */ 14 | progress : number, 15 | /** 16 | * 点击通知消息回调 17 | * @defaultValue null 18 | */ 19 | onClick? : (() => void) | null 20 | } 21 | 22 | 23 | export type FinishNotificationProgressOptions = { 24 | /** 25 | * 通知标题 26 | * @defaultValue 应用名称 27 | */ 28 | title ?: string | null 29 | /** 30 | * 通知内容 31 | */ 32 | content : string, 33 | /** 34 | * 点击通知消息回调 35 | */ 36 | onClick : () => void 37 | } 38 | 39 | 40 | export type CreateNotificationProgress = (options : CreateNotificationProgressOptions) => void; 41 | 42 | 43 | export type CancelNotificationProgress = () => void; 44 | 45 | 46 | export type FinishNotificationProgress = (options: FinishNotificationProgressOptions) => void 47 | -------------------------------------------------------------------------------- /uni_modules/uts-progressNotification/utssdk/unierror.uts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/uni_modules/uts-progressNotification/utssdk/unierror.uts -------------------------------------------------------------------------------- /unpackage/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/.DS_Store -------------------------------------------------------------------------------- /unpackage/dist/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/.DS_Store -------------------------------------------------------------------------------- /unpackage/dist/build/.automator/app-plus/.automator.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/.automator/app-plus/.automator.json -------------------------------------------------------------------------------- /unpackage/dist/build/.automator/h5/.automator.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/.automator/h5/.automator.json -------------------------------------------------------------------------------- /unpackage/dist/build/.tsc/app-android/uni_modules/uts-progressNotification/utssdk/app-android/callbacks.uts.ts: -------------------------------------------------------------------------------- 1 | let globalNotificationProgressCallBack : (() => void) | null = () => { } 2 | let globalNotificationProgressFinishCallBack : (() => void) | null = () => { } 3 | 4 | export function setGlobalNotificationProgressCallBack(callBack : (() => void) | null) : void { 5 | globalNotificationProgressCallBack = callBack 6 | } 7 | 8 | export function getGlobalNotificationProgressCallBack() : (() => void) | null { 9 | return globalNotificationProgressCallBack 10 | } 11 | 12 | 13 | export function setGlobalNotificationProgressFinishCallBack(callBack : (() => void) | null) : void { 14 | globalNotificationProgressFinishCallBack = callBack 15 | } 16 | 17 | export function getGlobalNotificationProgressFinishCallBack() : (() => void) | null { 18 | return globalNotificationProgressFinishCallBack 19 | } 20 | -------------------------------------------------------------------------------- /unpackage/dist/build/.tsc/app-android/uni_modules/uts-progressNotification/utssdk/app-android/constant.uts.ts: -------------------------------------------------------------------------------- 1 | export const ACTION_DOWNLOAD_FINISH = "ACTION_DOWNLOAD_FINISH" 2 | export const ACTION_DOWNLOAD_PROGRESS = "ACTION_DOWNLOAD_PROGRESS" -------------------------------------------------------------------------------- /unpackage/dist/build/.tsc/app-android/uni_modules/uts-progressNotification/utssdk/interface.uts.ts: -------------------------------------------------------------------------------- 1 | export type CreateNotificationProgressOptions = { 2 | /** 3 | * 通知标题 4 | * @defaultValue 应用名称 5 | */ 6 | title ?: string | null 7 | /** 8 | * 通知内容 9 | */ 10 | content : string, 11 | /** 12 | * 进度 13 | */ 14 | progress : number, 15 | /** 16 | * 点击通知消息回调 17 | * @defaultValue null 18 | */ 19 | onClick? : (() => void) | null 20 | } 21 | 22 | 23 | export type FinishNotificationProgressOptions = { 24 | /** 25 | * 通知标题 26 | * @defaultValue 应用名称 27 | */ 28 | title ?: string | null 29 | /** 30 | * 通知内容 31 | */ 32 | content : string, 33 | /** 34 | * 点击通知消息回调 35 | */ 36 | onClick : () => void 37 | } 38 | 39 | 40 | export type CreateNotificationProgress = (options : CreateNotificationProgressOptions) => void; 41 | 42 | 43 | export type CancelNotificationProgress = () => void; 44 | 45 | 46 | export type FinishNotificationProgress = (options: FinishNotificationProgressOptions) => void 47 | -------------------------------------------------------------------------------- /unpackage/dist/build/.tsc/app-android/uni_modules/uts-progressNotification/utssdk/unierror.uts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/.tsc/app-android/uni_modules/uts-progressNotification/utssdk/unierror.uts.ts -------------------------------------------------------------------------------- /unpackage/dist/build/.tsc/app-ios/uni_modules/uts-progressNotification/utssdk/app-android/callbacks.uts.ts: -------------------------------------------------------------------------------- 1 | let globalNotificationProgressCallBack : (() => void) | null = () => { } 2 | let globalNotificationProgressFinishCallBack : (() => void) | null = () => { } 3 | 4 | export function setGlobalNotificationProgressCallBack(callBack : (() => void) | null) : void { 5 | globalNotificationProgressCallBack = callBack 6 | } 7 | 8 | export function getGlobalNotificationProgressCallBack() : (() => void) | null { 9 | return globalNotificationProgressCallBack 10 | } 11 | 12 | 13 | export function setGlobalNotificationProgressFinishCallBack(callBack : (() => void) | null) : void { 14 | globalNotificationProgressFinishCallBack = callBack 15 | } 16 | 17 | export function getGlobalNotificationProgressFinishCallBack() : (() => void) | null { 18 | return globalNotificationProgressFinishCallBack 19 | } 20 | -------------------------------------------------------------------------------- /unpackage/dist/build/.tsc/app-ios/uni_modules/uts-progressNotification/utssdk/app-android/constant.uts.ts: -------------------------------------------------------------------------------- 1 | export const ACTION_DOWNLOAD_FINISH = "ACTION_DOWNLOAD_FINISH" 2 | export const ACTION_DOWNLOAD_PROGRESS = "ACTION_DOWNLOAD_PROGRESS" -------------------------------------------------------------------------------- /unpackage/dist/build/.tsc/app-ios/uni_modules/uts-progressNotification/utssdk/interface.uts.ts: -------------------------------------------------------------------------------- 1 | export type CreateNotificationProgressOptions = { 2 | /** 3 | * 通知标题 4 | * @defaultValue 应用名称 5 | */ 6 | title ?: string | null 7 | /** 8 | * 通知内容 9 | */ 10 | content : string, 11 | /** 12 | * 进度 13 | */ 14 | progress : number, 15 | /** 16 | * 点击通知消息回调 17 | * @defaultValue null 18 | */ 19 | onClick? : (() => void) | null 20 | } 21 | 22 | 23 | export type FinishNotificationProgressOptions = { 24 | /** 25 | * 通知标题 26 | * @defaultValue 应用名称 27 | */ 28 | title ?: string | null 29 | /** 30 | * 通知内容 31 | */ 32 | content : string, 33 | /** 34 | * 点击通知消息回调 35 | */ 36 | onClick : () => void 37 | } 38 | 39 | 40 | export type CreateNotificationProgress = (options : CreateNotificationProgressOptions) => void; 41 | 42 | 43 | export type CancelNotificationProgress = () => void; 44 | 45 | 46 | export type FinishNotificationProgress = (options: FinishNotificationProgressOptions) => void 47 | -------------------------------------------------------------------------------- /unpackage/dist/build/.tsc/app-ios/uni_modules/uts-progressNotification/utssdk/unierror.uts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/.tsc/app-ios/uni_modules/uts-progressNotification/utssdk/unierror.uts.ts -------------------------------------------------------------------------------- /unpackage/dist/build/.uvue/app-android/uni_modules/uts-progressNotification/utssdk/app-android/callbacks.uts: -------------------------------------------------------------------------------- 1 | let globalNotificationProgressCallBack: (() => void) | null = () => { }; 2 | let globalNotificationProgressFinishCallBack: (() => void) | null = () => { }; 3 | export function setGlobalNotificationProgressCallBack(callBack: (() => void) | null): void { 4 | globalNotificationProgressCallBack = callBack; 5 | } 6 | export function getGlobalNotificationProgressCallBack(): (() => void) | null { 7 | return globalNotificationProgressCallBack; 8 | } 9 | export function setGlobalNotificationProgressFinishCallBack(callBack: (() => void) | null): void { 10 | globalNotificationProgressFinishCallBack = callBack; 11 | } 12 | export function getGlobalNotificationProgressFinishCallBack(): (() => void) | null { 13 | return globalNotificationProgressFinishCallBack; 14 | } 15 | -------------------------------------------------------------------------------- /unpackage/dist/build/.uvue/app-android/uni_modules/uts-progressNotification/utssdk/app-android/constant.uts: -------------------------------------------------------------------------------- 1 | export const ACTION_DOWNLOAD_FINISH = "ACTION_DOWNLOAD_FINISH"; 2 | export const ACTION_DOWNLOAD_PROGRESS = "ACTION_DOWNLOAD_PROGRESS"; 3 | -------------------------------------------------------------------------------- /unpackage/dist/build/.uvue/app-android/uni_modules/uts-progressNotification/utssdk/interface.uts: -------------------------------------------------------------------------------- 1 | export type CreateNotificationProgressOptions = { 2 | /** 3 | * 通知标题 4 | * @defaultValue 应用名称 5 | */ 6 | title?: string | null; 7 | /** 8 | * 通知内容 9 | */ 10 | content: string; 11 | /** 12 | * 进度 13 | */ 14 | progress: number; 15 | /** 16 | * 点击通知消息回调 17 | * @defaultValue null 18 | */ 19 | onClick?: (() => void) | null; 20 | }; 21 | export type FinishNotificationProgressOptions = { 22 | /** 23 | * 通知标题 24 | * @defaultValue 应用名称 25 | */ 26 | title?: string | null; 27 | /** 28 | * 通知内容 29 | */ 30 | content: string; 31 | /** 32 | * 点击通知消息回调 33 | */ 34 | onClick: () => void; 35 | }; 36 | export type CreateNotificationProgress = (options: CreateNotificationProgressOptions) => void; 37 | export type CancelNotificationProgress = () => void; 38 | export type FinishNotificationProgress = (options: FinishNotificationProgressOptions) => void; 39 | -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/__uniapperror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/__uniapperror.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/__uniappsuccess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/__uniappsuccess.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/__uniappview.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 14 | View 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/ad/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/ad/1.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/ad/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/ad/2.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/ad/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/ad/3.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/user/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/user/placeholder.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/user/saber.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/user/saber.jpg -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/uview/common/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/uview/common/favicon.ico -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/uview/common/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/uview/common/logo.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/uview/example/component.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/uview/example/component.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/uview/example/component_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/uview/example/component_select.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/uview/example/js.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/uview/example/js.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/uview/example/js_bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/uview/example/js_bak.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/uview/example/js_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/uview/example/js_select.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/uview/example/js_select_bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/uview/example/js_select_bak.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/uview/example/min_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/uview/example/min_button.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/uview/example/min_button_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/uview/example/min_button_select.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/uview/example/template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/uview/example/template.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/static/uview/example/template_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/static/uview/example/template_select.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/uni_modules/uni-upgrade-center-app/static/app/app_update_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/uni_modules/uni-upgrade-center-app/static/app/app_update_close.png -------------------------------------------------------------------------------- /unpackage/dist/build/app-plus/uni_modules/uni-upgrade-center-app/static/app/bg_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/app-plus/uni_modules/uni-upgrade-center-app/static/app/bg_top.png -------------------------------------------------------------------------------- /unpackage/dist/build/web/index.html: -------------------------------------------------------------------------------- 1 | Tabbar
-------------------------------------------------------------------------------- /unpackage/dist/build/web/static/ad/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/ad/1.png -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/ad/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/ad/2.png -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/ad/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/ad/3.png -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/js/pages-my-nativeMapComponent.20fa1de4.js: -------------------------------------------------------------------------------- 1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-nativeMapComponent"],{a357:function(t,n,e){"use strict";e.r(n);var a=e("da08"),u=e("d6f7");for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);var r=e("828b"),f=Object(r["a"])(u["default"],a["b"],a["c"],!1,null,"233262b0",null,!1,a["a"],void 0);n["default"]=f.exports},a59b:function(t,n,e){"use strict";e("6a54"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={}},d6f7:function(t,n,e){"use strict";e.r(n);var a=e("a59b"),u=e.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(i);n["default"]=u.a},da08:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var a=function(){var t=this.$createElement,n=this._self._c||t;return n("div",[n("testmap",{staticStyle:{width:"100%",height:"600px"}})],1)},u=[]}}]); -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/js/pages-web-banner-web.ec267241.js: -------------------------------------------------------------------------------- 1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-web-banner-web"],{"43a7":function(n,t,e){"use strict";e("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={data:function(){return{params:{}}},onLoad:function(n){this.params=n},computed:{url:function(){return this.params.url}}}},7782:function(n,t,e){"use strict";e.r(t);var u=e("a725"),a=e("da49");for(var r in a)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(r);var i=e("828b"),c=Object(i["a"])(a["default"],u["b"],u["c"],!1,null,"0fad1904",null,!1,u["a"],void 0);t["default"]=c.exports},a725:function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var u=function(){var n=this.$createElement,t=this._self._c||n;return t("v-uni-view",[t("v-uni-web-view",{attrs:{src:this.url}})],1)},a=[]},da49:function(n,t,e){"use strict";e.r(t);var u=e("43a7"),a=e.n(u);for(var r in u)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(r);t["default"]=a.a}}]); -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/user/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/user/placeholder.png -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/user/saber.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/user/saber.jpg -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/uview/common/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/uview/common/favicon.ico -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/uview/common/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/uview/common/logo.png -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/uview/example/component.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/uview/example/component.png -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/uview/example/component_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/uview/example/component_select.png -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/uview/example/js.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/uview/example/js.png -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/uview/example/js_bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/uview/example/js_bak.png -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/uview/example/js_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/uview/example/js_select.png -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/uview/example/js_select_bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/uview/example/js_select_bak.png -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/uview/example/min_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/uview/example/min_button.png -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/uview/example/min_button_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/uview/example/min_button_select.png -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/uview/example/template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/uview/example/template.png -------------------------------------------------------------------------------- /unpackage/dist/build/web/static/uview/example/template_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/build/web/static/uview/example/template_select.png -------------------------------------------------------------------------------- /unpackage/dist/dev/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/.DS_Store -------------------------------------------------------------------------------- /unpackage/dist/dev/.automator/app-plus/.automator.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/.automator/app-plus/.automator.json -------------------------------------------------------------------------------- /unpackage/dist/dev/.automator/mp-weixin/.automator.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/.automator/mp-weixin/.automator.json -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/__uniapperror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/__uniapperror.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/__uniappsuccess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/__uniappsuccess.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/__uniappview.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 14 | View 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/ad/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/ad/1.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/ad/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/ad/2.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/ad/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/ad/3.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/user/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/user/placeholder.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/user/saber.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/user/saber.jpg -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/uview/common/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/uview/common/favicon.ico -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/uview/common/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/uview/common/logo.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/uview/example/component.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/uview/example/component.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/uview/example/component_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/uview/example/component_select.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/uview/example/js.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/uview/example/js.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/uview/example/js_bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/uview/example/js_bak.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/uview/example/js_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/uview/example/js_select.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/uview/example/js_select_bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/uview/example/js_select_bak.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/uview/example/min_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/uview/example/min_button.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/uview/example/min_button_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/uview/example/min_button_select.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/uview/example/template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/uview/example/template.png -------------------------------------------------------------------------------- /unpackage/dist/dev/app-plus/static/uview/example/template_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/app-plus/static/uview/example/template_select.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/app.js: -------------------------------------------------------------------------------- 1 | 2 | require('./common/runtime.js') 3 | require('./common/vendor.js') 4 | require('./common/main.js') -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/app.wxss: -------------------------------------------------------------------------------- 1 | @import './common/main.wxss'; 2 | 3 | [data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;} -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/components/history-cell/history-cell.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "space": "/components/space/space" 4 | }, 5 | "component": true 6 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/components/history-cell/history-cell.wxml: -------------------------------------------------------------------------------- 1 | {{timeFormat}}{{item.reason}}{{item.coinCount+'分'}} -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/components/history-cell/history-cell.wxss: -------------------------------------------------------------------------------- 1 | .history-row { 2 | height: 88rpx; 3 | display: -webkit-box; 4 | display: -webkit-flex; 5 | display: flex; 6 | -webkit-box-orient: horizontal; 7 | -webkit-box-direction: normal; 8 | -webkit-flex-direction: row; 9 | flex-direction: row; 10 | -webkit-box-align: center; 11 | -webkit-align-items: center; 12 | align-items: center; 13 | -webkit-box-pack: start; 14 | -webkit-justify-content: flex-start; 15 | justify-content: flex-start; 16 | } 17 | .history-row .time { 18 | margin-left: 32rpx; 19 | margin-right: 32rpx; 20 | } 21 | .history-row .reason { 22 | margin-left: 32rpx; 23 | margin-right: 32rpx; 24 | } 25 | .history-row .coin { 26 | margin-right: 32rpx; 27 | } 28 | 29 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/components/space/space.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/components/space/space.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/components/space/space.wxss: -------------------------------------------------------------------------------- 1 | 2 | .space { 3 | -webkit-box-flex: 1; 4 | -webkit-flex: 1; 5 | flex: 1; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "首页", 3 | "enablePullDownRefresh": true, 4 | "titleNView": { 5 | "buttons": [ 6 | { 7 | "color": "#fff", 8 | "colorPressed": "#fff", 9 | "float": "right", 10 | "fontSize": "14px", 11 | "text": "搜索 " 12 | } 13 | ] 14 | }, 15 | "usingComponents": { 16 | "u-swiper": "/uview-ui/components/u-swiper/u-swiper", 17 | "u-cell-item": "/uview-ui/components/u-cell-item/u-cell-item", 18 | "u-loadmore": "/uview-ui/components/u-loadmore/u-loadmore", 19 | "u-toast": "/uview-ui/components/u-toast/u-toast" 20 | } 21 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/index/index.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/index/index.wxss: -------------------------------------------------------------------------------- 1 | 2 | .imageContainer { 3 | width: 44rpx; 4 | height: 88rpx; 5 | margin-right: 20rpx; 6 | will-change: transform; 7 | } 8 | 9 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/index/result.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "搜索结果", 3 | "usingComponents": { 4 | "u-cell-item": "/uview-ui/components/u-cell-item/u-cell-item", 5 | "u-loadmore": "/uview-ui/components/u-loadmore/u-loadmore" 6 | } 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/index/result.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/index/search.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "搜索", 3 | "titleNView": { 4 | "searchInput": { 5 | "align": "left", 6 | "backgroundColor": "#eee", 7 | "borderRadius": "5px", 8 | "placeholder": "请输入内容", 9 | "placeholderColor": "#ccc" 10 | }, 11 | "buttons": [ 12 | { 13 | "color": "#fff", 14 | "colorPressed": "#fff", 15 | "float": "right", 16 | "fontSize": "14px", 17 | "text": " 确定 " 18 | } 19 | ] 20 | }, 21 | "usingComponents": { 22 | "u-tag": "/uview-ui/components/u-tag/u-tag", 23 | "u-toast": "/uview-ui/components/u-toast/u-toast" 24 | } 25 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/index/search.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/index/search.wxss: -------------------------------------------------------------------------------- 1 | .flex-wrap.data-v-64d2b7fe { 2 | display: -webkit-box; 3 | display: flex; 4 | display: -webkit-flex; 5 | -webkit-flex-wrap: wrap; 6 | flex-wrap: wrap; 7 | width: auto; 8 | height: auto; 9 | margin: 16rpx; 10 | } 11 | .wrap.data-v-64d2b7fe { 12 | margin: 10rpx; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/infomation/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "项目", 3 | "usingComponents": { 4 | "u-tabs-swiper": "/uview-ui/components/u-tabs-swiper/u-tabs-swiper", 5 | "u-cell-item": "/uview-ui/components/u-cell-item/u-cell-item", 6 | "u-loadmore": "/uview-ui/components/u-loadmore/u-loadmore", 7 | "single": "/pages/infomation/single" 8 | } 9 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/infomation/index.wxss: -------------------------------------------------------------------------------- 1 | 2 | .wrap { 3 | display: -webkit-box; 4 | display: -webkit-flex; 5 | display: flex; 6 | -webkit-box-orient: vertical; 7 | -webkit-box-direction: normal; 8 | -webkit-flex-direction: column; 9 | flex-direction: column; 10 | height: calc(100vh - 0px); 11 | width: 100%; 12 | } 13 | .swiper-box { 14 | -webkit-box-flex: 1; 15 | -webkit-flex: 1; 16 | flex: 1; 17 | } 18 | .swiper-item { 19 | height: 100%; 20 | } 21 | .imageContainer { 22 | width: 44rpx; 23 | height: 88rpx; 24 | margin-right: 20rpx; 25 | will-change: transform; 26 | } 27 | 28 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/infomation/single.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "u-cell-item": "/uview-ui/components/u-cell-item/u-cell-item" 4 | }, 5 | "component": true 6 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/infomation/single.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/login/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "登录", 3 | "usingComponents": { 4 | "u-field": "/uview-ui/components/u-field/u-field", 5 | "space": "/components/space/space", 6 | "u-gap": "/uview-ui/components/u-gap/u-gap", 7 | "u-button": "/uview-ui/components/u-button/u-button", 8 | "u-toast": "/uview-ui/components/u-toast/u-toast" 9 | } 10 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/login/index.wxml: -------------------------------------------------------------------------------- 1 | 还没有注册?点击登录 -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/login/index.wxss: -------------------------------------------------------------------------------- 1 | .padding.data-v-4586967a { 2 | margin-left: 32rpx; 3 | margin-right: 32rpx; 4 | } 5 | .register.data-v-4586967a { 6 | margin-top: 20rpx; 7 | margin-right: 32rpx; 8 | display: -webkit-box; 9 | display: -webkit-flex; 10 | display: flex; 11 | -webkit-box-orient: horizontal; 12 | -webkit-box-direction: normal; 13 | -webkit-flex-direction: row; 14 | flex-direction: row; 15 | -webkit-box-align: center; 16 | -webkit-align-items: center; 17 | align-items: center; 18 | -webkit-box-pack: start; 19 | -webkit-justify-content: flex-start; 20 | justify-content: flex-start; 21 | } 22 | 23 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/login/register.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "注册", 3 | "usingComponents": { 4 | "u-field": "/uview-ui/components/u-field/u-field", 5 | "u-gap": "/uview-ui/components/u-gap/u-gap", 6 | "u-button": "/uview-ui/components/u-button/u-button", 7 | "u-toast": "/uview-ui/components/u-toast/u-toast" 8 | } 9 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/login/register.wxml: -------------------------------------------------------------------------------- 1 | 点击注册 -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/login/register.wxss: -------------------------------------------------------------------------------- 1 | .padding.data-v-24dc7ac2 { 2 | margin-left: 32rpx; 3 | margin-right: 32rpx; 4 | } 5 | .register.data-v-24dc7ac2 { 6 | margin-top: 20rpx; 7 | margin-right: 32rpx; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/my/collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的收藏", 3 | "enablePullDownRefresh": false, 4 | "usingComponents": { 5 | "uni-swipe-action": "/uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action", 6 | "uni-swipe-action-item": "/uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item", 7 | "u-cell-item": "/uview-ui/components/u-cell-item/u-cell-item", 8 | "u-loadmore": "/uview-ui/components/u-loadmore/u-loadmore" 9 | } 10 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/my/collection.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/my/detail.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "体系详细", 3 | "usingComponents": { 4 | "u-cell-item": "/uview-ui/components/u-cell-item/u-cell-item", 5 | "u-loadmore": "/uview-ui/components/u-loadmore/u-loadmore" 6 | } 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/my/detail.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/my/history.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的积分历史", 3 | "usingComponents": { 4 | "history-cell": "/components/history-cell/history-cell", 5 | "u-loadmore": "/uview-ui/components/u-loadmore/u-loadmore" 6 | } 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/my/history.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/my/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的", 3 | "enablePullDownRefresh": true, 4 | "usingComponents": { 5 | "u-cell-item": "/uview-ui/components/u-cell-item/u-cell-item", 6 | "u-modal": "/uview-ui/components/u-modal/u-modal" 7 | } 8 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/my/ranking.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "积分排名", 3 | "usingComponents": { 4 | "u-cell-item": "/uview-ui/components/u-cell-item/u-cell-item", 5 | "u-loadmore": "/uview-ui/components/u-loadmore/u-loadmore" 6 | } 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/my/ranking.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/my/tree.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "体系", 3 | "usingComponents": { 4 | "u-cell-group": "/uview-ui/components/u-cell-group/u-cell-group", 5 | "u-tag": "/uview-ui/components/u-tag/u-tag", 6 | "u-divider": "/uview-ui/components/u-divider/u-divider" 7 | } 8 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/my/tree.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/my/tree.wxss: -------------------------------------------------------------------------------- 1 | 2 | .flex-wrap { 3 | display: -webkit-box; 4 | display: flex; 5 | display: -webkit-flex; 6 | -webkit-flex-wrap: wrap; 7 | flex-wrap: wrap; 8 | width: auto; 9 | height: auto; 10 | margin: 16rpx; 11 | } 12 | .wrap { 13 | margin: 10rpx; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/publicNum/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "公众号", 3 | "usingComponents": { 4 | "u-tabs-swiper": "/uview-ui/components/u-tabs-swiper/u-tabs-swiper", 5 | "u-cell-item": "/uview-ui/components/u-cell-item/u-cell-item", 6 | "u-loadmore": "/uview-ui/components/u-loadmore/u-loadmore" 7 | } 8 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/publicNum/index.wxss: -------------------------------------------------------------------------------- 1 | 2 | .wrap { 3 | display: -webkit-box; 4 | display: -webkit-flex; 5 | display: flex; 6 | -webkit-box-orient: vertical; 7 | -webkit-box-direction: normal; 8 | -webkit-flex-direction: column; 9 | flex-direction: column; 10 | height: calc(100vh - 0px); 11 | width: 100%; 12 | } 13 | .swiper-box { 14 | -webkit-box-flex: 1; 15 | -webkit-flex: 1; 16 | flex: 1; 17 | } 18 | .swiper-item { 19 | height: 100%; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/web/banner-web.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "专治轮播图点击的url", 3 | "enablePullDownRefresh": false, 4 | "usingComponents": {} 5 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/web/banner-web.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/web/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "详细", 3 | "titleNView": { 4 | "buttons": [ 5 | { 6 | "color": "#fff", 7 | "colorPressed": "#fff", 8 | "float": "right", 9 | "fontSize": "14px", 10 | "text": "功能" 11 | } 12 | ] 13 | }, 14 | "usingComponents": { 15 | "u-popup": "/uview-ui/components/u-popup/u-popup", 16 | "u-grid": "/uview-ui/components/u-grid/u-grid", 17 | "u-grid-item": "/uview-ui/components/u-grid-item/u-grid-item" 18 | } 19 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/web/index.wxml: -------------------------------------------------------------------------------- 1 | {{item}} -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/pages/web/index.wxss: -------------------------------------------------------------------------------- 1 | 2 | .grid-text { 3 | font-size: 28rpx; 4 | margin-top: 4rpx; 5 | color: $u-type-info; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap10.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap23.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap26.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap28.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap30.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap4.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap40.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap42.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap43.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap53.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap63.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap70.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap71.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap85.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap91.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/sitemap95.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/ad/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/ad/1.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/ad/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/ad/2.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/ad/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/ad/3.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/user/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/user/placeholder.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/user/saber.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/user/saber.jpg -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/uview/common/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/uview/common/favicon.ico -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/uview/common/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/uview/common/logo.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/uview/example/component.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/uview/example/component.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/uview/example/component_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/uview/example/component_select.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/uview/example/js.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/uview/example/js.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/uview/example/js_bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/uview/example/js_bak.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/uview/example/js_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/uview/example/js_select.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/uview/example/js_select_bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/uview/example/js_select_bak.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/uview/example/min_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/uview/example/min_button.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/uview/example/min_button_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/uview/example/min_button_select.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/uview/example/template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/uview/example/template.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/static/uview/example/template_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/dist/dev/mp-weixin/static/uview/example/template_select.png -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-badge/u-badge.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-badge/u-badge.wxml: -------------------------------------------------------------------------------- 1 | {{''+showText+''}} -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-button/u-button.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-cell-group/u-cell-group.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-cell-group/u-cell-group.wxml: -------------------------------------------------------------------------------- 1 | {{''+title+''}} -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-cell-group/u-cell-group.wxss: -------------------------------------------------------------------------------- 1 | .u-cell-box.data-v-5723aa40 { 2 | width: 100%; 3 | } 4 | .u-cell-title.data-v-5723aa40 { 5 | padding: 30rpx 32rpx 10rpx 32rpx; 6 | font-size: 30rpx; 7 | text-align: left; 8 | color: #909399; 9 | } 10 | .u-cell-item-box.data-v-5723aa40 { 11 | background-color: #FFFFFF; 12 | -webkit-box-orient: horizontal; 13 | -webkit-box-direction: normal; 14 | -webkit-flex-direction: row; 15 | flex-direction: row; 16 | } 17 | 18 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-cell-item/u-cell-item.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "u-icon": "/uview-ui/components/u-icon/u-icon" 4 | }, 5 | "component": true 6 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-divider/u-divider.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-divider/u-divider.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-field/u-field.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "u-icon": "/uview-ui/components/u-icon/u-icon" 4 | }, 5 | "component": true 6 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-gap/u-gap.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-gap/u-gap.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-gap/u-gap.wxss: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-grid-item/u-grid-item.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-grid-item/u-grid-item.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-grid/u-grid.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-grid/u-grid.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-grid/u-grid.wxss: -------------------------------------------------------------------------------- 1 | .u-grid.data-v-a7b3bc80 { 2 | width: 100%; 3 | position: relative; 4 | -webkit-box-sizing: border-box; 5 | box-sizing: border-box; 6 | overflow: hidden; 7 | } 8 | 9 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-icon/u-icon.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-icon/u-icon.wxml: -------------------------------------------------------------------------------- 1 | {{label+''}} -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-line/u-line.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-line/u-line.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-line/u-line.wxss: -------------------------------------------------------------------------------- 1 | .u-line.data-v-60c80200 { 2 | vertical-align: middle; 3 | } 4 | 5 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-loading/u-loading.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-loading/u-loading.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-loadmore/u-loadmore.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "u-line": "/uview-ui/components/u-line/u-line", 4 | "u-loading": "/uview-ui/components/u-loading/u-loading" 5 | }, 6 | "component": true 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-loadmore/u-loadmore.wxml: -------------------------------------------------------------------------------- 1 | {{''+showText+''}} -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-mask/u-mask.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-mask/u-mask.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-mask/u-mask.wxss: -------------------------------------------------------------------------------- 1 | .u-mask.data-v-4bfa3b00 { 2 | position: fixed; 3 | top: 0; 4 | left: 0; 5 | right: 0; 6 | bottom: 0; 7 | opacity: 0; 8 | -webkit-transition: -webkit-transform 0.3s; 9 | transition: -webkit-transform 0.3s; 10 | transition: transform 0.3s; 11 | transition: transform 0.3s, -webkit-transform 0.3s; 12 | } 13 | .u-mask-show.data-v-4bfa3b00 { 14 | opacity: 1; 15 | } 16 | .u-mask-zoom.data-v-4bfa3b00 { 17 | -webkit-transform: scale(1.2, 1.2); 18 | transform: scale(1.2, 1.2); 19 | } 20 | 21 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-modal/u-modal.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "u-popup": "/uview-ui/components/u-popup/u-popup", 4 | "u-loading": "/uview-ui/components/u-loading/u-loading" 5 | }, 6 | "component": true 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-modal/u-modal.wxss: -------------------------------------------------------------------------------- 1 | .u-model.data-v-3626fcec { 2 | height: auto; 3 | overflow: hidden; 4 | font-size: 32rpx; 5 | background-color: #fff; 6 | } 7 | .u-model__btn--hover.data-v-3626fcec { 8 | background-color: #e6e6e6; 9 | } 10 | .u-model__title.data-v-3626fcec { 11 | padding-top: 48rpx; 12 | font-weight: 500; 13 | text-align: center; 14 | color: #303133; 15 | } 16 | .u-model__content__message.data-v-3626fcec { 17 | padding: 48rpx; 18 | font-size: 30rpx; 19 | text-align: center; 20 | color: #606266; 21 | } 22 | .u-model__footer.data-v-3626fcec { 23 | 24 | display: -webkit-box; 25 | display: -webkit-flex; 26 | display: flex; 27 | -webkit-box-orient: horizontal; 28 | -webkit-box-direction: normal; 29 | -webkit-flex-direction: row; 30 | flex-direction: row; 31 | } 32 | .u-model__footer__button.data-v-3626fcec { 33 | -webkit-box-flex: 1; 34 | -webkit-flex: 1; 35 | flex: 1; 36 | height: 100rpx; 37 | line-height: 100rpx; 38 | font-size: 32rpx; 39 | -webkit-box-sizing: border-box; 40 | box-sizing: border-box; 41 | cursor: pointer; 42 | text-align: center; 43 | border-radius: 4rpx; 44 | } 45 | 46 | -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-popup/u-popup.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "u-mask": "/uview-ui/components/u-mask/u-mask", 4 | "u-icon": "/uview-ui/components/u-icon/u-icon" 5 | }, 6 | "component": true 7 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-swiper/u-swiper.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-tabs-swiper/u-tabs-swiper.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "u-badge": "/uview-ui/components/u-badge/u-badge" 4 | }, 5 | "component": true 6 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-tabs-swiper/u-tabs-swiper.wxml: -------------------------------------------------------------------------------- 1 | {{''+(item.$orig[name]||item.$orig['name'])+''}} -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-tag/u-tag.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "u-icon": "/uview-ui/components/u-icon/u-icon" 4 | }, 5 | "component": true 6 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-tag/u-tag.wxml: -------------------------------------------------------------------------------- 1 | {{''+text+''}} -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-toast/u-toast.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "u-icon": "/uview-ui/components/u-icon/u-icon" 4 | }, 5 | "component": true 6 | } -------------------------------------------------------------------------------- /unpackage/dist/dev/mp-weixin/uview-ui/components/u-toast/u-toast.wxml: -------------------------------------------------------------------------------- 1 | {{tmpConfig.title}} -------------------------------------------------------------------------------- /unpackage/release/__UNI__98AF8A0.wgt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/release/__UNI__98AF8A0.wgt -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/__uniapperror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/__uniapperror.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/__uniappsuccess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/__uniappsuccess.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/__uniappview.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 14 | View 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/ad/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/ad/1.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/ad/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/ad/2.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/ad/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/ad/3.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/user/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/user/placeholder.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/user/saber.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/user/saber.jpg -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/uview/common/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/uview/common/favicon.ico -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/uview/common/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/uview/common/logo.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/uview/example/component.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/uview/example/component.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/uview/example/component_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/uview/example/component_select.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/uview/example/js.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/uview/example/js.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/uview/example/js_bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/uview/example/js_bak.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/uview/example/js_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/uview/example/js_select.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/uview/example/js_select_bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/uview/example/js_select_bak.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/uview/example/min_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/uview/example/min_button.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/uview/example/min_button_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/uview/example/min_button_select.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/uview/example/template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/uview/example/template.png -------------------------------------------------------------------------------- /unpackage/resources/__UNI__98AF8A0/www/static/uview/example/template_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seasonZhu/UniAppPlayAndroid/5776a01efc243c6c5e9f998b8749b5c9544c0b7a/unpackage/resources/__UNI__98AF8A0/www/static/uview/example/template_select.png -------------------------------------------------------------------------------- /uview-ui/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 www.uviewui.com 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /uview-ui/components/u-full-screen/u-full-screen.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 38 | 39 | 53 | -------------------------------------------------------------------------------- /uview-ui/components/u-loading-page/u-loading-page.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 22 | 23 | 26 | -------------------------------------------------------------------------------- /uview-ui/components/u-parse/libs/handler.wxs: -------------------------------------------------------------------------------- 1 | var inline = { 2 | abbr: 1, 3 | b: 1, 4 | big: 1, 5 | code: 1, 6 | del: 1, 7 | em: 1, 8 | i: 1, 9 | ins: 1, 10 | label: 1, 11 | q: 1, 12 | small: 1, 13 | span: 1, 14 | strong: 1, 15 | sub: 1, 16 | sup: 1 17 | } 18 | module.exports = { 19 | use: function(item) { 20 | return !item.c && !inline[item.name] && (item.attrs.style || '').indexOf('display:inline') == -1 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /uview-ui/components/u-time-line/u-time-line.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 23 | 24 | 44 | -------------------------------------------------------------------------------- /uview-ui/components/u-tr/u-tr.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 18 | 19 | 26 | -------------------------------------------------------------------------------- /uview-ui/index.scss: -------------------------------------------------------------------------------- 1 | // 引入公共基础类 2 | @import "./libs/css/common.scss"; 3 | @import "./libs/css/color.scss"; 4 | 5 | // 非nvue的样式 6 | /* #ifndef APP-NVUE */ 7 | @import "./libs/css/style.vue.scss"; 8 | /* #endif */ 9 | 10 | // nvue的特有样式 11 | /* #ifdef APP-NVUE */ 12 | @import "./libs/css/style.nvue.scss"; 13 | /* #endif */ 14 | 15 | // 小程序特有的样式 16 | /* #ifdef MP */ 17 | @import "./libs/css/style.mp.scss"; 18 | /* #endif */ 19 | 20 | // H5特有的样式 21 | /* #ifdef H5 */ 22 | @import "./libs/css/style.h5.scss"; 23 | /* #endif */ -------------------------------------------------------------------------------- /uview-ui/libs/config/config.js: -------------------------------------------------------------------------------- 1 | // 此版本发布于2020-11-11 2 | let version = '1.8.0'; 3 | 4 | export default { 5 | v: version, 6 | version: version, 7 | // 主题名称 8 | type: [ 9 | 'primary', 10 | 'success', 11 | 'info', 12 | 'error', 13 | 'warning' 14 | ] 15 | } -------------------------------------------------------------------------------- /uview-ui/libs/config/zIndex.js: -------------------------------------------------------------------------------- 1 | // uniapp在H5中各API的z-index值如下: 2 | /** 3 | * actionsheet: 999 4 | * modal: 999 5 | * navigate: 998 6 | * tabbar: 998 7 | * toast: 999 8 | */ 9 | 10 | export default { 11 | toast: 10090, 12 | noNetwork: 10080, 13 | // popup包含popup,actionsheet,keyboard,picker的值 14 | popup: 10075, 15 | mask: 10070, 16 | navbar: 980, 17 | topTips: 975, 18 | sticky: 970, 19 | indexListSticky: 965, 20 | } -------------------------------------------------------------------------------- /uview-ui/libs/css/style.components.scss: -------------------------------------------------------------------------------- 1 | // 定义混入指令,用于在非nvue环境下的flex定义,因为nvue没有display属性,会报错 2 | @mixin vue-flex($direction: row) { 3 | /* #ifndef APP-NVUE */ 4 | display: flex; 5 | flex-direction: $direction; 6 | /* #endif */ 7 | } -------------------------------------------------------------------------------- /uview-ui/libs/css/style.h5.scss: -------------------------------------------------------------------------------- 1 | /* H5的时候,隐藏滚动条 */ 2 | ::-webkit-scrollbar { 3 | display: none; 4 | width: 0 !important; 5 | height: 0 !important; 6 | -webkit-appearance: none; 7 | background: transparent; 8 | } 9 | -------------------------------------------------------------------------------- /uview-ui/libs/css/style.nvue.scss: -------------------------------------------------------------------------------- 1 | .nvue { 2 | font-size: 24rpx; 3 | } -------------------------------------------------------------------------------- /uview-ui/libs/function/$parent.js: -------------------------------------------------------------------------------- 1 | // 获取父组件的参数,因为支付宝小程序不支持provide/inject的写法 2 | // this.$parent在非H5中,可以准确获取到父组件,但是在H5中,需要多次this.$parent.$parent.xxx 3 | // 这里默认值等于undefined有它的含义,因为最顶层元素(组件)的$parent就是undefined,意味着不传name 4 | // 值(默认为undefined),就是查找最顶层的$parent 5 | export default function $parent(name = undefined) { 6 | let parent = this.$parent; 7 | // 通过while历遍,这里主要是为了H5需要多层解析的问题 8 | while (parent) { 9 | // 父组件 10 | if (parent.$options && parent.$options.name !== name) { 11 | // 如果组件的name不相等,继续上一级寻找 12 | parent = parent.$parent; 13 | } else { 14 | return parent; 15 | } 16 | } 17 | return false; 18 | } -------------------------------------------------------------------------------- /uview-ui/libs/function/addUnit.js: -------------------------------------------------------------------------------- 1 | import validation from './test.js'; 2 | 3 | // 添加单位,如果有rpx,%,px等单位结尾或者值为auto,直接返回,否则加上rpx单位结尾 4 | export default function addUnit(value = 'auto', unit = 'rpx') { 5 | value = String(value); 6 | // 用uView内置验证规则中的number判断是否为数值 7 | return validation.number(value) ? `${value}${unit}` : value; 8 | } -------------------------------------------------------------------------------- /uview-ui/libs/function/bem.js: -------------------------------------------------------------------------------- 1 | function bem(name, conf) { 2 | 3 | } 4 | 5 | module.exports.bem = bem; 6 | -------------------------------------------------------------------------------- /uview-ui/libs/function/color.js: -------------------------------------------------------------------------------- 1 | // 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供 2 | // 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20) 3 | let color = { 4 | primary: "#2979ff", 5 | primaryDark: "#2b85e4", 6 | primaryDisabled: "#a0cfff", 7 | primaryLight: "#ecf5ff", 8 | bgColor: "#f3f4f6", 9 | 10 | info: "#909399", 11 | infoDark: "#82848a", 12 | infoDisabled: "#c8c9cc", 13 | infoLight: "#f4f4f5", 14 | 15 | warning: "#ff9900", 16 | warningDark: "#f29100", 17 | warningDisabled: "#fcbd71", 18 | warningLight: "#fdf6ec", 19 | 20 | error: "#fa3534", 21 | errorDark: "#dd6161", 22 | errorDisabled: "#fab6b6", 23 | errorLight: "#fef0f0", 24 | 25 | success: "#19be6b", 26 | successDark: "#18b566", 27 | successDisabled: "#71d5a1", 28 | successLight: "#dbf1e1", 29 | 30 | mainColor: "#303133", 31 | contentColor: "#606266", 32 | tipsColor: "#909399", 33 | lightColor: "#c0c4cc", 34 | borderColor: "#e4e7ed" 35 | } 36 | 37 | export default color; -------------------------------------------------------------------------------- /uview-ui/libs/function/debounce.js: -------------------------------------------------------------------------------- 1 | let timeout = null; 2 | 3 | /** 4 | * 防抖原理:一定时间内,只有最后一次操作,再过wait毫秒后才执行函数 5 | * 6 | * @param {Function} func 要执行的回调函数 7 | * @param {Number} wait 延时的时间 8 | * @param {Boolean} immediate 是否立即执行 9 | * @return null 10 | */ 11 | function debounce(func, wait = 500, immediate = false) { 12 | // 清除定时器 13 | if (timeout !== null) clearTimeout(timeout); 14 | // 立即执行,此类情况一般用不到 15 | if (immediate) { 16 | var callNow = !timeout; 17 | timeout = setTimeout(function() { 18 | timeout = null; 19 | }, wait); 20 | if (callNow) typeof func === 'function' && func(); 21 | } else { 22 | // 设置定时器,当最后一次操作后,timeout不会再被清除,所以在延时wait毫秒后执行func回调方法 23 | timeout = setTimeout(function() { 24 | typeof func === 'function' && func(); 25 | }, wait); 26 | } 27 | } 28 | 29 | export default debounce 30 | -------------------------------------------------------------------------------- /uview-ui/libs/function/deepClone.js: -------------------------------------------------------------------------------- 1 | // 判断arr是否为一个数组,返回一个bool值 2 | function isArray (arr) { 3 | return Object.prototype.toString.call(arr) === '[object Array]'; 4 | } 5 | 6 | // 深度克隆 7 | function deepClone (obj) { 8 | // 对常见的“非”值,直接返回原来值 9 | if([null, undefined, NaN, false].includes(obj)) return obj; 10 | if(typeof obj !== "object" && typeof obj !== 'function') { 11 | //原始类型直接返回 12 | return obj; 13 | } 14 | var o = isArray(obj) ? [] : {}; 15 | for(let i in obj) { 16 | if(obj.hasOwnProperty(i)){ 17 | o[i] = typeof obj[i] === "object" ? deepClone(obj[i]) : obj[i]; 18 | } 19 | } 20 | return o; 21 | } 22 | 23 | export default deepClone; 24 | -------------------------------------------------------------------------------- /uview-ui/libs/function/deepMerge.js: -------------------------------------------------------------------------------- 1 | import deepClone from "./deepClone"; 2 | 3 | // JS对象深度合并 4 | function deepMerge(target = {}, source = {}) { 5 | target = deepClone(target); 6 | if (typeof target !== 'object' || typeof source !== 'object') return false; 7 | for (var prop in source) { 8 | if (!source.hasOwnProperty(prop)) continue; 9 | if (prop in target) { 10 | if (typeof target[prop] !== 'object') { 11 | target[prop] = source[prop]; 12 | } else { 13 | if (typeof source[prop] !== 'object') { 14 | target[prop] = source[prop]; 15 | } else { 16 | if (target[prop].concat && source[prop].concat) { 17 | target[prop] = target[prop].concat(source[prop]); 18 | } else { 19 | target[prop] = deepMerge(target[prop], source[prop]); 20 | } 21 | } 22 | } 23 | } else { 24 | target[prop] = source[prop]; 25 | } 26 | } 27 | return target; 28 | } 29 | 30 | export default deepMerge; -------------------------------------------------------------------------------- /uview-ui/libs/function/random.js: -------------------------------------------------------------------------------- 1 | function random(min, max) { 2 | if (min >= 0 && max > 0 && max >= min) { 3 | let gab = max - min + 1; 4 | return Math.floor(Math.random() * gab + min); 5 | } else { 6 | return 0; 7 | } 8 | } 9 | 10 | export default random; 11 | -------------------------------------------------------------------------------- /uview-ui/libs/function/randomArray.js: -------------------------------------------------------------------------------- 1 | // 打乱数组 2 | function randomArray(array = []) { 3 | // 原理是sort排序,Math.random()产生0<= x < 1之间的数,会导致x-0.05大于或者小于0 4 | return array.sort(() => Math.random() - 0.5); 5 | } 6 | 7 | export default randomArray 8 | -------------------------------------------------------------------------------- /uview-ui/libs/function/sys.js: -------------------------------------------------------------------------------- 1 | export function os() { 2 | return uni.getSystemInfoSync().platform; 3 | }; 4 | 5 | export function sys() { 6 | return uni.getSystemInfoSync(); 7 | } 8 | 9 | 10 | -------------------------------------------------------------------------------- /uview-ui/libs/function/throttle.js: -------------------------------------------------------------------------------- 1 | let timer, flag; 2 | /** 3 | * 节流原理:在一定时间内,只能触发一次 4 | * 5 | * @param {Function} func 要执行的回调函数 6 | * @param {Number} wait 延时的时间 7 | * @param {Boolean} immediate 是否立即执行 8 | * @return null 9 | */ 10 | function throttle(func, wait = 500, immediate = true) { 11 | if (immediate) { 12 | if (!flag) { 13 | flag = true; 14 | // 如果是立即执行,则在wait毫秒内开始时执行 15 | typeof func === 'function' && func(); 16 | timer = setTimeout(() => { 17 | flag = false; 18 | }, wait); 19 | } 20 | } else { 21 | if (!flag) { 22 | flag = true 23 | // 如果是非立即执行,则在wait毫秒内的结束处执行 24 | timer = setTimeout(() => { 25 | flag = false 26 | typeof func === 'function' && func(); 27 | }, wait); 28 | } 29 | 30 | } 31 | }; 32 | export default throttle 33 | -------------------------------------------------------------------------------- /uview-ui/libs/function/toast.js: -------------------------------------------------------------------------------- 1 | function toast(title, duration = 1500) { 2 | uni.showToast({ 3 | title: title, 4 | icon: 'none', 5 | duration: duration 6 | }) 7 | } 8 | 9 | export default toast 10 | -------------------------------------------------------------------------------- /uview-ui/libs/function/trim.js: -------------------------------------------------------------------------------- 1 | function trim(str, pos = 'both') { 2 | if (pos == 'both') { 3 | return str.replace(/^\s+|\s+$/g, ""); 4 | } else if (pos == "left") { 5 | return str.replace(/^\s*/, ''); 6 | } else if (pos == 'right') { 7 | return str.replace(/(\s*$)/g, ""); 8 | } else if (pos == 'all') { 9 | return str.replace(/\s+/g, ""); 10 | } else { 11 | return str; 12 | } 13 | } 14 | 15 | export default trim 16 | -------------------------------------------------------------------------------- /uview-ui/libs/function/type2icon.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 根据主题type值,获取对应的图标 3 | * @param String type 主题名称,primary|info|error|warning|success 4 | * @param String fill 是否使用fill填充实体的图标 5 | */ 6 | function type2icon(type = 'success', fill = false) { 7 | // 如果非预置值,默认为success 8 | if (['primary', 'info', 'error', 'warning', 'success'].indexOf(type) == -1) type = 'success'; 9 | let iconName = ''; 10 | // 目前(2019-12-12),info和primary使用同一个图标 11 | switch (type) { 12 | case 'primary': 13 | iconName = 'info-circle'; 14 | break; 15 | case 'info': 16 | iconName = 'info-circle'; 17 | break; 18 | case 'error': 19 | iconName = 'close-circle'; 20 | break; 21 | case 'warning': 22 | iconName = 'error-circle'; 23 | break; 24 | case 'success': 25 | iconName = 'checkmark-circle'; 26 | break; 27 | default: 28 | iconName = 'checkmark-circle'; 29 | } 30 | // 是否是实体类型,加上-fill,在icon组件库中,实体的类名是后面加-fill的 31 | if (fill) iconName += '-fill'; 32 | return iconName; 33 | } 34 | 35 | export default type2icon 36 | -------------------------------------------------------------------------------- /uview-ui/libs/mixin/mpShare.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | onLoad() { 3 | // 设置默认的转发参数 4 | this.$u.mpShare = { 5 | title: '', // 默认为小程序名称 6 | path: '', // 默认为当前页面路径 7 | imageUrl: '' // 默认为当前页面的截图 8 | } 9 | }, 10 | onShareAppMessage() { 11 | return this.$u.mpShare 12 | }, 13 | // #ifdef MP-WEIXIN 14 | onShareTimeline() { 15 | return this.$u.mpShare 16 | } 17 | // #endif 18 | } 19 | -------------------------------------------------------------------------------- /uview-ui/libs/store/index.js: -------------------------------------------------------------------------------- 1 | // 暂时不用vuex模块方式实现,将该方法直接放入到/store/index.js中 2 | const module = { 3 | actions: { 4 | $uStore({rootState}, params) { 5 | let nameArr = params.name.split('.'); 6 | if(nameArr.length >= 2) { 7 | let obj = rootState[nameArr[0]]; 8 | for(let i = 1; i < nameArr.length - 1; i ++) { 9 | obj = obj[nameArr[i]]; 10 | } 11 | obj[nameArr[nameArr.length - 1]] = params.value; 12 | } else { 13 | rootState[params.name] = params.value; 14 | } 15 | } 16 | } 17 | } 18 | 19 | export default module -------------------------------------------------------------------------------- /uview-ui/libs/util/province.js: -------------------------------------------------------------------------------- 1 | var provinceData=[{"label":"北京市","value":"11"},{"label":"天津市","value":"12"},{"label":"河北省","value":"13"},{"label":"山西省","value":"14"},{"label":"内蒙古自治区","value":"15"},{"label":"辽宁省","value":"21"},{"label":"吉林省","value":"22"},{"label":"黑龙江省","value":"23"},{"label":"上海市","value":"31"},{"label":"江苏省","value":"32"},{"label":"浙江省","value":"33"},{"label":"安徽省","value":"34"},{"label":"福建省","value":"35"},{"label":"江西省","value":"36"},{"label":"山东省","value":"37"},{"label":"河南省","value":"41"},{"label":"湖北省","value":"42"},{"label":"湖南省","value":"43"},{"label":"广东省","value":"44"},{"label":"广西壮族自治区","value":"45"},{"label":"海南省","value":"46"},{"label":"重庆市","value":"50"},{"label":"四川省","value":"51"},{"label":"贵州省","value":"52"},{"label":"云南省","value":"53"},{"label":"西藏自治区","value":"54"},{"label":"陕西省","value":"61"},{"label":"甘肃省","value":"62"},{"label":"青海省","value":"63"},{"label":"宁夏回族自治区","value":"64"},{"label":"新疆维吾尔自治区","value":"65"},{"label":"台湾","value":"66"},{"label":"香港","value":"67"},{"label":"澳门","value":"68"}];export default provinceData; -------------------------------------------------------------------------------- /uview-ui/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "uview-ui", 3 | "version": "1.8.0", 4 | "description": "uView UI,是uni-app生态优秀的UI框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水", 5 | "main": "index.js", 6 | "keywords": [ 7 | "uview", 8 | "uView", 9 | "uni-app", 10 | "uni-app ui", 11 | "uniapp", 12 | "uviewui", 13 | "uview ui", 14 | "uviewUI", 15 | "uViewui", 16 | "uViewUI", 17 | "uView UI", 18 | "uni ui", 19 | "uni UI", 20 | "uniapp ui", 21 | "ui", 22 | "UI框架", 23 | "uniapp ui框架", 24 | "uniapp UI" 25 | ], 26 | "scripts": { 27 | "test": "echo \"Error: no test specified\" && exit 1" 28 | }, 29 | "repository": { 30 | "type": "git", 31 | "url": "" 32 | }, 33 | "devDependencies": { 34 | "node-sass": "^4.14.0", 35 | "sass-loader": "^8.0.2" 36 | }, 37 | "author": "uView", 38 | "license": "MIT" 39 | } 40 | -------------------------------------------------------------------------------- /uview-ui/theme.scss: -------------------------------------------------------------------------------- 1 | // 此文件为uView的主题变量,这些变量目前只能通过uni.scss引入才有效,另外由于 2 | // uni.scss中引入的样式会同时混入到全局样式文件和单独每一个页面的样式中,造成微信程序包太大, 3 | // 故uni.scss只建议放scss变量名相关样式,其他的样式可以通过main.js或者App.vue引入 4 | 5 | $u-main-color: #303133; 6 | $u-content-color: #606266; 7 | $u-tips-color: #909399; 8 | $u-light-color: #c0c4cc; 9 | $u-border-color: #e4e7ed; 10 | $u-bg-color: #f3f4f6; 11 | 12 | $u-type-primary: #2979ff; 13 | $u-type-primary-light: #ecf5ff; 14 | $u-type-primary-disabled: #a0cfff; 15 | $u-type-primary-dark: #2b85e4; 16 | 17 | $u-type-warning: #ff9900; 18 | $u-type-warning-disabled: #fcbd71; 19 | $u-type-warning-dark: #f29100; 20 | $u-type-warning-light: #fdf6ec; 21 | 22 | $u-type-success: #19be6b; 23 | $u-type-success-disabled: #71d5a1; 24 | $u-type-success-dark: #18b566; 25 | $u-type-success-light: #dbf1e1; 26 | 27 | $u-type-error: #fa3534; 28 | $u-type-error-disabled: #fab6b6; 29 | $u-type-error-dark: #dd6161; 30 | $u-type-error-light: #fef0f0; 31 | 32 | $u-type-info: #909399; 33 | $u-type-info-disabled: #c8c9cc; 34 | $u-type-info-dark: #82848a; 35 | $u-type-info-light: #f4f4f5; 36 | 37 | $u-form-item-height: 70rpx; 38 | $u-form-item-border-color: #dcdfe6; 39 | --------------------------------------------------------------------------------