From 289f85d9e9fc921a9742aee91883d046633c6feb Mon Sep 17 00:00:00 2001 From: "Adam.Gong" Date: Wed, 29 Apr 2020 12:06:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 17 - common/data.js | 132 - components/HM-filterDropdown/HM-filterDropdown.vue | 785 -- components/card.vue | 19 - components/uni-drawer/uni-drawer.vue | 170 - main.js | 11 - manifest.json | 75 - package.json | 78 + pages.json | 53 - pages/cart/cart.vue | 52 - pages/index/index.vue | 308 - pages/user/user.vue | 52 - src/App.vue | 17 + src/LICENSE | 21 + src/README | 1 + src/README.md | 14 + src/common/data.js | 132 + .../HM-filterDropdown/HM-filterDropdown.vue | 785 ++ src/components/card.vue | 19 + src/components/uni-drawer/uni-drawer.vue | 170 + src/hybrid/html/local.html | 88 + src/main.js | 11 + src/manifest.json | 75 + src/pages.json | 53 + src/pages/cart/cart.vue | 52 + src/pages/index/index.vue | 308 + src/pages/user/user.vue | 52 + src/platforms/app-plus/feedback/feedback.vue | 202 + src/platforms/app-plus/orientation/orientation.vue | 61 + src/platforms/app-plus/proximity/proximity.vue | 69 + src/platforms/app-plus/push/push.vue | 120 + src/platforms/app-plus/shake/shake.vue | 91 + src/platforms/app-plus/speech/speech.vue | 105 + src/static/img/goods/p1.jpg | Bin 0 -> 11530 bytes src/static/img/goods/p10.jpg | Bin 0 -> 23148 bytes src/static/img/goods/p2.jpg | Bin 0 -> 16688 bytes src/static/img/goods/p3.jpg | Bin 0 -> 15369 bytes src/static/img/goods/p4.jpg | Bin 0 -> 6703 bytes src/static/img/goods/p5.jpg | Bin 0 -> 30322 bytes src/static/img/goods/p6.jpg | Bin 0 -> 6395 bytes src/static/img/goods/p7.jpg | Bin 0 -> 20570 bytes src/static/img/goods/p8.jpg | Bin 0 -> 20865 bytes src/static/img/goods/p9.jpg | Bin 0 -> 24643 bytes src/static/logo.png | Bin 0 -> 4023 bytes src/static/tab-cart-current.png | Bin 0 -> 2956 bytes src/static/tab-cart.png | Bin 0 -> 2915 bytes src/static/tab-home-current.png | Bin 0 -> 4063 bytes src/static/tab-home.png | Bin 0 -> 3966 bytes src/static/tab-my-current.png | Bin 0 -> 1345 bytes src/static/tab-my.png | Bin 0 -> 2962 bytes src/store/index.js | 73 + src/template.h5.html | 53 + src/uni.scss | 76 + src/wxcomponents/vant/button/index.d.ts | 1 + src/wxcomponents/vant/button/index.js | 68 + src/wxcomponents/vant/button/index.json | 7 + src/wxcomponents/vant/button/index.vue | 96 + src/wxcomponents/vant/button/index.wxml | 52 + src/wxcomponents/vant/button/index.wxss | 1 + src/wxcomponents/vant/common/color.d.ts | 7 + src/wxcomponents/vant/common/color.js | 7 + src/wxcomponents/vant/common/component.d.ts | 3 + src/wxcomponents/vant/common/component.js | 48 + src/wxcomponents/vant/common/index.css | 1 + src/wxcomponents/vant/common/index.wxss | 1 + src/wxcomponents/vant/common/style/clearfix.css | 1 + src/wxcomponents/vant/common/style/clearfix.wxss | 1 + src/wxcomponents/vant/common/style/ellipsis.css | 1 + src/wxcomponents/vant/common/style/ellipsis.wxss | 1 + src/wxcomponents/vant/common/style/hairline.css | 1 + src/wxcomponents/vant/common/style/hairline.wxss | 1 + .../vant/common/style/mixins/clearfix.css | 0 .../vant/common/style/mixins/clearfix.wxss | 0 .../vant/common/style/mixins/ellipsis.css | 0 .../vant/common/style/mixins/ellipsis.wxss | 0 .../vant/common/style/mixins/hairline.css | 0 .../vant/common/style/mixins/hairline.wxss | 0 src/wxcomponents/vant/common/style/theme.css | 0 src/wxcomponents/vant/common/style/theme.wxss | 0 src/wxcomponents/vant/common/style/var.css | 0 src/wxcomponents/vant/common/style/var.wxss | 0 src/wxcomponents/vant/common/utils.d.ts | 8 + src/wxcomponents/vant/common/utils.js | 32 + src/wxcomponents/vant/icon/index.d.ts | 1 + src/wxcomponents/vant/icon/index.js | 39 + src/wxcomponents/vant/icon/index.json | 6 + src/wxcomponents/vant/icon/index.vue | 1012 +++ src/wxcomponents/vant/icon/index.wxml | 18 + src/wxcomponents/vant/icon/index.wxss | 957 +++ src/wxcomponents/vant/info/index.d.ts | 1 + src/wxcomponents/vant/info/index.js | 8 + src/wxcomponents/vant/info/index.json | 3 + src/wxcomponents/vant/info/index.vue | 20 + src/wxcomponents/vant/info/index.wxml | 7 + src/wxcomponents/vant/info/index.wxss | 1 + src/wxcomponents/vant/loading/index.d.ts | 1 + src/wxcomponents/vant/loading/index.js | 32 + src/wxcomponents/vant/loading/index.json | 3 + src/wxcomponents/vant/loading/index.vue | 51 + src/wxcomponents/vant/loading/index.wxml | 16 + src/wxcomponents/vant/loading/index.wxss | 1 + src/wxcomponents/vant/mixins/basic.d.ts | 1 + src/wxcomponents/vant/mixins/basic.js | 22 + src/wxcomponents/vant/mixins/button.d.ts | 1 + src/wxcomponents/vant/mixins/button.js | 18 + src/wxcomponents/vant/mixins/link.d.ts | 1 + src/wxcomponents/vant/mixins/link.js | 17 + .../vant/mixins/observer/behavior.d.ts | 1 + src/wxcomponents/vant/mixins/observer/behavior.js | 14 + src/wxcomponents/vant/mixins/observer/index.d.ts | 1 + src/wxcomponents/vant/mixins/observer/index.js | 19 + src/wxcomponents/vant/mixins/open-type.d.ts | 1 + src/wxcomponents/vant/mixins/open-type.js | 25 + src/wxcomponents/vant/mixins/touch.d.ts | 1 + src/wxcomponents/vant/mixins/touch.js | 35 + src/wxcomponents/vant/mixins/transition.d.ts | 1 + src/wxcomponents/vant/mixins/transition.js | 120 + src/wxcomponents/vant/wxs/array.wxs | 5 + src/wxcomponents/vant/wxs/bem.wxs | 38 + src/wxcomponents/vant/wxs/memoize.wxs | 54 + src/wxcomponents/vant/wxs/object.wxs | 13 + src/wxcomponents/vant/wxs/utils.wxs | 7 + static/img/goods/p1.jpg | Bin 11530 -> 0 bytes static/img/goods/p10.jpg | Bin 23148 -> 0 bytes static/img/goods/p2.jpg | Bin 16688 -> 0 bytes static/img/goods/p3.jpg | Bin 15369 -> 0 bytes static/img/goods/p4.jpg | Bin 6703 -> 0 bytes static/img/goods/p5.jpg | Bin 30322 -> 0 bytes static/img/goods/p6.jpg | Bin 6395 -> 0 bytes static/img/goods/p7.jpg | Bin 20570 -> 0 bytes static/img/goods/p8.jpg | Bin 20865 -> 0 bytes static/img/goods/p9.jpg | Bin 24643 -> 0 bytes static/logo.png | Bin 4023 -> 0 bytes static/tab-cart-current.png | Bin 2956 -> 0 bytes static/tab-cart.png | Bin 2915 -> 0 bytes static/tab-home-current.png | Bin 4063 -> 0 bytes static/tab-home.png | Bin 3966 -> 0 bytes static/tab-my-current.png | Bin 1345 -> 0 bytes static/tab-my.png | Bin 2962 -> 0 bytes uni.scss | 76 - .../dev/.sourcemap/mp-weixin/common/main.js.map | 1 - .../dev/.sourcemap/mp-weixin/common/runtime.js.map | 1 - .../dev/.sourcemap/mp-weixin/common/vendor.js.map | 1 - .../HM-filterDropdown/HM-filterDropdown.js.map | 1 - .../components/uni-drawer/uni-drawer.js.map | 1 - .../uni-segmented-control.js.map | 1 - .../.sourcemap/mp-weixin/pages/cart/cart.js.map | 1 - .../.sourcemap/mp-weixin/pages/index/index.js.map | 1 - .../.sourcemap/mp-weixin/pages/user/user.js.map | 1 - unpackage/dist/dev/mp-weixin/app.js | 4 - unpackage/dist/dev/mp-weixin/app.json | 42 - unpackage/dist/dev/mp-weixin/app.wxss | 1 - unpackage/dist/dev/mp-weixin/common/main.js | 135 - unpackage/dist/dev/mp-weixin/common/main.wxss | 17 - unpackage/dist/dev/mp-weixin/common/runtime.js | 269 - unpackage/dist/dev/mp-weixin/common/vendor.js | 8824 -------------------- .../HM-filterDropdown/HM-filterDropdown.js | 648 -- .../HM-filterDropdown/HM-filterDropdown.json | 4 - .../HM-filterDropdown/HM-filterDropdown.wxml | 1 - .../HM-filterDropdown/HM-filterDropdown.wxss | 398 - .../mp-weixin/components/uni-drawer/uni-drawer.js | 250 - .../components/uni-drawer/uni-drawer.json | 4 - .../components/uni-drawer/uni-drawer.wxml | 1 - .../components/uni-drawer/uni-drawer.wxss | 79 - unpackage/dist/dev/mp-weixin/pages/cart/cart.js | 186 - unpackage/dist/dev/mp-weixin/pages/cart/cart.json | 4 - unpackage/dist/dev/mp-weixin/pages/cart/cart.wxml | 1 - unpackage/dist/dev/mp-weixin/pages/cart/cart.wxss | 37 - unpackage/dist/dev/mp-weixin/pages/index/index.js | 343 - .../dist/dev/mp-weixin/pages/index/index.json | 7 - .../dist/dev/mp-weixin/pages/index/index.wxml | 1 - .../dist/dev/mp-weixin/pages/index/index.wxss | 213 - unpackage/dist/dev/mp-weixin/pages/user/user.js | 186 - unpackage/dist/dev/mp-weixin/pages/user/user.json | 4 - unpackage/dist/dev/mp-weixin/pages/user/user.wxml | 1 - unpackage/dist/dev/mp-weixin/pages/user/user.wxss | 37 - unpackage/dist/dev/mp-weixin/project.config.json | 33 - unpackage/dist/dev/mp-weixin/sitemap.json | 7 - unpackage/dist/dev/mp-weixin/sitemap39.json | 7 - unpackage/dist/dev/mp-weixin/sitemap46.json | 7 - unpackage/dist/dev/mp-weixin/sitemap47.json | 7 - unpackage/dist/dev/mp-weixin/sitemap54.json | 7 - unpackage/dist/dev/mp-weixin/sitemap7.json | 7 - unpackage/dist/dev/mp-weixin/sitemap80.json | 7 - unpackage/dist/dev/mp-weixin/sitemap96.json | 7 - .../dist/dev/mp-weixin/static/img/goods/p1.jpg | Bin 11530 -> 0 bytes .../dist/dev/mp-weixin/static/img/goods/p10.jpg | Bin 23148 -> 0 bytes .../dist/dev/mp-weixin/static/img/goods/p2.jpg | Bin 16688 -> 0 bytes .../dist/dev/mp-weixin/static/img/goods/p3.jpg | Bin 15369 -> 0 bytes .../dist/dev/mp-weixin/static/img/goods/p4.jpg | Bin 6703 -> 0 bytes .../dist/dev/mp-weixin/static/img/goods/p5.jpg | Bin 30322 -> 0 bytes .../dist/dev/mp-weixin/static/img/goods/p6.jpg | Bin 6395 -> 0 bytes .../dist/dev/mp-weixin/static/img/goods/p7.jpg | Bin 20570 -> 0 bytes .../dist/dev/mp-weixin/static/img/goods/p8.jpg | Bin 20865 -> 0 bytes .../dist/dev/mp-weixin/static/img/goods/p9.jpg | Bin 24643 -> 0 bytes unpackage/dist/dev/mp-weixin/static/logo.png | Bin 4023 -> 0 bytes .../dist/dev/mp-weixin/static/tab-cart-current.png | Bin 2956 -> 0 bytes unpackage/dist/dev/mp-weixin/static/tab-cart.png | Bin 2915 -> 0 bytes .../dist/dev/mp-weixin/static/tab-home-current.png | Bin 4063 -> 0 bytes unpackage/dist/dev/mp-weixin/static/tab-home.png | Bin 3966 -> 0 bytes .../dist/dev/mp-weixin/static/tab-my-current.png | Bin 1345 -> 0 bytes unpackage/dist/dev/mp-weixin/static/tab-my.png | Bin 2962 -> 0 bytes 202 files changed, 5636 insertions(+), 13545 deletions(-) delete mode 100644 App.vue delete mode 100644 common/data.js delete mode 100644 components/HM-filterDropdown/HM-filterDropdown.vue delete mode 100644 components/card.vue delete mode 100644 components/uni-drawer/uni-drawer.vue delete mode 100644 main.js delete mode 100644 manifest.json create mode 100644 package.json delete mode 100644 pages.json delete mode 100644 pages/cart/cart.vue delete mode 100644 pages/index/index.vue delete mode 100644 pages/user/user.vue create mode 100644 src/App.vue create mode 100644 src/LICENSE create mode 100644 src/README create mode 100644 src/README.md create mode 100644 src/common/data.js create mode 100644 src/components/HM-filterDropdown/HM-filterDropdown.vue create mode 100644 src/components/card.vue create mode 100644 src/components/uni-drawer/uni-drawer.vue create mode 100644 src/hybrid/html/local.html create mode 100644 src/main.js create mode 100644 src/manifest.json create mode 100644 src/pages.json create mode 100644 src/pages/cart/cart.vue create mode 100644 src/pages/index/index.vue create mode 100644 src/pages/user/user.vue create mode 100644 src/platforms/app-plus/feedback/feedback.vue create mode 100644 src/platforms/app-plus/orientation/orientation.vue create mode 100644 src/platforms/app-plus/proximity/proximity.vue create mode 100644 src/platforms/app-plus/push/push.vue create mode 100644 src/platforms/app-plus/shake/shake.vue create mode 100644 src/platforms/app-plus/speech/speech.vue create mode 100644 src/static/img/goods/p1.jpg create mode 100644 src/static/img/goods/p10.jpg create mode 100644 src/static/img/goods/p2.jpg create mode 100644 src/static/img/goods/p3.jpg create mode 100644 src/static/img/goods/p4.jpg create mode 100644 src/static/img/goods/p5.jpg create mode 100644 src/static/img/goods/p6.jpg create mode 100644 src/static/img/goods/p7.jpg create mode 100644 src/static/img/goods/p8.jpg create mode 100644 src/static/img/goods/p9.jpg create mode 100644 src/static/logo.png create mode 100644 src/static/tab-cart-current.png create mode 100644 src/static/tab-cart.png create mode 100644 src/static/tab-home-current.png create mode 100644 src/static/tab-home.png create mode 100644 src/static/tab-my-current.png create mode 100644 src/static/tab-my.png create mode 100644 src/store/index.js create mode 100644 src/template.h5.html create mode 100644 src/uni.scss create mode 100644 src/wxcomponents/vant/button/index.d.ts create mode 100644 src/wxcomponents/vant/button/index.js create mode 100644 src/wxcomponents/vant/button/index.json create mode 100644 src/wxcomponents/vant/button/index.vue create mode 100644 src/wxcomponents/vant/button/index.wxml create mode 100644 src/wxcomponents/vant/button/index.wxss create mode 100644 src/wxcomponents/vant/common/color.d.ts create mode 100644 src/wxcomponents/vant/common/color.js create mode 100644 src/wxcomponents/vant/common/component.d.ts create mode 100644 src/wxcomponents/vant/common/component.js create mode 100644 src/wxcomponents/vant/common/index.css create mode 100644 src/wxcomponents/vant/common/index.wxss create mode 100644 src/wxcomponents/vant/common/style/clearfix.css create mode 100644 src/wxcomponents/vant/common/style/clearfix.wxss create mode 100644 src/wxcomponents/vant/common/style/ellipsis.css create mode 100644 src/wxcomponents/vant/common/style/ellipsis.wxss create mode 100644 src/wxcomponents/vant/common/style/hairline.css create mode 100644 src/wxcomponents/vant/common/style/hairline.wxss create mode 100644 src/wxcomponents/vant/common/style/mixins/clearfix.css create mode 100644 src/wxcomponents/vant/common/style/mixins/clearfix.wxss create mode 100644 src/wxcomponents/vant/common/style/mixins/ellipsis.css create mode 100644 src/wxcomponents/vant/common/style/mixins/ellipsis.wxss create mode 100644 src/wxcomponents/vant/common/style/mixins/hairline.css create mode 100644 src/wxcomponents/vant/common/style/mixins/hairline.wxss create mode 100644 src/wxcomponents/vant/common/style/theme.css create mode 100644 src/wxcomponents/vant/common/style/theme.wxss create mode 100644 src/wxcomponents/vant/common/style/var.css create mode 100644 src/wxcomponents/vant/common/style/var.wxss create mode 100644 src/wxcomponents/vant/common/utils.d.ts create mode 100644 src/wxcomponents/vant/common/utils.js create mode 100644 src/wxcomponents/vant/icon/index.d.ts create mode 100644 src/wxcomponents/vant/icon/index.js create mode 100644 src/wxcomponents/vant/icon/index.json create mode 100644 src/wxcomponents/vant/icon/index.vue create mode 100644 src/wxcomponents/vant/icon/index.wxml create mode 100644 src/wxcomponents/vant/icon/index.wxss create mode 100644 src/wxcomponents/vant/info/index.d.ts create mode 100644 src/wxcomponents/vant/info/index.js create mode 100644 src/wxcomponents/vant/info/index.json create mode 100644 src/wxcomponents/vant/info/index.vue create mode 100644 src/wxcomponents/vant/info/index.wxml create mode 100644 src/wxcomponents/vant/info/index.wxss create mode 100644 src/wxcomponents/vant/loading/index.d.ts create mode 100644 src/wxcomponents/vant/loading/index.js create mode 100644 src/wxcomponents/vant/loading/index.json create mode 100644 src/wxcomponents/vant/loading/index.vue create mode 100644 src/wxcomponents/vant/loading/index.wxml create mode 100644 src/wxcomponents/vant/loading/index.wxss create mode 100644 src/wxcomponents/vant/mixins/basic.d.ts create mode 100644 src/wxcomponents/vant/mixins/basic.js create mode 100644 src/wxcomponents/vant/mixins/button.d.ts create mode 100644 src/wxcomponents/vant/mixins/button.js create mode 100644 src/wxcomponents/vant/mixins/link.d.ts create mode 100644 src/wxcomponents/vant/mixins/link.js create mode 100644 src/wxcomponents/vant/mixins/observer/behavior.d.ts create mode 100644 src/wxcomponents/vant/mixins/observer/behavior.js create mode 100644 src/wxcomponents/vant/mixins/observer/index.d.ts create mode 100644 src/wxcomponents/vant/mixins/observer/index.js create mode 100644 src/wxcomponents/vant/mixins/open-type.d.ts create mode 100644 src/wxcomponents/vant/mixins/open-type.js create mode 100644 src/wxcomponents/vant/mixins/touch.d.ts create mode 100644 src/wxcomponents/vant/mixins/touch.js create mode 100644 src/wxcomponents/vant/mixins/transition.d.ts create mode 100644 src/wxcomponents/vant/mixins/transition.js create mode 100644 src/wxcomponents/vant/wxs/array.wxs create mode 100644 src/wxcomponents/vant/wxs/bem.wxs create mode 100644 src/wxcomponents/vant/wxs/memoize.wxs create mode 100644 src/wxcomponents/vant/wxs/object.wxs create mode 100644 src/wxcomponents/vant/wxs/utils.wxs delete mode 100644 static/img/goods/p1.jpg delete mode 100644 static/img/goods/p10.jpg delete mode 100644 static/img/goods/p2.jpg delete mode 100644 static/img/goods/p3.jpg delete mode 100644 static/img/goods/p4.jpg delete mode 100644 static/img/goods/p5.jpg delete mode 100644 static/img/goods/p6.jpg delete mode 100644 static/img/goods/p7.jpg delete mode 100644 static/img/goods/p8.jpg delete mode 100644 static/img/goods/p9.jpg delete mode 100644 static/logo.png delete mode 100644 static/tab-cart-current.png delete mode 100644 static/tab-cart.png delete mode 100644 static/tab-home-current.png delete mode 100644 static/tab-home.png delete mode 100644 static/tab-my-current.png delete mode 100644 static/tab-my.png delete mode 100644 uni.scss delete mode 100644 unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map delete mode 100644 unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map delete mode 100644 unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map delete mode 100644 unpackage/dist/dev/.sourcemap/mp-weixin/components/HM-filterDropdown/HM-filterDropdown.js.map delete mode 100644 unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-drawer/uni-drawer.js.map delete mode 100644 unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-segmented-control/uni-segmented-control.js.map delete mode 100644 unpackage/dist/dev/.sourcemap/mp-weixin/pages/cart/cart.js.map delete mode 100644 unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map delete mode 100644 unpackage/dist/dev/.sourcemap/mp-weixin/pages/user/user.js.map delete mode 100644 unpackage/dist/dev/mp-weixin/app.js delete mode 100644 unpackage/dist/dev/mp-weixin/app.json delete mode 100644 unpackage/dist/dev/mp-weixin/app.wxss delete mode 100644 unpackage/dist/dev/mp-weixin/common/main.js delete mode 100644 unpackage/dist/dev/mp-weixin/common/main.wxss delete mode 100644 unpackage/dist/dev/mp-weixin/common/runtime.js delete mode 100644 unpackage/dist/dev/mp-weixin/common/vendor.js delete mode 100644 unpackage/dist/dev/mp-weixin/components/HM-filterDropdown/HM-filterDropdown.js delete mode 100644 unpackage/dist/dev/mp-weixin/components/HM-filterDropdown/HM-filterDropdown.json delete mode 100644 unpackage/dist/dev/mp-weixin/components/HM-filterDropdown/HM-filterDropdown.wxml delete mode 100644 unpackage/dist/dev/mp-weixin/components/HM-filterDropdown/HM-filterDropdown.wxss delete mode 100644 unpackage/dist/dev/mp-weixin/components/uni-drawer/uni-drawer.js delete mode 100644 unpackage/dist/dev/mp-weixin/components/uni-drawer/uni-drawer.json delete mode 100644 unpackage/dist/dev/mp-weixin/components/uni-drawer/uni-drawer.wxml delete mode 100644 unpackage/dist/dev/mp-weixin/components/uni-drawer/uni-drawer.wxss delete mode 100644 unpackage/dist/dev/mp-weixin/pages/cart/cart.js delete mode 100644 unpackage/dist/dev/mp-weixin/pages/cart/cart.json delete mode 100644 unpackage/dist/dev/mp-weixin/pages/cart/cart.wxml delete mode 100644 unpackage/dist/dev/mp-weixin/pages/cart/cart.wxss delete mode 100644 unpackage/dist/dev/mp-weixin/pages/index/index.js delete mode 100644 unpackage/dist/dev/mp-weixin/pages/index/index.json delete mode 100644 unpackage/dist/dev/mp-weixin/pages/index/index.wxml delete mode 100644 unpackage/dist/dev/mp-weixin/pages/index/index.wxss delete mode 100644 unpackage/dist/dev/mp-weixin/pages/user/user.js delete mode 100644 unpackage/dist/dev/mp-weixin/pages/user/user.json delete mode 100644 unpackage/dist/dev/mp-weixin/pages/user/user.wxml delete mode 100644 unpackage/dist/dev/mp-weixin/pages/user/user.wxss delete mode 100644 unpackage/dist/dev/mp-weixin/project.config.json delete mode 100644 unpackage/dist/dev/mp-weixin/sitemap.json delete mode 100644 unpackage/dist/dev/mp-weixin/sitemap39.json delete mode 100644 unpackage/dist/dev/mp-weixin/sitemap46.json delete mode 100644 unpackage/dist/dev/mp-weixin/sitemap47.json delete mode 100644 unpackage/dist/dev/mp-weixin/sitemap54.json delete mode 100644 unpackage/dist/dev/mp-weixin/sitemap7.json delete mode 100644 unpackage/dist/dev/mp-weixin/sitemap80.json delete mode 100644 unpackage/dist/dev/mp-weixin/sitemap96.json delete mode 100644 unpackage/dist/dev/mp-weixin/static/img/goods/p1.jpg delete mode 100644 unpackage/dist/dev/mp-weixin/static/img/goods/p10.jpg delete mode 100644 unpackage/dist/dev/mp-weixin/static/img/goods/p2.jpg delete mode 100644 unpackage/dist/dev/mp-weixin/static/img/goods/p3.jpg delete mode 100644 unpackage/dist/dev/mp-weixin/static/img/goods/p4.jpg delete mode 100644 unpackage/dist/dev/mp-weixin/static/img/goods/p5.jpg delete mode 100644 unpackage/dist/dev/mp-weixin/static/img/goods/p6.jpg delete mode 100644 unpackage/dist/dev/mp-weixin/static/img/goods/p7.jpg delete mode 100644 unpackage/dist/dev/mp-weixin/static/img/goods/p8.jpg delete mode 100644 unpackage/dist/dev/mp-weixin/static/img/goods/p9.jpg delete mode 100644 unpackage/dist/dev/mp-weixin/static/logo.png delete mode 100644 unpackage/dist/dev/mp-weixin/static/tab-cart-current.png delete mode 100644 unpackage/dist/dev/mp-weixin/static/tab-cart.png delete mode 100644 unpackage/dist/dev/mp-weixin/static/tab-home-current.png delete mode 100644 unpackage/dist/dev/mp-weixin/static/tab-home.png delete mode 100644 unpackage/dist/dev/mp-weixin/static/tab-my-current.png delete mode 100644 unpackage/dist/dev/mp-weixin/static/tab-my.png diff --git a/App.vue b/App.vue deleted file mode 100644 index 8c2b732..0000000 --- a/App.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/common/data.js b/common/data.js deleted file mode 100644 index 43ce77e..0000000 --- a/common/data.js +++ /dev/null @@ -1,132 +0,0 @@ -// 数据格式,数据中只需要包含以下字段和数据格式,可以添加字段,比如id等等,不影响组件显示, -// 组件的返回结果是有菜单数组下标形式返回, -// 如果传入数据中有value,也会返回value,开发者可根据返回的下标获取所选中的菜单 -/* -[ - { - "name":"", //字符串类型 选填项 菜单名称,如不填,则取第一个子菜单的name值,filter和radio类型则将设置为"筛选" - "type":"" //字符串类型 必填项 可取值 hierarchy/filter/radio hierarchy单/多层级菜单(最多三级); filter筛选多选菜单; radio筛选单选菜单 - "submenu":[ //对象数组类型 必填项 子菜单数据 - { - "name":"", //字符串类型 必填项 菜单名称 - "value":"", //字符串类型 选填项 自定义内容,比如id等等,如果填写了,confirm返回的结果中将返回对应选中的value,若菜单无value字段则返回null,filter类型此字段无效果 - "submenu":[ //对象数组类型 必填项 子菜单数据 - { - "name":"", //字符串类型 必填项 菜单名称 - "value":"", //字符串类型 选填项 自定义内容,比如id等等,如果填写了,confirm返回的结果中将返回对应选中的value,若菜单无value字段则返回null - "submenu":[ //对象数组类型 必填项 子菜单数据 filter类型无效 - { - "name":"", //字符串类型 必填项 菜单名称 hierarchy类型层级最多到此 - "value":"", //字符串类型 选填项 自定义内容,比如id等等,如果填写了,confirm返回的结果中将返回对应选中的value,若菜单无value字段则返回null - } - ] - } - ] - } - ] - } -] -*/ - -//0.0.4版本起 返回结果将有两部分组成: -/* -{ - index:[], //旧版本的下标数组形式 - value:[] //菜单中的valve,结构和下标结果数组一样,只是把下标替换成了value而已 -} -*/ -// 以下演示数据中,我故意把value设置成跟name一样,只是为了方便演示,使示例更加易懂,实际使用时候value应该是一个标识,给后台识别所用的. -// 数据较长,请仔细查看。 -export default [ - { - "name":'综合', - "type": 'filter', - "submenu": [{ - "submenu": [ - - ] - }, - ], - }, - { - name:'品牌', - "type": 'filter', - "submenu": [{ - "name": '品牌', - "value": "品牌", - "submenu": [{ - "name": "帕森", - "value": "帕森", - }, - { - "name": "海伦凯勒", - "value": "海伦凯勒", - }, - ] - }, - ] - }, - { - "name":'功能', - "type": 'filter', - "submenu": [{ - "name": "智能排序", - "value": "智能排序" - }, - { - "name": "离我最近", - "value": "离我最近" - }, - { - "name": "人均从高到低", - "value": "人均从高到低" - }, - { - "name": "人均从低到高", - "value": "人均从低到高" - } - ] - }, - { - "name":'材质', - "type": 'filter', - "submenu": [{ - "submenu": [{ - "name": "满减活动", - "value": "满减活动" - }, - { - "name": "打折优惠", - "value": "打折优惠" - }, - { - "name": "会员专享", - "value": "会员专享" - } - ] - } - ] - }, - { - "name":'折扣', - "type": 'filter', - "submenu": [{ - "name": "折扣(多选)", - "submenu": [{ - "name": "满减活动", - "value": "满减活动" - }, - { - "name": "打折优惠", - "value": "打折优惠" - }, - { - "name": "会员专享", - "value": "会员专享" - } - ] - } - ] - } -] - diff --git a/components/HM-filterDropdown/HM-filterDropdown.vue b/components/HM-filterDropdown/HM-filterDropdown.vue deleted file mode 100644 index b3c4ffd..0000000 --- a/components/HM-filterDropdown/HM-filterDropdown.vue +++ /dev/null @@ -1,785 +0,0 @@ - - - diff --git a/components/card.vue b/components/card.vue deleted file mode 100644 index 8c3b35f..0000000 --- a/components/card.vue +++ /dev/null @@ -1,19 +0,0 @@ - - - - - diff --git a/components/uni-drawer/uni-drawer.vue b/components/uni-drawer/uni-drawer.vue deleted file mode 100644 index ecf6b2f..0000000 --- a/components/uni-drawer/uni-drawer.vue +++ /dev/null @@ -1,170 +0,0 @@ - - - - - diff --git a/main.js b/main.js deleted file mode 100644 index 6abef22..0000000 --- a/main.js +++ /dev/null @@ -1,11 +0,0 @@ -import Vue from 'vue' -import App from './App' - -Vue.config.productionTip = false - -App.mpType = 'app' - -const app = new Vue({ - ...App -}) -app.$mount() diff --git a/manifest.json b/manifest.json deleted file mode 100644 index 95850b2..0000000 --- a/manifest.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "name" : "gulu-vue", - "appid" : "", - "description" : "", - "versionName" : "1.0.0", - "versionCode" : "100", - "transformPx" : false, - /* 5+App特有相关 */ - "app-plus" : { - "usingComponents" : true, - "nvueCompiler" : "uni-app", - "compilerVersion" : 3, - "splashscreen" : { - "alwaysShowBeforeRender" : true, - "waiting" : true, - "autoclose" : true, - "delay" : 0 - }, - /* 模块配置 */ - "modules" : {}, - /* 应用发布信息 */ - "distribute" : { - /* android打包配置 */ - "android" : { - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - /* ios打包配置 */ - "ios" : {}, - /* SDK配置 */ - "sdkConfigs" : {} - } - }, - /* 快应用特有相关 */ - "quickapp" : {}, - /* 小程序特有相关 */ - "mp-weixin" : { - "appid" : "", - "setting" : { - "urlCheck" : false - }, - "usingComponents" : true - }, - "mp-alipay" : { - "usingComponents" : true - }, - "mp-baidu" : { - "usingComponents" : true - }, - "mp-toutiao" : { - "usingComponents" : true - } -} diff --git a/package.json b/package.json new file mode 100644 index 0000000..83e7558 --- /dev/null +++ b/package.json @@ -0,0 +1,78 @@ +{ + "name": "gulu-vue", + "version": "0.1.0", + "private": true, + "scripts": { + "serve": "npm run dev:h5", + "build": "npm run build:h5", + "build:app-plus": "cross-env NODE_ENV=production UNI_PLATFORM=app-plus vue-cli-service uni-build", + "build:custom": "cross-env NODE_ENV=production uniapp-cli custom", + "build:h5": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build", + "build:mp-alipay": "cross-env NODE_ENV=production UNI_PLATFORM=mp-alipay vue-cli-service uni-build", + "build:mp-baidu": "cross-env NODE_ENV=production UNI_PLATFORM=mp-baidu vue-cli-service uni-build", + "build:mp-qq": "cross-env NODE_ENV=production UNI_PLATFORM=mp-qq vue-cli-service uni-build", + "build:mp-toutiao": "cross-env NODE_ENV=production UNI_PLATFORM=mp-toutiao vue-cli-service uni-build", + "build:mp-weixin": "cross-env NODE_ENV=production UNI_PLATFORM=mp-weixin vue-cli-service uni-build", + "build:quickapp-light": "cross-env NODE_ENV=production UNI_PLATFORM=quickapp-light vue-cli-service uni-build", + "build:quickapp-vue": "cross-env NODE_ENV=production UNI_PLATFORM=quickapp-vue vue-cli-service uni-build", + "dev:app-plus": "cross-env NODE_ENV=development UNI_PLATFORM=app-plus vue-cli-service uni-build --watch", + "dev:custom": "cross-env NODE_ENV=development uniapp-cli custom", + "dev:h5": "cross-env NODE_ENV=development UNI_PLATFORM=h5 vue-cli-service uni-serve", + "dev:mp-alipay": "cross-env NODE_ENV=development UNI_PLATFORM=mp-alipay vue-cli-service uni-build --watch", + "dev:mp-baidu": "cross-env NODE_ENV=development UNI_PLATFORM=mp-baidu vue-cli-service uni-build --watch", + "dev:mp-qq": "cross-env NODE_ENV=development UNI_PLATFORM=mp-qq vue-cli-service uni-build --watch", + "dev:mp-toutiao": "cross-env NODE_ENV=development UNI_PLATFORM=mp-toutiao vue-cli-service uni-build --watch", + "dev:mp-weixin": "cross-env NODE_ENV=development UNI_PLATFORM=mp-weixin vue-cli-service uni-build --watch", + "dev:quickapp-light": "cross-env NODE_ENV=development UNI_PLATFORM=quickapp-light vue-cli-service uni-build --watch", + "dev:quickapp-vue": "cross-env NODE_ENV=development UNI_PLATFORM=quickapp-vue vue-cli-service uni-build --watch", + "info": "node node_modules/@dcloudio/vue-cli-plugin-uni/commands/info.js", + "serve:quickapp-vue": "node node_modules/@dcloudio/uni-quickapp-vue/bin/serve.js" + }, + "dependencies": { + "@dcloudio/uni-app-plus": "^2.0.0-26920200424005", + "@dcloudio/uni-h5": "^2.0.0-26920200424005", + "@dcloudio/uni-helper-json": "^1.0.5", + "@dcloudio/uni-mp-alipay": "^2.0.0-26920200424005", + "@dcloudio/uni-mp-baidu": "^2.0.0-26920200424005", + "@dcloudio/uni-mp-qq": "^2.0.0-26920200424005", + "@dcloudio/uni-mp-toutiao": "^2.0.0-26920200424005", + "@dcloudio/uni-mp-weixin": "^2.0.0-26920200424005", + "@dcloudio/uni-quickapp-light": "^2.0.0-26920200424005", + "@dcloudio/uni-quickapp-vue": "^2.0.0-26920200424005", + "@dcloudio/uni-stat": "^2.0.0-26920200424005", + "core-js": "^3.6.5", + "flyio": "^0.6.2", + "node-sass": "^4.14.0", + "regenerator-runtime": "^0.12.1", + "sass-loader": "^8.0.2", + "vue": "^2.6.11", + "vuex": "^3.0.1" + }, + "devDependencies": { + "@dcloudio/uni-cli-shared": "^2.0.0-26920200424005", + "@dcloudio/uni-migration": "^2.0.0-26920200424005", + "@dcloudio/uni-template-compiler": "^2.0.0-26920200424005", + "@dcloudio/vue-cli-plugin-hbuilderx": "^2.0.0-26920200424005", + "@dcloudio/vue-cli-plugin-uni": "^2.0.0-26920200424005", + "@dcloudio/vue-cli-plugin-uni-optimize": "^2.0.0-26920200424005", + "@dcloudio/webpack-uni-mp-loader": "^2.0.0-26920200424005", + "@dcloudio/webpack-uni-pages-loader": "^2.0.0-26920200424005", + "@types/html5plus": "*", + "@types/uni-app": "*", + "@vue/cli-plugin-babel": "~4.3.0", + "@vue/cli-service": "~4.3.0", + "babel-plugin-import": "^1.11.0", + "cross-env": "^7.0.2", + "mini-types": "*", + "miniprogram-api-typings": "^2.8.0-2", + "postcss-comment": "^2.0.0", + "vue-template-compiler": "^2.6.11" + }, + "browserslist": [ + "Android >= 4", + "ios >= 8" + ], + "uni-app": { + "scripts": {} + } +} diff --git a/pages.json b/pages.json deleted file mode 100644 index 729c14c..0000000 --- a/pages.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - { - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "商城一览" - } - }, - { - "path": "pages/cart/cart", - "style": { - "navigationBarTitleText": "购物车" - } - }, - { - "path": "pages/user/user", - "style": { - "navigationBarTitleText": "我的" - } - } - ], - "globalStyle": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", - "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8" - }, - "tabBar": { - "color": "#C0C4CC", - "selectedColor": "#fa436a", - "borderStyle": "black", - "backgroundColor": "#ffffff", - "list": [{ - "pagePath": "pages/index/index", - "iconPath": "static/tab-home.png", - "selectedIconPath": "static/tab-home-current.png", - "text": "首页" - }, - { - "pagePath": "pages/cart/cart", - "iconPath": "static/tab-cart.png", - "selectedIconPath": "static/tab-cart-current.png", - "text": "购物车" - }, - { - "pagePath": "pages/user/user", - "iconPath": "static/tab-my.png", - "selectedIconPath": "static/tab-my-current.png", - "text": "我的" - } - ] - } -} diff --git a/pages/cart/cart.vue b/pages/cart/cart.vue deleted file mode 100644 index ec0ec26..0000000 --- a/pages/cart/cart.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/pages/index/index.vue b/pages/index/index.vue deleted file mode 100644 index 3c3339b..0000000 --- a/pages/index/index.vue +++ /dev/null @@ -1,308 +0,0 @@ - - - - - diff --git a/pages/user/user.vue b/pages/user/user.vue deleted file mode 100644 index ec0ec26..0000000 --- a/pages/user/user.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/src/App.vue b/src/App.vue new file mode 100644 index 0000000..8c2b732 --- /dev/null +++ b/src/App.vue @@ -0,0 +1,17 @@ + + + diff --git a/src/LICENSE b/src/LICENSE new file mode 100644 index 0000000..77f865d --- /dev/null +++ b/src/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 DCloud + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/README b/src/README new file mode 100644 index 0000000..bb35a25 --- /dev/null +++ b/src/README @@ -0,0 +1 @@ +thie is a new gulu project base on vue diff --git a/src/README.md b/src/README.md new file mode 100644 index 0000000..ade675c --- /dev/null +++ b/src/README.md @@ -0,0 +1,14 @@ +# hello-uniapp + +`uni-app`框架示例,一套代码,同时发行到iOS、Android、H5、小程序等多个平台,请使用手机扫码快速体验`uni-app`的强大功能。 + +

+ + + +

+ +`uni-app`官网文档详见[https://uniapp.dcloud.io](https://uniapp.dcloud.io) + +更多uni-app的模板、示例详见[插件市场](https://ext.dcloud.net.cn/) + diff --git a/src/common/data.js b/src/common/data.js new file mode 100644 index 0000000..43ce77e --- /dev/null +++ b/src/common/data.js @@ -0,0 +1,132 @@ +// 数据格式,数据中只需要包含以下字段和数据格式,可以添加字段,比如id等等,不影响组件显示, +// 组件的返回结果是有菜单数组下标形式返回, +// 如果传入数据中有value,也会返回value,开发者可根据返回的下标获取所选中的菜单 +/* +[ + { + "name":"", //字符串类型 选填项 菜单名称,如不填,则取第一个子菜单的name值,filter和radio类型则将设置为"筛选" + "type":"" //字符串类型 必填项 可取值 hierarchy/filter/radio hierarchy单/多层级菜单(最多三级); filter筛选多选菜单; radio筛选单选菜单 + "submenu":[ //对象数组类型 必填项 子菜单数据 + { + "name":"", //字符串类型 必填项 菜单名称 + "value":"", //字符串类型 选填项 自定义内容,比如id等等,如果填写了,confirm返回的结果中将返回对应选中的value,若菜单无value字段则返回null,filter类型此字段无效果 + "submenu":[ //对象数组类型 必填项 子菜单数据 + { + "name":"", //字符串类型 必填项 菜单名称 + "value":"", //字符串类型 选填项 自定义内容,比如id等等,如果填写了,confirm返回的结果中将返回对应选中的value,若菜单无value字段则返回null + "submenu":[ //对象数组类型 必填项 子菜单数据 filter类型无效 + { + "name":"", //字符串类型 必填项 菜单名称 hierarchy类型层级最多到此 + "value":"", //字符串类型 选填项 自定义内容,比如id等等,如果填写了,confirm返回的结果中将返回对应选中的value,若菜单无value字段则返回null + } + ] + } + ] + } + ] + } +] +*/ + +//0.0.4版本起 返回结果将有两部分组成: +/* +{ + index:[], //旧版本的下标数组形式 + value:[] //菜单中的valve,结构和下标结果数组一样,只是把下标替换成了value而已 +} +*/ +// 以下演示数据中,我故意把value设置成跟name一样,只是为了方便演示,使示例更加易懂,实际使用时候value应该是一个标识,给后台识别所用的. +// 数据较长,请仔细查看。 +export default [ + { + "name":'综合', + "type": 'filter', + "submenu": [{ + "submenu": [ + + ] + }, + ], + }, + { + name:'品牌', + "type": 'filter', + "submenu": [{ + "name": '品牌', + "value": "品牌", + "submenu": [{ + "name": "帕森", + "value": "帕森", + }, + { + "name": "海伦凯勒", + "value": "海伦凯勒", + }, + ] + }, + ] + }, + { + "name":'功能', + "type": 'filter', + "submenu": [{ + "name": "智能排序", + "value": "智能排序" + }, + { + "name": "离我最近", + "value": "离我最近" + }, + { + "name": "人均从高到低", + "value": "人均从高到低" + }, + { + "name": "人均从低到高", + "value": "人均从低到高" + } + ] + }, + { + "name":'材质', + "type": 'filter', + "submenu": [{ + "submenu": [{ + "name": "满减活动", + "value": "满减活动" + }, + { + "name": "打折优惠", + "value": "打折优惠" + }, + { + "name": "会员专享", + "value": "会员专享" + } + ] + } + ] + }, + { + "name":'折扣', + "type": 'filter', + "submenu": [{ + "name": "折扣(多选)", + "submenu": [{ + "name": "满减活动", + "value": "满减活动" + }, + { + "name": "打折优惠", + "value": "打折优惠" + }, + { + "name": "会员专享", + "value": "会员专享" + } + ] + } + ] + } +] + diff --git a/src/components/HM-filterDropdown/HM-filterDropdown.vue b/src/components/HM-filterDropdown/HM-filterDropdown.vue new file mode 100644 index 0000000..b3c4ffd --- /dev/null +++ b/src/components/HM-filterDropdown/HM-filterDropdown.vue @@ -0,0 +1,785 @@ + + + diff --git a/src/components/card.vue b/src/components/card.vue new file mode 100644 index 0000000..8c3b35f --- /dev/null +++ b/src/components/card.vue @@ -0,0 +1,19 @@ + + + + + diff --git a/src/components/uni-drawer/uni-drawer.vue b/src/components/uni-drawer/uni-drawer.vue new file mode 100644 index 0000000..ecf6b2f --- /dev/null +++ b/src/components/uni-drawer/uni-drawer.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/hybrid/html/local.html b/src/hybrid/html/local.html new file mode 100644 index 0000000..2fdc52b --- /dev/null +++ b/src/hybrid/html/local.html @@ -0,0 +1,88 @@ + + + + + + 本地网页 + + + +

web-view 组件加载本地 html 示例,仅在 App 环境下生效。点击下列按钮,跳转至其它页面。

+
+ + + + + +
+

网页向应用发送消息。注意:小程序端应用会在此页面后退时接收到消息。

+
+ +
+ + + + + diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..6abef22 --- /dev/null +++ b/src/main.js @@ -0,0 +1,11 @@ +import Vue from 'vue' +import App from './App' + +Vue.config.productionTip = false + +App.mpType = 'app' + +const app = new Vue({ + ...App +}) +app.$mount() diff --git a/src/manifest.json b/src/manifest.json new file mode 100644 index 0000000..95850b2 --- /dev/null +++ b/src/manifest.json @@ -0,0 +1,75 @@ +{ + "name" : "gulu-vue", + "appid" : "", + "description" : "", + "versionName" : "1.0.0", + "versionCode" : "100", + "transformPx" : false, + /* 5+App特有相关 */ + "app-plus" : { + "usingComponents" : true, + "nvueCompiler" : "uni-app", + "compilerVersion" : 3, + "splashscreen" : { + "alwaysShowBeforeRender" : true, + "waiting" : true, + "autoclose" : true, + "delay" : 0 + }, + /* 模块配置 */ + "modules" : {}, + /* 应用发布信息 */ + "distribute" : { + /* android打包配置 */ + "android" : { + "permissions" : [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + /* ios打包配置 */ + "ios" : {}, + /* SDK配置 */ + "sdkConfigs" : {} + } + }, + /* 快应用特有相关 */ + "quickapp" : {}, + /* 小程序特有相关 */ + "mp-weixin" : { + "appid" : "", + "setting" : { + "urlCheck" : false + }, + "usingComponents" : true + }, + "mp-alipay" : { + "usingComponents" : true + }, + "mp-baidu" : { + "usingComponents" : true + }, + "mp-toutiao" : { + "usingComponents" : true + } +} diff --git a/src/pages.json b/src/pages.json new file mode 100644 index 0000000..729c14c --- /dev/null +++ b/src/pages.json @@ -0,0 +1,53 @@ +{ + "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "商城一览" + } + }, + { + "path": "pages/cart/cart", + "style": { + "navigationBarTitleText": "购物车" + } + }, + { + "path": "pages/user/user", + "style": { + "navigationBarTitleText": "我的" + } + } + ], + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "uni-app", + "navigationBarBackgroundColor": "#F8F8F8", + "backgroundColor": "#F8F8F8" + }, + "tabBar": { + "color": "#C0C4CC", + "selectedColor": "#fa436a", + "borderStyle": "black", + "backgroundColor": "#ffffff", + "list": [{ + "pagePath": "pages/index/index", + "iconPath": "static/tab-home.png", + "selectedIconPath": "static/tab-home-current.png", + "text": "首页" + }, + { + "pagePath": "pages/cart/cart", + "iconPath": "static/tab-cart.png", + "selectedIconPath": "static/tab-cart-current.png", + "text": "购物车" + }, + { + "pagePath": "pages/user/user", + "iconPath": "static/tab-my.png", + "selectedIconPath": "static/tab-my-current.png", + "text": "我的" + } + ] + } +} diff --git a/src/pages/cart/cart.vue b/src/pages/cart/cart.vue new file mode 100644 index 0000000..ec0ec26 --- /dev/null +++ b/src/pages/cart/cart.vue @@ -0,0 +1,52 @@ + + + + + diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue new file mode 100644 index 0000000..3c3339b --- /dev/null +++ b/src/pages/index/index.vue @@ -0,0 +1,308 @@ + + + + + diff --git a/src/pages/user/user.vue b/src/pages/user/user.vue new file mode 100644 index 0000000..ec0ec26 --- /dev/null +++ b/src/pages/user/user.vue @@ -0,0 +1,52 @@ + + + + + diff --git a/src/platforms/app-plus/feedback/feedback.vue b/src/platforms/app-plus/feedback/feedback.vue new file mode 100644 index 0000000..2f7d4de --- /dev/null +++ b/src/platforms/app-plus/feedback/feedback.vue @@ -0,0 +1,202 @@ + + + + + diff --git a/src/platforms/app-plus/orientation/orientation.vue b/src/platforms/app-plus/orientation/orientation.vue new file mode 100644 index 0000000..5a46b64 --- /dev/null +++ b/src/platforms/app-plus/orientation/orientation.vue @@ -0,0 +1,61 @@ +