├── pages ├── buy │ ├── buy.json │ ├── buy.js │ ├── buy.wxml │ └── buy.wxss ├── user │ ├── myF │ │ ├── myF.wxss │ │ ├── myF.json │ │ ├── myF.wxml │ │ └── myF.js │ ├── myCoupon │ │ ├── myCoupon.wxss │ │ ├── myCoupon.json │ │ ├── myCoupon.wxml │ │ └── myCoupon.js │ ├── myorder │ │ ├── myorder.json │ │ ├── myorder.wxml │ │ ├── myorder.wxss │ │ └── myorder.js │ ├── setting │ │ ├── setting.json │ │ ├── setting.wxml │ │ ├── setting.js │ │ └── setting.wxss │ ├── user.json │ ├── user.wxss │ ├── user.js │ └── user.wxml ├── logs │ ├── logs.json │ ├── logs.wxss │ ├── logs.wxml │ └── logs.js ├── index │ ├── PC │ │ ├── PC.json │ │ ├── PC.wxml │ │ ├── PC.wxss │ │ └── PC.js │ ├── TV │ │ ├── Tv.json │ │ ├── Tv.wxml │ │ ├── Tv.wxss │ │ └── Tv.js │ ├── newGs │ │ ├── newGs.json │ │ ├── newGs.wxml │ │ ├── newGs.wxss │ │ └── newGs.js │ ├── mbPhone │ │ ├── mbPhone.json │ │ ├── mbPhone.wxml │ │ ├── mbPhone.wxss │ │ └── mbPhone.js │ ├── search │ │ ├── search.json │ │ ├── search.wxml │ │ ├── search.wxss │ │ └── search.js │ ├── zhiNeng │ │ ├── zhiNeng.json │ │ ├── zhiNeng.wxml │ │ ├── zhiNeng.wxss │ │ └── zhiNeng.js │ ├── index.json │ ├── index.wxml │ ├── index.js │ └── index.wxss ├── cart │ ├── cart.json │ ├── cart.wxml │ ├── cart.js │ └── cart.wxss ├── find │ ├── find.json │ ├── find.wxml │ ├── find.js │ └── find.wxss └── category │ ├── category.json │ ├── category.wxml │ ├── category.wxss │ └── category.js ├── app.wxss ├── image ├── 11.png ├── 12.png ├── 21.png ├── 22.png ├── 31.png ├── 32.png ├── 41.png ├── 42.png ├── 43.png ├── 44.png ├── 51.png ├── 52.png ├── f.png ├── mi.jpg ├── appoint.png ├── bypage.png ├── coupon.png ├── indexLY.png ├── indexPC.png ├── indexTV.png ├── order.png ├── remote.png ├── search.png ├── setting.png ├── store.png ├── indexIPH.png ├── index-tiele1.jpg ├── index-tiele2.jpg ├── index-tiele3.jpg └── indexNewGoods.png ├── utils └── util.js ├── template └── index-tem1.wxml ├── project.config.json ├── app.js ├── app.json ├── api └── findGoods.js └── weui.wxss /pages/buy/buy.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /app.wxss: -------------------------------------------------------------------------------- 1 | @import "./weui.wxss" 2 | 3 | -------------------------------------------------------------------------------- /pages/user/myF/myF.wxss: -------------------------------------------------------------------------------- 1 | /* pages/user/myF/myF.wxss */ -------------------------------------------------------------------------------- /pages/logs/logs.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "查看启动日志" 3 | } -------------------------------------------------------------------------------- /pages/index/PC/PC.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "电脑频道" 3 | } -------------------------------------------------------------------------------- /pages/index/TV/Tv.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "电视频道" 3 | } -------------------------------------------------------------------------------- /pages/user/myCoupon/myCoupon.wxss: -------------------------------------------------------------------------------- 1 | /* pages/user/myCoupon/myCoupon.wxss */ -------------------------------------------------------------------------------- /pages/user/myF/myF.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的F码" 3 | } -------------------------------------------------------------------------------- /pages/index/newGs/newGs.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "新品频道" 3 | } -------------------------------------------------------------------------------- /image/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/11.png -------------------------------------------------------------------------------- /image/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/12.png -------------------------------------------------------------------------------- /image/21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/21.png -------------------------------------------------------------------------------- /image/22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/22.png -------------------------------------------------------------------------------- /image/31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/31.png -------------------------------------------------------------------------------- /image/32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/32.png -------------------------------------------------------------------------------- /image/41.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/41.png -------------------------------------------------------------------------------- /image/42.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/42.png -------------------------------------------------------------------------------- /image/43.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/43.png -------------------------------------------------------------------------------- /image/44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/44.png -------------------------------------------------------------------------------- /image/51.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/51.png -------------------------------------------------------------------------------- /image/52.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/52.png -------------------------------------------------------------------------------- /image/f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/f.png -------------------------------------------------------------------------------- /image/mi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/mi.jpg -------------------------------------------------------------------------------- /pages/index/mbPhone/mbPhone.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "手机频道" 3 | } -------------------------------------------------------------------------------- /pages/index/search/search.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "小米商城Lite" 3 | } -------------------------------------------------------------------------------- /pages/index/zhiNeng/zhiNeng.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "智能频道" 3 | } -------------------------------------------------------------------------------- /pages/user/myCoupon/myCoupon.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的优惠券" 3 | } -------------------------------------------------------------------------------- /pages/user/myorder/myorder.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的订单" 3 | } -------------------------------------------------------------------------------- /pages/user/setting/setting.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "小米商城Lite" 3 | } -------------------------------------------------------------------------------- /image/appoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/appoint.png -------------------------------------------------------------------------------- /image/bypage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/bypage.png -------------------------------------------------------------------------------- /image/coupon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/coupon.png -------------------------------------------------------------------------------- /image/indexLY.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/indexLY.png -------------------------------------------------------------------------------- /image/indexPC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/indexPC.png -------------------------------------------------------------------------------- /image/indexTV.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/indexTV.png -------------------------------------------------------------------------------- /image/order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/order.png -------------------------------------------------------------------------------- /image/remote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/remote.png -------------------------------------------------------------------------------- /image/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/search.png -------------------------------------------------------------------------------- /image/setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/setting.png -------------------------------------------------------------------------------- /image/store.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/store.png -------------------------------------------------------------------------------- /image/indexIPH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/indexIPH.png -------------------------------------------------------------------------------- /image/index-tiele1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/index-tiele1.jpg -------------------------------------------------------------------------------- /image/index-tiele2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/index-tiele2.jpg -------------------------------------------------------------------------------- /image/index-tiele3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/index-tiele3.jpg -------------------------------------------------------------------------------- /pages/user/myF/myF.wxml: -------------------------------------------------------------------------------- 1 | 2 | pages/user/myF/myF.wxml 3 | -------------------------------------------------------------------------------- /image/indexNewGoods.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HuanqingDeng/XCX-MiLite/HEAD/image/indexNewGoods.png -------------------------------------------------------------------------------- /pages/user/myCoupon/myCoupon.wxml: -------------------------------------------------------------------------------- 1 | 2 | pages/user/myCoupon/myCoupon.wxml 3 | -------------------------------------------------------------------------------- /pages/logs/logs.wxss: -------------------------------------------------------------------------------- 1 | .log-list { 2 | display: flex; 3 | flex-direction: column; 4 | padding: 40rpx; 5 | } 6 | .log-item { 7 | margin: 10rpx; 8 | } 9 | -------------------------------------------------------------------------------- /pages/cart/cart.json: -------------------------------------------------------------------------------- 1 | { 2 | "backgroundTextStyle": "light", 3 | "navigationBarBackgroundColor": "#ffffff", 4 | "navigationBarTitleText": "购物车", 5 | "navigationBarTextStyle": "black" 6 | } -------------------------------------------------------------------------------- /pages/find/find.json: -------------------------------------------------------------------------------- 1 | { 2 | "backgroundTextStyle": "light", 3 | "navigationBarBackgroundColor": "#FAFAFA", 4 | "navigationBarTitleText": "小米商城Lite", 5 | "navigationBarTextStyle": "black" 6 | } -------------------------------------------------------------------------------- /pages/user/user.json: -------------------------------------------------------------------------------- 1 | { 2 | "backgroundTextStyle": "light", 3 | "navigationBarBackgroundColor": "#FAFAFA", 4 | "navigationBarTitleText": "小米商城Lite", 5 | "navigationBarTextStyle": "black" 6 | } -------------------------------------------------------------------------------- /pages/category/category.json: -------------------------------------------------------------------------------- 1 | { 2 | "backgroundTextStyle": "light", 3 | "navigationBarBackgroundColor": "#FAFAFA", 4 | "navigationBarTitleText": "小米商城Lite", 5 | "navigationBarTextStyle": "black" 6 | } -------------------------------------------------------------------------------- /pages/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | "backgroundTextStyle": "light", 4 | "navigationBarBackgroundColor": "#FF4500", 5 | "navigationBarTitleText": "小米商城Lite", 6 | "navigationBarTextStyle": "white" 7 | } -------------------------------------------------------------------------------- /pages/logs/logs.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{index + 1}}. {{log}} 5 | 6 | 7 | -------------------------------------------------------------------------------- /pages/logs/logs.js: -------------------------------------------------------------------------------- 1 | //logs.js 2 | const util = require('../../utils/util.js') 3 | 4 | Page({ 5 | data: { 6 | logs: [] 7 | }, 8 | onLoad: function () { 9 | this.setData({ 10 | logs: (wx.getStorageSync('logs') || []).map(log => { 11 | return util.formatTime(new Date(log)) 12 | }) 13 | }) 14 | } 15 | }) 16 | -------------------------------------------------------------------------------- /pages/user/myorder/myorder.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 还没有在小程序下过单 8 | 9 | 10 | 到小米商城逛逛 11 | 12 | 13 | -------------------------------------------------------------------------------- /pages/index/PC/PC.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |