├── README.md
├── api.js
├── api.tpl.js
├── app.js
├── app.json
├── app.wxss
├── area-picker
├── area-picker.js
├── area-picker.wxml
└── area-picker.wxss
├── commons
├── copyright
│ └── copyright.wxml
├── extension
│ ├── extension.wxml
│ └── extension.wxss
├── float-icon
│ └── float-icon.wxml
├── get-card
│ ├── get-card.wxml
│ └── get-card.wxss
├── get-coupon
│ └── get-coupon.wxml
└── navbar
│ └── navbar.wxml
├── images
├── car.png
├── cart_add.png
├── cart_less.png
├── cart_no_add.png
├── cart_no_less.png
├── clear.png
├── guige.jpg
├── ico-pt-active.png
├── icon-about-us.png
├── icon-address.png
├── icon-balance-ad.png
├── icon-balance-bg.png
├── icon-balance-left.png
├── icon-balance-p.png
├── icon-balance-right.png
├── icon-card-bg.png
├── icon-card-btn.png
├── icon-card-del.png
├── icon-card-qrcode.png
├── icon-card-top.png
├── icon-check.png
├── icon-checked.png
├── icon-clerk.png
├── icon-close.png
├── icon-close2.png
├── icon-close3.png
├── icon-close4.png
├── icon-comment-score-1.active.png
├── icon-comment-score-1.png
├── icon-comment-score-2.active.png
├── icon-comment-score-2.png
├── icon-comment-score-3.active.png
├── icon-comment-score-3.png
├── icon-coupon-index.png
├── icon-coupon-no.png
├── icon-coupon.png
├── icon-delete.png
├── icon-detail-love.png
├── icon-discount.png
├── icon-down.png
├── icon-edit.png
├── icon-favorite-active.png
├── icon-favorite.png
├── icon-group-share.png
├── icon-help.png
├── icon-huodao-selected.png
├── icon-image-picker.png
├── icon-integral-radio-active.png
├── icon-integral-radio.png
├── icon-jiantou-r.png
├── icon-jingxuan.png
├── icon-loading.gif
├── icon-member-bg.png
├── icon-member-level.png
├── icon-member-rights.png
├── icon-miaosha.png
├── icon-notice-jiantou.png
├── icon-notice-title.png
├── icon-notice.png
├── icon-ntegration.png
├── icon-offline.png
├── icon-online-selected.png
├── icon-order-0.png
├── icon-order-1.png
├── icon-order-2.png
├── icon-order-3.png
├── icon-order-4.png
├── icon-pay-right.png
├── icon-pintuan-text.png
├── icon-play.png
├── icon-point-gray.png
├── icon-point-green.png
├── icon-pt-group-bg.png
├── icon-receive-coupon.png
├── icon-search.png
├── icon-service.png
├── icon-share-ant.png
├── icon-share-bank.png
├── icon-share-friend.png
├── icon-share-qrcode.png
├── icon-share-selected.png
├── icon-share-wechat.png
├── icon-share.png
├── icon-shop-checked.png
├── icon-shop-dingwei.png
├── icon-shop-love.png
├── icon-shop-nav-1.png
├── icon-shop-nav.png
├── icon-shop-search.png
├── icon-shop-tel.png
├── icon-shop-un.png
├── icon-sort-down-active.png
├── icon-sort-down.png
├── icon-sort-up-active.png
├── icon-sort-up.png
├── icon-store.png
├── icon-sub.png
├── icon-time-bg.png
├── icon-time-split.png
├── icon-topic-love-active.png
├── icon-topic-love.png
├── icon-topic-share.png
├── icon-topic.png
├── icon-uncheck.png
├── icon-up.png
├── icon-user-balance.png
├── icon-user-card.png
├── icon-user-fx.png
├── icon-user-integral.png
├── icon-user-kf.png
├── icon-user-level.png
├── icon-user-lingqu.png
├── icon-user-lx.png
├── icon-user-sc.png
├── icon-user-wallet.png
├── icon-user-xx.png
├── icon-user-yhq.png
├── icon-user-yj.png
├── icon-user-zl.png
├── icon-warning.png
├── img-coupon-bg-0.png
├── img-coupon-bg-1.png
├── img-coupon-status-icon-1.png
├── img-coupon-status-icon-2.png
├── img-get-coupon-bg.png
├── img-get-coupon-item-bg.png
├── img-get-coupon-title.png
├── img-nvzhuang.png
├── img-order-status-bar.png
├── img-share-agree.png
├── img-share-cash.png
├── img-share-down.png
├── img-share-info.png
├── img-share-money.png
├── img-share-order.png
├── img-share-price.png
├── img-share-qrcode.png
├── img-share-right.png
├── img-share-shop.png
├── img-share-team.png
├── img-share-tip.png
├── img-share-un.png
├── integral.png
├── jia.png
├── jian.png
├── liji.jpg
├── loading-black.svg
├── loading.svg
├── loading2.svg
├── pt-addres-bottom.png
├── pt-addres-top.png
├── pt-address.png
├── pt-details-pt.png
├── pt-empty-order.png
├── pt-fail.png
├── pt-favorite-active.png
├── pt-favorite.png
├── pt-go-home.png
├── pt-my-group.png
├── pt-no-group-num-pic.png
├── pt-order-details-bg.png
├── pt-search-clear.png
├── pt-search-icon.png
├── pt-shop-car.png
├── pt-success.png
├── quick-hot.png
├── serach-index-icon.png
├── settle.jpg
├── user-integral-arrow.png
├── video-play.png
├── yougoods.jpg
└── yy-form-title.png
├── pages
├── add-share
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── address-edit
│ ├── address-edit.js
│ ├── address-edit.json
│ ├── address-edit.wxml
│ ├── address-edit.wxss
│ └── j.json
├── address-picker
│ ├── address-picker.js
│ ├── address-picker.json
│ ├── address-picker.wxml
│ └── address-picker.wxss
├── address
│ ├── address.js
│ ├── address.json
│ ├── address.wxml
│ └── address.wxss
├── article-detail
│ ├── article-detail.js
│ ├── article-detail.json
│ ├── article-detail.wxml
│ └── article-detail.wxss
├── article-list
│ ├── article-list.js
│ ├── article-list.json
│ ├── article-list.wxml
│ └── article-list.wxss
├── balance
│ ├── balance.js
│ ├── balance.json
│ ├── balance.wxml
│ └── balance.wxss
├── book
│ ├── clerk
│ │ ├── clerk.js
│ │ ├── clerk.json
│ │ ├── clerk.wxml
│ │ └── clerk.wxss
│ ├── comment
│ │ ├── comment.js
│ │ ├── comment.json
│ │ ├── comment.wxml
│ │ └── comment.wxss
│ ├── details
│ │ ├── details.js
│ │ ├── details.json
│ │ ├── details.wxml
│ │ └── details.wxss
│ ├── index
│ │ ├── index.js
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.wxss
│ ├── order-comment
│ │ ├── order-comment.js
│ │ ├── order-comment.json
│ │ ├── order-comment.wxml
│ │ └── order-comment.wxss
│ ├── order
│ │ ├── details.js
│ │ ├── details.json
│ │ ├── details.wxml
│ │ ├── details.wxss
│ │ ├── order.js
│ │ ├── order.json
│ │ ├── order.wxml
│ │ └── order.wxss
│ ├── shop
│ │ ├── shop.js
│ │ ├── shop.json
│ │ ├── shop.wxml
│ │ └── shop.wxss
│ └── submit
│ │ ├── submit.js
│ │ ├── submit.json
│ │ ├── submit.wxml
│ │ └── submit.wxss
├── card-clerk
│ ├── card-clerk.js
│ ├── card-clerk.json
│ ├── card-clerk.wxml
│ └── card-clerk.wxss
├── card
│ ├── card.js
│ ├── card.json
│ ├── card.wxml
│ └── card.wxss
├── cart
│ ├── cart.js
│ ├── cart.json
│ ├── cart.wxml
│ └── cart.wxss
├── cash-detail
│ ├── cash-detail.js
│ ├── cash-detail.json
│ ├── cash-detail.wxml
│ └── cash-detail.wxss
├── cash
│ ├── cash.js
│ ├── cash.json
│ ├── cash.wxml
│ └── cash.wxss
├── cat
│ ├── cat.js
│ ├── cat.json
│ ├── cat.wxml
│ └── cat.wxss
├── clerk
│ ├── clerk.js
│ ├── clerk.json
│ ├── clerk.wxml
│ └── clerk.wxss
├── coupon-list
│ ├── coupon-list.js
│ ├── coupon-list.json
│ ├── coupon-list.wxml
│ └── coupon-list.wxss
├── coupon
│ ├── coupon.js
│ ├── coupon.json
│ ├── coupon.wxml
│ └── coupon.wxss
├── demo
│ ├── demo.js
│ ├── demo.json
│ ├── demo.wxml
│ └── demo.wxss
├── express-detail
│ ├── express-detail.js
│ ├── express-detail.json
│ ├── express-detail.wxml
│ └── express-detail.wxss
├── favorite
│ ├── favorite.js
│ ├── favorite.json
│ ├── favorite.wxml
│ └── favorite.wxss
├── fxhb
│ ├── common.wxss
│ ├── detail
│ │ ├── detail.js
│ │ ├── detail.json
│ │ ├── detail.wxml
│ │ └── detail.wxss
│ └── open
│ │ ├── open.js
│ │ ├── open.json
│ │ ├── open.wxml
│ │ └── open.wxss
├── goods
│ ├── goods.js
│ ├── goods.json
│ ├── goods.wxml
│ └── goods.wxss
├── index
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── list
│ ├── list.js
│ ├── list.json
│ ├── list.wxml
│ └── list.wxss
├── member
│ ├── member.js
│ ├── member.json
│ ├── member.wxml
│ └── member.wxss
├── miaosha
│ ├── details
│ │ ├── details.js
│ │ ├── details.json
│ │ ├── details.wxml
│ │ └── details.wxss
│ ├── express-detail
│ │ ├── express-detail.js
│ │ ├── express-detail.json
│ │ ├── express-detail.wxml
│ │ └── express-detail.wxss
│ ├── miaosha.js
│ ├── miaosha.json
│ ├── miaosha.wxml
│ ├── miaosha.wxss
│ ├── order-comment
│ │ ├── order-comment.js
│ │ ├── order-comment.json
│ │ ├── order-comment.wxml
│ │ └── order-comment.wxss
│ ├── order-detail
│ │ ├── order-detail.js
│ │ ├── order-detail.json
│ │ ├── order-detail.wxml
│ │ └── order-detail.wxss
│ ├── order-refund-detail
│ │ ├── order-refund-detail.js
│ │ ├── order-refund-detail.json
│ │ ├── order-refund-detail.wxml
│ │ └── order-refund-detail.wxss
│ ├── order-refund
│ │ ├── order-refund.js
│ │ ├── order-refund.json
│ │ ├── order-refund.wxml
│ │ └── order-refund.wxss
│ ├── order-submit
│ │ ├── order-submit.js
│ │ ├── order-submit.json
│ │ ├── order-submit.wxml
│ │ └── order-submit.wxss
│ └── order
│ │ ├── order.js
│ │ ├── order.json
│ │ ├── order.wxml
│ │ └── order.wxss
├── order-comment
│ ├── order-comment.js
│ ├── order-comment.json
│ ├── order-comment.wxml
│ └── order-comment.wxss
├── order-detail
│ ├── order-detail.js
│ ├── order-detail.json
│ ├── order-detail.wxml
│ └── order-detail.wxss
├── order-refund-detail
│ ├── order-refund-detail.js
│ ├── order-refund-detail.json
│ ├── order-refund-detail.wxml
│ └── order-refund-detail.wxss
├── order-refund
│ ├── order-refund.js
│ ├── order-refund.json
│ ├── order-refund.wxml
│ └── order-refund.wxss
├── order-submit
│ ├── order-submit.js
│ ├── order-submit.json
│ ├── order-submit.wxml
│ └── order-submit.wxss
├── order
│ ├── order.js
│ ├── order.json
│ ├── order.wxml
│ └── order.wxss
├── pt
│ ├── clerk
│ │ ├── clerk.js
│ │ ├── clerk.json
│ │ ├── clerk.wxml
│ │ └── clerk.wxss
│ ├── comment
│ │ ├── comment.js
│ │ ├── comment.json
│ │ ├── comment.wxml
│ │ └── comment.wxss
│ ├── commons
│ │ └── cat
│ │ │ ├── cat.wxml
│ │ │ └── cat.wxss
│ ├── details
│ │ ├── details.js
│ │ ├── details.json
│ │ ├── details.wxml
│ │ └── details.wxss
│ ├── express-detail
│ │ ├── express-detail.js
│ │ ├── express-detail.json
│ │ ├── express-detail.wxml
│ │ └── express-detail.wxss
│ ├── group
│ │ ├── details.js
│ │ ├── details.json
│ │ ├── details.wxml
│ │ └── details.wxss
│ ├── index
│ │ ├── index.js
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.wxss
│ ├── list
│ │ ├── list.js
│ │ ├── list.json
│ │ ├── list.wxml
│ │ └── list.wxss
│ ├── order-comment
│ │ ├── order-comment.js
│ │ ├── order-comment.json
│ │ ├── order-comment.wxml
│ │ └── order-comment.wxss
│ ├── order-details
│ │ ├── order-details.js
│ │ ├── order-details.json
│ │ ├── order-details.wxml
│ │ └── order-details.wxss
│ ├── order-refund-detail
│ │ ├── order-refund-detail.js
│ │ ├── order-refund-detail.json
│ │ ├── order-refund-detail.wxml
│ │ └── order-refund-detail.wxss
│ ├── order-refund
│ │ ├── order-refund.js
│ │ ├── order-refund.json
│ │ ├── order-refund.wxml
│ │ └── order-refund.wxss
│ ├── order-submit
│ │ ├── order-submit.js
│ │ ├── order-submit.json
│ │ ├── order-submit.wxml
│ │ └── order-submit.wxss
│ ├── order
│ │ ├── order.js
│ │ ├── order.json
│ │ ├── order.wxml
│ │ └── order.wxss
│ └── search
│ │ ├── search.js
│ │ ├── search.json
│ │ ├── search.wxml
│ │ └── search.wxss
├── quick-purchase
│ └── index
│ │ ├── index.js
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.wxss
├── recharge
│ ├── recharge.js
│ ├── recharge.json
│ ├── recharge.wxml
│ └── recharge.wxss
├── search
│ ├── search.js
│ ├── search.json
│ ├── search.wxml
│ └── search.wxss
├── share-money
│ ├── share-money.js
│ ├── share-money.json
│ ├── share-money.wxml
│ └── share-money.wxss
├── share-order
│ ├── share-order.js
│ ├── share-order.json
│ ├── share-order.wxml
│ └── share-order.wxss
├── share-qrcode
│ ├── share-qrcode.js
│ ├── share-qrcode.json
│ ├── share-qrcode.wxml
│ └── share-qrcode.wxss
├── share-team
│ ├── share-team.js
│ ├── share-team.json
│ ├── share-team.wxml
│ └── share-team.wxss
├── share
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── shop-detail
│ ├── shop-detail.js
│ ├── shop-detail.json
│ ├── shop-detail.wxml
│ └── shop-detail.wxss
├── shop
│ ├── shop.js
│ ├── shop.json
│ ├── shop.wxml
│ └── shop.wxss
├── test
│ ├── test.js
│ ├── test.json
│ ├── test.wxml
│ └── test.wxss
├── topic-list
│ ├── topic-list.js
│ ├── topic-list.json
│ ├── topic-list.wxml
│ └── topic-list.wxss
├── topic
│ ├── topic.js
│ ├── topic.json
│ ├── topic.wxml
│ └── topic.wxss
├── user
│ ├── user.js
│ ├── user.json
│ ├── user.wxml
│ └── user.wxss
├── video
│ ├── video-list.js
│ ├── video-list.json
│ ├── video-list.wxml
│ └── video-list.wxss
└── web
│ ├── web.js
│ ├── web.json
│ ├── web.wxml
│ └── web.wxss
├── siteinfo.js
├── utils.js
├── utils
└── utils.js
└── wxParse
├── html2json.js
├── htmlparser.js
├── showdown.js
├── wxDiscode.js
├── wxParse.js
├── wxParse.wxml
└── wxParse.wxss
/README.md:
--------------------------------------------------------------------------------
1 | # wechat_shop
2 | 微信小程序模版同城微商三级分销系统商城秒杀拼团裂变支付小程序
3 | 这是一款能跑起来的开源商城系统!稳定且小巧!
4 | 微信小程序电商平台(前后端开源PHP),包含拼团,分销,抽奖,红包,多店,会员制,种草社交,新零售,社区团购等功能,整个系统架构非常简单,适合小型团队或者个人开发者二次开发。
5 |
6 | 小程序 + APP + 公众号 + PC + H5 + 支付宝小程序 + 百度小程序 + 头条号小程序
7 |
8 | 注重界面美感与用户体验,打造独特电商系统生态圈
9 |
10 | 如果对您有帮助,您可以点右上角 "Star" 支持一下,这样我们才有继续免费下去的动力,谢谢!
11 |
12 | 高级版本有uniapp版本,另外有PHP YII2开发的管理后台
13 |
14 | 电商进阶版
15 |
16 | 使用
17 |
18 | https://www.9026.com/web/Template/shopSingle?id=15&cate_id=&status=1
19 |
20 |
21 | 案例
22 |
23 |
24 |
25 |
26 |
27 |
28 | 更多成功案例
29 |
30 | https://www.9026.com/web/Case/index
31 |
32 |
33 | 后续新增免费升级的功能如下:
34 |
35 | 1.积分商城;
36 |
37 | 2.订单批量发货;
38 |
39 | 3.多商户功能;
40 |
41 | 4.预约产品增加多规格;
42 |
43 | 6.全店限制购买订单满多少元才能购买;
44 |
45 |
46 | 更新升级6月19日
47 |
48 | --新增用户中心可以隐藏订单栏;
49 |
50 | --新增预约表单上传图片;
51 |
52 | --新增入驻商排序功能;
53 |
54 | --分销自购返利重改;
55 |
56 | --优化后台整体性能;
57 |
58 | 更新升级5月24日
59 |
60 | --新增导航和导航栏支持好店推荐和入驻商;
61 |
62 | --新增 商品推荐开关 商品推荐数量;
63 |
64 | --优化小程序端拼团板块加载速度;
65 |
66 | 更新升级5月20日
67 | --新增搜索没有结果时的提示;
68 |
69 | --新增分销仅自购;
70 |
71 | --新增后台分销商列表可以查看分销商的推荐人;
72 |
73 | --新增后台绑定手机号查看;
74 |
75 | 更新升级5月17日
76 |
77 | --区域限制购买;
78 |
79 | --快递鸟物流编码更新;
80 |
81 | 更新升级3月14日
82 |
83 | --新增图片库图片管理功能;
84 |
85 | --商品优惠券限制分类使用(不含插件分类);
86 |
87 | --新增插件分销订单统计;
88 |
89 | --拼团新增阶梯团功能;
90 |
91 | --新增用户中心分销菜单自定义功能;
92 |
93 | 更新升级2月08日
94 |
95 | --新增分类新增样式;
96 |
97 | --商品详情增加推荐商品;
98 |
99 | --新增首页展示预约功能;
100 |
101 | --新增批量添加商品到快速购买;
102 |
103 | --预约加入分销;
104 |
105 | --拼团新增余额支付和货到付款;
106 |
107 | --拼团新增包邮规则;
108 |
109 | --快速购买增加详情页;
110 |
--------------------------------------------------------------------------------
/area-picker/area-picker.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | 取消
9 | 确认
10 |
11 |
12 |
13 |
14 | {{item.name}}
15 |
16 |
17 | {{item.name}}
18 |
19 |
20 | {{item.name}}
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/area-picker/area-picker.wxss:
--------------------------------------------------------------------------------
1 | .area-picker{
2 | position: fixed;
3 | z-index: 10000;
4 | left: 0;
5 | top:0;
6 | width: 100%;
7 | height: 100%;
8 | display: flex;
9 | flex-direction: column;
10 | transform: translateY(100%);
11 | transition: 250ms opacity;
12 | opacity: 0;
13 | background: rgba(0,0,0,.3);
14 | }
15 |
16 | .area-picker.active{
17 | transform: translateY(0);
18 | opacity: 1;
19 | }
20 |
21 | .area-picker .area-picker-bg{
22 | flex-grow: 1;
23 | position: relative;
24 | }
25 | .area-picker .area-picker-bg > scroll-view{
26 | left: 0;
27 | top:0;
28 | height: 100%;
29 | width: 100%;
30 | position: absolute;
31 | }
32 | .area-picker .area-picker-body{
33 | flex-grow: 0;
34 | height: 600rpx;
35 | background: #fff;
36 | transform: translateY(100%);
37 | transition: 250ms transform;
38 | position: relative;
39 | }
40 |
41 | .area-picker.active .area-picker-body{
42 | transform: translateY(0);
43 | }
44 | .area-picker .area-picker-body > scroll-view{
45 | left: 0;
46 | top:0;
47 | height: 100%;
48 | width: 100%;
49 | position: absolute;
50 | }
51 | .area-picker .area-picker-cancel,
52 | .area-picker .area-picker-confirm {
53 | display: inline-block;
54 | padding: 24rpx;
55 | color: #888;
56 | }
57 |
58 | .area-picker .area-picker-confirm{
59 | float: right;
60 | color: #00aa00;
61 | }
62 |
63 | .area-picker .area-picker-row{
64 | width: 100%;
65 | height: 500rpx;
66 | }
--------------------------------------------------------------------------------
/commons/extension/extension.wxml:
--------------------------------------------------------------------------------
1 |
2 | {{_toast.title}}
3 |
--------------------------------------------------------------------------------
/commons/extension/extension.wxss:
--------------------------------------------------------------------------------
1 | #_toast {
2 | position: fixed;
3 | top: 20%;
4 | left: 0;
5 | width: 100%;
6 | height: 0;
7 | background: #ff0;
8 | z-index: 10000;
9 | padding: 0 120rpx;
10 | text-align: center;
11 | }
12 |
13 | #_toast_title {
14 | font-size: 11pt;
15 | display: inline-block;
16 | background: rgba(0, 0, 0, 0.85);
17 | color: #fff;
18 | margin: 0 auto;
19 | padding: 16rpx 32rpx;
20 | border-radius: 16rpx;
21 | max-height: 60vh;
22 | overflow-y: auto;
23 | overflow-x: hidden;
24 | text-align: left;
25 | transition: 150ms;
26 | word-break: break-all;
27 | box-shadow:0 0 25rpx 5rpx rgba(0, 0, 0, .5);
28 |
29 | }
30 |
31 | #_toast_title.hide {
32 | opacity: 0;
33 | visibility: hidden;
34 | }
--------------------------------------------------------------------------------
/commons/float-icon/float-icon.wxml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
26 |
27 |
--------------------------------------------------------------------------------
/commons/get-card/get-card.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | 获得{{goods_card_list.length}}张卡券
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | {{item.content}}
21 |
22 |
23 |
24 |
25 |
26 |
27 | 卡券将5分钟内放入您的卡包
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/commons/get-card/get-card.wxss:
--------------------------------------------------------------------------------
1 | .get-card {
2 | width: 100%;
3 | height: 100%;
4 | position: absolute;
5 | left: 0;
6 | top: 0;
7 | z-index: 2000;
8 | background-color: rgba(0, 0, 0, 0.5);
9 | }
10 |
11 | .card-block {
12 | margin-top: -140rpx;
13 | position: relative;
14 | }
15 |
16 | .card-info {
17 | width: 559rpx;
18 | border-radius: 0 0 30rpx 30rpx;
19 | background-color: #fff;
20 | margin-top: -20rpx;
21 | padding: 20rpx 0 50rpx 0;
22 | }
23 |
24 | .card-one {
25 | width: 100%;
26 | height: 164rpx;
27 | margin-bottom: 10rpx;
28 | }
29 |
30 | .card-bg {
31 | width: 514rpx;
32 | height: 164rpx;
33 | border-radius: 10rpx;
34 | box-shadow: 2rpx 2rpx 30rpx #ddd;
35 | padding: 14rpx;
36 | }
37 |
38 | .card-bg-1 {
39 | width: 100%;
40 | height: 100%;
41 | border: 2rpx #ff4544 dashed;
42 | border-radius: 10rpx;
43 | padding: 0 20rpx;
44 | }
45 |
46 | .card-del {
47 | position: absolute;
48 | right: 34rpx;
49 | top: 224rpx;
50 | width: 90rpx;
51 | height: 90rpx;
52 | }
53 |
54 | .card-del image{
55 | width: 30rpx;
56 | height: 30rpx;
57 | }
58 |
59 | .card-text {
60 | color: #707070;
61 | margin-top: 24rpx;
62 | margin-bottom: 34rpx;
63 | font-size: 9pt;
64 | }
65 |
66 | .card-text::before {
67 | content: ' ';
68 | margin-right: 32rpx;
69 | width: 50rpx;
70 | height: 1rpx;
71 | background-color: #707070;
72 | overflow: hidden;
73 | margin-top: 21rpx;
74 | }
75 |
76 | .card-text::after {
77 | content: ' ';
78 | margin-left: 32rpx;
79 | width: 50rpx;
80 | height: 1rpx;
81 | background-color: #707070;
82 | overflow: hidden;
83 | margin-top: 21rpx;
84 | }
85 |
86 | .card-btn {
87 | position: relative;
88 | }
89 |
90 | .card-btn image {
91 | width: 374rpx;
92 | height: 96rpx;
93 | }
94 |
95 | .card-get{
96 | margin-top: 4rpx;
97 | margin-bottom: 20rpx;
98 | color: #ff4544;
99 | font-size: 13pt;
100 | }
101 |
--------------------------------------------------------------------------------
/commons/get-coupon/get-coupon.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
8 |
9 |
10 |
11 |
13 |
14 |
15 |
16 | ¥
17 | {{item.sub_price}}
18 |
19 |
20 | 满{{item.min_price}}元可用
21 |
22 |
23 | 立即使用
24 | {{item.desc}}
25 |
26 |
27 |
28 |
29 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/images/car.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/car.png
--------------------------------------------------------------------------------
/images/cart_add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/cart_add.png
--------------------------------------------------------------------------------
/images/cart_less.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/cart_less.png
--------------------------------------------------------------------------------
/images/cart_no_add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/cart_no_add.png
--------------------------------------------------------------------------------
/images/cart_no_less.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/cart_no_less.png
--------------------------------------------------------------------------------
/images/clear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/clear.png
--------------------------------------------------------------------------------
/images/guige.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/guige.jpg
--------------------------------------------------------------------------------
/images/ico-pt-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/ico-pt-active.png
--------------------------------------------------------------------------------
/images/icon-about-us.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-about-us.png
--------------------------------------------------------------------------------
/images/icon-address.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-address.png
--------------------------------------------------------------------------------
/images/icon-balance-ad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-balance-ad.png
--------------------------------------------------------------------------------
/images/icon-balance-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-balance-bg.png
--------------------------------------------------------------------------------
/images/icon-balance-left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-balance-left.png
--------------------------------------------------------------------------------
/images/icon-balance-p.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-balance-p.png
--------------------------------------------------------------------------------
/images/icon-balance-right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-balance-right.png
--------------------------------------------------------------------------------
/images/icon-card-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-card-bg.png
--------------------------------------------------------------------------------
/images/icon-card-btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-card-btn.png
--------------------------------------------------------------------------------
/images/icon-card-del.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-card-del.png
--------------------------------------------------------------------------------
/images/icon-card-qrcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-card-qrcode.png
--------------------------------------------------------------------------------
/images/icon-card-top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-card-top.png
--------------------------------------------------------------------------------
/images/icon-check.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-check.png
--------------------------------------------------------------------------------
/images/icon-checked.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-checked.png
--------------------------------------------------------------------------------
/images/icon-clerk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-clerk.png
--------------------------------------------------------------------------------
/images/icon-close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-close.png
--------------------------------------------------------------------------------
/images/icon-close2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-close2.png
--------------------------------------------------------------------------------
/images/icon-close3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-close3.png
--------------------------------------------------------------------------------
/images/icon-close4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-close4.png
--------------------------------------------------------------------------------
/images/icon-comment-score-1.active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-comment-score-1.active.png
--------------------------------------------------------------------------------
/images/icon-comment-score-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-comment-score-1.png
--------------------------------------------------------------------------------
/images/icon-comment-score-2.active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-comment-score-2.active.png
--------------------------------------------------------------------------------
/images/icon-comment-score-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-comment-score-2.png
--------------------------------------------------------------------------------
/images/icon-comment-score-3.active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-comment-score-3.active.png
--------------------------------------------------------------------------------
/images/icon-comment-score-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-comment-score-3.png
--------------------------------------------------------------------------------
/images/icon-coupon-index.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-coupon-index.png
--------------------------------------------------------------------------------
/images/icon-coupon-no.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-coupon-no.png
--------------------------------------------------------------------------------
/images/icon-coupon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-coupon.png
--------------------------------------------------------------------------------
/images/icon-delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-delete.png
--------------------------------------------------------------------------------
/images/icon-detail-love.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-detail-love.png
--------------------------------------------------------------------------------
/images/icon-discount.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-discount.png
--------------------------------------------------------------------------------
/images/icon-down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-down.png
--------------------------------------------------------------------------------
/images/icon-edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-edit.png
--------------------------------------------------------------------------------
/images/icon-favorite-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-favorite-active.png
--------------------------------------------------------------------------------
/images/icon-favorite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-favorite.png
--------------------------------------------------------------------------------
/images/icon-group-share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-group-share.png
--------------------------------------------------------------------------------
/images/icon-help.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-help.png
--------------------------------------------------------------------------------
/images/icon-huodao-selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-huodao-selected.png
--------------------------------------------------------------------------------
/images/icon-image-picker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-image-picker.png
--------------------------------------------------------------------------------
/images/icon-integral-radio-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-integral-radio-active.png
--------------------------------------------------------------------------------
/images/icon-integral-radio.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-integral-radio.png
--------------------------------------------------------------------------------
/images/icon-jiantou-r.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-jiantou-r.png
--------------------------------------------------------------------------------
/images/icon-jingxuan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-jingxuan.png
--------------------------------------------------------------------------------
/images/icon-loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-loading.gif
--------------------------------------------------------------------------------
/images/icon-member-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-member-bg.png
--------------------------------------------------------------------------------
/images/icon-member-level.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-member-level.png
--------------------------------------------------------------------------------
/images/icon-member-rights.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-member-rights.png
--------------------------------------------------------------------------------
/images/icon-miaosha.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-miaosha.png
--------------------------------------------------------------------------------
/images/icon-notice-jiantou.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-notice-jiantou.png
--------------------------------------------------------------------------------
/images/icon-notice-title.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-notice-title.png
--------------------------------------------------------------------------------
/images/icon-notice.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-notice.png
--------------------------------------------------------------------------------
/images/icon-ntegration.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-ntegration.png
--------------------------------------------------------------------------------
/images/icon-offline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-offline.png
--------------------------------------------------------------------------------
/images/icon-online-selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-online-selected.png
--------------------------------------------------------------------------------
/images/icon-order-0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-order-0.png
--------------------------------------------------------------------------------
/images/icon-order-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-order-1.png
--------------------------------------------------------------------------------
/images/icon-order-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-order-2.png
--------------------------------------------------------------------------------
/images/icon-order-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-order-3.png
--------------------------------------------------------------------------------
/images/icon-order-4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-order-4.png
--------------------------------------------------------------------------------
/images/icon-pay-right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-pay-right.png
--------------------------------------------------------------------------------
/images/icon-pintuan-text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-pintuan-text.png
--------------------------------------------------------------------------------
/images/icon-play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-play.png
--------------------------------------------------------------------------------
/images/icon-point-gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-point-gray.png
--------------------------------------------------------------------------------
/images/icon-point-green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-point-green.png
--------------------------------------------------------------------------------
/images/icon-pt-group-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-pt-group-bg.png
--------------------------------------------------------------------------------
/images/icon-receive-coupon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-receive-coupon.png
--------------------------------------------------------------------------------
/images/icon-search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-search.png
--------------------------------------------------------------------------------
/images/icon-service.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-service.png
--------------------------------------------------------------------------------
/images/icon-share-ant.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-share-ant.png
--------------------------------------------------------------------------------
/images/icon-share-bank.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-share-bank.png
--------------------------------------------------------------------------------
/images/icon-share-friend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-share-friend.png
--------------------------------------------------------------------------------
/images/icon-share-qrcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-share-qrcode.png
--------------------------------------------------------------------------------
/images/icon-share-selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-share-selected.png
--------------------------------------------------------------------------------
/images/icon-share-wechat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-share-wechat.png
--------------------------------------------------------------------------------
/images/icon-share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-share.png
--------------------------------------------------------------------------------
/images/icon-shop-checked.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-shop-checked.png
--------------------------------------------------------------------------------
/images/icon-shop-dingwei.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-shop-dingwei.png
--------------------------------------------------------------------------------
/images/icon-shop-love.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-shop-love.png
--------------------------------------------------------------------------------
/images/icon-shop-nav-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-shop-nav-1.png
--------------------------------------------------------------------------------
/images/icon-shop-nav.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-shop-nav.png
--------------------------------------------------------------------------------
/images/icon-shop-search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-shop-search.png
--------------------------------------------------------------------------------
/images/icon-shop-tel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-shop-tel.png
--------------------------------------------------------------------------------
/images/icon-shop-un.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-shop-un.png
--------------------------------------------------------------------------------
/images/icon-sort-down-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-sort-down-active.png
--------------------------------------------------------------------------------
/images/icon-sort-down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-sort-down.png
--------------------------------------------------------------------------------
/images/icon-sort-up-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-sort-up-active.png
--------------------------------------------------------------------------------
/images/icon-sort-up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-sort-up.png
--------------------------------------------------------------------------------
/images/icon-store.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-store.png
--------------------------------------------------------------------------------
/images/icon-sub.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-sub.png
--------------------------------------------------------------------------------
/images/icon-time-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-time-bg.png
--------------------------------------------------------------------------------
/images/icon-time-split.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-time-split.png
--------------------------------------------------------------------------------
/images/icon-topic-love-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-topic-love-active.png
--------------------------------------------------------------------------------
/images/icon-topic-love.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-topic-love.png
--------------------------------------------------------------------------------
/images/icon-topic-share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-topic-share.png
--------------------------------------------------------------------------------
/images/icon-topic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-topic.png
--------------------------------------------------------------------------------
/images/icon-uncheck.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-uncheck.png
--------------------------------------------------------------------------------
/images/icon-up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-up.png
--------------------------------------------------------------------------------
/images/icon-user-balance.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-user-balance.png
--------------------------------------------------------------------------------
/images/icon-user-card.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-user-card.png
--------------------------------------------------------------------------------
/images/icon-user-fx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-user-fx.png
--------------------------------------------------------------------------------
/images/icon-user-integral.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-user-integral.png
--------------------------------------------------------------------------------
/images/icon-user-kf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-user-kf.png
--------------------------------------------------------------------------------
/images/icon-user-level.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-user-level.png
--------------------------------------------------------------------------------
/images/icon-user-lingqu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-user-lingqu.png
--------------------------------------------------------------------------------
/images/icon-user-lx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-user-lx.png
--------------------------------------------------------------------------------
/images/icon-user-sc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-user-sc.png
--------------------------------------------------------------------------------
/images/icon-user-wallet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-user-wallet.png
--------------------------------------------------------------------------------
/images/icon-user-xx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-user-xx.png
--------------------------------------------------------------------------------
/images/icon-user-yhq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-user-yhq.png
--------------------------------------------------------------------------------
/images/icon-user-yj.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-user-yj.png
--------------------------------------------------------------------------------
/images/icon-user-zl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-user-zl.png
--------------------------------------------------------------------------------
/images/icon-warning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/icon-warning.png
--------------------------------------------------------------------------------
/images/img-coupon-bg-0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-coupon-bg-0.png
--------------------------------------------------------------------------------
/images/img-coupon-bg-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-coupon-bg-1.png
--------------------------------------------------------------------------------
/images/img-coupon-status-icon-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-coupon-status-icon-1.png
--------------------------------------------------------------------------------
/images/img-coupon-status-icon-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-coupon-status-icon-2.png
--------------------------------------------------------------------------------
/images/img-get-coupon-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-get-coupon-bg.png
--------------------------------------------------------------------------------
/images/img-get-coupon-item-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-get-coupon-item-bg.png
--------------------------------------------------------------------------------
/images/img-get-coupon-title.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-get-coupon-title.png
--------------------------------------------------------------------------------
/images/img-nvzhuang.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-nvzhuang.png
--------------------------------------------------------------------------------
/images/img-order-status-bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-order-status-bar.png
--------------------------------------------------------------------------------
/images/img-share-agree.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-share-agree.png
--------------------------------------------------------------------------------
/images/img-share-cash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-share-cash.png
--------------------------------------------------------------------------------
/images/img-share-down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-share-down.png
--------------------------------------------------------------------------------
/images/img-share-info.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-share-info.png
--------------------------------------------------------------------------------
/images/img-share-money.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-share-money.png
--------------------------------------------------------------------------------
/images/img-share-order.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-share-order.png
--------------------------------------------------------------------------------
/images/img-share-price.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-share-price.png
--------------------------------------------------------------------------------
/images/img-share-qrcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-share-qrcode.png
--------------------------------------------------------------------------------
/images/img-share-right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-share-right.png
--------------------------------------------------------------------------------
/images/img-share-shop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-share-shop.png
--------------------------------------------------------------------------------
/images/img-share-team.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-share-team.png
--------------------------------------------------------------------------------
/images/img-share-tip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-share-tip.png
--------------------------------------------------------------------------------
/images/img-share-un.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/img-share-un.png
--------------------------------------------------------------------------------
/images/integral.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/integral.png
--------------------------------------------------------------------------------
/images/jia.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/jia.png
--------------------------------------------------------------------------------
/images/jian.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/jian.png
--------------------------------------------------------------------------------
/images/liji.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/liji.jpg
--------------------------------------------------------------------------------
/images/loading-black.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/loading.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/images/pt-addres-bottom.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-addres-bottom.png
--------------------------------------------------------------------------------
/images/pt-addres-top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-addres-top.png
--------------------------------------------------------------------------------
/images/pt-address.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-address.png
--------------------------------------------------------------------------------
/images/pt-details-pt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-details-pt.png
--------------------------------------------------------------------------------
/images/pt-empty-order.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-empty-order.png
--------------------------------------------------------------------------------
/images/pt-fail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-fail.png
--------------------------------------------------------------------------------
/images/pt-favorite-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-favorite-active.png
--------------------------------------------------------------------------------
/images/pt-favorite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-favorite.png
--------------------------------------------------------------------------------
/images/pt-go-home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-go-home.png
--------------------------------------------------------------------------------
/images/pt-my-group.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-my-group.png
--------------------------------------------------------------------------------
/images/pt-no-group-num-pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-no-group-num-pic.png
--------------------------------------------------------------------------------
/images/pt-order-details-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-order-details-bg.png
--------------------------------------------------------------------------------
/images/pt-search-clear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-search-clear.png
--------------------------------------------------------------------------------
/images/pt-search-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-search-icon.png
--------------------------------------------------------------------------------
/images/pt-shop-car.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-shop-car.png
--------------------------------------------------------------------------------
/images/pt-success.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/pt-success.png
--------------------------------------------------------------------------------
/images/quick-hot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/quick-hot.png
--------------------------------------------------------------------------------
/images/serach-index-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/serach-index-icon.png
--------------------------------------------------------------------------------
/images/settle.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/settle.jpg
--------------------------------------------------------------------------------
/images/user-integral-arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/user-integral-arrow.png
--------------------------------------------------------------------------------
/images/video-play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/video-play.png
--------------------------------------------------------------------------------
/images/yougoods.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/yougoods.jpg
--------------------------------------------------------------------------------
/images/yy-form-title.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/roobe/wechat_shop/1a5e398f1180e43e2851d078b73f9ccea84feec2/images/yy-form-title.png
--------------------------------------------------------------------------------
/pages/add-share/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "申请成为分销商"
3 | }
--------------------------------------------------------------------------------
/pages/add-share/index.wxss:
--------------------------------------------------------------------------------
1 | /* pages/add-share/index.wxss */
2 | .info-bg{
3 | width: 100%;
4 | height: 300rpx;
5 | background-color: #f7f7f7;
6 | margin-bottom: 20rpx;
7 | }
8 | .info-bg .bg{
9 | width: 100%;
10 | height: 300rpx;
11 | }
12 | .step1 .info{
13 | width: 100%;
14 | background-color: #ffffff;
15 | border-bottom: 1rpx #e3e3e3 solid;
16 | border-top: 1rpx #e3e3e3 solid;
17 | padding: 0 24rpx;
18 | }
19 | .info .info-label{
20 | width: 100%;
21 | height: 100rpx;
22 | border-bottom: 1rpx #e3e3e3 solid;
23 | color:#353535;
24 | }
25 | .info .info-label:last-child{
26 | border-bottom: none;
27 | }
28 | .info .info-label .info-red{
29 | color:#ff4544;
30 | }
31 | .info .info-label .info-gray{
32 | color:#666666;
33 | }
34 | .info .info-label.info-content{
35 | height: 100rpx;
36 | }
37 | .info-label .info-left{
38 | width: 176rpx;
39 | }
40 | .info-label .info-left.required::after{
41 | content: "*";
42 | color: #ff4544;
43 | }
44 | .info-label .info-agree{
45 | font-size: 10pt;
46 | }
47 | .info-btn{
48 | padding: 24rpx;
49 | background-color: #f7f7f7;
50 | width: 100%;
51 | }
52 | .info-btn .info-btn-content{
53 | width: 100%;
54 | background-color: #ff4544;
55 | color: #ffffff;
56 | font-weight: bold;
57 | height: 100rpx;
58 | line-height: 100rpx;
59 | }
60 | .info-label .info-icon{
61 | width: 60rpx;
62 | height: 60rpx;
63 | margin-right: 24rpx;
64 | }
65 | .info .bold{
66 | font-weight: bold;
67 | }
68 | .info .info-label.info-height{
69 | height: auto;
70 | }
71 | .info .info-label .info-block{
72 | padding: 24rpx 0;
73 | }
74 | .info-block .info-top{
75 | margin-bottom: 16rpx;
76 | }
77 | .info-block .info-bottom{
78 | font-size: 9pt;
79 | }
80 |
81 | .step2 .info{
82 | padding: 48rpx 24rpx;
83 | text-align: center;
84 | }
85 | .step2 .info .info-title{
86 | width: 100%;
87 | padding: 40rpx 0;
88 | }
89 | .info-title .info-images{
90 | width: 80rpx;
91 | height: 80rpx;
92 | }
93 |
94 | .step2 .info-btn1{
95 | margin-top: 88rpx;
96 | padding: 0 24rpx;
97 | width: 100%;
98 | }
99 |
100 | .step2 .info-btn1 .btn{
101 | width: 100%;
102 | background-color: #ff4544;
103 | color: #ffffff;
104 | font-weight: bold;
105 | height: 100rpx;
106 | line-height: 100rpx;
107 | border-radius: 10rpx;
108 | }
--------------------------------------------------------------------------------
/pages/address-edit/address-edit.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "编辑地址"
3 | }
--------------------------------------------------------------------------------
/pages/address-edit/address-edit.wxml:
--------------------------------------------------------------------------------
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 | {{district.province.name}} {{district.city.name}} {{district.district.name}}
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 | 详细地址
35 |
36 |
37 |
38 |
39 |
40 | 一键获取微信地址
41 |
42 |
43 |
--------------------------------------------------------------------------------
/pages/address-edit/address-edit.wxss:
--------------------------------------------------------------------------------
1 | /* pages/address-edit/address-edit.wxss */
2 |
3 | .bottom-bar{
4 | position: fixed;
5 | bottom: 0;
6 | left: 0;
7 | width: 100%;
8 | z-index: 1000;
9 | }
10 | .bottom-bar navigator{
11 | background: #ff4544;
12 | text-align: center;
13 | height: 100rpx;
14 | line-height: 100rpx;
15 | color: #fff;
16 | }
17 |
18 |
19 | .edit-row{
20 | background: #fff;
21 | height: 100rpx;
22 | border-bottom: 1rpx solid #eeeeee;
23 | padding: 0 24rpx;
24 | }
25 |
26 | .edit-row:first-child{
27 | border-top: 1rpx solid #eeeeee;
28 | }
29 |
30 | .edit-row .row-label{
31 | margin-right: 24rpx;
32 | min-width: 140rpx;
33 | }
34 |
35 | .get-wechat-address{
36 | text-align: center;
37 | background: #09BB07;
38 | color: #fff;
39 | padding: 18rpx 0;
40 | margin: 32rpx 24rpx;
41 | border-radius: 10rpx;
42 | display: block;
43 | }
44 |
45 | .get-wechat-address:active{
46 | opacity: .85;
47 | }
--------------------------------------------------------------------------------
/pages/address-edit/j.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": "input",
3 | "timestamp": 1500971861675,
4 | "detail": {
5 | "value": "5",
6 | "cursor": 1
7 | },
8 | "target": {
9 | "id": "",
10 | "dataset": {
11 | "name": "mobile"
12 | },
13 | "offsetTop": 51,
14 | "offsetLeft": 79
15 | },
16 | "currentTarget": {
17 | "id": "",
18 | "dataset": {
19 | "name": "mobile"
20 | },
21 | "offsetTop": 51,
22 | "offsetLeft": 79
23 | },
24 | "touches": []
25 | }
--------------------------------------------------------------------------------
/pages/address-picker/address-picker.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "选择收货地址"
3 | }
--------------------------------------------------------------------------------
/pages/address-picker/address-picker.wxml:
--------------------------------------------------------------------------------
1 |
2 | 添加新地址
3 |
4 |
5 |
6 | 暂无收货地址
7 |
8 |
9 |
10 | 收货人:{{item.name}}
11 | {{item.mobile}}
12 |
13 | 收货地址:{{item.address}}
14 |
15 |
16 |
17 |
18 |
19 | 手动添加地址
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/pages/address-picker/address-picker.wxss:
--------------------------------------------------------------------------------
1 |
2 | .bottom-bar{
3 | position: fixed;
4 | bottom: 0;
5 | left: 0;
6 | width: 100%;
7 | z-index: 1000;
8 | }
9 |
10 |
11 | .bottom-bar navigator{
12 | background: #ff4544;
13 | text-align: center;
14 | height: 100rpx;
15 | line-height: 100rpx;
16 | color: #fff;
17 | }
18 |
19 | .address-list{
20 | padding-bottom: 100rpx;
21 | }
22 |
23 | .address-item{
24 | background: #fff;
25 | padding: 32rpx 24rpx;
26 | border-bottom: 1rpx solid #E3E3E3;
27 | }
28 | .userinfo{
29 | margin-bottom: 24rpx;
30 | }
31 | .address-detail{
32 | }
33 | .address-option{
34 | margin-left: 48rpx;
35 | }
36 |
37 | .address-option image{
38 | width: 32rpx;
39 | height: 32rpx;
40 | margin-right: 16rpx;
41 | }
42 |
43 | .btn{
44 | display: block;
45 | border: 1rpx solid #ddd;
46 | font-size: 11pt;
47 | color: #555;
48 | padding: 16rpx;
49 | line-height: normal;
50 | background: #fff;
51 | border-radius: 10rpx;
52 | text-align: center;
53 | }
54 |
55 | .btn:active{
56 | background: #fff;
57 | opacity: .65;
58 | }
59 |
60 | .btn:after{
61 | display: none;
62 | }
63 |
64 | .btn.btn-green{
65 | background: #09bb07;
66 | color: #fff;
67 | border-color: #09bb07;
68 | }
69 | .btn.btn-red{
70 | background: #ff4544;
71 | color: #fff;
72 | border-color: #ff4544;
73 | }
--------------------------------------------------------------------------------
/pages/address/address.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "收货地址"
3 | }
--------------------------------------------------------------------------------
/pages/address/address.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 添加新地址
4 |
5 | 暂无收货地址
6 |
7 |
8 |
9 | 收货人:{{item.name}}
10 | {{item.mobile}}
11 |
12 | 收货地址:{{item.address}}
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 |
--------------------------------------------------------------------------------
/pages/address/address.wxss:
--------------------------------------------------------------------------------
1 | /* pages/address/address.wxss */
2 | .bottom-bar{
3 | position: fixed;
4 | bottom: 0;
5 | left: 0;
6 | width: 100%;
7 | z-index: 1000;
8 | }
9 | .bottom-bar navigator{
10 | background: #ff4544;
11 | text-align: center;
12 | height: 100rpx;
13 | line-height: 100rpx;
14 | color: #fff;
15 | }
16 | .address-list{
17 | padding-bottom: 100rpx;
18 | }
19 |
20 | .address-item{
21 | background: #fff;
22 | margin-bottom: 20rpx;
23 | padding: 32rpx 24rpx;
24 | }
25 | .userinfo{
26 | margin-bottom: 24rpx;
27 | }
28 | .address-detail{
29 | border-bottom: 1rpx solid #eee;
30 | margin-bottom: 24rpx;
31 | padding-bottom: 24rpx;
32 | }
33 | .address-option{
34 | margin-left: 48rpx;
35 | }
36 | .address-option image{
37 | width: 32rpx;
38 | height: 32rpx;
39 | margin-right: 16rpx;
40 | }
41 |
42 | .default-address{
43 | width: auto;
44 | }
45 |
46 | .default-address.active{
47 | color: #fe6e00;
48 | }
--------------------------------------------------------------------------------
/pages/article-detail/article-detail.js:
--------------------------------------------------------------------------------
1 | // pages/article-detail/article-detail.js
2 | var api = require('../../api.js');
3 | var app = getApp();
4 | var WxParse = require('../../wxParse/wxParse.js');
5 | Page({
6 |
7 | /**
8 | * 页面的初始数据
9 | */
10 | data: {},
11 |
12 | /**
13 | * 生命周期函数--监听页面加载
14 | */
15 | onLoad: function (options) {
16 | app.pageOnLoad(this);
17 | var page = this;
18 | app.request({
19 | url: api.default.article_detail,
20 | data: {
21 | id: options.id,
22 | },
23 | success: function (res) {
24 | if (res.code == 0) {
25 | wx.setNavigationBarTitle({
26 | title: res.data.title,
27 | });
28 | WxParse.wxParse("content", "html", res.data.content, page);
29 | }
30 | if (res.code == 1) {
31 | wx.showModal({
32 | title: "提示",
33 | content: res.msg,
34 | showCancel: false,
35 | confirm: function (e) {
36 | if (e.confirm) {
37 | wx.navigateBack();
38 | }
39 | }
40 | });
41 | }
42 | }
43 | });
44 | },
45 |
46 | /**
47 | * 生命周期函数--监听页面初次渲染完成
48 | */
49 | onReady: function () {
50 |
51 | },
52 |
53 | /**
54 | * 生命周期函数--监听页面显示
55 | */
56 | onShow: function () {
57 |
58 | },
59 |
60 | /**
61 | * 生命周期函数--监听页面隐藏
62 | */
63 | onHide: function () {
64 |
65 | },
66 |
67 | /**
68 | * 生命周期函数--监听页面卸载
69 | */
70 | onUnload: function () {
71 |
72 | },
73 |
74 | /**
75 | * 页面相关事件处理函数--监听用户下拉动作
76 | */
77 | onPullDownRefresh: function () {
78 |
79 | },
80 |
81 | /**
82 | * 页面上拉触底事件的处理函数
83 | */
84 | onReachBottom: function () {
85 |
86 | },
87 | })
--------------------------------------------------------------------------------
/pages/article-detail/article-detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "详情"
3 | }
--------------------------------------------------------------------------------
/pages/article-detail/article-detail.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/pages/article-detail/article-detail.wxss:
--------------------------------------------------------------------------------
1 | /* pages/article-detail/article-detail.wxss */
2 | @import "../../wxParse/wxParse.wxss";
3 | page{
4 | min-height: 100%;
5 | background: #fff;
6 | overflow-x: hidden;
7 | }
--------------------------------------------------------------------------------
/pages/article-list/article-list.js:
--------------------------------------------------------------------------------
1 | // pages/article-list/article-list.js
2 | var api = require('../../api.js');
3 | var app = getApp();
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {
10 | article_list: [],
11 | },
12 |
13 | /**
14 | * 生命周期函数--监听页面加载
15 | */
16 | onLoad: function (options) {
17 | app.pageOnLoad(this);
18 | var page = this;
19 | wx.showLoading();
20 | app.request({
21 | url: api.default.article_list,
22 | data: {
23 | cat_id: 2,
24 | },
25 | success: function (res) {
26 | wx.hideLoading();
27 | page.setData({
28 | article_list: res.data.list,
29 | });
30 | }
31 | });
32 | },
33 |
34 | /**
35 | * 生命周期函数--监听页面初次渲染完成
36 | */
37 | onReady: function () {
38 |
39 | },
40 |
41 | /**
42 | * 生命周期函数--监听页面显示
43 | */
44 | onShow: function () {
45 |
46 | },
47 |
48 | /**
49 | * 生命周期函数--监听页面隐藏
50 | */
51 | onHide: function () {
52 |
53 | },
54 |
55 | /**
56 | * 生命周期函数--监听页面卸载
57 | */
58 | onUnload: function () {
59 |
60 | },
61 |
62 | /**
63 | * 页面相关事件处理函数--监听用户下拉动作
64 | */
65 | onPullDownRefresh: function () {
66 |
67 | },
68 |
69 | /**
70 | * 页面上拉触底事件的处理函数
71 | */
72 | onReachBottom: function () {
73 |
74 | },
75 |
76 | })
--------------------------------------------------------------------------------
/pages/article-list/article-list.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "服务中心"
3 | }
--------------------------------------------------------------------------------
/pages/article-list/article-list.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 | {{item.title}}
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/pages/article-list/article-list.wxss:
--------------------------------------------------------------------------------
1 | /* pages/article-list/article-list.wxss */
2 | .article-list{
3 | border-top: 1rpx solid #e3e3e3;
4 | }
5 |
6 | .article-item{
7 | background: #fff;
8 | border-bottom: 1rpx solid #e3e3e3;
9 | padding: 0 24rpx;
10 | height: 100rpx;
11 | }
12 | .article-item .title{
13 | white-space: nowrap;
14 | text-overflow: ellipsis;
15 | overflow: hidden;
16 | }
17 |
18 | .article-item .pointer{
19 | width: 12rpx;
20 | height: 24rpx;
21 | margin-left: 24rpx;
22 | }
--------------------------------------------------------------------------------
/pages/balance/balance.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText":"余额"
3 | }
--------------------------------------------------------------------------------
/pages/book/clerk/clerk.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "核销"
3 | }
--------------------------------------------------------------------------------
/pages/book/clerk/clerk.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | {{goods.name}}
10 |
11 |
12 |
13 | ¥ {{goods.original_price}}
14 |
15 |
16 | ¥ {{goods.pay_price}}
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | 订单信息
27 |
28 |
29 |
30 | 订单号:{{goods.order_no}}
31 |
32 |
33 | 下单时间:{{goods.addtime}}
34 |
35 |
36 | {{item.key}}:{{item.value}}
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 | 确认核销
45 |
46 |
--------------------------------------------------------------------------------
/pages/book/comment/comment.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "商品评价"
3 | }
--------------------------------------------------------------------------------
/pages/book/comment/comment.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
39 |
--------------------------------------------------------------------------------
/pages/book/comment/comment.wxss:
--------------------------------------------------------------------------------
1 | /* pages/pt/comment/comment.wxss */
2 | page{
3 | /* border-top: 1rpx solid #e2e2e2; */
4 | }
5 | .goods-comment{
6 | padding: 0 24rpx;
7 | background-color: #ffffff;
8 | }
9 | .goods-comment-title{
10 | height: 80rpx;
11 | font-size: 9pt;
12 | color: #919191;
13 | }
14 | .comment-user-pic image{
15 | width: 66rpx;
16 | height: 66rpx;
17 | border-radius: 33rpx;
18 | margin-right: 20rpx;
19 | }
20 | .goods-comment-item{
21 | border-top: 1rpx solid #e2e2e2;
22 | padding-bottom: 36rpx;
23 | }
24 | .goods-comment-user{
25 | margin-top: 32rpx;
26 | }
27 | .comment-user-name{
28 | font-size: 11pt;
29 | color: #353535;
30 | }
31 | .goods-comment-conent{
32 | font-size: 10pt;
33 | color: #353535;
34 | margin: 20rpx 0;
35 | line-height:1.3;
36 | }
37 | .goods-comment-ginfo{
38 | font-size: 9pt;
39 | color: #919191;
40 | margin-bottom:16rpx;
41 | }
42 | /* .goods-comment-piclist image{
43 | width: 160rpx;
44 | height: 160rpx;
45 | border-radius: 4rpx;
46 | margin-right: 16rpx;
47 | } */
48 | .comment-pic-shell{
49 | width: 160rpx;
50 | height: 160rpx;
51 | border-radius: 4rpx;
52 | margin-right: 16rpx;
53 | overflow: hidden;
54 | display: inline-block;
55 | }
--------------------------------------------------------------------------------
/pages/book/details/details.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "预约"
3 | }
--------------------------------------------------------------------------------
/pages/book/index/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "预约"
3 | }
--------------------------------------------------------------------------------
/pages/book/order-comment/order-comment.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "评价"
3 | }
--------------------------------------------------------------------------------
/pages/book/order-comment/order-comment.wxss:
--------------------------------------------------------------------------------
1 | /* pages/order-comment/order-comment.wxss */
2 | .bar-bottom {
3 | position: fixed;
4 | bottom: 0;
5 | left: 0;
6 | width: 100%;
7 | }
8 |
9 | .submit-btn{
10 | background: #ff4544;
11 | color: #fff;
12 | height: 100rpx;
13 | }
14 |
15 | .goods-list{
16 | border-top: 1rpx solid #e3e3e3;
17 | padding-bottom: 100rpx;
18 | }
19 |
20 | .goods-item{
21 | background: #fff;
22 | border-bottom: 1rpx solid #e3e3e3;
23 | margin-bottom: 20rpx;
24 | }
25 |
26 | .goods-item .score-row{
27 | padding: 24rpx 20rpx;
28 | border-bottom: 1rpx #eee solid;
29 |
30 | }
31 |
32 | .goods-item .score-row .goods-pic{
33 | width: 72rpx;
34 | height: 72rpx;
35 | }
36 |
37 | .goods-item .score-row .score-item image{
38 | width: 40rpx;
39 | height: 40rpx;
40 | margin-right: 20rpx;
41 | }
42 |
43 | .goods-item .score-row .score-item.active{
44 | color: #ff4544;
45 | }
46 |
47 | .goods-item .content-row{
48 | padding: 24rpx 20rpx;
49 | }
50 |
51 | .goods-item .form-label{
52 | margin-right: 24rpx;
53 | }
54 |
55 | .goods-item textarea{
56 | width: 100%;
57 | height: 200rpx;
58 | padding: 0 0;
59 | }
60 |
61 | .goods-item .pic-list{
62 | padding: 24rpx 20rpx;
63 | margin-left: -20rpx;
64 | margin-top: -20rpx;
65 | }
66 |
67 | .image-picker{
68 | font-size: 0;
69 | }
70 | .image-picker,.image-preview{
71 | display: inline-block;
72 | margin-left: 20rpx;
73 | margin-top: 20rpx;
74 | }
75 | .image-preview {
76 | position: relative;
77 | }
78 | .image-preview .image-del{
79 | position: absolute;
80 | top:-15rpx;
81 | right: -15rpx;
82 | height: 50rpx;
83 | width: 50rpx;
84 | background: #ff4544;
85 | color: #fff;
86 | font-weight: bolder;
87 | border-radius: 999rpx;
88 | font-size: 9pt;
89 | box-shadow: 0 1rpx 2rpx rgba(0,0,0,.2);
90 | z-index: 999;
91 | }
--------------------------------------------------------------------------------
/pages/book/order/details.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "订单详情"
3 | }
--------------------------------------------------------------------------------
/pages/book/order/order.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我的预约"
3 | }
--------------------------------------------------------------------------------
/pages/book/shop/shop.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "附近",
3 | "enablePullDownRefresh": true
4 | }
--------------------------------------------------------------------------------
/pages/book/shop/shop.wxss:
--------------------------------------------------------------------------------
1 | /* pages/shop/shop.wxss */
2 | .search{
3 | width: 100%;
4 | height: 90rpx;
5 | }
6 |
7 | .search-input{
8 | width: 100%;
9 | height: 56rpx;
10 | border-radius: 10rpx;
11 | margin:0 24rpx;
12 | background-color: #fff;
13 | }
14 |
15 | .input-pp{
16 | height: 100%;
17 | line-height: 56rpx;
18 | }
19 |
20 | .input{
21 | height: 100%;
22 | line-height: 56rpx;
23 | padding-left: 30rpx;
24 | }
25 |
26 | .search-btn{
27 | background-color: #ddd;
28 | border-radius: 0 10rpx 10rpx 0;
29 | padding: 0 20rpx;
30 | }
31 |
32 | .shop-one{
33 | background-color: #fff;
34 | width: 100%;
35 | padding: 26rpx 24rpx;
36 | border-bottom: 1rpx solid #e2e2e2;
37 | color:#707070;
38 | }
39 |
40 | .shop-one:last-child{
41 | border: 0;
42 |
43 | }
--------------------------------------------------------------------------------
/pages/book/submit/submit.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "提交预约"
3 | }
--------------------------------------------------------------------------------
/pages/card-clerk/card-clerk.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "卡券核销"
3 | }
--------------------------------------------------------------------------------
/pages/card-clerk/card-clerk.wxml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/pages/card-clerk/card-clerk.wxss:
--------------------------------------------------------------------------------
1 | /* pages/card-clerk/card-clerk.wxss */
--------------------------------------------------------------------------------
/pages/card/card.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我的卡券"
3 | }
--------------------------------------------------------------------------------
/pages/card/card.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 未使用
5 |
6 |
7 | 已失效
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | {{item.card_content}}
20 |
21 |
22 |
23 |
24 |
25 | 使用时间:{{item.clerk_time}}
26 |
27 |
28 |
29 |
30 |
31 | 暂无卡券
32 |
33 |
34 |
35 |
36 | 卡券二维码
37 |
38 |
39 | 保存图片
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/pages/card/card.wxss:
--------------------------------------------------------------------------------
1 | /* pages/card/card.wxss */
2 |
3 | .card-top {
4 | width: 100%;
5 | height: 90rpx;
6 | border-top: 1rpx solid #e3e3e3;
7 | border-bottom: 1rpx solid #e3e3e3;
8 | background-color: #fff;
9 | position: fixed;
10 | top: 0;
11 | left: 0;
12 | }
13 |
14 | .active{
15 | color: #ff4544;
16 | border-bottom: 4rpx solid #ff4544;
17 | }
18 |
19 | .card-list {
20 | padding: 20rpx;
21 | padding-top: 110rpx;
22 | }
23 |
24 | .card-one {
25 | margin-bottom: 20rpx;
26 | background-color: #fff;
27 | width: 702rpx;
28 | height: 180rpx;
29 | padding-right: 40rpx;
30 | }
31 |
32 | .img {
33 | width: 88rpx;
34 | height: 88rpx;
35 | border-radius: 88rpx;
36 | margin-right: 34rpx;
37 | margin-left: 24rpx;
38 | }
39 |
40 | .img-1 {
41 | width: 50rpx;
42 | height: 50rpx;
43 | margin-left: 60rpx;
44 | }
45 |
46 | .hide {
47 | display: none;
48 | }
49 |
50 | .modal {
51 | position: fixed;
52 | top: 0;
53 | left: 0;
54 | width: 100%;
55 | height: 100%;
56 | background-color: rgba(0, 0, 0, 0.5);
57 | z-index: 9999;
58 | }
59 |
60 | .save-btn{
61 | width: 200rpx;
62 | height: 60rpx;
63 | background-color: #ff4544;
64 | color: #fff;
65 | border-radius: 10rpx;
66 | margin-top: 10rpx;
67 | }
68 |
--------------------------------------------------------------------------------
/pages/cart/cart.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "购物车"
3 | }
--------------------------------------------------------------------------------
/pages/cash-detail/cash-detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "提现明细"
3 | }
--------------------------------------------------------------------------------
/pages/cash-detail/cash-detail.wxml:
--------------------------------------------------------------------------------
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 | 提现 {{item.price}}
29 | {{item.addtime}}
30 |
31 | {{item.status}}
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/pages/cash-detail/cash-detail.wxss:
--------------------------------------------------------------------------------
1 | /* pages/cash-detail/cash-detail.wxss */
2 | .info{
3 | width: 100%;
4 | /* padding-top: 20rpx; */
5 | }
6 | .width{
7 | width: 20%;
8 | text-align: center;
9 | }
10 |
11 | .active{
12 | color:#ff4544;
13 | border-bottom: 4rpx #ff4544 solid;
14 | }
15 | .info .info-title{
16 | width: 100%;
17 | height: 100rpx;
18 | padding: 0 24rpx;
19 | border-bottom: 1rpx #ccc solid;
20 | /* font-weight: bold; */
21 | background-color: #fff;
22 | position: fixed;
23 | left: 0;
24 | top: 0;
25 | z-index: 1000;
26 | }
27 | .info .info-title .info-text{
28 | height: 100rpx;
29 | line-height: 100rpx;
30 | }
31 | .info .info-content{
32 | width: 100%;
33 | padding: 0 24rpx;
34 | background-color: #fff;
35 | }
36 | .info .info-content .info-label{
37 | border-bottom: 1rpx #ccc solid;
38 | padding: 24rpx 0;
39 | width: 100%;
40 | }
41 | .info .info-content:last-child .info-label{
42 | border: none;
43 | }
44 | .info-content .info-label .info-left{
45 | width: 60%;
46 | }
47 | .info-content .info-label .info-left .info-up{
48 | /* font-weight: bold; */
49 | color: #353535;
50 | margin-bottom: 20rpx;
51 | }
52 | .info-content .info-label .info-left .info-down{
53 | font-size: 9pt;
54 | color: #666;
55 | }
56 | .info-content .info-label .info-right{
57 | width: 40%;
58 | text-align: right;
59 | line-height: 100rpx;
60 | color: #ff4544;
61 | /* font-weight: bold; */
62 | }
63 | .info-no{
64 | width: 100%;
65 | height: 90rpx;
66 | line-height: 90rpx;
67 | text-align: center;
68 | padding: 10rpx;
69 | color: #666;
70 | }
--------------------------------------------------------------------------------
/pages/cash/cash.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "申请提现"
3 | }
--------------------------------------------------------------------------------
/pages/cash/cash.wxss:
--------------------------------------------------------------------------------
1 | /* pages/cash/cash.wxss */
2 | form{
3 | border-top: 1rpx solid #eee;
4 | display: block;
5 | padding-bottom: 32rpx;
6 | }
7 |
8 | .block{
9 | border-bottom: 1rpx solid #e3e3e3;
10 | background: #fff;
11 | padding: 32rpx 24rpx;
12 | }
13 |
14 | .user-money{
15 | font-size: 15pt;
16 | }
17 |
18 | .cash-max-day{
19 | font-size: 9pt;
20 | margin-top: 18rpx;
21 | color: #888;
22 | }
23 |
24 | .cash-cny{
25 | font-size: 19pt;
26 | color: #ff4544;
27 | line-height: 1.7;
28 | }
29 |
30 | .cash-input{
31 | font-size: 19pt;
32 | height: 100%;
33 | width: 100%;
34 | padding: 0 32rpx;
35 | }
36 | .cash-min{
37 | font-size: 9pt;
38 | }
39 |
40 | .cash-btn{
41 |
42 | width: 100%;
43 | height: 100rpx;
44 | background-color: #ff4544;
45 | color:#fff;
46 | /* font-weight: bold; */
47 | text-align: center;
48 | font-size: 13pt;
49 | line-height: 100rpx;
50 | }
51 |
52 | .cash-max-detail{
53 | border: 1rpx solid #bbb;
54 | padding: 4rpx 8rpx;
55 | border-radius: 5rpx;
56 | margin-left: 24rpx;
57 | }
58 |
59 | .pay-title{
60 | font-size: 13pt;
61 | color: #353535;
62 | margin-bottom: 30rpx;
63 | }
64 |
65 | .pay{
66 | border: 1rpx #666 solid;
67 | padding: 16rpx 32rpx;
68 | position: relative;
69 | }
70 |
71 | .pay-img{
72 | width: 40rpx;
73 | height: 40rpx;
74 | margin-right: 16rpx;
75 | }
76 |
77 | .active{
78 | border: 2rpx #ff4544 solid;
79 | }
80 |
81 | .selected{
82 | position: absolute;
83 | bottom: 0;
84 | right: 0;
85 | width: 32rpx;
86 | height: 32rpx;
87 | }
88 |
89 | .required::after{
90 | content:'*';
91 | vertical-align: top;
92 | color: #ff4544;
93 | }
--------------------------------------------------------------------------------
/pages/cat/cat.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "分类",
3 | "enablePullDownRefresh": false
4 | }
--------------------------------------------------------------------------------
/pages/clerk/clerk.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "核销订单"
3 | }
--------------------------------------------------------------------------------
/pages/clerk/clerk.wxss:
--------------------------------------------------------------------------------
1 | /* pages/order-detail/order-detail.wxss */
2 | page{
3 | overflow-x: hidden;
4 | }
5 | .status-bar {
6 | box-sizing: border-box;
7 | padding: 0 88rpx;
8 | color: #fff;
9 | font-size: 13pt;
10 | height: 120rpx;
11 | line-height: 120rpx;
12 | position: relative;
13 | }
14 | .status-bar image{
15 | position: absolute;
16 | left: 0;
17 | right: 0;
18 | width: 100%;
19 | height: 100%;
20 | z-index: -1;
21 | }
22 | .block {
23 | background: #fff;
24 | padding: 32rpx 24rpx;
25 | margin-bottom: 20rpx;
26 | }
27 |
28 | .block .block-row{
29 | margin-bottom: 10rpx;
30 | }
31 |
32 | .block .block-footer{
33 | border-top: 1rpx solid #eee;
34 | margin-left: -24rpx;
35 | margin-right: -24rpx;
36 | padding: 24rpx;
37 | padding-bottom: 0;
38 | margin-top: 32rpx;
39 | text-align: right;
40 | font-weight: bold;
41 | }
42 |
43 | .goods-item{
44 | border-bottom: 1rpx solid #E3E3E3;
45 | padding-bottom: 32rpx;
46 | margin-bottom: 32rpx;
47 | }
48 | .goods-item:last-child{
49 | border-bottom: none;
50 | margin-bottom: 0;
51 | padding-bottom: 0;
52 | }
53 |
54 | .refund-btn{
55 | float: right;
56 | height: 60rpx;
57 | border:1rpx solid #bbb;
58 | padding: 0 30rpx;
59 | border-radius: 10rpx;
60 | margin-top: 20rpx;
61 | }
62 | .refund-text{
63 | float: right;
64 | display: inline-block;
65 | margin-top: 20rpx;
66 | }
--------------------------------------------------------------------------------
/pages/coupon-list/coupon-list.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "领券中心"
3 | }
--------------------------------------------------------------------------------
/pages/coupon-list/coupon-list.wxss:
--------------------------------------------------------------------------------
1 | /* pages/coupon-list/coupon-list.wxss */
2 |
3 | .info {
4 | padding: 20rpx;
5 | width: 100%;
6 | }
7 |
8 | .info .info-content {
9 | width: 100%;
10 | position: relative;
11 | margin-bottom: 20rpx;
12 | }
13 |
14 | .info-content image {
15 | width: 100%;
16 | height: 260rpx;
17 | }
18 |
19 | .info-content .content {
20 | position: absolute;
21 | top: 0;
22 | left: 0;
23 | width: 100%;
24 | height: 100%;
25 | }
26 |
27 | .content .content-body {
28 | width: 100%;
29 | height: 154rpx;
30 | position: relative;
31 | }
32 |
33 | .content .content-body .btn{
34 | position: absolute;
35 | right: 24rpx;
36 | height: 60rpx;
37 | color: #fff;
38 | padding: 10rpx 0;
39 | border-radius: 10rpx;
40 | width:180rpx;
41 | top:50rpx;
42 | }
43 |
44 | .content .content-body .price_1{
45 | margin-left: 24rpx;
46 | line-height: 0.8;
47 | }
48 | .sub{
49 | background-color: #ff7b33;
50 | }
51 |
52 | .content .content-footer {
53 | width: 100%;
54 | height: 50rpx;
55 | position: relative;
56 | }
57 |
58 | .content .content-footer text {
59 | font-size: 9pt;
60 | position: absolute;
61 | right: 24rpx;
62 | }
63 |
--------------------------------------------------------------------------------
/pages/coupon/coupon.js:
--------------------------------------------------------------------------------
1 | // pages/coupon/coupon.js
2 | var api = require('../../api.js');
3 | var app = getApp();
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {
10 | list: [],
11 | },
12 |
13 | /**
14 | * 生命周期函数--监听页面加载
15 | */
16 | onLoad: function (options) {
17 | app.pageOnLoad(this);
18 | this.setData({
19 | status: options.status || 0,
20 | });
21 | this.loadData(options);
22 | },
23 |
24 | loadData: function (options) {
25 | var page = this;
26 | wx.showLoading({
27 | title: "加载中",
28 | });
29 | app.request({
30 | url: api.coupon.index,
31 | data: {
32 | status: page.data.status,
33 | },
34 | success: function (res) {
35 | if (res.code == 0) {
36 | page.setData({
37 | list: res.data.list,
38 | });
39 | }
40 | },
41 | complete: function () {
42 | wx.hideLoading();
43 | }
44 | });
45 | },
46 |
47 | /**
48 | * 生命周期函数--监听页面显示
49 | */
50 | onShow: function () {
51 |
52 | },
53 | });
--------------------------------------------------------------------------------
/pages/coupon/coupon.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我的优惠券"
3 | }
--------------------------------------------------------------------------------
/pages/coupon/coupon.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 未使用
5 |
6 |
7 | 已使用
8 |
9 |
10 | 已过期
11 |
12 |
13 |
14 |
15 |
16 |
18 |
19 |
20 |
21 | ¥
22 |
23 | {{item.sub_price}}
24 |
25 |
26 | {{item.min_price_desc}}
27 |
28 |
29 |
30 |
31 | {{item.event_desc}}
32 |
33 |
34 | {{item.begin_time}} ~ {{item.end_time}}
35 |
36 |
37 |
38 |
39 |
40 | 暂无相关优惠券
--------------------------------------------------------------------------------
/pages/coupon/coupon.wxss:
--------------------------------------------------------------------------------
1 | /* pages/coupon/coupon.wxss */
2 | .top-bar {
3 | position: fixed;
4 | top: 0;
5 | left: 0;
6 | width: 100%;
7 | background: #fff;
8 | border-top: 1rpx solid #e3e3e3;
9 | border-bottom: 1rpx solid #e3e3e3;
10 | z-index: 999;
11 | }
12 |
13 | .top-bar navigator{
14 | text-align: center;
15 | }
16 |
17 | .top-bar navigator text{
18 | height: 90rpx;
19 | line-height: 90rpx;
20 | border-bottom: 2rpx solid transparent;
21 | width: auto;
22 | display: inline-block;
23 | }
24 |
25 | .top-bar navigator.active text{
26 | color: #ff4544;
27 | border-bottom-color: #ff4544;
28 | }
29 |
30 | .coupon-list{
31 | padding: 122rpx 34rpx 20rpx 34rpx;
32 | }
33 |
34 | .coupon-list .coupon-item{
35 | height: 152rpx;
36 | width: 682rpx;
37 | position: relative;
38 | margin-bottom: 24rpx;
39 | }
40 |
41 | .coupon-list .coupon-item.coupon-status-1 .coupon-right,
42 | .coupon-list .coupon-item.coupon-status-2 .coupon-right{
43 | color: rgba(0,0,0,.35) !important;
44 | }
45 |
46 | .coupon-list .coupon-item .coupon-bg{
47 | width: 100%;
48 | height: 100%;
49 | position: absolute;
50 | top:0;
51 | left: 0;
52 | z-index: -1;
53 | }
54 |
55 | .coupon-list .coupon-item .coupon-status-icon{
56 | width: 140rpx;
57 | height: 98rpx;
58 | position: absolute;
59 | top:0;
60 | right: 8rpx;
61 | z-index: 1;
62 | }
63 |
64 | .coupon-list .coupon-item .coupon-left{
65 | color: #fff;
66 | width: 202rpx;
67 | }
68 |
69 | .coupon-list .coupon-item .coupon-right{
70 | padding: 20rpx 10rpx;
71 | }
--------------------------------------------------------------------------------
/pages/demo/demo.js:
--------------------------------------------------------------------------------
1 | var api = require('../../api.js');
2 | var app = getApp();
3 | Page({
4 |
5 | /**
6 | * 页面的初始数据
7 | */
8 | data: {},
9 |
10 | /**
11 | * 生命周期函数--监听页面加载
12 | */
13 | onLoad: function (options) {
14 | app.pageOnLoad(this);
15 | },
16 |
17 | /**
18 | * 生命周期函数--监听页面初次渲染完成
19 | */
20 | onReady: function () {
21 | app.pageOnReady(this);
22 | },
23 |
24 | /**
25 | * 生命周期函数--监听页面显示
26 | */
27 | onShow: function () {
28 | app.pageOnShow(this);
29 | },
30 |
31 | /**
32 | * 生命周期函数--监听页面隐藏
33 | */
34 | onHide: function () {
35 | app.pageOnHide(this);
36 | },
37 |
38 | /**
39 | * 生命周期函数--监听页面卸载
40 | */
41 | onUnload: function () {
42 | app.pageOnUnload(this);
43 | },
44 |
45 | /**
46 | * 页面相关事件处理函数--监听用户下拉动作
47 | */
48 | onPullDownRefresh: function () {
49 |
50 | },
51 |
52 | /**
53 | * 页面上拉触底事件的处理函数
54 | */
55 | onReachBottom: function () {
56 |
57 | },
58 |
59 | /**
60 | * 用户点击右上角分享
61 | */
62 | onShareAppMessage: function () {
63 |
64 | }
65 | });
--------------------------------------------------------------------------------
/pages/demo/demo.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/pages/demo/demo.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | 示例页面
8 |
--------------------------------------------------------------------------------
/pages/demo/demo.wxss:
--------------------------------------------------------------------------------
1 | /* pages/demo/demo.wxss */
--------------------------------------------------------------------------------
/pages/express-detail/express-detail.js:
--------------------------------------------------------------------------------
1 | // pages/express-detail/express-detail.js
2 | var api = require('../../api.js');
3 | var app = getApp();
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {},
10 |
11 | /**
12 | * 生命周期函数--监听页面加载
13 | */
14 | onLoad: function (options) {
15 | app.pageOnLoad(this);
16 | this.loadData(options);
17 | },
18 | /**
19 | * 加载页面数据
20 | */
21 | loadData: function (options) {
22 | var page = this;
23 | wx.showLoading({
24 | title: "正在加载",
25 | });
26 | app.request({
27 | url: api.order.express_detail,
28 | data: {
29 | order_id: options.id,
30 | },
31 | success: function (res) {
32 | wx.hideLoading();
33 | if (res.code == 0) {
34 | page.setData({
35 | data: res.data,
36 | })
37 | }
38 | if (res.code == 1) {
39 | wx.showModal({
40 | title: "提示",
41 | content: res.msg,
42 | showCancel: false,
43 | success: function (e) {
44 | if (e.confirm) {
45 | wx.navigateBack();
46 | }
47 | }
48 | });
49 | }
50 | }
51 | });
52 | },
53 |
54 | /**
55 | * 生命周期函数--监听页面初次渲染完成
56 | */
57 | onReady: function () {
58 |
59 | },
60 |
61 | /**
62 | * 生命周期函数--监听页面显示
63 | */
64 | onShow: function () {
65 |
66 | },
67 |
68 | /**
69 | * 生命周期函数--监听页面隐藏
70 | */
71 | onHide: function () {
72 |
73 | },
74 |
75 | /**
76 | * 生命周期函数--监听页面卸载
77 | */
78 | onUnload: function () {
79 |
80 | },
81 |
82 | /**
83 | * 页面相关事件处理函数--监听用户下拉动作
84 | */
85 | onPullDownRefresh: function () {
86 |
87 | },
88 |
89 | /**
90 | * 页面上拉触底事件的处理函数
91 | */
92 | onReachBottom: function () {
93 |
94 | },
95 | });
--------------------------------------------------------------------------------
/pages/express-detail/express-detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "物流详情"
3 | }
--------------------------------------------------------------------------------
/pages/express-detail/express-detail.wxml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | {{item.detail}}
24 | {{item.datetime}}
25 |
26 |
27 |
28 |
29 | 暂无物流信息
30 |
--------------------------------------------------------------------------------
/pages/express-detail/express-detail.wxss:
--------------------------------------------------------------------------------
1 | /* pages/express-detail/express-detail.wxss */
2 | .header{
3 | border-top:1rpx solid #e3e3e3;
4 | padding:32rpx 24rpx;
5 | }
6 | .data-list{
7 | background: #fff;
8 | border-bottom:1rpx solid #e3e3e3;
9 | }
10 | .data-list .data-item{
11 | padding-right: 24rpx;
12 | }
13 |
14 | .data-list .data-item .item-icon{
15 | padding: 0 40rpx;
16 | }
17 | .data-list .data-item .item-line{
18 | width: 2rpx;
19 | background: #e3e3e3;
20 | position: relative;
21 | }
22 | .data-list .data-item .item-line:nth-of-type(1){
23 | height: 42rpx;
24 | }
25 | .data-list .data-item .item-line image{
26 | position: absolute;
27 | left: -5rpx;
28 | z-index: 9;
29 | top: -6rpx;
30 | }
31 |
32 | .data-list .data-item .item-line image.point-green{
33 | display: none;
34 | }
35 | .data-list .data-item:first-child .item-line image.point-green{
36 | display: block;
37 | }
38 |
39 | .data-list .data-item:first-child .item-line:nth-of-type(1){
40 | opacity: 0;
41 | }
42 | .data-list .data-item:last-child .item-line:nth-of-type(3){
43 | opacity: 0;
44 | }
45 |
46 | .data-list .data-item .item-content{
47 | padding: 28rpx 0;
48 | border-bottom: 1rpx solid #eee;
49 | color: #888;
50 | }
51 | .data-list .data-item:first-child .item-content{
52 | color: #25ae5f;
53 | }
54 |
55 | .data-list .data-item:last-child .item-content{
56 | border-bottom: none;
57 | }
58 |
59 | .no-data{
60 | padding: 24rpx;
61 | text-align: center;
62 | color: #888;
63 | }
--------------------------------------------------------------------------------
/pages/favorite/favorite.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我的收藏"
3 | }
--------------------------------------------------------------------------------
/pages/fxhb/common.wxss:
--------------------------------------------------------------------------------
1 | page{
2 | background-color: #fe6b2e;
3 | }
4 | .background {
5 | position: fixed;
6 | left: 0;
7 | top: 0;
8 | width: 100%;
9 | height: 100%;
10 | background: #fe6b2e;
11 | z-index: -1;
12 | background-size: 100% auto;
13 | background-position: top;
14 | background-repeat: no-repeat;
15 | }
16 |
17 | .background image{
18 | width: 100%;
19 | height: 100%;
20 | }
21 |
22 | .rule-btn {
23 | position: fixed;
24 | right: 0;
25 | top: 32rpx;
26 | background: rgba(0, 0, 0, .5);
27 | color: rgba(255, 255, 255, 0.85);
28 | padding: 16rpx 24rpx 16rpx 32rpx;
29 | border-radius: 999rpx 0 0 999rpx;
30 | font-size: 9pt;
31 | }
32 |
33 | .rule-bg{
34 | position: fixed;
35 | left: 0;
36 | top: 0;
37 | width: 100%;
38 | height: 100%;
39 | z-index: 9;
40 | background: rgba(0,0,0,.65);
41 | opacity:0;
42 | visibility: hidden;
43 | }
44 |
45 | .rule-bg.show{
46 | opacity: 1;
47 | visibility: visible;
48 | }
49 |
50 | .rule-content{
51 | position: fixed;
52 | z-index: 10;
53 | left: 100rpx;
54 | right: 100rpx;
55 | top: 200rpx;
56 | max-height: calc(100vh - 400rpx);
57 | background: #fff;
58 | border-radius: 10rpx;
59 | padding: 24rpx;
60 | opacity: 0;
61 | visibility: hidden;
62 | transition: 150ms;
63 | }
64 |
65 | .rule-content.show{
66 | visibility: visible;
67 | opacity: 1;
68 | }
69 |
70 | .rule-close{
71 | padding: 25rpx;
72 | position: absolute;
73 | font-size: 0;
74 | bottom: -100rpx;
75 | left: 50%;
76 | margin-left: -50rpx;
77 | }
78 |
79 | .rule-close image{
80 | width: 50rpx;
81 | height: 50rpx;
82 | border-radius: 999rpx;
83 | }
84 |
85 | .rule-text{
86 | max-height: calc(100vh - 400rpx - 24rpx * 2);
87 | overflow-y: auto;
88 | overflow-x: hidden;
89 | font-size: 9pt;
90 | line-height: 1.5;
91 | }
92 |
93 | .rule-title{
94 | text-align: center;
95 | margin-bottom: 12rpx;
96 | }
--------------------------------------------------------------------------------
/pages/fxhb/detail/detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "拆红包"
3 | }
--------------------------------------------------------------------------------
/pages/fxhb/open/open.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "拆红包"
3 | }
--------------------------------------------------------------------------------
/pages/fxhb/open/open.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | 活动规则
9 |
10 |
11 |
12 |
13 |
14 |
15 | -拆红包活动规则-
16 | {{rule}}
17 |
18 |
19 |
20 |
29 |
30 |
--------------------------------------------------------------------------------
/pages/fxhb/open/open.wxss:
--------------------------------------------------------------------------------
1 | /* pages/fxhb/open/open.wxss */
2 | @import "../common.wxss";
3 | .hongbao{
4 | position: fixed;
5 | width: 600rpx;
6 | left: 74rpx;
7 | right: 74rpx;
8 | bottom: 150rpx;
9 | height: 722rpx;
10 | z-index: 1;
11 | background-size: 100% 100%;
12 | }
13 |
14 | .hongbao-bg{
15 | width: 100%;
16 | height: 100%;
17 | position: absolute;
18 | left: 0;
19 | top:0;
20 | }
21 |
22 | .hongbao-content{
23 | position: relative;
24 | text-align: center;
25 | display: block;
26 | padding: 350rpx 25rpx 0 25rpx;
27 | }
28 |
29 | .hongbao-desc{
30 | margin-bottom: 100rpx;
31 | line-height: 1.5;
32 | color: #ffd212;
33 | font-size: 13pt;
34 | }
35 |
36 | .open-hongbao-btn{
37 | display: block;
38 | color: #ff2c32;
39 | text-align: center;
40 | margin: 0 auto;
41 | transition: opacity 50ms;
42 | background: none;
43 | border: none;
44 | height: 96rpx;
45 | line-height: 96rpx;
46 | width: 416rpx;
47 | box-shadow: none;
48 | -webkit-box-shadow: none;
49 | background-size: 100% 100%;
50 | font-weight: 400;
51 | }
52 |
53 | .open-hongbao-btn:after{
54 | display: none;
55 | }
56 |
57 | .open-hongbao-btn:active{
58 | opacity: .75;
59 | }
--------------------------------------------------------------------------------
/pages/goods/goods.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "商品详情"
3 | }
--------------------------------------------------------------------------------
/pages/index/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "商城首页",
3 | "enablePullDownRefresh": true
4 | }
--------------------------------------------------------------------------------
/pages/list/list.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "商品列表"
3 | }
--------------------------------------------------------------------------------
/pages/member/member.js:
--------------------------------------------------------------------------------
1 | // pages/member/member.js
2 | var api = require('../../api.js');
3 | var app = getApp();
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {
10 |
11 | },
12 |
13 | /**
14 | * 生命周期函数--监听页面加载
15 | */
16 | onLoad: function (options) {
17 | app.pageOnLoad(this);
18 | },
19 |
20 | /**
21 | * 生命周期函数--监听页面初次渲染完成
22 | */
23 | onReady: function () {
24 |
25 | },
26 |
27 | /**
28 | * 生命周期函数--监听页面显示
29 | */
30 | onShow: function () {
31 | var page = this;
32 | wx.showLoading({
33 | title: '加载中',
34 | })
35 | app.request({
36 | url: api.user.member,
37 | method: 'POST',
38 | success: function (res) {
39 | wx.hideLoading();
40 | if (res.code == 0) {
41 | page.setData(res.data);
42 | }
43 | }
44 | });
45 |
46 | },
47 |
48 | /**
49 | * 生命周期函数--监听页面隐藏
50 | */
51 | onHide: function () {
52 |
53 | },
54 |
55 | /**
56 | * 生命周期函数--监听页面卸载
57 | */
58 | onUnload: function () {
59 |
60 | },
61 |
62 | /**
63 | * 页面相关事件处理函数--监听用户下拉动作
64 | */
65 | onPullDownRefresh: function () {
66 |
67 | },
68 |
69 | /**
70 | * 页面上拉触底事件的处理函数
71 | */
72 | onReachBottom: function () {
73 |
74 | },
75 | })
--------------------------------------------------------------------------------
/pages/member/member.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "会员中心"
3 | }
--------------------------------------------------------------------------------
/pages/member/member.wxss:
--------------------------------------------------------------------------------
1 | /* pages/member/member.wxss */
2 |
3 | .info {
4 | width: 100%;
5 | }
6 |
7 | .info-title {
8 | position: relative;
9 | width: 100%;
10 | height: 220rpx;
11 | }
12 |
13 | .bg {
14 | position: absolute;
15 | top: 0;
16 | left: 0;
17 | width: 100%;
18 | height: 100%;
19 | z-index: -1;
20 | }
21 |
22 | .left {
23 | padding: 37rpx 16rpx 0 37rpx;
24 | position: relative;
25 | }
26 |
27 | .avatar {
28 | width: 114rpx;
29 | height: 114rpx;
30 | border-radius: 114rpx;
31 | border: 5rpx solid #fff;
32 | }
33 |
34 | .level-name {
35 | height: 36rpx;
36 | border-radius: 18rpx;
37 | font-size: 8pt;
38 | color: #fff;
39 | background-color: #3c3642;
40 | padding: 0 16rpx 0 0;
41 | margin-left: 24rpx;
42 | }
43 |
44 | .level-name image {
45 | width: 44rpx;
46 | height: 44rpx;
47 | margin-right: 10rpx;
48 | margin-left: -4rpx;
49 | }
50 |
51 | .right{
52 | width: 100%;
53 | padding: 0 108rpx 0 24rpx;
54 | color: #fff;
55 | }
56 | .member-name{
57 | width: 100%;
58 | margin-bottom: 26rpx;
59 | }
60 | .member-progress{
61 | width: 100%;
62 | }
63 | .member-content{
64 | width: 100%;
65 | margin-top: 20rpx;
66 | font-size: 9pt;
67 | }
68 |
69 | .block{
70 | width: 100%;
71 | height: 80rpx;
72 | padding: 0 37rpx;
73 | background-color: #fff;
74 | border-bottom: 1rpx solid #eee;
75 | }
76 | .block image{
77 | width: 38rpx;
78 | height: 32rpx;
79 | margin-right: 10rpx;
80 | }
--------------------------------------------------------------------------------
/pages/miaosha/details/details.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "商品详情"
3 | }
--------------------------------------------------------------------------------
/pages/miaosha/express-detail/express-detail.js:
--------------------------------------------------------------------------------
1 | // pages/express-detail/express-detail.js
2 | var api = require('../../../api.js');
3 | var app = getApp();
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {},
10 |
11 | /**
12 | * 生命周期函数--监听页面加载
13 | */
14 | onLoad: function (options) {
15 | app.pageOnLoad(this);
16 | this.loadData(options);
17 | },
18 | /**
19 | * 加载页面数据
20 | */
21 | loadData: function (options) {
22 | var page = this;
23 | wx.showLoading({
24 | title: "正在加载",
25 | });
26 | app.request({
27 | url: api.miaosha.express_detail,
28 | data: {
29 | order_id: options.id,
30 | },
31 | success: function (res) {
32 | wx.hideLoading();
33 | if (res.code == 0) {
34 | page.setData({
35 | data: res.data,
36 | })
37 | }
38 | if (res.code == 1) {
39 | wx.showModal({
40 | title: "提示",
41 | content: res.msg,
42 | showCancel: false,
43 | success: function (e) {
44 | if (e.confirm) {
45 | wx.navigateBack();
46 | }
47 | }
48 | });
49 | }
50 | }
51 | });
52 | },
53 |
54 | /**
55 | * 生命周期函数--监听页面初次渲染完成
56 | */
57 | onReady: function () {
58 |
59 | },
60 |
61 | /**
62 | * 生命周期函数--监听页面显示
63 | */
64 | onShow: function () {
65 |
66 | },
67 |
68 | /**
69 | * 生命周期函数--监听页面隐藏
70 | */
71 | onHide: function () {
72 |
73 | },
74 |
75 | /**
76 | * 生命周期函数--监听页面卸载
77 | */
78 | onUnload: function () {
79 |
80 | },
81 |
82 | /**
83 | * 页面相关事件处理函数--监听用户下拉动作
84 | */
85 | onPullDownRefresh: function () {
86 |
87 | },
88 |
89 | /**
90 | * 页面上拉触底事件的处理函数
91 | */
92 | onReachBottom: function () {
93 |
94 | },
95 | });
--------------------------------------------------------------------------------
/pages/miaosha/express-detail/express-detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "物流详情"
3 | }
--------------------------------------------------------------------------------
/pages/miaosha/express-detail/express-detail.wxml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | {{item.detail}}
24 | {{item.datetime}}
25 |
26 |
27 |
28 |
29 | 暂无物流信息
30 |
--------------------------------------------------------------------------------
/pages/miaosha/express-detail/express-detail.wxss:
--------------------------------------------------------------------------------
1 | /* pages/express-detail/express-detail.wxss */
2 | .header{
3 | border-top:1rpx solid #e3e3e3;
4 | padding:32rpx 24rpx;
5 | }
6 | .data-list{
7 | background: #fff;
8 | border-bottom:1rpx solid #e3e3e3;
9 | }
10 | .data-list .data-item{
11 | padding-right: 24rpx;
12 | }
13 |
14 | .data-list .data-item .item-icon{
15 | padding: 0 40rpx;
16 | }
17 | .data-list .data-item .item-line{
18 | width: 2rpx;
19 | background: #e3e3e3;
20 | position: relative;
21 | }
22 | .data-list .data-item .item-line:nth-of-type(1){
23 | height: 42rpx;
24 | }
25 | .data-list .data-item .item-line image{
26 | position: absolute;
27 | left: -5rpx;
28 | z-index: 9;
29 | top: -6rpx;
30 | }
31 |
32 | .data-list .data-item .item-line image.point-green{
33 | display: none;
34 | }
35 | .data-list .data-item:first-child .item-line image.point-green{
36 | display: block;
37 | }
38 |
39 | .data-list .data-item:first-child .item-line:nth-of-type(1){
40 | opacity: 0;
41 | }
42 | .data-list .data-item:last-child .item-line:nth-of-type(3){
43 | opacity: 0;
44 | }
45 |
46 | .data-list .data-item .item-content{
47 | padding: 28rpx 0;
48 | border-bottom: 1rpx solid #eee;
49 | color: #888;
50 | }
51 | .data-list .data-item:first-child .item-content{
52 | color: #25ae5f;
53 | }
54 |
55 | .data-list .data-item:last-child .item-content{
56 | border-bottom: none;
57 | }
58 |
59 | .no-data{
60 | padding: 24rpx;
61 | text-align: center;
62 | color: #888;
63 | }
--------------------------------------------------------------------------------
/pages/miaosha/miaosha.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "整点秒杀",
3 | "enablePullDownRefresh": false
4 | }
--------------------------------------------------------------------------------
/pages/miaosha/order-comment/order-comment.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "评价"
3 | }
--------------------------------------------------------------------------------
/pages/miaosha/order-comment/order-comment.wxss:
--------------------------------------------------------------------------------
1 | /* pages/order-comment/order-comment.wxss */
2 | .bar-bottom {
3 | position: fixed;
4 | bottom: 0;
5 | left: 0;
6 | width: 100%;
7 | }
8 |
9 | .submit-btn{
10 | background: #ff4544;
11 | color: #fff;
12 | height: 100rpx;
13 | }
14 |
15 | .goods-list{
16 | border-top: 1rpx solid #e3e3e3;
17 | padding-bottom: 100rpx;
18 | }
19 |
20 | .goods-item{
21 | background: #fff;
22 | border-bottom: 1rpx solid #e3e3e3;
23 | margin-bottom: 20rpx;
24 | }
25 |
26 | .goods-item .score-row{
27 | padding: 24rpx 20rpx;
28 | border-bottom: 1rpx #eee solid;
29 |
30 | }
31 |
32 | .goods-item .score-row .goods-pic{
33 | width: 72rpx;
34 | height: 72rpx;
35 | }
36 |
37 | .goods-item .score-row .score-item image{
38 | width: 40rpx;
39 | height: 40rpx;
40 | margin-right: 20rpx;
41 | }
42 |
43 | .goods-item .score-row .score-item.active{
44 | color: #ff4544;
45 | }
46 |
47 | .goods-item .content-row{
48 | padding: 24rpx 20rpx;
49 | }
50 |
51 | .goods-item .form-label{
52 | margin-right: 24rpx;
53 | }
54 |
55 | .goods-item textarea{
56 | width: 100%;
57 | height: 200rpx;
58 | padding: 0 0;
59 | }
60 |
61 | .goods-item .pic-list{
62 | padding: 24rpx 20rpx;
63 | margin-left: -20rpx;
64 | margin-top: -20rpx;
65 | }
66 |
67 | .image-picker{
68 | font-size: 0;
69 | }
70 | .image-picker,.image-preview{
71 | display: inline-block;
72 | margin-left: 20rpx;
73 | margin-top: 20rpx;
74 | }
75 | .image-preview {
76 | position: relative;
77 | }
78 | .image-preview .image-del{
79 | position: absolute;
80 | top:-15rpx;
81 | right: -15rpx;
82 | height: 50rpx;
83 | width: 50rpx;
84 | background: #ff4544;
85 | color: #fff;
86 | font-weight: bolder;
87 | border-radius: 999rpx;
88 | font-size: 9pt;
89 | box-shadow: 0 1rpx 2rpx rgba(0,0,0,.2);
90 | z-index: 999;
91 | }
--------------------------------------------------------------------------------
/pages/miaosha/order-detail/order-detail.js:
--------------------------------------------------------------------------------
1 | // pages/miaosha/order-detail/order-detail.js
2 | var api = require('../../../api.js');
3 | var app = getApp();
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {
10 | order: null,
11 | getGoodsTotalPrice: function () {
12 | return this.data.order.total_price;
13 | }
14 | },
15 |
16 | /**
17 | * 生命周期函数--监听页面加载
18 | */
19 | onLoad: function (options) {
20 | app.pageOnLoad(this);
21 | var page = this;
22 | page.setData({
23 | store: wx.getStorageSync("store")
24 | });
25 | wx.showLoading({
26 | title: "正在加载",
27 | });
28 | app.request({
29 | url: api.miaosha.order_details,
30 | data: {
31 | order_id: options.id,
32 | },
33 | success: function (res) {
34 | if (res.code == 0) {
35 | page.setData({
36 | order: res.data,
37 | });
38 | }
39 | },
40 | complete: function () {
41 | wx.hideLoading();
42 | }
43 | });
44 | },
45 |
46 | copyText: function (e) {
47 | var page = this;
48 | var text = e.currentTarget.dataset.text;
49 | wx.setClipboardData({
50 | data: text,
51 | success: function () {
52 | wx.showToast({
53 | title: "已复制"
54 | });
55 | }
56 | });
57 | },
58 | location: function () {
59 | var page = this;
60 | var shop = page.data.order.shop;
61 | wx.openLocation({
62 | latitude: parseFloat(shop.latitude),
63 | longitude: parseFloat(shop.longitude),
64 | address: shop.address,
65 | name: shop.name
66 | })
67 | }
68 |
69 | });
--------------------------------------------------------------------------------
/pages/miaosha/order-detail/order-detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "订单详情"
3 | }
--------------------------------------------------------------------------------
/pages/miaosha/order-detail/order-detail.wxss:
--------------------------------------------------------------------------------
1 | /* pages/miaosha/order-detail/order-detail.wxss */
2 | page{
3 | overflow-x: hidden;
4 | }
5 | .status-bar {
6 | box-sizing: border-box;
7 | padding: 0 88rpx;
8 | color: #fff;
9 | font-size: 13pt;
10 | height: 120rpx;
11 | line-height: 120rpx;
12 | position: relative;
13 | }
14 | .status-bar image{
15 | position: absolute;
16 | left: 0;
17 | right: 0;
18 | width: 100%;
19 | height: 100%;
20 | z-index: -1;
21 | }
22 | .block {
23 | background: #fff;
24 | padding: 32rpx 24rpx;
25 | margin-bottom: 20rpx;
26 | }
27 |
28 | .block .block-row{
29 | margin-bottom: 10rpx;
30 | }
31 |
32 | .block .block-footer{
33 | border-top: 1rpx solid #eee;
34 | margin-left: -24rpx;
35 | margin-right: -24rpx;
36 | padding: 24rpx;
37 | padding-bottom: 0;
38 | margin-top: 32rpx;
39 | text-align: right;
40 | font-weight: bold;
41 | }
42 |
43 | .goods-item{
44 | border-bottom: 1rpx solid #E3E3E3;
45 | padding-bottom: 32rpx;
46 | margin-bottom: 32rpx;
47 | }
48 | .goods-item:last-child{
49 | border-bottom: none;
50 | margin-bottom: 0;
51 | padding-bottom: 0;
52 | }
53 |
54 | .refund-btn{
55 | float: right;
56 | height: 60rpx;
57 | border:1rpx solid #bbb;
58 | padding: 0 30rpx;
59 | border-radius: 10rpx;
60 | margin-top: 20rpx;
61 | }
62 | .refund-text{
63 | float: right;
64 | display: inline-block;
65 | margin-top: 20rpx;
66 | }
67 |
68 | .pay-type{
69 | width: 100%;
70 | padding: 32rpx 0 8rpx 0;
71 | border-top: 1rpx solid #e2e2e2;
72 | margin-top: 32rpx;
73 | }
--------------------------------------------------------------------------------
/pages/miaosha/order-refund-detail/order-refund-detail.js:
--------------------------------------------------------------------------------
1 | // pages/order-refund-detail/order-refund-detail.js
2 | var api = require('../../../api.js');
3 | var app = getApp();
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {
10 | order_refund: null,
11 | },
12 |
13 | /**
14 | * 生命周期函数--监听页面加载
15 | */
16 | onLoad: function (options) {
17 | app.pageOnLoad(this);
18 |
19 | var page = this;
20 |
21 | wx.showLoading({
22 | title: "正在加载",
23 | });
24 | app.request({
25 | url: api.miaosha.refund_detail,
26 | data: {
27 | order_refund_id: options.id,
28 | },
29 | success: function (res) {
30 | if (res.code == 0) {
31 | page.setData({
32 | order_refund: res.data,
33 | });
34 | }
35 | },
36 | complete: function () {
37 | wx.hideLoading();
38 | }
39 | });
40 | },
41 | viewImage: function (e) {
42 | var page = this;
43 | var index = e.currentTarget.dataset.index;
44 | wx.previewImage({
45 | current: page.data.order_refund.refund_pic_list[index],
46 | urls: page.data.order_refund.refund_pic_list,
47 | });
48 | },
49 | /**
50 | * 生命周期函数--监听页面初次渲染完成
51 | */
52 | onReady: function () {
53 |
54 | },
55 |
56 | /**
57 | * 生命周期函数--监听页面显示
58 | */
59 | onShow: function () {
60 |
61 | },
62 |
63 | /**
64 | * 生命周期函数--监听页面隐藏
65 | */
66 | onHide: function () {
67 |
68 | },
69 |
70 | /**
71 | * 生命周期函数--监听页面卸载
72 | */
73 | onUnload: function () {
74 |
75 | },
76 | })
--------------------------------------------------------------------------------
/pages/miaosha/order-refund-detail/order-refund-detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "售后单详情"
3 | }
--------------------------------------------------------------------------------
/pages/miaosha/order-refund-detail/order-refund-detail.wxss:
--------------------------------------------------------------------------------
1 | /* pages/order-refund-detail/order-refund-detail.wxss */
2 | .data-row{
3 | padding: 28rpx 24rpx;
4 | border-top: 1rpx solid #e3e3e3;
5 | }
6 | .pic-list{
7 | margin-left: -20rpx;
8 | margin-top: -20rpx;
9 | }
10 | .pic-list image{
11 | margin-left: 20rpx;
12 | margin-top: 20rpx;
13 | }
--------------------------------------------------------------------------------
/pages/miaosha/order-refund/order-refund.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "申请售后"
3 | }
--------------------------------------------------------------------------------
/pages/miaosha/order-refund/order-refund.wxss:
--------------------------------------------------------------------------------
1 | /* /pages/order-refund/order-refund.wxss */
2 | .goods-info{
3 | padding: 30rpx 24rpx;
4 | border-top: 1rpx solid #e3e3e3;
5 | }
6 |
7 | .switch-tab{
8 | border-bottom: 1rpx solid #e3e3e3;
9 | }
10 |
11 | .switch-tab text{
12 | height: 100rpx;
13 | border-bottom: 5rpx solid transparent;
14 | }
15 |
16 | .switch-tab text.active{
17 | border-bottom-color: #ff4544;
18 | color: #ff4544;
19 | }
20 |
21 | .switch-body{
22 | display: none;
23 | }
24 |
25 | .switch-body.active{
26 | display: block;
27 | }
28 |
29 | .form-row{
30 | padding: 28rpx 24rpx;
31 | }
32 |
33 | .form-row .form-label{
34 | white-space: nowrap;
35 | margin-right: 32rpx;
36 | }
37 |
38 | .form-row textarea{
39 | height: 120rpx;
40 | }
41 |
42 | .refund-price{
43 | color: #ff4544;
44 | }
45 | .image-list{
46 | margin-left: -20rpx;
47 | margin-top: -20rpx;
48 | }
49 | .image-picker{
50 | font-size: 0;
51 | }
52 | .image-picker,.image-preview{
53 | display: inline-block;
54 | margin-left: 20rpx;
55 | margin-top: 20rpx;
56 | }
57 | .image-preview {
58 | position: relative;
59 | }
60 | .image-preview .image-del{
61 | position: absolute;
62 | top:-15rpx;
63 | right: -15rpx;
64 | height: 50rpx;
65 | width: 50rpx;
66 | background: #ff4544;
67 | color: #fff;
68 | font-weight: bolder;
69 | border-radius: 999rpx;
70 | font-size: 9pt;
71 | box-shadow: 0 1rpx 2rpx rgba(0,0,0,.2);
72 | }
73 |
74 | .submit-btn{
75 | position: fixed;
76 | bottom: 0;
77 | height: 100rpx;
78 | background: #ff4544;
79 | color: #fff;
80 | width: 100%;
81 | visibility: hidden;
82 | }
83 |
84 | .submit-btn.active{
85 | visibility: visible;
86 | }
--------------------------------------------------------------------------------
/pages/miaosha/order-submit/order-submit.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "订单提交"
3 | }
--------------------------------------------------------------------------------
/pages/miaosha/order/order.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "订单列表"
3 | }
--------------------------------------------------------------------------------
/pages/order-comment/order-comment.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "评价"
3 | }
--------------------------------------------------------------------------------
/pages/order-comment/order-comment.wxss:
--------------------------------------------------------------------------------
1 | /* pages/order-comment/order-comment.wxss */
2 | .bar-bottom {
3 | position: fixed;
4 | bottom: 0;
5 | left: 0;
6 | width: 100%;
7 | }
8 |
9 | .submit-btn{
10 | background: #ff4544;
11 | color: #fff;
12 | height: 100rpx;
13 | }
14 |
15 | .goods-list{
16 | border-top: 1rpx solid #e3e3e3;
17 | padding-bottom: 100rpx;
18 | }
19 |
20 | .goods-item{
21 | background: #fff;
22 | border-bottom: 1rpx solid #e3e3e3;
23 | margin-bottom: 20rpx;
24 | }
25 |
26 | .goods-item .score-row{
27 | padding: 24rpx 20rpx;
28 | border-bottom: 1rpx #eee solid;
29 |
30 | }
31 |
32 | .goods-item .score-row .goods-pic{
33 | width: 72rpx;
34 | height: 72rpx;
35 | }
36 |
37 | .goods-item .score-row .score-item image{
38 | width: 40rpx;
39 | height: 40rpx;
40 | margin-right: 20rpx;
41 | }
42 |
43 | .goods-item .score-row .score-item.active{
44 | color: #ff4544;
45 | }
46 |
47 | .goods-item .content-row{
48 | padding: 24rpx 20rpx;
49 | }
50 |
51 | .goods-item .form-label{
52 | margin-right: 24rpx;
53 | }
54 |
55 | .goods-item textarea{
56 | width: 100%;
57 | height: 200rpx;
58 | padding: 0 0;
59 | }
60 |
61 | .goods-item .pic-list{
62 | padding: 24rpx 20rpx;
63 | margin-left: -20rpx;
64 | margin-top: -20rpx;
65 | }
66 |
67 | .image-picker{
68 | font-size: 0;
69 | }
70 | .image-picker,.image-preview{
71 | display: inline-block;
72 | margin-left: 20rpx;
73 | margin-top: 20rpx;
74 | }
75 | .image-preview {
76 | position: relative;
77 | }
78 | .image-preview .image-del{
79 | position: absolute;
80 | top:-15rpx;
81 | right: -15rpx;
82 | height: 50rpx;
83 | width: 50rpx;
84 | background: #ff4544;
85 | color: #fff;
86 | font-weight: bolder;
87 | border-radius: 999rpx;
88 | font-size: 9pt;
89 | box-shadow: 0 1rpx 2rpx rgba(0,0,0,.2);
90 | z-index: 999;
91 | }
--------------------------------------------------------------------------------
/pages/order-detail/order-detail.js:
--------------------------------------------------------------------------------
1 | // pages/order-detail/order-detail.js
2 | var api = require('../../api.js');
3 | var app = getApp();
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {
10 | order: null,
11 | getGoodsTotalPrice: function () {
12 | return this.data.order.total_price;
13 | }
14 | },
15 |
16 | /**
17 | * 生命周期函数--监听页面加载
18 | */
19 | onLoad: function (options) {
20 | app.pageOnLoad(this);
21 | var page = this;
22 | page.setData({
23 | store:wx.getStorageSync("store")
24 | });
25 | wx.showLoading({
26 | title: "正在加载",
27 | });
28 | app.request({
29 | url: api.order.detail,
30 | data: {
31 | order_id: options.id,
32 | },
33 | success: function (res) {
34 | if (res.code == 0) {
35 | page.setData({
36 | order: res.data,
37 | });
38 | }
39 | },
40 | complete: function () {
41 | wx.hideLoading();
42 | }
43 | });
44 | },
45 |
46 | copyText: function (e) {
47 | var page = this;
48 | var text = e.currentTarget.dataset.text;
49 | wx.setClipboardData({
50 | data: text,
51 | success: function () {
52 | wx.showToast({
53 | title: "已复制"
54 | });
55 | }
56 | });
57 | },
58 | location:function(){
59 | var page = this;
60 | var shop = page.data.order.shop;
61 | wx.openLocation({
62 | latitude: parseFloat(shop.latitude),
63 | longitude: parseFloat(shop.longitude),
64 | address:shop.address,
65 | name:shop.name
66 | })
67 | }
68 |
69 | });
--------------------------------------------------------------------------------
/pages/order-detail/order-detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "订单详情"
3 | }
--------------------------------------------------------------------------------
/pages/order-detail/order-detail.wxss:
--------------------------------------------------------------------------------
1 | /* pages/order-detail/order-detail.wxss */
2 | page{
3 | overflow-x: hidden;
4 | }
5 | .status-bar {
6 | box-sizing: border-box;
7 | padding: 0 88rpx;
8 | color: #fff;
9 | font-size: 13pt;
10 | height: 120rpx;
11 | line-height: 120rpx;
12 | position: relative;
13 | }
14 | .status-bar image{
15 | position: absolute;
16 | left: 0;
17 | right: 0;
18 | width: 100%;
19 | height: 100%;
20 | z-index: -1;
21 | }
22 | .block {
23 | background: #fff;
24 | padding: 32rpx 24rpx;
25 | margin-bottom: 20rpx;
26 | }
27 |
28 | .block .block-row{
29 | margin-bottom: 10rpx;
30 | }
31 |
32 | .block .block-footer{
33 | border-top: 1rpx solid #eee;
34 | margin-left: -24rpx;
35 | margin-right: -24rpx;
36 | padding: 24rpx;
37 | padding-bottom: 0;
38 | margin-top: 32rpx;
39 | text-align: right;
40 | font-weight: bold;
41 | }
42 |
43 | .goods-item{
44 | border-bottom: 1rpx solid #E3E3E3;
45 | padding-bottom: 32rpx;
46 | margin-bottom: 32rpx;
47 | }
48 | .goods-item:last-child{
49 | border-bottom: none;
50 | margin-bottom: 0;
51 | padding-bottom: 0;
52 | }
53 |
54 | .refund-btn{
55 | float: right;
56 | height: 60rpx;
57 | border:1rpx solid #bbb;
58 | padding: 0 30rpx;
59 | border-radius: 10rpx;
60 | margin-top: 20rpx;
61 | }
62 | .refund-text{
63 | float: right;
64 | display: inline-block;
65 | margin-top: 20rpx;
66 | }
67 |
68 | .pay-type{
69 | width: 100%;
70 | padding: 32rpx 0 8rpx 0;
71 | border-top: 1rpx solid #e2e2e2;
72 | margin-top: 32rpx;
73 | }
--------------------------------------------------------------------------------
/pages/order-refund-detail/order-refund-detail.js:
--------------------------------------------------------------------------------
1 | // pages/order-refund-detail/order-refund-detail.js
2 | var api = require('../../api.js');
3 | var app = getApp();
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {
10 | order_refund: null,
11 | },
12 |
13 | /**
14 | * 生命周期函数--监听页面加载
15 | */
16 | onLoad: function (options) {
17 | app.pageOnLoad(this);
18 |
19 | var page = this;
20 |
21 | wx.showLoading({
22 | title: "正在加载",
23 | });
24 | app.request({
25 | url: api.order.refund_detail,
26 | data: {
27 | order_refund_id: options.id,
28 | },
29 | success: function (res) {
30 | if (res.code == 0) {
31 | page.setData({
32 | order_refund: res.data,
33 | });
34 | }
35 | },
36 | complete: function () {
37 | wx.hideLoading();
38 | }
39 | });
40 | },
41 | viewImage: function (e) {
42 | var page = this;
43 | var index = e.currentTarget.dataset.index;
44 | wx.previewImage({
45 | current: page.data.order_refund.refund_pic_list[index],
46 | urls: page.data.order_refund.refund_pic_list,
47 | });
48 | },
49 | /**
50 | * 生命周期函数--监听页面初次渲染完成
51 | */
52 | onReady: function () {
53 |
54 | },
55 |
56 | /**
57 | * 生命周期函数--监听页面显示
58 | */
59 | onShow: function () {
60 |
61 | },
62 |
63 | /**
64 | * 生命周期函数--监听页面隐藏
65 | */
66 | onHide: function () {
67 |
68 | },
69 |
70 | /**
71 | * 生命周期函数--监听页面卸载
72 | */
73 | onUnload: function () {
74 |
75 | },
76 | })
--------------------------------------------------------------------------------
/pages/order-refund-detail/order-refund-detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "售后单详情"
3 | }
--------------------------------------------------------------------------------
/pages/order-refund-detail/order-refund-detail.wxss:
--------------------------------------------------------------------------------
1 | /* pages/order-refund-detail/order-refund-detail.wxss */
2 | .data-row{
3 | padding: 28rpx 24rpx;
4 | border-top: 1rpx solid #e3e3e3;
5 | }
6 | .pic-list{
7 | margin-left: -20rpx;
8 | margin-top: -20rpx;
9 | }
10 | .pic-list image{
11 | margin-left: 20rpx;
12 | margin-top: 20rpx;
13 | }
--------------------------------------------------------------------------------
/pages/order-refund/order-refund.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "申请售后"
3 | }
--------------------------------------------------------------------------------
/pages/order-refund/order-refund.wxss:
--------------------------------------------------------------------------------
1 | /* /pages/order-refund/order-refund.wxss */
2 | .goods-info{
3 | padding: 30rpx 24rpx;
4 | border-top: 1rpx solid #e3e3e3;
5 | }
6 |
7 | .switch-tab{
8 | border-bottom: 1rpx solid #e3e3e3;
9 | }
10 |
11 | .switch-tab text{
12 | height: 100rpx;
13 | border-bottom: 5rpx solid transparent;
14 | }
15 |
16 | .switch-tab text.active{
17 | border-bottom-color: #ff4544;
18 | color: #ff4544;
19 | }
20 |
21 | .switch-body{
22 | display: none;
23 | }
24 |
25 | .switch-body.active{
26 | display: block;
27 | }
28 |
29 | .form-row{
30 | padding: 28rpx 24rpx;
31 | }
32 |
33 | .form-row .form-label{
34 | white-space: nowrap;
35 | margin-right: 32rpx;
36 | }
37 |
38 | .form-row textarea{
39 | height: 120rpx;
40 | }
41 |
42 | .refund-price{
43 | color: #ff4544;
44 | }
45 | .image-list{
46 | margin-left: -20rpx;
47 | margin-top: -20rpx;
48 | }
49 | .image-picker{
50 | font-size: 0;
51 | }
52 | .image-picker,.image-preview{
53 | display: inline-block;
54 | margin-left: 20rpx;
55 | margin-top: 20rpx;
56 | }
57 | .image-preview {
58 | position: relative;
59 | }
60 | .image-preview .image-del{
61 | position: absolute;
62 | top:-15rpx;
63 | right: -15rpx;
64 | height: 50rpx;
65 | width: 50rpx;
66 | background: #ff4544;
67 | color: #fff;
68 | font-weight: bolder;
69 | border-radius: 999rpx;
70 | font-size: 9pt;
71 | box-shadow: 0 1rpx 2rpx rgba(0,0,0,.2);
72 | }
73 |
74 | .submit-btn{
75 | position: fixed;
76 | bottom: 0;
77 | height: 100rpx;
78 | background: #ff4544;
79 | color: #fff;
80 | width: 100%;
81 | visibility: hidden;
82 | }
83 |
84 | .submit-btn.active{
85 | visibility: visible;
86 | }
--------------------------------------------------------------------------------
/pages/order-submit/order-submit.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "结算"
3 | }
--------------------------------------------------------------------------------
/pages/order/order.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "订单列表"
3 | }
--------------------------------------------------------------------------------
/pages/pt/clerk/clerk.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "订单核销"
3 | }
--------------------------------------------------------------------------------
/pages/pt/comment/comment.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "商品评价"
3 | }
--------------------------------------------------------------------------------
/pages/pt/comment/comment.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
39 |
--------------------------------------------------------------------------------
/pages/pt/comment/comment.wxss:
--------------------------------------------------------------------------------
1 | /* pages/pt/comment/comment.wxss */
2 | page{
3 | /* border-top: 1rpx solid #e2e2e2; */
4 | }
5 | .goods-comment{
6 | padding: 0 24rpx;
7 | background-color: #ffffff;
8 | }
9 | .goods-comment-title{
10 | height: 80rpx;
11 | font-size: 9pt;
12 | color: #919191;
13 | }
14 | .comment-user-pic image{
15 | width: 66rpx;
16 | height: 66rpx;
17 | border-radius: 33rpx;
18 | margin-right: 20rpx;
19 | }
20 | .goods-comment-item{
21 | border-top: 1rpx solid #e2e2e2;
22 | padding-bottom: 36rpx;
23 | }
24 | .goods-comment-user{
25 | margin-top: 32rpx;
26 | }
27 | .comment-user-name{
28 | font-size: 11pt;
29 | color: #353535;
30 | }
31 | .goods-comment-conent{
32 | font-size: 10pt;
33 | color: #353535;
34 | margin: 20rpx 0;
35 | line-height:1.3;
36 | }
37 | .goods-comment-ginfo{
38 | font-size: 9pt;
39 | color: #919191;
40 | margin-bottom:16rpx;
41 | }
42 | /* .goods-comment-piclist image{
43 | width: 160rpx;
44 | height: 160rpx;
45 | border-radius: 4rpx;
46 | margin-right: 16rpx;
47 | } */
48 | .comment-pic-shell{
49 | width: 160rpx;
50 | height: 160rpx;
51 | border-radius: 4rpx;
52 | margin-right: 16rpx;
53 | overflow: hidden;
54 | display: inline-block;
55 | }
--------------------------------------------------------------------------------
/pages/pt/commons/cat/cat.wxml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 | 热销
15 |
16 |
17 |
18 | {{item.name}}
19 |
20 |
21 |
--------------------------------------------------------------------------------
/pages/pt/commons/cat/cat.wxss:
--------------------------------------------------------------------------------
1 | .scroll-view-x{
2 | background-color: #fff;
3 | white-space: nowrap;
4 | /* height:85rpx; */
5 | }
6 | .scroll-view-x .scroll-view-item{
7 | display:inline-block;
8 | margin:16rpx 0rpx 16rpx 46rpx ;
9 | padding: 0 24rpx;
10 | font-size: 13pt;
11 | color:#666666;
12 | height:60rpx;
13 | line-height: 60rpx;
14 | }
15 | .scroll-view-y{
16 | border-top:1px solid #cccccc;
17 | border-bottom:1px solid #cccccc;
18 | }
19 | swiper{
20 | height: 304rpx;
21 | }
22 | .scroll-view-x .active{
23 | color: #fff;
24 | border-radius: 30rpx;
25 | background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffa360), color-stop(140%,#ff5c5c));
26 | height: 60rpx;
27 | }
--------------------------------------------------------------------------------
/pages/pt/details/details.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "拼团"
3 | }
--------------------------------------------------------------------------------
/pages/pt/express-detail/express-detail.js:
--------------------------------------------------------------------------------
1 | // pages/express-detail/express-detail.js
2 | var api = require('../../../api.js');
3 | var app = getApp();
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {},
10 |
11 | /**
12 | * 生命周期函数--监听页面加载
13 | */
14 | onLoad: function (options) {
15 | app.pageOnLoad(this);
16 | this.loadData(options);
17 | },
18 | /**
19 | * 加载页面数据
20 | */
21 | loadData: function (options) {
22 | var page = this;
23 | wx.showLoading({
24 | title: "正在加载",
25 | });
26 | app.request({
27 | url: api.group.order.express_detail,
28 | data: {
29 | order_id: options.id,
30 | },
31 | success: function (res) {
32 | wx.hideLoading();
33 | if (res.code == 0) {
34 | page.setData({
35 | data: res.data,
36 | })
37 | }
38 | if (res.code == 1) {
39 | wx.showModal({
40 | title: "提示",
41 | content: res.msg,
42 | showCancel: false,
43 | success: function (e) {
44 | if (e.confirm) {
45 | wx.navigateBack();
46 | }
47 | }
48 | });
49 | }
50 | }
51 | });
52 | },
53 |
54 | /**
55 | * 生命周期函数--监听页面初次渲染完成
56 | */
57 | onReady: function () {
58 |
59 | },
60 |
61 | /**
62 | * 生命周期函数--监听页面显示
63 | */
64 | onShow: function () {
65 |
66 | },
67 |
68 | /**
69 | * 生命周期函数--监听页面隐藏
70 | */
71 | onHide: function () {
72 |
73 | },
74 |
75 | /**
76 | * 生命周期函数--监听页面卸载
77 | */
78 | onUnload: function () {
79 |
80 | },
81 |
82 | /**
83 | * 页面相关事件处理函数--监听用户下拉动作
84 | */
85 | onPullDownRefresh: function () {
86 |
87 | },
88 |
89 | /**
90 | * 页面上拉触底事件的处理函数
91 | */
92 | onReachBottom: function () {
93 |
94 | },
95 | });
--------------------------------------------------------------------------------
/pages/pt/express-detail/express-detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "物流详情"
3 | }
--------------------------------------------------------------------------------
/pages/pt/express-detail/express-detail.wxml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | {{item.detail}}
24 | {{item.datetime}}
25 |
26 |
27 |
28 |
29 | 暂无物流信息
30 |
--------------------------------------------------------------------------------
/pages/pt/express-detail/express-detail.wxss:
--------------------------------------------------------------------------------
1 | /* pages/express-detail/express-detail.wxss */
2 | .header{
3 | border-top:1rpx solid #e3e3e3;
4 | padding:32rpx 24rpx;
5 | }
6 | .data-list{
7 | background: #fff;
8 | border-bottom:1rpx solid #e3e3e3;
9 | }
10 | .data-list .data-item{
11 | padding-right: 24rpx;
12 | }
13 |
14 | .data-list .data-item .item-icon{
15 | padding: 0 40rpx;
16 | }
17 | .data-list .data-item .item-line{
18 | width: 2rpx;
19 | background: #e3e3e3;
20 | position: relative;
21 | }
22 | .data-list .data-item .item-line:nth-of-type(1){
23 | height: 42rpx;
24 | }
25 | .data-list .data-item .item-line image{
26 | position: absolute;
27 | left: -5rpx;
28 | z-index: 9;
29 | top: -6rpx;
30 | }
31 |
32 | .data-list .data-item .item-line image.point-green{
33 | display: none;
34 | }
35 | .data-list .data-item:first-child .item-line image.point-green{
36 | display: block;
37 | }
38 |
39 | .data-list .data-item:first-child .item-line:nth-of-type(1){
40 | opacity: 0;
41 | }
42 | .data-list .data-item:last-child .item-line:nth-of-type(3){
43 | opacity: 0;
44 | }
45 |
46 | .data-list .data-item .item-content{
47 | padding: 28rpx 0;
48 | border-bottom: 1rpx solid #eee;
49 | color: #888;
50 | }
51 | .data-list .data-item:first-child .item-content{
52 | color: #25ae5f;
53 | }
54 |
55 | .data-list .data-item:last-child .item-content{
56 | border-bottom: none;
57 | }
58 |
59 | .no-data{
60 | padding: 24rpx;
61 | text-align: center;
62 | color: #888;
63 | }
--------------------------------------------------------------------------------
/pages/pt/group/details.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "拼团"
3 | }
--------------------------------------------------------------------------------
/pages/pt/index/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "拼团"
3 | }
--------------------------------------------------------------------------------
/pages/pt/list/list.js:
--------------------------------------------------------------------------------
1 | // pages/pt/list/list.js
2 | var api = require('../../../api.js');
3 | var app = getApp();
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {
10 | cid:0
11 | },
12 |
13 | /**
14 | * 生命周期函数--监听页面加载
15 | */
16 | onLoad: function (options) {
17 | app.pageOnLoad(this);
18 | },
19 |
20 | /**
21 | * 生命周期函数--监听页面初次渲染完成
22 | */
23 | onReady: function () {
24 |
25 | },
26 |
27 | /**
28 | * 生命周期函数--监听页面显示
29 | */
30 | onShow: function (e) {
31 | app.pageOnShow(this);
32 |
33 | },
34 |
35 | /**
36 | * 生命周期函数--监听页面隐藏
37 | */
38 | onHide: function () {
39 |
40 | },
41 |
42 | /**
43 | * 生命周期函数--监听页面卸载
44 | */
45 | onUnload: function () {
46 |
47 | },
48 |
49 | /**
50 | * 页面相关事件处理函数--监听用户下拉动作
51 | */
52 | onPullDownRefresh: function () {
53 |
54 | },
55 |
56 | /**
57 | * 页面上拉触底事件的处理函数
58 | */
59 | onReachBottom: function () {
60 |
61 | },
62 |
63 | /**
64 | * 用户点击右上角分享
65 | */
66 | onShareAppMessage: function () {
67 |
68 | },
69 | lower:function (e){
70 | console.log(e);
71 | }
72 | })
--------------------------------------------------------------------------------
/pages/pt/list/list.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/pages/pt/list/list.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pages/pt/list/list.wxss:
--------------------------------------------------------------------------------
1 | /* pages/pt/list/list.wxss */
2 | @import "../commons/cat/cat.wxss";
3 | .scroll-view-item {
4 | height: 500rpx;
5 | }
6 | #green{
7 | background-color: green;
8 | }
9 | #red{
10 | background-color: red;
11 | }
12 | #yellow{
13 | background-color: yellow;
14 | }
15 | #blue{
16 | background-color: blue;
17 | }
--------------------------------------------------------------------------------
/pages/pt/order-comment/order-comment.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "评价"
3 | }
--------------------------------------------------------------------------------
/pages/pt/order-comment/order-comment.wxss:
--------------------------------------------------------------------------------
1 | /* pages/order-comment/order-comment.wxss */
2 | .bar-bottom {
3 | position: fixed;
4 | bottom: 0;
5 | left: 0;
6 | width: 100%;
7 | }
8 |
9 | .submit-btn{
10 | background: #ff4544;
11 | color: #fff;
12 | height: 100rpx;
13 | }
14 |
15 | .goods-list{
16 | border-top: 1rpx solid #e3e3e3;
17 | padding-bottom: 100rpx;
18 | }
19 |
20 | .goods-item{
21 | background: #fff;
22 | border-bottom: 1rpx solid #e3e3e3;
23 | margin-bottom: 20rpx;
24 | }
25 |
26 | .goods-item .score-row{
27 | padding: 24rpx 20rpx;
28 | border-bottom: 1rpx #eee solid;
29 |
30 | }
31 |
32 | .goods-item .score-row .goods-pic{
33 | width: 72rpx;
34 | height: 72rpx;
35 | }
36 |
37 | .goods-item .score-row .score-item image{
38 | width: 40rpx;
39 | height: 40rpx;
40 | margin-right: 20rpx;
41 | }
42 |
43 | .goods-item .score-row .score-item.active{
44 | color: #ff4544;
45 | }
46 |
47 | .goods-item .content-row{
48 | padding: 24rpx 20rpx;
49 | }
50 |
51 | .goods-item .form-label{
52 | margin-right: 24rpx;
53 | }
54 |
55 | .goods-item textarea{
56 | width: 100%;
57 | height: 200rpx;
58 | padding: 0 0;
59 | }
60 |
61 | .goods-item .pic-list{
62 | padding: 24rpx 20rpx;
63 | margin-left: -20rpx;
64 | margin-top: -20rpx;
65 | }
66 |
67 | .image-picker{
68 | font-size: 0;
69 | }
70 | .image-picker,.image-preview{
71 | display: inline-block;
72 | margin-left: 20rpx;
73 | margin-top: 20rpx;
74 | }
75 | .image-preview {
76 | position: relative;
77 | }
78 | .image-preview .image-del{
79 | position: absolute;
80 | top:-15rpx;
81 | right: -15rpx;
82 | height: 50rpx;
83 | width: 50rpx;
84 | background: #ff4544;
85 | color: #fff;
86 | font-weight: bolder;
87 | border-radius: 999rpx;
88 | font-size: 9pt;
89 | box-shadow: 0 1rpx 2rpx rgba(0,0,0,.2);
90 | z-index: 999;
91 | }
--------------------------------------------------------------------------------
/pages/pt/order-details/order-details.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "订单详情"
3 | }
--------------------------------------------------------------------------------
/pages/pt/order-refund-detail/order-refund-detail.js:
--------------------------------------------------------------------------------
1 | // pages/order-refund-detail/order-refund-detail.js
2 | var api = require('../../../api.js');
3 | var app = getApp();
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {
10 | order_refund: null,
11 | },
12 |
13 | /**
14 | * 生命周期函数--监听页面加载
15 | */
16 | onLoad: function (options) {
17 | app.pageOnLoad(this);
18 |
19 | var page = this;
20 |
21 | wx.showLoading({
22 | title: "正在加载",
23 | });
24 | app.request({
25 | url: api.group.order.refund_detail,
26 | data: {
27 | order_refund_id: options.id,
28 | },
29 | success: function (res) {
30 | if (res.code == 0) {
31 | page.setData({
32 | order_refund: res.data,
33 | });
34 | }
35 | },
36 | complete: function () {
37 | wx.hideLoading();
38 | }
39 | });
40 | },
41 | viewImage: function (e) {
42 | var page = this;
43 | var index = e.currentTarget.dataset.index;
44 | wx.previewImage({
45 | current: page.data.order_refund.refund_pic_list[index],
46 | urls: page.data.order_refund.refund_pic_list,
47 | });
48 | },
49 | /**
50 | * 生命周期函数--监听页面初次渲染完成
51 | */
52 | onReady: function () {
53 |
54 | },
55 |
56 | /**
57 | * 生命周期函数--监听页面显示
58 | */
59 | onShow: function () {
60 |
61 | },
62 |
63 | /**
64 | * 生命周期函数--监听页面隐藏
65 | */
66 | onHide: function () {
67 |
68 | },
69 |
70 | /**
71 | * 生命周期函数--监听页面卸载
72 | */
73 | onUnload: function () {
74 |
75 | },
76 | })
--------------------------------------------------------------------------------
/pages/pt/order-refund-detail/order-refund-detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "售后单详情"
3 | }
--------------------------------------------------------------------------------
/pages/pt/order-refund-detail/order-refund-detail.wxss:
--------------------------------------------------------------------------------
1 | /* pages/order-refund-detail/order-refund-detail.wxss */
2 | .data-row{
3 | padding: 28rpx 24rpx;
4 | border-top: 1rpx solid #e3e3e3;
5 | }
6 | .pic-list{
7 | margin-left: -20rpx;
8 | margin-top: -20rpx;
9 | }
10 | .pic-list image{
11 | margin-left: 20rpx;
12 | margin-top: 20rpx;
13 | }
--------------------------------------------------------------------------------
/pages/pt/order-refund/order-refund.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "申请售后"
3 | }
--------------------------------------------------------------------------------
/pages/pt/order-refund/order-refund.wxss:
--------------------------------------------------------------------------------
1 | /* /pages/order-refund/order-refund.wxss */
2 | .goods-info{
3 | padding: 30rpx 24rpx;
4 | border-top: 1rpx solid #e3e3e3;
5 | }
6 |
7 | .switch-tab{
8 | border-bottom: 1rpx solid #e3e3e3;
9 | }
10 |
11 | .switch-tab text{
12 | height: 100rpx;
13 | border-bottom: 5rpx solid transparent;
14 | }
15 |
16 | .switch-tab text.active{
17 | border-bottom-color: #ff4544;
18 | color: #ff4544;
19 | }
20 |
21 | .switch-body{
22 | display: none;
23 | }
24 |
25 | .switch-body.active{
26 | display: block;
27 | }
28 |
29 | .form-row{
30 | padding: 28rpx 24rpx;
31 | }
32 |
33 | .form-row .form-label{
34 | white-space: nowrap;
35 | margin-right: 32rpx;
36 | }
37 |
38 | .form-row textarea{
39 | height: 120rpx;
40 | }
41 |
42 | .refund-price{
43 | color: #ff4544;
44 | }
45 | .image-list{
46 | margin-left: -20rpx;
47 | margin-top: -20rpx;
48 | }
49 | .image-picker{
50 | font-size: 0;
51 | }
52 | .image-picker,.image-preview{
53 | display: inline-block;
54 | margin-left: 20rpx;
55 | margin-top: 20rpx;
56 | }
57 | .image-preview {
58 | position: relative;
59 | }
60 | .image-preview .image-del{
61 | position: absolute;
62 | top:-15rpx;
63 | right: -15rpx;
64 | height: 50rpx;
65 | width: 50rpx;
66 | background: #ff4544;
67 | color: #fff;
68 | font-weight: bolder;
69 | border-radius: 999rpx;
70 | font-size: 9pt;
71 | box-shadow: 0 1rpx 2rpx rgba(0,0,0,.2);
72 | }
73 |
74 | .submit-btn{
75 | position: fixed;
76 | bottom: 0;
77 | height: 100rpx;
78 | background: #ff4544;
79 | color: #fff;
80 | width: 100%;
81 | visibility: hidden;
82 | }
83 |
84 | .submit-btn.active{
85 | visibility: visible;
86 | }
--------------------------------------------------------------------------------
/pages/pt/order-submit/order-submit.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "确认订单"
3 | }
--------------------------------------------------------------------------------
/pages/pt/order/order.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我的拼团"
3 | }
--------------------------------------------------------------------------------
/pages/pt/search/search.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "搜索",
3 | "backgroundColor": "#f7f7f7"
4 | }
--------------------------------------------------------------------------------
/pages/quick-purchase/index/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "快速购买"
3 | }
--------------------------------------------------------------------------------
/pages/recharge/recharge.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "充值"
3 | }
--------------------------------------------------------------------------------
/pages/recharge/recharge.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 充值金额
4 |
5 |
6 |
7 |
8 | {{item.pay_price}}
9 | 送{{item.send_price}}
10 |
11 |
12 | {{item.pay_price}}
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | 立即充值
27 |
--------------------------------------------------------------------------------
/pages/recharge/recharge.wxss:
--------------------------------------------------------------------------------
1 | /* pages/recharge/recharge.wxss */
2 | .info {
3 | width: 100%;
4 | height: 100%;
5 | background-color: #fff;
6 | padding: 0 12rpx;
7 | border-top: 1rpx solid #e2e2e2;
8 | }
9 |
10 | .info-t {
11 | color: #999;
12 | margin: 24rpx 12rpx;
13 | }
14 |
15 | .list {
16 | margin-bottom: 72rpx;
17 | flex-wrap: wrap;
18 | }
19 |
20 | .one {
21 | width: 218rpx;
22 | /* height: 110rpx; */
23 | border: 1rpx solid #ccc;
24 | border-radius: 16rpx;
25 | padding: 15rpx 0;
26 | margin-right: 12rpx;
27 | margin-left: 12rpx;
28 | margin-bottom: 24rpx;
29 | }
30 |
31 | .one-1 {
32 | color: #666;
33 | }
34 |
35 | .one-2 {
36 | color: #999;
37 | font-size: 9pt;
38 | }
39 |
40 | .one.active .one-1 {
41 | color: #ff4544;
42 | }
43 |
44 | .one.active .one-2 {
45 | color: #ff4544;
46 | }
47 |
48 | .recharge-btn {
49 | width: 702rpx;
50 | height: 96rpx;
51 | margin: 96rpx 12rpx 0 12rpx;
52 | border-radius: 48rpx;
53 | background-color: #ff4544;
54 | color: #fff;
55 | }
56 |
57 | .r-input {
58 | /* border: 1rpx solid #ccc; */
59 | /* margin-bottom: 40rpx; */
60 | height: 88rpx;
61 | border-radius: 16rpx;
62 | color: #666;
63 | line-height: 88rpx;
64 | padding: 0 28rpx;
65 | /* font-size: 13pt; */
66 | }
67 |
68 | .r-input-p {
69 | line-height: 88rpx;
70 | color: #ddd;
71 | }
72 |
73 | .active {
74 | border-color: #ff4544;
75 | }
--------------------------------------------------------------------------------
/pages/search/search.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "搜索"
3 | }
--------------------------------------------------------------------------------
/pages/share-money/share-money.js:
--------------------------------------------------------------------------------
1 | // pages/share-money/share-money.js
2 | var api = require('../../api.js');
3 | var app = getApp();
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {
10 | block:false,
11 | active:'',
12 | total_price:0,
13 | price:0,
14 | cash_price:0,
15 | un_pay:0,
16 | },
17 |
18 | /**
19 | * 生命周期函数--监听页面加载
20 | */
21 | onLoad: function (options) {
22 | app.pageOnLoad(this);
23 | },
24 |
25 | /**
26 | * 生命周期函数--监听页面初次渲染完成
27 | */
28 | onReady: function () {
29 |
30 | },
31 |
32 | /**
33 | * 生命周期函数--监听页面显示
34 | */
35 | onShow: function () {
36 |
37 | var page = this;
38 | var share_setting = wx.getStorageSync("share_setting");
39 | page.setData({
40 | share_setting: share_setting,
41 | });
42 | wx.showLoading({
43 | title: "正在加载",
44 | mask: true,
45 | });
46 | app.request({
47 | url: api.share.get_price,
48 | success: function (res) {
49 | if (res.code == 0) {
50 | page.setData({
51 | total_price: res.data.price.total_price,
52 | price: res.data.price.price,
53 | cash_price: res.data.price.cash_price,
54 | un_pay: res.data.price.un_pay
55 | });
56 | }
57 | },
58 | complete: function () {
59 | wx.hideLoading();
60 | }
61 | });
62 | },
63 | tapName:function(e){
64 | var page = this;
65 | var active = '';
66 | if (!page.data.block){
67 | active = 'active';
68 | }
69 | page.setData({
70 | block:!page.data.block,
71 | active: active
72 | });
73 |
74 | },
75 |
76 | /**
77 | * 生命周期函数--监听页面隐藏
78 | */
79 | onHide: function () {
80 |
81 | },
82 |
83 | /**
84 | * 生命周期函数--监听页面卸载
85 | */
86 | onUnload: function () {
87 |
88 | },
89 |
90 | /**
91 | * 页面相关事件处理函数--监听用户下拉动作
92 | */
93 | onPullDownRefresh: function () {
94 |
95 | },
96 |
97 | /**
98 | * 页面上拉触底事件的处理函数
99 | */
100 | onReachBottom: function () {
101 |
102 | },
103 | })
--------------------------------------------------------------------------------
/pages/share-money/share-money.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "分销佣金"
3 | }
--------------------------------------------------------------------------------
/pages/share-money/share-money.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 累计佣金
5 |
6 | {{total_price}}
7 | 元
8 |
9 |
10 |
11 |
12 | 提现明细
13 |
14 |
15 |
16 |
17 |
18 | 可提现佣金
19 | {{price}}元
20 |
21 |
22 |
23 |
24 | 已提现佣金
25 | {{cash_price}}元
26 |
27 |
28 |
29 | 待打款佣金
30 | {{un_pay}}元
31 |
32 |
33 |
34 | 用户须知
35 |
36 |
37 |
38 |
39 |
40 |
41 | {{share_setting.content}}
42 |
43 |
44 |
49 |
--------------------------------------------------------------------------------
/pages/share-order/share-order.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "分销订单"
3 | }
--------------------------------------------------------------------------------
/pages/share-qrcode/share-qrcode.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "二维码"
3 | }
--------------------------------------------------------------------------------
/pages/share-qrcode/share-qrcode.wxml:
--------------------------------------------------------------------------------
1 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/pages/share-qrcode/share-qrcode.wxss:
--------------------------------------------------------------------------------
1 | /* pages/share-qrcode/share-qrcode.wxss */
2 | /* .info{
3 | width: 100%;
4 | height: 100%;
5 | background-image: url('/images/img-share-qrcodeBg.png');
6 | background-size:100% 100%;
7 | padding-top: 290rpx;
8 | }
9 | .info .info-title{
10 | width: 100%;
11 | font-size: 18pt;
12 | }
13 | .info .info-title .info-left{
14 | margin: 0 34rpx 0 30rpx;
15 | }
16 | .info-title .info-left .info-img{
17 | width: 180rpx;
18 | height: 180rpx;
19 | background-color: #fff;
20 | border-radius: 10rpx;
21 | text-align: center;
22 | }
23 | .info-title .info-left .info-img .img{
24 | width: 168rpx;
25 | height: 168rpx;
26 | margin-top: 6rpx;
27 | }
28 | .info-title .info-right{
29 | margin-top: 38rpx;
30 | color: #fff;
31 | font-weight: bold;
32 | }
33 | .purple{
34 | color: #6400e0;
35 | }
36 | .info .info-content{
37 | margin-top: 56rpx;
38 | width: 100%;
39 | }
40 | .info-content .info-label{
41 | width: 100%;
42 | color:#fff;
43 | font-weight: bold;
44 | font-size: 15pt;
45 | }
46 | .info-content .info-qrcode{
47 | width: 420rpx;
48 | height: 420rpx;
49 | padding: 24rpx;
50 | background-color: #fff;
51 | border: 1rpx #ff4544 solid;
52 | }
53 | .info-content .info-qrcode .qrcode{
54 | width: 374rpx;
55 | height: 374rpx;
56 | } */
57 |
58 | .i-qrcode{
59 | width: 100%;
60 | height: 100%;
61 | }
62 | .i-qrcode .img{
63 | width: 100%;
64 | height: 100%;
65 | background-size: 100% 100%;
66 | }
--------------------------------------------------------------------------------
/pages/share-team/share-team.js:
--------------------------------------------------------------------------------
1 | // pages/share-team/share-team.js
2 | var api = require('../../api.js');
3 | var app = getApp();
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {
10 | status:1,
11 | first_count:0,
12 | second_count:0,
13 | third_count:0,
14 | list:Array
15 | },
16 |
17 | /**
18 | * 生命周期函数--监听页面加载
19 | */
20 | onLoad: function (options) {
21 | app.pageOnLoad(this);
22 | var page = this;
23 | var share_setting = wx.getStorageSync("share_setting");
24 | page.setData({
25 | share_setting: share_setting,
26 | });
27 | page.GetList(options.status || 1);
28 | },
29 | GetList: function (status) {
30 | var page = this;
31 | page.setData({
32 | status: parseInt(status || 1),
33 | });
34 | wx.showLoading({
35 | title: "正在加载",
36 | mask: true,
37 | });
38 | app.request({
39 | url: api.share.get_team,
40 | data: {
41 | status: page.data.status,
42 | },
43 | success: function (res) {
44 | page.setData({
45 | first_count: res.data.first,
46 | second_count: res.data.second,
47 | third_count: res.data.third,
48 | list: res.data.list,
49 | });
50 | },
51 | complete: function () {
52 | wx.hideLoading();
53 | }
54 | });
55 | },
56 |
57 | /**
58 | * 生命周期函数--监听页面初次渲染完成
59 | */
60 | onReady: function () {
61 |
62 | },
63 |
64 | /**
65 | * 生命周期函数--监听页面显示
66 | */
67 | onShow: function () {
68 |
69 | },
70 |
71 | /**
72 | * 生命周期函数--监听页面隐藏
73 | */
74 | onHide: function () {
75 |
76 | },
77 |
78 | /**
79 | * 生命周期函数--监听页面卸载
80 | */
81 | onUnload: function () {
82 |
83 | },
84 |
85 | /**
86 | * 页面相关事件处理函数--监听用户下拉动作
87 | */
88 | onPullDownRefresh: function () {
89 |
90 | },
91 |
92 | /**
93 | * 页面上拉触底事件的处理函数
94 | */
95 | onReachBottom: function () {
96 |
97 | }
98 | })
--------------------------------------------------------------------------------
/pages/share-team/share-team.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我的团队"
3 | }
--------------------------------------------------------------------------------
/pages/share/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "分销中心"
3 | }
--------------------------------------------------------------------------------
/pages/share/index.wxss:
--------------------------------------------------------------------------------
1 | /* pages/share/index.wxss */
2 |
3 | .info {
4 | width: 100%;
5 | background-color: #ff4544;
6 | padding: 20rpx 24rpx 0 24rpx;
7 | color: #fff;
8 | }
9 |
10 | .info .info-title {
11 | border-bottom: 1rpx #ffa2a2 solid;
12 | padding-bottom: 20rpx;
13 | }
14 |
15 | .info .info-title .info-img {
16 | width: 120rpx;
17 | height: 120rpx;
18 | border-radius: 120rpx;
19 | }
20 |
21 | .info .info-block {
22 | padding: 18rpx 40rpx;
23 | }
24 |
25 | .info .info-block .info-up {
26 | font-size: 13pt;
27 | margin-bottom: 30rpx;
28 | }
29 |
30 | /* .info-blod {
31 | font-weight: bold;
32 | } */
33 |
34 | .info-big {
35 | font-size: 13pt;
36 | }
37 |
38 | .info .info-content {
39 | width: 100%;
40 | padding-top: 22rpx;
41 | }
42 |
43 | .info .info-content .info-left {
44 | width: 50%;
45 | }
46 |
47 | .info .info-content .info-right {
48 | width: 50%;
49 | margin-top: 24rpx;
50 | }
51 |
52 | .info .info-content .info-left .info-label {
53 | padding-bottom: 40rpx;
54 | }
55 |
56 | .info-label .info-first {
57 | margin-bottom: 24rpx;
58 | }
59 |
60 | .info-right .info-btn {
61 | width: 120rpx;
62 | height: 70rpx;
63 | border: 1rpx #e3e3e3 solid;
64 | border-radius: 10rpx;
65 | float: right;
66 | text-align: center;
67 | line-height: 70rpx;
68 | font-size: 13pt;
69 | }
70 | .list{
71 | background-color: #ffffff;
72 | width: 100%;
73 | }
74 | .list .border-bottom{
75 | border-bottom: 1rpx #e3e3e3 solid;
76 | }
77 | .list .border-between{
78 | border-left: 1rpx #e3e3e3 solid;
79 | border-right: 1rpx #e3e3e3 solid;
80 | }
81 | .list .item{
82 | width: 33.3333%;
83 | height: 220rpx;
84 | }
85 | .list .item .list-img{
86 | width: 100%;
87 | margin-top: 40rpx;
88 | text-align: center;
89 | }
90 | .list .item .list-img .img{
91 | width: 50rpx;
92 | height: 50rpx;
93 | }
94 | .list .item .list-content{
95 | color: #666666;
96 | margin-top: 13rpx;
97 | }
98 | .list-red{
99 | color:#ff4544;
100 | }
--------------------------------------------------------------------------------
/pages/shop-detail/shop-detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "店铺详情"
3 | }
--------------------------------------------------------------------------------
/pages/shop-detail/shop-detail.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | {{shop.name}}
14 |
15 | 评分:
16 |
17 |
18 |
19 |
20 |
21 |
22 | 营业时间:{{shop.shop_time}}
23 |
24 |
25 |
26 | 电话:{{shop.mobile}}
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 | {{shop.address}}
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 | 店铺介绍
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/pages/shop-detail/shop-detail.wxss:
--------------------------------------------------------------------------------
1 | /* pages/shop-detail/shop-detail.wxss */
2 | @import "../../wxParse/wxParse.wxss";
3 |
4 | .banner {
5 | width: 100%;
6 | height: 360rpx;
7 | }
8 |
9 | .block {
10 | width: 100%;
11 | background-color: #fff;
12 | border-bottom: 1rpx solid #e2e2e2;
13 | color: #353535;
14 | }
15 |
16 | .block:last-child {
17 | border: 0;
18 | }
19 |
20 | .block_1 {
21 | padding: 24rpx 24rpx 30rpx 24rpx;
22 | }
23 |
24 | .title {
25 | color: #353535;
26 | font-size: 13pt;
27 | }
28 |
29 | .middle {
30 | margin: 24rpx 0 18rpx 0;
31 | }
32 |
33 | .block_2{
34 | padding: 34rpx 0 34rpx 24rpx;
35 | }
36 |
37 | .shop-img {
38 | width: 120rpx;
39 | padding: 16rpx 0;
40 | }
41 |
42 | .shop-v{
43 | width: 100%;
44 | height: 40rpx;
45 | border-left: 1rpx solid #e2e2e2;
46 | }
47 |
48 | .shop-img image {
49 | width: 40rpx;
50 | height: 40rpx;
51 | }
52 |
53 | .block_3{
54 | width: 100%;
55 | height: 72rpx;
56 | padding: 0 24rpx;
57 | color: #353535;
58 | background-color: #fff;
59 | margin-top: 20rpx;
60 | border-bottom: 1rpx solid #e2e2e2;
61 | }
62 |
63 | .detail{
64 | padding: 24rpx;
65 | background-color: #fff;
66 | }
67 |
--------------------------------------------------------------------------------
/pages/shop/shop.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "附近",
3 | "enablePullDownRefresh": true
4 | }
--------------------------------------------------------------------------------
/pages/shop/shop.wxss:
--------------------------------------------------------------------------------
1 | /* pages/shop/shop.wxss */
2 |
3 | .search {
4 | width: 100%;
5 | height: 90rpx;
6 | }
7 |
8 | .search-input {
9 | width: 100%;
10 | height: 56rpx;
11 | border-radius: 10rpx;
12 | margin: 0 24rpx;
13 | background-color: #fff;
14 | }
15 |
16 | .input-pp {
17 | /* text-align: center; */
18 | line-height: 56rpx;
19 | height: 100%;
20 | }
21 |
22 | .input {
23 | padding-left: 30rpx;
24 | line-height: 56rpx;
25 | height: 100%;
26 | }
27 |
28 | .search-btn {
29 | background-color: #ddd;
30 | border-radius: 0 10rpx 10rpx 0;
31 | padding: 0 20rpx;
32 | }
33 |
34 | .shop-one {
35 | background-color: #fff;
36 | width: 100%;
37 | padding: 26rpx 24rpx;
38 | border-bottom: 1rpx solid #e2e2e2;
39 | color: #707070;
40 | }
41 |
42 | .shop-one:last-child {
43 | border: 0;
44 | }
45 |
--------------------------------------------------------------------------------
/pages/test/test.js:
--------------------------------------------------------------------------------
1 | // pages/test/test.js
2 | var api = require('../../api.js');
3 | var app = getApp();
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {},
10 |
11 | formSubmit: function (e) {
12 | console.log(e);
13 | app.saveFormId(e.detail.formId);
14 |
15 | },
16 |
17 | /**
18 | * 生命周期函数--监听页面加载
19 | */
20 | onLoad: function (options) {
21 | },
22 | /**
23 | * 生命周期函数--监听页面初次渲染完成
24 | */
25 | onReady: function () {
26 |
27 | },
28 |
29 | /**
30 | * 生命周期函数--监听页面显示
31 | */
32 | onShow: function () {
33 |
34 | },
35 |
36 | /**
37 | * 生命周期函数--监听页面隐藏
38 | */
39 | onHide: function () {
40 |
41 | },
42 |
43 | /**
44 | * 生命周期函数--监听页面卸载
45 | */
46 | onUnload: function () {
47 |
48 | },
49 |
50 | /**
51 | * 页面相关事件处理函数--监听用户下拉动作
52 | */
53 | onPullDownRefresh: function () {
54 |
55 | },
56 |
57 | /**
58 | * 页面上拉触底事件的处理函数
59 | */
60 | onReachBottom: function () {
61 |
62 | },
63 |
64 | /**
65 | * 用户点击右上角分享
66 | */
67 | onShareAppMessage: function () {
68 |
69 | },
70 | send:function(){
71 | app.request({
72 | url:'http://cje.tunnel.qydev.com/we7offical/addons/zjhj_mall/core/web/index.php?store_id=1&r=api/user/test',
73 | success:function(res){
74 | console.log(11);
75 | }
76 | });
77 | }
78 | })
--------------------------------------------------------------------------------
/pages/test/test.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/pages/test/test.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 200×200
5 |
6 |
7 | 400×400
8 |
9 |
10 | 50
11 |
12 |
13 |
14 | 目前可以明确的是,全面屏(或者称为屏占比较高设计)的智能手机成为下一步百花争艳的最大亮点,已经是板上钉钉。那么在2017年结束之前,会有哪些全面屏手机成为消费者的最佳选择之一呢?我们不妨盘点一下那些已经上市或者即将亮相的产品。
15 |
16 |
17 |
18 | pages/test/test.wxml
19 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
31 |
32 |
33 |
34 |
35 |
36 | 客服
37 |
--------------------------------------------------------------------------------
/pages/test/test.wxss:
--------------------------------------------------------------------------------
1 | /* pages/test/test.wxss */
2 | .over-test{
3 | -webkit-line-clamp: 2;
4 | display: -webkit-box;
5 | -webkit-box-orient: vertical;
6 | overflow: hidden;
7 | }
8 | .over-test.active{
9 | overflow: visible;
10 | display: block;
11 | }
--------------------------------------------------------------------------------
/pages/topic-list/topic-list.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "专题",
3 | "enablePullDownRefresh": true
4 | }
--------------------------------------------------------------------------------
/pages/topic/topic.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "专题详情"
3 | }
--------------------------------------------------------------------------------
/pages/topic/topic.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{title}}
4 |
5 | {{addtime}}
6 | {{read_count}}
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | 已收藏
19 |
20 |
21 |
22 | 收藏
23 |
24 |
25 |
26 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/pages/topic/topic.wxss:
--------------------------------------------------------------------------------
1 | /* pages/topic/topic.wxss */
2 | @import "../../wxParse/wxParse.wxss";
3 | .body{
4 | background: #fff;
5 | padding: 32rpx 24rpx 110rpx;
6 | overflow-x: hidden;
7 | border-top: 1rpx solid #e3e3e3;
8 | }
9 | .body .title{
10 | font-weight: bold;
11 | margin-bottom: 42rpx;
12 | }
13 | .body .info{
14 | font-size: 9pt;
15 | color: #888;
16 | margin-bottom: 34rpx;
17 | }
18 |
19 | .bar{
20 | position: fixed;
21 | z-index: 10;
22 | bottom: 0;
23 | left: 0;
24 | width: 100%;
25 | background: #fff;
26 | border-top: 1rpx solid #e3e3e3;
27 | }
28 |
29 | .bar .btn{
30 | color: #555;
31 | font-size: 9pt;
32 | text-align: center;
33 | padding: 10rpx 30rpx;
34 | display: inline-block;
35 | background: none;
36 | line-height: inherit;
37 | }
38 |
39 | .bar .btn:after{
40 | display: none;
41 | }
42 |
43 | .bar .btn image{
44 | width: 42rpx;
45 | height: 42rpx;
46 | display: block;
47 | margin: 0 auto 10rpx;
48 | }
49 | .wxParse-p{
50 | padding-left: 0;
51 | padding-right: 0;
52 | }
53 |
54 | .goods-link{
55 | overflow: hidden;
56 | height: 220rpx !important;
57 | position: relative;
58 | margin-bottom: 10rpx;
59 | }
60 |
61 | .goods-link image{
62 | width: 184rpx !important;
63 | height: 184rpx !important;
64 | background: #fff;
65 | top: 16rpx;
66 | left: 16rpx;
67 | position: absolute;
68 | display: block;
69 | }
70 |
71 | .goods-link .goods-info{
72 | padding: 32rpx 24rpx 24rpx 232rpx !important;
73 | height: 100%;
74 | }
75 |
76 | .goods-link .goods-name{
77 | -webkit-line-clamp: 2;
78 | display: -webkit-box;
79 | -webkit-box-orient: vertical;
80 | overflow: hidden;
81 | margin-bottom: 16rpx;
82 | }
83 |
84 | .goods-link .buy-btn{
85 | display:inline-block;
86 | float:right;
87 | font-size: 9pt !important;
88 | border:1rpx solid #ff4544 !important;
89 | color:#ff4544;
90 | border-radius: 5rpx !important;
91 | padding: 5rpx 10rpx !important;
92 |
93 | }
--------------------------------------------------------------------------------
/pages/user/user.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我的"
3 | }
--------------------------------------------------------------------------------
/pages/video/video-list.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "视频专区"
3 | }
--------------------------------------------------------------------------------
/pages/video/video-list.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
12 |
14 |
16 |
17 | {{item.title||"未命名"}}
18 | {{item.content || "暂无信息"}}
19 |
21 | {{item.time}}
22 |
23 |
25 | 展开
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/pages/web/web.js:
--------------------------------------------------------------------------------
1 | // pages/web/web.js
2 | var app = getApp();
3 | Page({
4 |
5 | /**
6 | * 页面的初始数据
7 | */
8 | data: {
9 | url: "",
10 | },
11 |
12 | /**
13 | * 生命周期函数--监听页面加载
14 | */
15 | onLoad: function (options) {
16 | app.pageOnLoad(this);
17 | if (!wx.canIUse("web-view")) {
18 | wx.showModal({
19 | title: "提示",
20 | content: "您的微信版本过低,无法打开本页面,请升级微信至最新版。",
21 | showCancel: false,
22 | success: function (res) {
23 | if (res.confirm) {
24 | wx.navigateBack({
25 | delta: 1,
26 | });
27 | }
28 | }
29 | });
30 | return;
31 | }
32 | console.log(decodeURIComponent(options.url));
33 | this.setData({
34 | url: decodeURIComponent(options.url),
35 | });
36 | },
37 |
38 | /**
39 | * 生命周期函数--监听页面初次渲染完成
40 | */
41 | onReady: function () {
42 |
43 | },
44 |
45 | /**
46 | * 生命周期函数--监听页面显示
47 | */
48 | onShow: function () {
49 |
50 | },
51 |
52 | /**
53 | * 生命周期函数--监听页面隐藏
54 | */
55 | onHide: function () {
56 |
57 | },
58 |
59 | /**
60 | * 生命周期函数--监听页面卸载
61 | */
62 | onUnload: function () {
63 |
64 | },
65 |
66 | /**
67 | * 用户点击右上角分享
68 | */
69 | onShareAppMessage: function () {
70 |
71 | }
72 | });
--------------------------------------------------------------------------------
/pages/web/web.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/web/web.wxml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/pages/web/web.wxss:
--------------------------------------------------------------------------------
1 | /* pages/web/web.wxss */
--------------------------------------------------------------------------------
/siteinfo.js:
--------------------------------------------------------------------------------
1 | var siteinfo = {
2 | 'uniacid': '-1',
3 | 'acid': '-1',
4 | 'version': '1.0.0',
5 | 'siteroot': 'https://www.abc.com/app/index.php',
6 | };
7 | module.exports = siteinfo;
--------------------------------------------------------------------------------
/utils.js:
--------------------------------------------------------------------------------
1 | var utils = {
2 | scene_decode: function (scene) {
3 | var _str = scene + "";
4 | var _str_list = _str.split(",");
5 | var res = {};
6 | for (var i in _str_list) {
7 | var _tmp_str = _str_list[i];
8 | var _tmp_str_list = _tmp_str.split(":");
9 | if (_tmp_str_list.length > 0&&_tmp_str_list[0]) {
10 | res[_tmp_str_list[0]] = _tmp_str_list[1] || null;
11 | }
12 | }
13 | return res;
14 | }
15 | };
16 | module.exports = utils;
--------------------------------------------------------------------------------
/utils/utils.js:
--------------------------------------------------------------------------------
1 | function formatTime(date) {
2 | var year = date.getFullYear()
3 | var month = date.getMonth() + 1
4 | var day = date.getDate()
5 |
6 | var hour = date.getHours()
7 | var minute = date.getMinutes()
8 | var second = date.getSeconds()
9 |
10 |
11 | return [year, month, day].map(formatNumber).join('/') + ' ' + [hour, minute, second].map(formatNumber).join(':')
12 | }
13 |
14 | function formatData(date) {
15 | var year = date.getFullYear()
16 | var month = date.getMonth() + 1
17 | var day = date.getDate()
18 |
19 | var hour = date.getHours()
20 | var minute = date.getMinutes()
21 | var second = date.getSeconds()
22 |
23 |
24 | return [year, month, day].map(formatNumber).join('-') ;
25 | }
26 |
27 | function formatNumber(n) {
28 | n = n.toString()
29 | return n[1] ? n : '0' + n
30 | }
31 | function objectToUrlParams(obj) {
32 | var str = "";
33 | for (var key in obj) {
34 | str += "&" + key + "=" + obj[key];
35 | }
36 | return str.substr(1);
37 | }
38 | module.exports = {
39 | formatTime: formatTime,
40 | objectToUrlParams: objectToUrlParams,
41 | formatData: formatData,
42 | };
--------------------------------------------------------------------------------