├── .gitignore ├── LICENSE ├── README.md ├── app.js ├── app.json ├── app.wxss ├── config.js ├── functions └── getOpenId │ ├── index.js │ └── package.json ├── image ├── addition_fill.png ├── green_tri.png ├── icon64_appwx_logo.png ├── icon_API.png ├── icon_API_HL.png ├── icon_await_disable.png ├── icon_await_enable.png ├── icon_component.png ├── icon_component_HL.png ├── icon_foot.png ├── icon_love_disable.png ├── icon_love_enable.png ├── location.png ├── pause.png ├── play.png ├── plus.png ├── record.png ├── share.png ├── stop.png ├── trash.png ├── wechat.png └── wechatHL.png ├── package.json ├── page ├── API │ ├── components │ │ └── set-tab-bar │ │ │ ├── set-tab-bar.js │ │ │ ├── set-tab-bar.json │ │ │ ├── set-tab-bar.wxml │ │ │ └── set-tab-bar.wxss │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ ├── pages │ │ ├── action-sheet │ │ │ ├── action-sheet.js │ │ │ ├── action-sheet.json │ │ │ ├── action-sheet.wxml │ │ │ └── action-sheet.wxss │ │ ├── add-contact │ │ │ ├── add-contact.js │ │ │ ├── add-contact.json │ │ │ ├── add-contact.wxml │ │ │ └── add-contact.wxss │ │ ├── animation │ │ │ ├── animation.js │ │ │ ├── animation.json │ │ │ ├── animation.wxml │ │ │ └── animation.wxss │ │ ├── background-audio │ │ │ ├── background-audio.js │ │ │ ├── background-audio.json │ │ │ ├── background-audio.wxml │ │ │ └── background-audio.wxss │ │ ├── bluetooth │ │ │ ├── bluetooth.js │ │ │ ├── bluetooth.json │ │ │ ├── bluetooth.wxml │ │ │ └── bluetooth.wxss │ │ ├── canvas │ │ │ ├── canvas.js │ │ │ ├── canvas.json │ │ │ ├── canvas.wxml │ │ │ ├── canvas.wxss │ │ │ └── example.js │ │ ├── capture-screen │ │ │ ├── capture-screen.js │ │ │ ├── capture-screen.json │ │ │ ├── capture-screen.wxml │ │ │ └── capture-screen.wxss │ │ ├── choose-address │ │ │ ├── choose-address.js │ │ │ ├── choose-address.json │ │ │ ├── choose-address.wxml │ │ │ └── choose-address.wxss │ │ ├── choose-invoice-title │ │ │ ├── choose-invoice-title.js │ │ │ ├── choose-invoice-title.json │ │ │ ├── choose-invoice-title.wxml │ │ │ └── choose-invoice-title.wxss │ │ ├── choose-location │ │ │ ├── choose-location.js │ │ │ ├── choose-location.json │ │ │ ├── choose-location.wxml │ │ │ └── choose-location.wxss │ │ ├── clipboard-data │ │ │ ├── clipboard-data.js │ │ │ ├── clipboard-data.json │ │ │ ├── clipboard-data.wxml │ │ │ └── clipboard-data.wxss │ │ ├── custom-message │ │ │ ├── custom-message.js │ │ │ ├── custom-message.json │ │ │ ├── custom-message.wxml │ │ │ └── custom-message.wxss │ │ ├── custom-service │ │ │ ├── custom-service.js │ │ │ ├── custom-service.json │ │ │ ├── custom-service.wxml │ │ │ └── custom-service.wxss │ │ ├── download-file │ │ │ ├── download-file.js │ │ │ ├── download-file.json │ │ │ ├── download-file.wxml │ │ │ └── download-file.wxss │ │ ├── file │ │ │ ├── file.js │ │ │ ├── file.json │ │ │ ├── file.wxml │ │ │ └── file.wxss │ │ ├── get-location │ │ │ ├── get-location.js │ │ │ ├── get-location.json │ │ │ ├── get-location.wxml │ │ │ └── get-location.wxss │ │ ├── get-network-type │ │ │ ├── get-network-type.js │ │ │ ├── get-network-type.json │ │ │ ├── get-network-type.wxml │ │ │ └── get-network-type.wxss │ │ ├── get-system-info │ │ │ ├── get-system-info.js │ │ │ ├── get-system-info.json │ │ │ ├── get-system-info.wxml │ │ │ └── get-system-info.wxss │ │ ├── get-user-info │ │ │ ├── get-user-info.js │ │ │ ├── get-user-info.json │ │ │ ├── get-user-info.wxml │ │ │ └── get-user-info.wxss │ │ ├── get-wxml-node-info │ │ │ ├── get-wxml-node-info.js │ │ │ ├── get-wxml-node-info.json │ │ │ ├── get-wxml-node-info.wxml │ │ │ └── get-wxml-node-info.wxss │ │ ├── ibeacon │ │ │ ├── ibeacon.js │ │ │ ├── ibeacon.json │ │ │ ├── ibeacon.wxml │ │ │ └── ibeacon.wxss │ │ ├── image │ │ │ ├── image.js │ │ │ ├── image.json │ │ │ ├── image.wxml │ │ │ └── image.wxss │ │ ├── intersection-observer │ │ │ ├── intersection-observer.js │ │ │ ├── intersection-observer.json │ │ │ ├── intersection-observer.wxml │ │ │ └── intersection-observer.wxss │ │ ├── load-font-face │ │ │ ├── load-font-face.js │ │ │ ├── load-font-face.json │ │ │ ├── load-font-face.wxml │ │ │ └── load-font-face.wxss │ │ ├── login │ │ │ ├── login.js │ │ │ ├── login.json │ │ │ ├── login.wxml │ │ │ └── login.wxss │ │ ├── make-phone-call │ │ │ ├── make-phone-call.js │ │ │ ├── make-phone-call.json │ │ │ ├── make-phone-call.wxml │ │ │ └── make-phone-call.wxss │ │ ├── modal │ │ │ ├── modal.js │ │ │ ├── modal.json │ │ │ ├── modal.wxml │ │ │ └── modal.wxss │ │ ├── navigation-bar-loading │ │ │ ├── navigation-bar-loading.js │ │ │ ├── navigation-bar-loading.json │ │ │ ├── navigation-bar-loading.wxml │ │ │ └── navigation-bar-loading.wxss │ │ ├── navigator │ │ │ ├── navigator.js │ │ │ ├── navigator.json │ │ │ ├── navigator.wxml │ │ │ └── navigator.wxss │ │ ├── on-accelerometer-change │ │ │ ├── on-accelerometer-change.js │ │ │ ├── on-accelerometer-change.json │ │ │ ├── on-accelerometer-change.wxml │ │ │ └── on-accelerometer-change.wxss │ │ ├── on-compass-change │ │ │ ├── compass.png │ │ │ ├── on-compass-change.js │ │ │ ├── on-compass-change.json │ │ │ ├── on-compass-change.wxml │ │ │ └── on-compass-change.wxss │ │ ├── on-network-status-change │ │ │ ├── on-network-status-change.js │ │ │ ├── on-network-status-change.json │ │ │ ├── on-network-status-change.wxml │ │ │ └── on-network-status-change.wxss │ │ ├── open-location │ │ │ ├── open-location.js │ │ │ ├── open-location.json │ │ │ ├── open-location.wxml │ │ │ └── open-location.wxss │ │ ├── page-scroll │ │ │ ├── page-scroll.js │ │ │ ├── page-scroll.json │ │ │ ├── page-scroll.wxml │ │ │ └── page-scroll.wxss │ │ ├── pull-down-refresh │ │ │ ├── pull-down-refresh.js │ │ │ ├── pull-down-refresh.json │ │ │ ├── pull-down-refresh.wxml │ │ │ └── pull-down-refresh.wxss │ │ ├── request-payment │ │ │ ├── request-payment.js │ │ │ ├── request-payment.json │ │ │ ├── request-payment.wxml │ │ │ └── request-payment.wxss │ │ ├── request │ │ │ ├── request.js │ │ │ ├── request.json │ │ │ ├── request.wxml │ │ │ └── request.wxss │ │ ├── scan-code │ │ │ ├── scan-code.js │ │ │ ├── scan-code.json │ │ │ ├── scan-code.wxml │ │ │ └── scan-code.wxss │ │ ├── screen-brightness │ │ │ ├── screen-brightness.js │ │ │ ├── screen-brightness.json │ │ │ ├── screen-brightness.wxml │ │ │ └── screen-brightness.wxss │ │ ├── sendMessage │ │ │ ├── sendMessage.js │ │ │ ├── sendMessage.json │ │ │ ├── sendMessage.wxml │ │ │ └── sendMessage.wxss │ │ ├── set-navigation-bar-title │ │ │ ├── set-navigation-bar-title.js │ │ │ ├── set-navigation-bar-title.json │ │ │ ├── set-navigation-bar-title.wxml │ │ │ └── set-navigation-bar-title.wxss │ │ ├── setting │ │ │ ├── setting.js │ │ │ ├── setting.json │ │ │ ├── setting.wxml │ │ │ └── setting.wxss │ │ ├── share-button │ │ │ ├── share-button.js │ │ │ ├── share-button.json │ │ │ ├── share-button.wxml │ │ │ └── share-button.wxss │ │ ├── share │ │ │ ├── share.js │ │ │ ├── share.json │ │ │ ├── share.wxml │ │ │ └── share.wxss │ │ ├── soter-authentication │ │ │ ├── soter-authentication.js │ │ │ ├── soter-authentication.json │ │ │ ├── soter-authentication.wxml │ │ │ └── soter-authentication.wxss │ │ ├── storage │ │ │ ├── storage.js │ │ │ ├── storage.json │ │ │ ├── storage.wxml │ │ │ └── storage.wxss │ │ ├── subscribe-message │ │ │ ├── subscribe-message.js │ │ │ ├── subscribe-message.json │ │ │ ├── subscribe-message.wxml │ │ │ └── subscribe-message.wxss │ │ ├── template-message │ │ │ ├── template-message.js │ │ │ ├── template-message.json │ │ │ ├── template-message.wxml │ │ │ └── template-message.wxss │ │ ├── toast │ │ │ ├── toast.js │ │ │ ├── toast.json │ │ │ ├── toast.wxml │ │ │ └── toast.wxss │ │ ├── upload-file │ │ │ ├── upload-file.js │ │ │ ├── upload-file.json │ │ │ ├── upload-file.wxml │ │ │ └── upload-file.wxss │ │ ├── vibrate │ │ │ ├── vibrate.js │ │ │ ├── vibrate.json │ │ │ ├── vibrate.wxml │ │ │ └── vibrate.wxss │ │ ├── video │ │ │ ├── video.js │ │ │ ├── video.json │ │ │ ├── video.wxml │ │ │ └── video.wxss │ │ ├── voice │ │ │ ├── voice.js │ │ │ ├── voice.json │ │ │ ├── voice.wxml │ │ │ └── voice.wxss │ │ ├── web-socket │ │ │ ├── web-socket.js │ │ │ ├── web-socket.json │ │ │ ├── web-socket.wxml │ │ │ └── web-socket.wxss │ │ ├── wifi │ │ │ ├── wifi.js │ │ │ ├── wifi.json │ │ │ ├── wifi.wxml │ │ │ └── wifi.wxss │ │ └── worker │ │ │ ├── worker.js │ │ │ ├── worker.json │ │ │ ├── worker.wxml │ │ │ └── worker.wxss │ └── resources │ │ └── kind │ │ ├── api.png │ │ ├── device.png │ │ ├── feedback.png │ │ ├── location.png │ │ ├── logo.png │ │ ├── media.png │ │ ├── network.png │ │ ├── page.png │ │ ├── storage.png │ │ └── worker.png ├── await │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── common │ ├── foot.wxml │ ├── head.wxml │ ├── index.wxss │ └── lib │ │ └── weui.wxss ├── component │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ ├── pages │ │ ├── ad │ │ │ ├── ad.js │ │ │ ├── ad.json │ │ │ ├── ad.wxml │ │ │ └── ad.wxss │ │ ├── audio │ │ │ ├── audio.js │ │ │ ├── audio.json │ │ │ ├── audio.wxml │ │ │ └── audio.wxss │ │ ├── button │ │ │ ├── button.js │ │ │ ├── button.json │ │ │ ├── button.wxml │ │ │ └── button.wxss │ │ ├── camera-scan-code │ │ │ ├── camera-scan-code.js │ │ │ ├── camera-scan-code.json │ │ │ ├── camera-scan-code.wxml │ │ │ └── camera-scan-code.wxss │ │ ├── camera │ │ │ ├── camera.js │ │ │ ├── camera.json │ │ │ ├── camera.wxml │ │ │ └── camera.wxss │ │ ├── canvas │ │ │ ├── canvas.js │ │ │ ├── canvas.json │ │ │ ├── canvas.wxml │ │ │ └── canvas.wxss │ │ ├── checkbox │ │ │ ├── checkbox.js │ │ │ ├── checkbox.json │ │ │ ├── checkbox.wxml │ │ │ └── checkbox.wxss │ │ ├── cover-view │ │ │ ├── cover-view.js │ │ │ ├── cover-view.json │ │ │ ├── cover-view.wxml │ │ │ └── cover-view.wxss │ │ ├── form │ │ │ ├── form.js │ │ │ ├── form.json │ │ │ ├── form.wxml │ │ │ └── form.wxss │ │ ├── icon │ │ │ ├── icon.js │ │ │ ├── icon.json │ │ │ ├── icon.wxml │ │ │ └── icon.wxss │ │ ├── image │ │ │ ├── image.js │ │ │ ├── image.json │ │ │ ├── image.wxml │ │ │ └── image.wxss │ │ ├── input │ │ │ ├── input.js │ │ │ ├── input.json │ │ │ ├── input.wxml │ │ │ └── input.wxss │ │ ├── label │ │ │ ├── label.js │ │ │ ├── label.json │ │ │ ├── label.wxml │ │ │ └── label.wxss │ │ ├── map-styles │ │ │ ├── map-styles.js │ │ │ ├── map-styles.json │ │ │ ├── map-styles.wxml │ │ │ └── map-styles.wxss │ │ ├── map │ │ │ ├── map.js │ │ │ ├── map.json │ │ │ ├── map.wxml │ │ │ └── map.wxss │ │ ├── movable-view │ │ │ ├── movable-view.js │ │ │ ├── movable-view.json │ │ │ ├── movable-view.wxml │ │ │ └── movable-view.wxss │ │ ├── navigator │ │ │ ├── navigate.js │ │ │ ├── navigate.json │ │ │ ├── navigate.wxml │ │ │ ├── navigate.wxss │ │ │ ├── navigator.js │ │ │ ├── navigator.json │ │ │ ├── navigator.wxml │ │ │ ├── navigator.wxss │ │ │ ├── redirect.js │ │ │ ├── redirect.json │ │ │ ├── redirect.wxml │ │ │ └── redirect.wxss │ │ ├── open-data │ │ │ ├── open-data.js │ │ │ ├── open-data.json │ │ │ ├── open-data.wxml │ │ │ └── open-data.wxss │ │ ├── picker-view │ │ │ ├── picker-view.js │ │ │ ├── picker-view.json │ │ │ ├── picker-view.wxml │ │ │ └── picker-view.wxss │ │ ├── picker │ │ │ ├── picker.js │ │ │ ├── picker.json │ │ │ ├── picker.wxml │ │ │ └── picker.wxss │ │ ├── progress │ │ │ ├── progress.js │ │ │ ├── progress.json │ │ │ ├── progress.wxml │ │ │ └── progress.wxss │ │ ├── radio │ │ │ ├── radio.js │ │ │ ├── radio.json │ │ │ ├── radio.wxml │ │ │ └── radio.wxss │ │ ├── rich-text │ │ │ ├── rich-text.js │ │ │ ├── rich-text.json │ │ │ ├── rich-text.wxml │ │ │ └── rich-text.wxss │ │ ├── scroll-view │ │ │ ├── scroll-view.js │ │ │ ├── scroll-view.json │ │ │ ├── scroll-view.wxml │ │ │ └── scroll-view.wxss │ │ ├── slider │ │ │ ├── slider.js │ │ │ ├── slider.json │ │ │ ├── slider.wxml │ │ │ └── slider.wxss │ │ ├── swiper │ │ │ ├── swiper.js │ │ │ ├── swiper.json │ │ │ ├── swiper.wxml │ │ │ └── swiper.wxss │ │ ├── switch │ │ │ ├── switch.js │ │ │ ├── switch.json │ │ │ ├── switch.wxml │ │ │ └── switch.wxss │ │ ├── text │ │ │ ├── text.js │ │ │ ├── text.json │ │ │ ├── text.wxml │ │ │ └── text.wxss │ │ ├── textarea │ │ │ ├── textarea.js │ │ │ ├── textarea.json │ │ │ ├── textarea.wxml │ │ │ └── textarea.wxss │ │ ├── video │ │ │ ├── video.js │ │ │ ├── video.json │ │ │ ├── video.wxml │ │ │ └── video.wxss │ │ ├── view │ │ │ ├── view.js │ │ │ ├── view.json │ │ │ ├── view.wxml │ │ │ └── view.wxss │ │ └── web-view │ │ │ ├── web-view.js │ │ │ ├── web-view.json │ │ │ ├── web-view.wxml │ │ │ └── web-view.wxss │ └── resources │ │ ├── kind │ │ ├── canvas.png │ │ ├── content.png │ │ ├── daytime.png │ │ ├── form.png │ │ ├── logo.png │ │ ├── map.png │ │ ├── media.png │ │ ├── nav.png │ │ ├── night.png │ │ ├── open.png │ │ └── view.png │ │ └── pic │ │ ├── 1.jpg │ │ ├── 2.jpg │ │ ├── custom_map_template_1.png │ │ ├── custom_map_template_2.png │ │ ├── custom_map_template_3.png │ │ └── custom_map_template_4.png ├── memory │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── postList │ ├── postlist.js │ ├── postlist.json │ ├── postlist.wxml │ └── postlist.wxss └── postSend │ ├── postsend.js │ ├── postsend.json │ ├── postsend.wxml │ └── postsend.wxss ├── project.config.json ├── util └── util.js └── workers └── fib └── index.js /.gitignore: -------------------------------------------------------------------------------- 1 | # Windows 2 | [Dd]esktop.ini 3 | Thumbs.db 4 | $RECYCLE.BIN/ 5 | 6 | # macOS 7 | .DS_Store 8 | .fseventsd 9 | .Spotlight-V100 10 | .TemporaryItems 11 | .Trashes 12 | 13 | # Node.js 14 | node_modules/ 15 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 wechat-miniprogram 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. 22 | -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- 1 | const openIdUrl = require('./config').openIdUrl 2 | 3 | App({ 4 | onLaunch(opts) { 5 | console.log('App Launch', opts) 6 | 7 | wx.cloud.init({ 8 | // env: 'dev-wx-xxxx', 9 | env: 'online-xxxx', 10 | traceUser:true 11 | }) 12 | }, 13 | onShow(opts) { 14 | console.log('App Show', opts) 15 | }, 16 | onHide() { 17 | console.log('App Hide') 18 | }, 19 | globalData: { 20 | hasLogin: false, 21 | openid: null 22 | }, 23 | // lazy loading openid 24 | getUserOpenId(callback) { 25 | const self = this 26 | 27 | if (self.globalData.openid) { 28 | callback(null, self.globalData.openid) 29 | } else { 30 | wx.login({ 31 | success(data) { 32 | wx.request({ 33 | url: openIdUrl, 34 | data: { 35 | code: data.code 36 | }, 37 | success(res) { 38 | console.log('拉取openid成功', res) 39 | self.globalData.openid = res.data.openid 40 | callback(null, self.globalData.openid) 41 | }, 42 | fail(res) { 43 | console.log('拉取用户openid失败,将无法正常使用开放接口等服务', res) 44 | callback(res) 45 | } 46 | }) 47 | }, 48 | fail(err) { 49 | console.log('wx.login 接口调用失败,将无法正常使用开放接口等服务', err) 50 | callback(err) 51 | } 52 | }) 53 | } 54 | } 55 | }) 56 | -------------------------------------------------------------------------------- /config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 小程序配置文件 3 | */ 4 | 5 | // 此处主机域名是腾讯云解决方案分配的域名 6 | // 小程序后台服务解决方案:https://www.qcloud.com/solution/la 7 | const host = 'xxxxxxxxxxxxxx' 8 | 9 | const config = { 10 | 11 | // 下面的地址配合云端 Server 工作 12 | host, 13 | 14 | // 登录地址,用于建立会话 15 | loginUrl: `https://${host}/login`, 16 | 17 | // 测试的请求地址,用于测试会话 18 | requestUrl: `https://${host}/testRequest`, 19 | 20 | // 用code换取openId 21 | openIdUrl: `https://${host}/openid`, 22 | 23 | // 测试的信道服务接口 24 | tunnelUrl: `https://${host}/tunnel`, 25 | 26 | // 生成支付订单的接口 27 | paymentUrl: `https://${host}/payment`, 28 | 29 | // 发送模板消息接口 30 | templateMessageUrl: `https://${host}/templateMessage`, 31 | 32 | // 发送订阅消息接口 33 | subscribeMessageUrl: `https://${host}/subscribeMessage`, 34 | 35 | // 上传文件接口 36 | uploadFileUrl: `https://${host}/upload`, 37 | 38 | // 下载示例图片接口 39 | downloadExampleUrl: `https://${host}/static/weapp.jpg` 40 | } 41 | 42 | module.exports = config 43 | -------------------------------------------------------------------------------- /functions/getOpenId/index.js: -------------------------------------------------------------------------------- 1 | // 云函数入口文件 2 | const cloud = require('wx-server-sdk') 3 | 4 | cloud.init() 5 | 6 | // 云函数入口函数 7 | exports.main = async (event, context) => { 8 | const wxContext = cloud.getWXContext() 9 | 10 | return { 11 | event, 12 | openid: wxContext.OPENID, 13 | appid: wxContext.APPID, 14 | unionid: wxContext.UNIONID, 15 | } 16 | } -------------------------------------------------------------------------------- /functions/getOpenId/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getOpenId", 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 | "wx-server-sdk": "latest" 13 | } 14 | } -------------------------------------------------------------------------------- /image/addition_fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/addition_fill.png -------------------------------------------------------------------------------- /image/green_tri.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/green_tri.png -------------------------------------------------------------------------------- /image/icon64_appwx_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/icon64_appwx_logo.png -------------------------------------------------------------------------------- /image/icon_API.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/icon_API.png -------------------------------------------------------------------------------- /image/icon_API_HL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/icon_API_HL.png -------------------------------------------------------------------------------- /image/icon_await_disable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/icon_await_disable.png -------------------------------------------------------------------------------- /image/icon_await_enable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/icon_await_enable.png -------------------------------------------------------------------------------- /image/icon_component.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/icon_component.png -------------------------------------------------------------------------------- /image/icon_component_HL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/icon_component_HL.png -------------------------------------------------------------------------------- /image/icon_foot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/icon_foot.png -------------------------------------------------------------------------------- /image/icon_love_disable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/icon_love_disable.png -------------------------------------------------------------------------------- /image/icon_love_enable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/icon_love_enable.png -------------------------------------------------------------------------------- /image/location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/location.png -------------------------------------------------------------------------------- /image/pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/pause.png -------------------------------------------------------------------------------- /image/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/play.png -------------------------------------------------------------------------------- /image/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/plus.png -------------------------------------------------------------------------------- /image/record.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/record.png -------------------------------------------------------------------------------- /image/share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/share.png -------------------------------------------------------------------------------- /image/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/stop.png -------------------------------------------------------------------------------- /image/trash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/trash.png -------------------------------------------------------------------------------- /image/wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/wechat.png -------------------------------------------------------------------------------- /image/wechatHL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/onlyxxp/miniprogram-xiaoxiao-open/74564deaf8c4d42d7231878a383b805d7de10069/image/wechatHL.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "miniprogram-demo", 3 | "version": "2.3.1", 4 | "description": "WeChat miniprogram demo", 5 | "scripts": { 6 | "lint": "eslint ." 7 | }, 8 | "repository": { 9 | "type": "git", 10 | "url": "git+https://github.com/wechat-miniprogram/miniprogram-demo.git" 11 | }, 12 | "author": "wechat-miniprogram", 13 | "license": "MIT", 14 | "bugs": { 15 | "url": "https://github.com/wechat-miniprogram/miniprogram-demo/issues" 16 | }, 17 | "homepage": "https://github.com/wechat-miniprogram/miniprogram-demo#readme", 18 | "devDependencies": { 19 | "eslint": "^5.5.0", 20 | "eslint-config-airbnb-base": "13.1.0", 21 | "eslint-plugin-import": "^2.14.0", 22 | "eslint-plugin-node": "^7.0.1", 23 | "eslint-plugin-promise": "^4.0.0" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /page/API/components/set-tab-bar/set-tab-bar.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /page/API/components/set-tab-bar/set-tab-bar.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |