├── .gitignore ├── LICENSE ├── README.md ├── app.js ├── app.json ├── app.ttss ├── components ├── calendar │ ├── iconfont │ │ └── iconfont.wxss │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ └── theme │ │ ├── iconfont.wxss │ │ ├── theme-default.wxss │ │ └── theme-elegant.wxss ├── float-menu │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss └── region-picker │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── config.js ├── images ├── add-addr.png ├── arrow-right.png ├── fx.png ├── fxad.jpeg ├── gift.png ├── icon │ ├── car.svg │ ├── close.svg │ ├── close0.svg │ ├── coupons-active.svg │ ├── coupons-empty.svg │ ├── coupons-off.svg │ ├── edit.svg │ ├── go-l.svg │ ├── go-r.svg │ ├── kf.svg │ ├── list1.svg │ ├── list2.svg │ ├── next.png │ └── search.svg ├── nav │ ├── cart-off.png │ ├── cart-on.png │ ├── home-off.png │ ├── home-on.png │ ├── ic_catefory_normal.png │ ├── ic_catefory_pressed.png │ ├── my-off.png │ ├── my-on.png │ ├── order-off.png │ └── order-on.png ├── no-order.png ├── nologin.png ├── notice.png ├── order-details │ ├── icon-address.png │ ├── icon-ddfh.png │ ├── icon-ddfk.png │ ├── icon-ddgb.png │ ├── icon-ddsh.png │ ├── icon-jycg.png │ └── icon-wuliu.png ├── order │ ├── fahuo.png │ ├── pj.png │ ├── shouhou.png │ ├── shouhuo.png │ └── topay.png └── share │ ├── share1.png │ └── share2.png ├── jsconfig.json ├── package.json ├── pages ├── address-add │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── asset │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── category │ ├── category.js │ ├── category.json │ ├── category.ttml │ └── category.ttss ├── coupons │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── deposit │ ├── pay.js │ ├── pay.json │ ├── pay.ttml │ └── pay.ttss ├── fx │ ├── apply-status.js │ ├── apply-status.json │ ├── apply-status.ttml │ ├── apply-status.ttss │ ├── apply.js │ ├── apply.json │ ├── apply.ttml │ ├── apply.ttss │ ├── commisionLog.js │ ├── commisionLog.json │ ├── commisionLog.ttml │ ├── commisionLog.ttss │ ├── members.js │ ├── members.json │ ├── members.ttml │ └── members.ttss ├── goods-details │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── goods │ ├── list.js │ ├── list.json │ ├── list.ttml │ └── list.ttss ├── index │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── invoice │ ├── apply.js │ ├── apply.json │ ├── apply.ttml │ ├── apply.ttss │ ├── list.js │ ├── list.json │ ├── list.ttml │ └── list.ttss ├── maidan │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── my │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── notice │ ├── index.js │ ├── index.json │ ├── index.ttml │ ├── index.ttss │ ├── show.js │ ├── show.json │ ├── show.ttml │ └── show.ttss ├── order-details │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── order-list │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── order │ ├── refundApply.js │ ├── refundApply.json │ ├── refundApply.ttml │ └── refundApply.ttss ├── recharge │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── score-excharge │ ├── growth.js │ ├── growth.json │ ├── growth.ttml │ ├── growth.ttss │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── score │ ├── growth.js │ ├── growth.json │ ├── growth.ttml │ ├── growth.ttss │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── select-address │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── shop-cart │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── sign │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── start │ ├── start.js │ ├── start.json │ ├── start.ttml │ └── start.ttss ├── template-cart │ ├── template-cart.js │ ├── template-cart.ttml │ └── template-cart.ttss ├── to-pay-order │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── withdraw │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss └── wuliu │ ├── index.js │ ├── index.json │ ├── index.ttml │ └── index.ttss ├── project.config.json ├── sitemap.json ├── template ├── datepicker │ ├── index.js │ ├── index.ttml │ └── index.ttss ├── login │ ├── index.js │ ├── index.ttml │ └── index.ttss └── share │ ├── index.js │ ├── index.ttml │ └── index.ttss ├── typings └── wx.d.ts ├── utils ├── apifm-ttapi.js ├── auth.js ├── image.js ├── pay.js └── tools.js ├── weui ├── base │ ├── fn.ttss │ ├── mixin │ │ ├── mobile.ttss │ │ ├── setArrow.ttss │ │ ├── setOnepx.ttss │ │ └── text.ttss │ ├── reset.ttss │ └── variable │ │ ├── color.ttss │ │ ├── global.ttss │ │ ├── weui-button.ttss │ │ ├── weui-cell.ttss │ │ ├── weui-dialog.ttss │ │ ├── weui-grid.ttss │ │ ├── weui-msg.ttss │ │ ├── weui-progress.ttss │ │ └── weui-tab.ttss ├── weui.ttss └── widget │ ├── weui-agree │ └── weui-agree.ttss │ ├── weui-animate │ └── weui-animate.ttss │ ├── weui-button │ ├── weui-btn_cell.ttss │ ├── weui-btn_default.ttss │ ├── weui-btn_disabled.ttss │ ├── weui-btn_global.ttss │ ├── weui-btn_loading.ttss │ ├── weui-btn_plain.ttss │ ├── weui-btn_primary.ttss │ ├── weui-btn_warn.ttss │ └── weui-button.ttss │ ├── weui-cell │ ├── weui-access.ttss │ ├── weui-cell.ttss │ ├── weui-cells__group.ttss │ ├── weui-check.ttss │ ├── weui-form.ttss │ ├── weui-form │ │ ├── weui-form-preview.ttss │ │ ├── weui-form_common.ttss │ │ ├── weui-select.ttss │ │ └── weui-vcode.ttss │ ├── weui-gallery.ttss │ ├── weui-slideview.ttss │ ├── weui-switch.ttss │ └── weui-uploader.ttss │ ├── weui-flex │ └── weui-flex.ttss │ ├── weui-footer │ └── weui-footer.ttss │ ├── weui-grid │ └── weui-grid.ttss │ ├── weui-icon │ └── weui-icon.ttss │ ├── weui-loading │ ├── weui-dot-loading.ttss │ └── weui-loading.ttss │ ├── weui-media-box │ └── weui-media-box.ttss │ ├── weui-navigation-bar │ └── weui-navigation-bar.ttss │ ├── weui-page │ ├── weui-article.ttss │ ├── weui-form.ttss │ └── weui-msg.ttss │ ├── weui-panel │ └── weui-panel.ttss │ ├── weui-progress │ └── weui-progress.ttss │ ├── weui-searchbar │ └── weui-searchbar.ttss │ ├── weui-tab │ ├── weui-navbar.ttss │ ├── weui-tab.ttss │ └── weui-tabbar.ttss │ └── weui-tips │ ├── weui-actionsheet.ttss │ ├── weui-badge.ttss │ ├── weui-dialog.ttss │ ├── weui-half-screen-dialog.ttss │ ├── weui-loadmore.ttss │ ├── weui-mask.ttss │ └── weui-toptips.ttss └── wxParse ├── emojis ├── 00.gif ├── 01.gif ├── 02.gif ├── 03.gif ├── 04.gif ├── 05.gif ├── 06.gif ├── 07.gif ├── 08.gif ├── 09.gif ├── 10.gif ├── 100.gif ├── 101.gif ├── 102.gif ├── 103.gif ├── 104.gif ├── 105.gif ├── 106.gif ├── 107.gif ├── 108.gif ├── 109.gif ├── 11.gif ├── 110.gif ├── 111.gif ├── 112.gif ├── 113.gif ├── 114.gif ├── 115.gif ├── 116.gif ├── 117.gif ├── 118.gif ├── 119.gif ├── 12.gif ├── 120.gif ├── 121.gif ├── 122.gif ├── 123.gif ├── 124.gif ├── 125.gif ├── 126.gif ├── 127.gif ├── 128.gif ├── 129.gif ├── 13.gif ├── 130.gif ├── 131.gif ├── 132.gif ├── 133.gif ├── 134.gif ├── 14.gif ├── 15.gif ├── 16.gif ├── 17.gif ├── 18.gif ├── 19.gif ├── 20.gif ├── 21.gif ├── 22.gif ├── 23.gif ├── 24.gif ├── 25.gif ├── 26.gif ├── 27.gif ├── 28.gif ├── 29.gif ├── 30.gif ├── 31.gif ├── 32.gif ├── 33.gif ├── 34.gif ├── 35.gif ├── 36.gif ├── 37.gif ├── 38.gif ├── 39.gif ├── 40.gif ├── 41.gif ├── 42.gif ├── 43.gif ├── 44.gif ├── 45.gif ├── 46.gif ├── 47.gif ├── 48.gif ├── 49.gif ├── 50.gif ├── 51.gif ├── 52.gif ├── 53.gif ├── 54.gif ├── 55.gif ├── 56.gif ├── 57.gif ├── 58.gif ├── 59.gif ├── 60.gif ├── 61.gif ├── 62.gif ├── 63.gif ├── 64.gif ├── 65.gif ├── 66.gif ├── 67.gif ├── 68.gif ├── 69.gif ├── 70.gif ├── 71.gif ├── 72.gif ├── 73.gif ├── 74.gif ├── 75.gif ├── 76.gif ├── 77.gif ├── 78.gif ├── 79.gif ├── 80.gif ├── 81.gif ├── 82.gif ├── 83.gif ├── 84.gif ├── 85.gif ├── 86.gif ├── 87.gif ├── 88.gif ├── 89.gif ├── 90.gif ├── 91.gif ├── 92.gif ├── 93.gif ├── 94.gif ├── 95.gif ├── 96.gif ├── 97.gif ├── 98.gif └── 99.gif ├── html2json.js ├── htmlparser.js ├── showdown.js ├── wxDiscode.js ├── wxParse.js ├── wxParse.ttml └── wxParse.ttss /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | package-lock.json 3 | node_modules/ 4 | .DS_Store 5 | .vscode -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "pages": [ 3 | "pages/start/start", 4 | "pages/index/index", 5 | "pages/notice/index", 6 | "pages/notice/show", 7 | "pages/category/category", 8 | "pages/goods/list", 9 | "pages/goods-details/index", 10 | "pages/shop-cart/index", 11 | "pages/to-pay-order/index", 12 | "pages/select-address/index", 13 | "pages/address-add/index", 14 | "pages/order-list/index", 15 | "pages/order-details/index", 16 | "pages/order/refundApply", 17 | "pages/wuliu/index", 18 | "pages/my/index", 19 | "pages/recharge/index", 20 | "pages/withdraw/index", 21 | "pages/score-excharge/index", 22 | "pages/score-excharge/growth", 23 | "pages/asset/index", 24 | "pages/score/index", 25 | "pages/score/growth", 26 | "pages/sign/index", 27 | "pages/maidan/index", 28 | "pages/fx/apply", 29 | "pages/fx/apply-status", 30 | "pages/fx/members", 31 | "pages/fx/commisionLog", 32 | "pages/coupons/index", 33 | "pages/invoice/list", 34 | "pages/invoice/apply", 35 | "pages/deposit/pay" 36 | ], 37 | "window": { 38 | "backgroundTextStyle": "light", 39 | "navigationBarBackgroundColor": "#fff", 40 | "navigationBarTitleText": " ", 41 | "navigationBarTextStyle": "black", 42 | "onReachBottomDistance": 50 43 | }, 44 | "tabBar": { 45 | "color": "#6e6d6b", 46 | "selectedColor": "#e64340", 47 | "borderStyle": "white", 48 | "backgroundColor": "#fff", 49 | "list": [ 50 | { 51 | "pagePath": "pages/index/index", 52 | "iconPath": "images/nav/home-off.png", 53 | "selectedIconPath": "images/nav/home-on.png", 54 | "text": "首页" 55 | }, 56 | { 57 | "pagePath": "pages/category/category", 58 | "iconPath": "images/nav/ic_catefory_normal.png", 59 | "selectedIconPath": "images/nav/ic_catefory_pressed.png", 60 | "text": "分类" 61 | }, 62 | { 63 | "pagePath": "pages/shop-cart/index", 64 | "iconPath": "images/nav/cart-off.png", 65 | "selectedIconPath": "images/nav/cart-on.png", 66 | "text": "购物车" 67 | }, 68 | { 69 | "pagePath": "pages/my/index", 70 | "iconPath": "images/nav/my-off.png", 71 | "selectedIconPath": "images/nav/my-on.png", 72 | "text": "我的" 73 | } 74 | ] 75 | }, 76 | "navigateToMiniProgramAppIdList": [ 77 | "wx56c8f077de74b07c" 78 | ], 79 | "usingComponents": { 80 | "float-menu": "/components/float-menu/index" 81 | }, 82 | "sitemapLocation": "sitemap.json" 83 | } -------------------------------------------------------------------------------- /app.ttss: -------------------------------------------------------------------------------- 1 | @import 'weui/weui.ttss'; 2 | 3 | .container { 4 | height: 100%; 5 | display: flex; 6 | flex-direction: column; 7 | align-items: center; 8 | justify-content: space-between; 9 | box-sizing: border-box; 10 | } 11 | .wxParse-img { 12 | display: block !important; 13 | } 14 | .space { 15 | height:20rpx; 16 | background-color: #F2f2f2; 17 | } 18 | .safeAreaOldPaddingBttom { 19 | padding-bottom: env(safe-area-inset-bottom); 20 | } 21 | .safeAreaNewPaddingBttom{ 22 | padding-bottom: constant(safe-area-inset-bottom); 23 | } 24 | 25 | .safeAreaOldMarginBttom { 26 | margin-bottom: env(safe-area-inset-bottom); 27 | } 28 | .safeAreaNewMarginBttom{ 29 | margin-bottom: constant(safe-area-inset-bottom); 30 | } 31 | 32 | .no-data { 33 | width: 100%; 34 | display: flex; 35 | justify-content: center; 36 | align-items: center; 37 | } 38 | .no-data .line { 39 | width:132rpx; 40 | height:2rpx; 41 | background: #999; 42 | } 43 | .no-data .txt { 44 | font-size:26rpx; 45 | color:rgba(153,153,153,1); 46 | margin: 0 16rpx; 47 | } 48 | .ad-img { 49 | width: 100vw; 50 | } 51 | -------------------------------------------------------------------------------- /components/calendar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /components/calendar/theme/theme-default.wxss: -------------------------------------------------------------------------------- 1 | 2 | /* 日历主要颜色相关样式 */ 3 | 4 | .default_color, 5 | .default_weekend-color, 6 | .default_handle-color, 7 | .default_week-color { 8 | color: #ff629a; 9 | } 10 | 11 | .default_today { 12 | color: #fff; 13 | background-color: #874fb4; 14 | } 15 | 16 | .default_choosed { 17 | color: #fff; 18 | background-color: #ff629a; 19 | } 20 | 21 | .default_date-disable { 22 | color: #c7c7c7; 23 | } 24 | 25 | .default_prev-month-date, 26 | .default_next-month-date { 27 | color: #e2e2e2; 28 | } 29 | 30 | .default_normal-date { 31 | color: #88d2ac; 32 | } 33 | 34 | .default_todo-circle { 35 | border-color: #88d2ac; 36 | } 37 | 38 | .default_todo-dot { 39 | background-color: #e54d42; 40 | } 41 | 42 | .default_date-desc { 43 | color: #c2c2c2; 44 | } 45 | 46 | .default_date-desc-lunar { 47 | color: #e54d42; 48 | } 49 | 50 | .default_date-desc-disable { 51 | color: #e2e2e2; 52 | } 53 | -------------------------------------------------------------------------------- /components/calendar/theme/theme-elegant.wxss: -------------------------------------------------------------------------------- 1 | .elegant_color, 2 | .elegant_weekend-color, 3 | .elegant_handle-color, 4 | .elegant_week-color { 5 | color: #333; 6 | } 7 | 8 | .elegant_today { 9 | color: #000; 10 | background-color: #e1e7f5; 11 | } 12 | 13 | .elegant_choosed { 14 | color: #000; 15 | background-color: #e2e2e2; 16 | } 17 | 18 | .elegant_date-disable { 19 | color: #c7c7c7; 20 | } 21 | 22 | .elegant_prev-month-date, 23 | .elegant_next-month-date { 24 | color: #e2e2e2; 25 | } 26 | 27 | .elegant_normal-date { 28 | color: #333; 29 | } 30 | 31 | .elegant_todo-circle { 32 | border-color: #161035; 33 | } 34 | 35 | .elegant_todo-dot { 36 | background-color: #161035; 37 | } 38 | 39 | .elegant_date-desc { 40 | color: #c2c2c2; 41 | } 42 | 43 | .elegant_date-desc-lunar { 44 | color: #161035; 45 | } 46 | 47 | .elegant_date-desc-disable { 48 | color: #e2e2e2; 49 | } 50 | -------------------------------------------------------------------------------- /components/float-menu/index.js: -------------------------------------------------------------------------------- 1 | const App = getApp(); 2 | 3 | Component({ 4 | options: { 5 | addGlobalClass: true, 6 | }, 7 | /** 8 | * 组件的对外属性,是属性名到属性设置的映射表 9 | */ 10 | properties: { 11 | activePos: String, 12 | }, 13 | 14 | /** 15 | * 组件的内部数据,和 properties 一同用于组件的模板渲染 16 | */ 17 | data: { 18 | isClose: true 19 | }, 20 | // 组件数据字段监听器,用于监听 properties 和 data 的变化 21 | observers: { 22 | 23 | }, 24 | lifetimes: { 25 | attached: function () { 26 | this.setData({ 27 | 28 | }) 29 | }, 30 | detached: function () { 31 | // 在组件实例被从页面节点树移除时执行 32 | }, 33 | }, 34 | /** 35 | * 组件的方法列表 36 | */ 37 | methods: { 38 | //回退 39 | open(){ 40 | this.setData({ 41 | isClose: false 42 | }) 43 | }, 44 | close(){ 45 | this.setData({ 46 | isClose: true 47 | }) 48 | }, 49 | navBack: function () { 50 | wx.navigateBack({ 51 | delta: 1 52 | }) 53 | }, 54 | //回主页 55 | toIndex: function () { 56 | wx.navigateTo({ 57 | url: '/pages/admin/home/index/index' 58 | }) 59 | }, 60 | } 61 | }) -------------------------------------------------------------------------------- /components/float-menu/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /components/float-menu/index.ttml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 快速 5 | 导航 6 | 7 | 8 | 9 | 10 | 11 | 快速 12 | 导航 13 | 14 | 15 | 16 | 17 | 18 | 19 | 首页 20 | 21 | 22 | 23 | 24 | 25 | 分类 26 | 27 | 28 | 29 | 30 | 31 | 购物车 32 | 33 | 34 | 35 | 36 | 37 | 我的 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /components/float-menu/index.ttss: -------------------------------------------------------------------------------- 1 | .float-menu-cover { 2 | position: fixed; 3 | right: 0; 4 | bottom: 200rpx; 5 | display: flex; 6 | align-items: center; 7 | padding: 16rpx; 8 | background:rgba(0,0,0,0.7); 9 | border-radius: 16rpx 0 0 16rpx; 10 | z-index: 999; 11 | } 12 | .float-menu-cover-open { 13 | right: 440rpx; 14 | } 15 | .float-menu-cover .arrows { 16 | width: 34rpx; 17 | height: 34rpx; 18 | } 19 | .float-menu-cover .r { 20 | color: #fff; 21 | display: flex; 22 | flex-direction: column; 23 | font-size: 10pt; 24 | margin-left: 16rpx; 25 | } 26 | .float-menu-items { 27 | width: 440rpx; 28 | background: #fff; 29 | position: fixed; 30 | right: 0; 31 | bottom: 180rpx; 32 | border-radius: 16rpx 0 0 16rpx; 33 | display: flex; 34 | flex-wrap: wrap; 35 | padding-bottom: 32rpx; 36 | z-index: 999; 37 | } 38 | .float-menu-items .item { 39 | display: flex; 40 | flex-direction: column; 41 | align-items: center; 42 | margin-left: 32rpx; 43 | margin-right: 16rpx; 44 | margin-top: 32rpx; 45 | } 46 | .float-menu-items .item image { 47 | width: 43rpx; 48 | height: 43rpx; 49 | } 50 | .float-menu-items .item text { 51 | margin-top: 8rpx; 52 | color: #333; 53 | font-size: 10pt; 54 | } -------------------------------------------------------------------------------- /components/region-picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /components/region-picker/index.ttml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 请选择 5 | 6 | 7 | 8 | {{ item }} 9 | 10 | 11 | 12 | 13 | {{ item.name }} 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /components/region-picker/index.ttss: -------------------------------------------------------------------------------- 1 | .bg { 2 | position: fixed; 3 | top: 0; 4 | left: 0; 5 | width: 100vw; 6 | height: 100vh; 7 | background: rgba(0, 0, 0, 0.4); 8 | z-index: 9998; 9 | } 10 | .container-box { 11 | position: fixed; 12 | bottom: 0; 13 | left: 0; 14 | width: 100vw; 15 | height: 70vh; 16 | background: #fff; 17 | z-index: 9999; 18 | border-radius: 32rpx 32rpx 0 0; 19 | display: flex; 20 | flex-direction: column; 21 | } 22 | .container-box .h { 23 | position: relative; 24 | margin-top: 32rpx; 25 | text-align: center; 26 | } 27 | .container-box .h text { 28 | font-size: 26rpx; 29 | color: #666; 30 | } 31 | .container-box .h image { 32 | width: 32rpx; 33 | height: 32rpx; 34 | position: absolute; 35 | top: 8rpx; 36 | right: 32rpx; 37 | } 38 | .tabs { 39 | width: 100vw; 40 | display: flex; 41 | height: 88rpx; 42 | margin-top: 32rpx; 43 | } 44 | .tabs .tab { 45 | height: 88rpx; 46 | line-height: 88rpx; 47 | background: #f0f0f0; 48 | color: #999; 49 | text-align: center; 50 | flex-grow: 1; 51 | } 52 | .tabs .tab.active { 53 | background: #fff; 54 | color: #4a4a4a; 55 | border-bottom: 1rpx solid #f0f0f0; 56 | font-weight: 700; 57 | } 58 | .data { 59 | margin: 32rpx; 60 | line-height: 80rpx; 61 | flex: 1; 62 | height: 0; 63 | } 64 | .data scroll-view { 65 | height: 100%; 66 | } 67 | .data .active { 68 | color: #e64340; 69 | font-weight: 700; 70 | } -------------------------------------------------------------------------------- /config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | version: "7.8.6", 3 | note: '修复用户取消支付后提示不正确', // 这个为版本描述,无需修改 4 | subDomain: "tz", // 根据教程 https://www.yuque.com/apifm/doc/qr6l4m 查看你自己的 subDomain 5 | shareProfile: '百款精品商品,总有一款适合您', // 首页转发的时候话术 6 | goodsDetailSkuShowType: 0, // 0 为点击立即购买按钮后出现规格尺寸、数量的选择; 1为直接在商品详情页面显示规格尺寸、数量的选择,而不弹框 7 | } -------------------------------------------------------------------------------- /images/add-addr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/add-addr.png -------------------------------------------------------------------------------- /images/arrow-right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/arrow-right.png -------------------------------------------------------------------------------- /images/fx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/fx.png -------------------------------------------------------------------------------- /images/fxad.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/fxad.jpeg -------------------------------------------------------------------------------- /images/gift.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/gift.png -------------------------------------------------------------------------------- /images/icon/car.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon/close.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon/close0.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon/edit.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon/go-l.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon/go-r.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon/kf.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon/list1.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon/list2.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/icon/next.png -------------------------------------------------------------------------------- /images/icon/search.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/nav/cart-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/nav/cart-off.png -------------------------------------------------------------------------------- /images/nav/cart-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/nav/cart-on.png -------------------------------------------------------------------------------- /images/nav/home-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/nav/home-off.png -------------------------------------------------------------------------------- /images/nav/home-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/nav/home-on.png -------------------------------------------------------------------------------- /images/nav/ic_catefory_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/nav/ic_catefory_normal.png -------------------------------------------------------------------------------- /images/nav/ic_catefory_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/nav/ic_catefory_pressed.png -------------------------------------------------------------------------------- /images/nav/my-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/nav/my-off.png -------------------------------------------------------------------------------- /images/nav/my-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/nav/my-on.png -------------------------------------------------------------------------------- /images/nav/order-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/nav/order-off.png -------------------------------------------------------------------------------- /images/nav/order-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/nav/order-on.png -------------------------------------------------------------------------------- /images/no-order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/no-order.png -------------------------------------------------------------------------------- /images/nologin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/nologin.png -------------------------------------------------------------------------------- /images/notice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/notice.png -------------------------------------------------------------------------------- /images/order-details/icon-address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/order-details/icon-address.png -------------------------------------------------------------------------------- /images/order-details/icon-ddfh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/order-details/icon-ddfh.png -------------------------------------------------------------------------------- /images/order-details/icon-ddfk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/order-details/icon-ddfk.png -------------------------------------------------------------------------------- /images/order-details/icon-ddgb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/order-details/icon-ddgb.png -------------------------------------------------------------------------------- /images/order-details/icon-ddsh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/order-details/icon-ddsh.png -------------------------------------------------------------------------------- /images/order-details/icon-jycg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/order-details/icon-jycg.png -------------------------------------------------------------------------------- /images/order-details/icon-wuliu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/order-details/icon-wuliu.png -------------------------------------------------------------------------------- /images/order/fahuo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/order/fahuo.png -------------------------------------------------------------------------------- /images/order/pj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/order/pj.png -------------------------------------------------------------------------------- /images/order/shouhou.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/order/shouhou.png -------------------------------------------------------------------------------- /images/order/shouhuo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/order/shouhuo.png -------------------------------------------------------------------------------- /images/order/topay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/order/topay.png -------------------------------------------------------------------------------- /images/share/share1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/share/share1.png -------------------------------------------------------------------------------- /images/share/share2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EastWorld/tt-app-mall/91f21e8926e8da6af5c4e821fea5646212bf7419/images/share/share2.png -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es2015", 4 | "module": "commonjs" 5 | } 6 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "wechat-app-mall", 3 | "version": "7.4.1", 4 | "description": "微信小程序商城,微信小程序微店", 5 | "main": "app.js", 6 | "dependencies": { 7 | "apifm-wxapi": "^2.6.0" 8 | }, 9 | "devDependencies": {}, 10 | "scripts": { 11 | "test": "echo \"Error: no test specified\" && exit 1" 12 | }, 13 | "repository": { 14 | "type": "git", 15 | "url": "git+https://github.com/EastWorld/wechat-app-mall.git" 16 | }, 17 | "keywords": [ 18 | "微店", 19 | "小店", 20 | "微商城" 21 | ], 22 | "author": "gooking", 23 | "license": "ISC", 24 | "bugs": { 25 | "url": "https://github.com/EastWorld/wechat-app-mall/issues" 26 | }, 27 | "homepage": "https://github.com/EastWorld/wechat-app-mall#readme" 28 | } 29 | -------------------------------------------------------------------------------- /pages/address-add/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "维护收货地址" 3 | } -------------------------------------------------------------------------------- /pages/address-add/index.ttss: -------------------------------------------------------------------------------- 1 | page,view,image,input { 2 | display: block; 3 | box-sizing: border-box; 4 | } 5 | 6 | .weui-cell__hd_in-select-after { 7 | padding-left: 32rpx; 8 | } 9 | .weui-select { 10 | padding-left: 0; 11 | } 12 | 13 | .form-box { 14 | width: 100vw; 15 | background-color: #fff; 16 | margin-top: 16rpx; 17 | } 18 | 19 | .row-wrap { 20 | height: 88rpx; 21 | line-height: 88rpx; 22 | padding: 0 32rpx; 23 | border-bottom: 1rpx solid #eee; 24 | display: flex; 25 | font-size: 28rpx; 26 | } 27 | 28 | .row-wrap .label { 29 | width: 160rpx; 30 | color: #333; 31 | } 32 | 33 | .row-wrap .label-right { 34 | flex: 1; 35 | height: 88rpx; 36 | line-height: 88rpx; 37 | } 38 | 39 | .row-wrap .label-right input { 40 | height: 100%; 41 | font-size: 28rpx; 42 | padding-right: 30rpx; 43 | } 44 | 45 | .row-wrap .right-box { 46 | margin-right: 30rpx; 47 | } 48 | 49 | .arrow-right { 50 | width: 15rpx; 51 | height: 24rpx; 52 | } 53 | 54 | .save-btn, .cancel-btn { 55 | width: 690rpx; 56 | height: 80rpx; 57 | line-height: 80rpx; 58 | text-align: center; 59 | margin-top: 30rpx; 60 | border-radius: 6rpx; 61 | box-sizing: border-box; 62 | } 63 | 64 | .save-btn { 65 | background-color: #e64340; 66 | color: #fff; 67 | } 68 | 69 | button[type="default"] { 70 | background-color: #fff; 71 | color: #000; 72 | } 73 | 74 | .addr-details { 75 | height: auto; 76 | padding: 30rpx 0; 77 | margin-left: 30rpx; 78 | border-bottom: 1rpx solid #eee; 79 | display: flex; 80 | font-size: 28rpx; 81 | } 82 | 83 | .addr-details .label { 84 | margin: auto 0 auto 0; 85 | width: 160rpx; 86 | color: #000; 87 | } 88 | 89 | .addr-details textarea { 90 | box-sizing: border-box; 91 | width: 480rpx; 92 | overflow: scroll; 93 | } 94 | 95 | picker { 96 | min-width: 20rpx; 97 | height: 100%; 98 | margin-right: 20rpx; 99 | } 100 | 101 | .hui { 102 | color: #777; 103 | } 104 | 105 | .showRegionSelect { 106 | margin-left: 32rpx; 107 | text-overflow: ellipsis; 108 | white-space: nowrap; 109 | overflow: hidden; 110 | } 111 | -------------------------------------------------------------------------------- /pages/asset/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的资产" 3 | } -------------------------------------------------------------------------------- /pages/asset/index.ttss: -------------------------------------------------------------------------------- 1 | @import "/template/login/index.ttss"; 2 | 3 | .asset { 4 | display: flex; 5 | padding-top:50rpx; 6 | height: 150rpx; 7 | background-color: #e85654; 8 | } 9 | .asset .item { 10 | display: flex; 11 | flex-direction: column; 12 | width:250rpx; 13 | text-align: center; 14 | font-size: 14px; 15 | line-height: 30px; 16 | color:#fff; 17 | } 18 | 19 | .btn-view { 20 | height: 88rpx; 21 | background-color: #e85654; 22 | padding-right:40rpx; 23 | padding-bottom:30rpx; 24 | width: 100vw; 25 | display: flex; 26 | flex-direction: row-reverse; 27 | } 28 | .btn-view .btn { 29 | border-color: #fff !important; 30 | color:#fff !important; 31 | margin-right:20rpx; 32 | } 33 | .btn-hover { 34 | border-color: #fff; 35 | color:#fff; 36 | } 37 | 38 | .no-data { 39 | margin-top: 100rpx; 40 | text-align: center; 41 | font-size: 13px; 42 | color:#ccc; 43 | } 44 | 45 | .cashlogs { 46 | display: flex; 47 | font-size: 12px; 48 | margin-top: 20rpx; 49 | padding-bottom: 20rpx; 50 | border-bottom: 1px solid #eee; 51 | line-height: 20px; 52 | } 53 | .cashlogs .profile { 54 | width:600rpx; 55 | padding-left: 30rpx; 56 | } 57 | .cashlogs .amount { 58 | width:150rpx; 59 | } 60 | -------------------------------------------------------------------------------- /pages/category/category.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "分类" 3 | } -------------------------------------------------------------------------------- /pages/coupons/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "领券中心" 3 | } -------------------------------------------------------------------------------- /pages/deposit/pay.js: -------------------------------------------------------------------------------- 1 | const WXAPI = require('../../utils/apifm-ttapi') 2 | const app = getApp() 3 | Page({ 4 | 5 | /** 6 | * 页面的初始数据 7 | */ 8 | data: { 9 | 10 | }, 11 | 12 | /** 13 | * 生命周期函数--监听页面加载 14 | */ 15 | onLoad: function (options) { 16 | 17 | }, 18 | 19 | /** 20 | * 生命周期函数--监听页面初次渲染完成 21 | */ 22 | onReady: function () { 23 | 24 | }, 25 | 26 | /** 27 | * 生命周期函数--监听页面显示 28 | */ 29 | onShow: function () { 30 | 31 | }, 32 | 33 | /** 34 | * 生命周期函数--监听页面隐藏 35 | */ 36 | onHide: function () { 37 | 38 | }, 39 | 40 | /** 41 | * 生命周期函数--监听页面卸载 42 | */ 43 | onUnload: function () { 44 | 45 | }, 46 | 47 | /** 48 | * 页面相关事件处理函数--监听用户下拉动作 49 | */ 50 | onPullDownRefresh: function () { 51 | 52 | }, 53 | 54 | /** 55 | * 页面上拉触底事件的处理函数 56 | */ 57 | onReachBottom: function () { 58 | 59 | }, 60 | 61 | /** 62 | * 用户点击右上角分享 63 | */ 64 | onShareAppMessage: function () { 65 | 66 | }, 67 | bindSave: function (e) { 68 | const that = this; 69 | const amount = e.detail.value.amount; 70 | 71 | if (amount == "" || amount * 1 < 0) { 72 | wx.showModal({ 73 | title: '错误', 74 | content: '请填写正确的押金金额', 75 | showCancel: false 76 | }) 77 | return 78 | } 79 | WXAPI.payDeposit({ 80 | token: wx.getStorageSync('token'), 81 | amount: amount 82 | }, 'post').then(res => { 83 | if (res.code == 40000) { 84 | wx.showModal({ 85 | title: '请先充值', 86 | content: res.msg, 87 | showCancel: false, 88 | success(res) { 89 | wx.navigateTo({ 90 | url: "/pages/recharge/index" 91 | }) 92 | } 93 | }) 94 | return 95 | } 96 | if (res.code != 0) { 97 | wx.showModal({ 98 | title: '错误', 99 | content: res.msg, 100 | showCancel: false 101 | }) 102 | return 103 | } 104 | wx.showModal({ 105 | title: '成功', 106 | content: '押金支付成功', 107 | showCancel: false, 108 | success(res) { 109 | wx.navigateTo({ 110 | url: "/pages/asset/index" 111 | }) 112 | } 113 | }) 114 | }) 115 | } 116 | }) 117 | -------------------------------------------------------------------------------- /pages/deposit/pay.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "navigationBarTitleText": "支付押金" 4 | } -------------------------------------------------------------------------------- /pages/deposit/pay.ttml: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 押金金额 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 |
14 | 15 | 16 | -------------------------------------------------------------------------------- /pages/fx/apply-status.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "分销中心" 3 | } -------------------------------------------------------------------------------- /pages/fx/apply-status.ttml: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 您还不是分销商,无法使用分销功能 5 | 6 |
7 |
8 | 9 | 10 |
11 | 12 | 感谢您的支持,请等待审核! 13 | 14 |
15 |
16 | 17 | 18 |
19 | 20 | 很遗憾,您的申请没有通过 21 | {{applyInfo.remark}} 22 | 23 |
24 |
25 | 26 | 27 | 28 | 扫码关注您的专属推广码,或者转发邀请好友 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 |