├── .DS_Store
├── LICENSE
├── README.md
├── app.js
├── app.json
├── app.wxss
├── constant
└── urlManger.js
├── dist
└── packages
│ ├── @minui
│ ├── wxc-abnor
│ │ └── dist
│ │ │ ├── config.js
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-avatar
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-badge
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-button
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-cc
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-countdown
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-counter
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-dialog
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-elip
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-flex
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-icon
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-input
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-label
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-list
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-loading
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-loadmore
│ │ └── dist
│ │ │ ├── config.js
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-mask
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-notice
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-panel
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-popup
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-price
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-progress
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-rate
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-search
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-select
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-steps
│ │ └── dist
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ ├── wxc-tab
│ │ └── dist
│ │ │ ├── Event.js
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ ├── index.wxss
│ │ │ ├── label.js
│ │ │ ├── label.json
│ │ │ ├── label.wxml
│ │ │ ├── label.wxss
│ │ │ ├── panel.js
│ │ │ ├── panel.json
│ │ │ ├── panel.wxml
│ │ │ └── panel.wxss
│ └── wxc-toast
│ │ └── dist
│ │ ├── index.js
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.wxss
│ └── @zanui
│ ├── actionsheet
│ ├── index.js
│ ├── index.wxml
│ └── index.wxss
│ ├── badge
│ └── index.wxss
│ ├── btn
│ └── index.wxss
│ ├── capsule
│ ├── index.wxml
│ └── index.wxss
│ ├── card
│ └── index.wxss
│ ├── cell
│ └── index.wxss
│ ├── col
│ └── index.wxss
│ ├── color
│ └── index.wxss
│ ├── common
│ └── helper.js
│ ├── dialog
│ ├── index.js
│ ├── index.wxml
│ └── index.wxss
│ ├── field
│ ├── index.js
│ ├── index.wxml
│ └── index.wxss
│ ├── helper
│ └── index.wxss
│ ├── icon
│ └── index.wxss
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ ├── loadmore
│ ├── index.wxml
│ └── index.wxss
│ ├── noticebar
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
│ ├── panel
│ └── index.wxss
│ ├── popup
│ └── index.wxss
│ ├── row
│ └── index.wxss
│ ├── select
│ ├── index.js
│ ├── index.wxml
│ └── index.wxss
│ ├── stepper
│ ├── index.js
│ ├── index.wxml
│ └── index.wxss
│ ├── steps
│ ├── index.wxml
│ ├── index.wxss
│ └── wxss
│ │ ├── step.wxss
│ │ └── vstep.wxss
│ ├── switch
│ ├── index.js
│ ├── index.wxml
│ └── index.wxss
│ ├── tab
│ ├── index.js
│ ├── index.wxml
│ └── index.wxss
│ ├── tag
│ └── index.wxss
│ ├── toast
│ ├── index.js
│ ├── index.wxml
│ └── index.wxss
│ └── toptips
│ ├── index.js
│ ├── index.wxml
│ └── index.wxss
├── images
├── .DS_Store
├── 0.5star.png
├── 0star.png
├── 1star.png
├── add-addr.png
├── addr-active.png
├── addr-edit.png
├── addr-line.png
├── goodsDescription
│ ├── buy2add1red.jpg
│ └── fresh.png
├── gou-red.png
├── gou.png
├── ico-add-addr.png
├── ico-addr.png
├── icon-cart.png
├── location_red_blue.png
├── more
│ ├── backGround.png
│ ├── close.png
│ ├── confirm-word1.png
│ ├── del.png
│ ├── down-thin.png
│ ├── down.png
│ ├── down_w.png
│ ├── enter.png
│ ├── left_g.png
│ ├── loading.gif
│ ├── noticePic.png
│ ├── opensmall.png
│ ├── right_g.png
│ ├── run.png
│ ├── search_pic.png
│ ├── timg.jpg
│ ├── title8.png
│ ├── up.png
│ └── wave.png
├── nav
│ ├── cart-off.png
│ ├── cart-on.png
│ ├── cart-on1.png
│ ├── classification-off.png
│ ├── classification-on.png
│ ├── find-off.png
│ ├── find-on.png
│ ├── home-off.png
│ ├── home-on.png
│ ├── icon-aixin.png
│ ├── icon-aixin1.png
│ ├── my-off.png
│ ├── my-on.png
│ ├── order-off.png
│ ├── order-on.png
│ ├── select-off.png
│ └── select-on.png
├── order-details
│ ├── arrow-right.png
│ ├── icon-address.png
│ ├── icon-ddfh.png
│ ├── icon-ddfk.png
│ ├── icon-ddgb.png
│ ├── icon-ddsh.png
│ ├── icon-jycg.png
│ └── icon-wuliu.png
└── popup-close.png
├── log.txt
├── min.config.json
├── package.json
├── pages
├── .DS_Store
├── address-add
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── authorize
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── choiceness
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── classification
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── finder
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── goods-details
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── kanjia
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── notice
│ ├── show.js
│ ├── show.json
│ ├── show.wxml
│ └── show.wxss
├── order-details
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── recharge
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── search
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── select-address
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── shop-cart
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── start
│ ├── start.js
│ ├── start.json
│ ├── start.wxml
│ └── start.wxss
├── to-pay-order
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── ucenter
│ ├── .DS_Store
│ ├── feedback
│ │ ├── feedback.js
│ │ ├── feedback.json
│ │ ├── feedback.wxml
│ │ └── feedback.wxss
│ ├── footprint
│ │ ├── footprint.js
│ │ ├── footprint.json
│ │ ├── footprint.wxml
│ │ └── footprint.wxss
│ ├── index
│ │ ├── index.js
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.wxss
│ ├── location
│ │ ├── format-location.js
│ │ ├── location.js
│ │ ├── location.json
│ │ ├── location.wxml
│ │ └── location.wxss
│ ├── mycoupons
│ │ ├── index.js
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.wxss
│ └── order-list
│ │ ├── index.js
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.wxss
├── withdraw
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
└── wuliu
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── project.config.json
├── templates
├── .DS_Store
├── canvas-clock
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── goods-item
│ ├── index.wxml
│ └── index.wxss
├── recommend-goods-item
│ ├── recommend-goods-item.wxml
│ └── recommend-goods-item.wxss
├── starscore
│ ├── starscore.js
│ └── starscore.wxml
├── template-cart
│ ├── template-cart.wxml
│ └── template-cart.wxss
├── wxParse
│ ├── emojis
│ │ ├── 00.gif
│ │ ├── 01.gif
│ │ ├── 02.gif
│ │ ├── 03.gif
│ │ ├── 04.gif
│ │ ├── 05.gif
│ │ ├── 06.gif
│ │ ├── 07.gif
│ │ ├── 08.gif
│ │ ├── 09.gif
│ │ ├── 10.gif
│ │ ├── 100.gif
│ │ ├── 101.gif
│ │ ├── 102.gif
│ │ ├── 103.gif
│ │ ├── 104.gif
│ │ ├── 105.gif
│ │ ├── 106.gif
│ │ ├── 107.gif
│ │ ├── 108.gif
│ │ ├── 109.gif
│ │ ├── 11.gif
│ │ ├── 110.gif
│ │ ├── 111.gif
│ │ ├── 112.gif
│ │ ├── 113.gif
│ │ ├── 114.gif
│ │ ├── 115.gif
│ │ ├── 116.gif
│ │ ├── 117.gif
│ │ ├── 118.gif
│ │ ├── 119.gif
│ │ ├── 12.gif
│ │ ├── 120.gif
│ │ ├── 121.gif
│ │ ├── 122.gif
│ │ ├── 123.gif
│ │ ├── 124.gif
│ │ ├── 125.gif
│ │ ├── 126.gif
│ │ ├── 127.gif
│ │ ├── 128.gif
│ │ ├── 129.gif
│ │ ├── 13.gif
│ │ ├── 130.gif
│ │ ├── 131.gif
│ │ ├── 132.gif
│ │ ├── 133.gif
│ │ ├── 134.gif
│ │ ├── 14.gif
│ │ ├── 15.gif
│ │ ├── 16.gif
│ │ ├── 17.gif
│ │ ├── 18.gif
│ │ ├── 19.gif
│ │ ├── 20.gif
│ │ ├── 21.gif
│ │ ├── 22.gif
│ │ ├── 23.gif
│ │ ├── 24.gif
│ │ ├── 25.gif
│ │ ├── 26.gif
│ │ ├── 27.gif
│ │ ├── 28.gif
│ │ ├── 29.gif
│ │ ├── 30.gif
│ │ ├── 31.gif
│ │ ├── 32.gif
│ │ ├── 33.gif
│ │ ├── 34.gif
│ │ ├── 35.gif
│ │ ├── 36.gif
│ │ ├── 37.gif
│ │ ├── 38.gif
│ │ ├── 39.gif
│ │ ├── 40.gif
│ │ ├── 41.gif
│ │ ├── 42.gif
│ │ ├── 43.gif
│ │ ├── 44.gif
│ │ ├── 45.gif
│ │ ├── 46.gif
│ │ ├── 47.gif
│ │ ├── 48.gif
│ │ ├── 49.gif
│ │ ├── 50.gif
│ │ ├── 51.gif
│ │ ├── 52.gif
│ │ ├── 53.gif
│ │ ├── 54.gif
│ │ ├── 55.gif
│ │ ├── 56.gif
│ │ ├── 57.gif
│ │ ├── 58.gif
│ │ ├── 59.gif
│ │ ├── 60.gif
│ │ ├── 61.gif
│ │ ├── 62.gif
│ │ ├── 63.gif
│ │ ├── 64.gif
│ │ ├── 65.gif
│ │ ├── 66.gif
│ │ ├── 67.gif
│ │ ├── 68.gif
│ │ ├── 69.gif
│ │ ├── 70.gif
│ │ ├── 71.gif
│ │ ├── 72.gif
│ │ ├── 73.gif
│ │ ├── 74.gif
│ │ ├── 75.gif
│ │ ├── 76.gif
│ │ ├── 77.gif
│ │ ├── 78.gif
│ │ ├── 79.gif
│ │ ├── 80.gif
│ │ ├── 81.gif
│ │ ├── 82.gif
│ │ ├── 83.gif
│ │ ├── 84.gif
│ │ ├── 85.gif
│ │ ├── 86.gif
│ │ ├── 87.gif
│ │ ├── 88.gif
│ │ ├── 89.gif
│ │ ├── 90.gif
│ │ ├── 91.gif
│ │ ├── 92.gif
│ │ ├── 93.gif
│ │ ├── 94.gif
│ │ ├── 95.gif
│ │ ├── 96.gif
│ │ ├── 97.gif
│ │ ├── 98.gif
│ │ └── 99.gif
│ ├── html2json.js
│ ├── htmlparser.js
│ ├── showdown.js
│ ├── wxDiscode.js
│ ├── wxParse.js
│ ├── wxParse.wxml
│ └── wxParse.wxss
└── wxSearch
│ ├── images
│ └── wxSearch-icon-delete.png
│ ├── wxSearch.js
│ ├── wxSearch.wxml
│ └── wxSearch.wxss
├── utils
├── city.js
├── pay.js
└── util.js
└── 基于East World数据库管理的甜果果小铺商城样例使用说明.pdf
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/.DS_Store
--------------------------------------------------------------------------------
/app.wxss:
--------------------------------------------------------------------------------
1 | /**app.wxss**/
2 | @import "/dist/packages/@zanui/index.wxss";
3 | .container {
4 | height: 100%;
5 | display: flex;
6 | flex-direction: column;
7 | align-items: center;
8 | justify-content: space-between;
9 | box-sizing: border-box;
10 | }
11 | /*最原始只有上面,下面均为添加过度界面设置*/
12 | .wxParse-img {
13 | display: block !important;
14 | }
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-abnor/dist/index.js:
--------------------------------------------------------------------------------
1 | import Types from './config.js';
2 |
3 | export default Component({
4 | behaviors: [],
5 | properties: {
6 | type: {
7 | type: String,
8 | value: '',
9 | observer(type) {
10 | if (type && Types[type]) {
11 | let image = this.data.image || Types[type].image;
12 | let title = this.data.title || Types[type].title;
13 | let button = this.data.button || Types[type].button;
14 | let tip = this.data.tip || Types[type].tip;
15 | this.setData({
16 | image,
17 | title,
18 | button,
19 | tip
20 | });
21 | }
22 | }
23 | },
24 | image: {
25 | type: String,
26 | value: ''
27 | },
28 | title: {
29 | type: String,
30 | value: ''
31 | },
32 | tip: {
33 | type: String,
34 | value: ''
35 | },
36 | button: {
37 | type: String,
38 | value: ''
39 | }
40 | },
41 | data: {},
42 | methods: {
43 | emitAbnorTap(event) {
44 | let detail = event.detail;
45 | let option = {};
46 | this.triggerEvent('abnortap', detail, option);
47 | }
48 | }
49 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-abnor/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-abnor/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{title}}
5 | {{tip}}
6 | {{button}}
7 |
8 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-abnor/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .abnor {
2 | position: relative;
3 | display: block;
4 | width: 100%;
5 | height: 0;
6 | padding-bottom: 100%;
7 | overflow: hidden
8 | }
9 | .abnor__box {
10 | position: absolute;
11 | display: flex;
12 | top: 0;
13 | bottom: 0;
14 | left: 0;
15 | right: 0;
16 | flex-direction: column;
17 | justify-content: center;
18 | align-items: center
19 | }
20 | .abnor__btn {
21 | min-width: 228rpx;
22 | height: 66rpx;
23 | margin-top: 30rpx;
24 | padding: 0 30rpx;
25 | background-color: #ff5777;
26 | border: 0 none;
27 | border-radius: 2rpx;
28 | color: #fff;
29 | font-size: 28rpx;
30 | text-align: center;
31 | overflow: hidden;
32 | line-height: 66rpx
33 | }
34 | .abnor__btn:active {
35 | background-color: #f5456e
36 | }
37 | .abnor__image {
38 | width: 514rpx;
39 | background: transparent no-repeat;
40 | background-size: cover
41 | }
42 | .abnor__text {
43 | margin-top: 30rpx;
44 | color: #333;
45 | font-size: 28rpx
46 | }
47 | .abnor__tip {
48 | margin-top: 20rpx;
49 | color: #666;
50 | font-size: 24rpx
51 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-avatar/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {
4 | src: {
5 | type: String,
6 | value: ''
7 | },
8 | mold: {
9 | type: String,
10 | value: 'circle'
11 | },
12 | count: {
13 | type: Number,
14 | value: ''
15 | },
16 | approve: {
17 | type: String,
18 | value: ''
19 | }
20 | },
21 | data: {},
22 | methods: {}
23 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-avatar/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "wxc-badge": "../../wxc-badge/dist/index",
4 | "wxc-cc": "../../wxc-cc/dist/index"
5 | },
6 | "component": true
7 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-avatar/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | {{count}}
12 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-avatar/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .avatar {
2 | display: inline-block;
3 | position: relative;
4 | width: 100%;
5 | height: 100%;
6 | }
7 | .avatar__pic {
8 | display: block;
9 | width: 100%;
10 | height: 100%;
11 | position: absolute;
12 | top: 0;
13 | left: 0;
14 | }
15 | .avatar__mold--circle {
16 | border-radius: 50%;
17 | }
18 | .avatar__badge {
19 | position: absolute;
20 | top: -8rpx;
21 | right: -8rpx;
22 | z-index: 1;
23 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-badge/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {
4 | value: {
5 | type: [Number, String],
6 | value: 0
7 | },
8 | max: {
9 | type: [Number, String],
10 | value: 100
11 | },
12 | type: {
13 | type: String,
14 | value: 'number'
15 | },
16 | _system_: {
17 | type: String,
18 | value: ''
19 | }
20 | },
21 | data: {},
22 | methods: {},
23 | attached: function () {
24 | let host = this;
25 | let data = host.data;
26 | let max = parseInt(data.max, 10);
27 | let value = parseInt(data.value, 10);
28 |
29 | // 超出 max 范围显示 max+
30 | if (value && max && value > max) {
31 | host.setData({
32 | value: max + '+'
33 | });
34 | }
35 |
36 | // 设置系统信息
37 | wx.getSystemInfo && wx.getSystemInfo({
38 | success: function (res) {
39 | host.setData({
40 | _system_: !!~res.system.indexOf('Android') ? 'android' : 'ios'
41 | });
42 | }
43 | });
44 | }
45 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-badge/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-badge/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{value && type !== 'dot' ? value : ''}}
4 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-badge/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .badge {
2 | display: inline-block;
3 | min-width: 19rpx;
4 | height: 30rpx;
5 | line-height: 30rpx;
6 | padding: 0 6rpx;
7 | font-size: 22rpx;
8 | text-align: center;
9 | font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif;
10 | text-rendering: optimizeLegibility;
11 | -webkit-font-smoothing: antialiased;
12 | color: #FFF;
13 | background: #f5342f;
14 | border-radius: 18rpx;
15 | overflow: hidden;
16 | }
17 | .badge__system--android {
18 | line-height: 33rpx;
19 | font-size: 21.5rpx;
20 | text-indent: 1rpx;
21 | padding: 0 7rpx 0 6rpx;
22 | }
23 | .badge__type--dot {
24 | min-width: auto;
25 | width: 16rpx;
26 | height: 16rpx;
27 | padding: 0;
28 | border-radius: 50%;
29 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-button/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-button/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-cc/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {},
4 | data: {},
5 | methods: {}
6 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-cc/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "wxc-flex": "../../wxc-flex/dist/index"
4 | },
5 | "component": true
6 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-cc/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-cc/dist/index.wxss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/dist/packages/@minui/wxc-cc/dist/index.wxss
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-countdown/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-countdown/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{item.num}}
4 | {{item.symbol}}
5 |
6 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-countdown/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .countdown {
2 | display: flex;
3 | flex-flow: row nowrap
4 | }
5 | .countdown__item {
6 | display: flex;
7 | flex-flow: row nowrap;
8 | align-items: center
9 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-counter/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "wxc-icon": "../../wxc-icon/dist/index"
4 | },
5 | "component": true
6 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-counter/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {{number}}
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-counter/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .counter {
2 | display:flex;
3 | margin-top:10rpx
4 | }
5 | .counter__number {
6 | box-sizing:border-box;
7 | height: 50rpx;
8 | border: 1rpx solid #dad7d7;
9 | -webkit-border-radius: 4rpx;
10 | border-radius: 4rpx
11 | }
12 | .counter__modify {
13 | display: inline-block;
14 | height: 48rpx;
15 | line-height: 48rpx;
16 | text-align: center;
17 | vertical-align: top;
18 | color: #ff5777;
19 | font-size:0;
20 | padding:0;
21 | background:none
22 | }
23 | .counter__opt {
24 | width: 56rpx
25 | }
26 | .counter__text {
27 | min-width: 58rpx;
28 | border-left: 1rpx solid #dad7d7;
29 | border-right: 1rpx solid #dad7d7;
30 | color: #424242;
31 | font-size: 28rpx;
32 | box-sizing:border-box;
33 | padding: 0 6rpx
34 | }
35 | .counter__no {
36 | color: #d2d2d2
37 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-dialog/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {
4 | title: {
5 | type: String
6 | },
7 | titleColor: {
8 | type: String,
9 | value: '#000000'
10 | },
11 | content: {
12 | type: String
13 | },
14 | contentColor: {
15 | type: String,
16 | value: '#888888'
17 | },
18 | confirmText: {
19 | type: String
20 | },
21 | confirmColor: {
22 | type: String,
23 | value: '#ff5777'
24 | },
25 | cancelText: {
26 | type: String
27 | },
28 | cancelColor: {
29 | type: String,
30 | value: '#666666'
31 | },
32 | image: {
33 | type: String
34 | }
35 | },
36 | data: {},
37 | methods: {
38 | show() {
39 | let popupComponent = this.selectComponent('.popup');
40 | popupComponent && popupComponent.show();
41 | },
42 | hide() {
43 | let popupComponent = this.selectComponent('.popup');
44 | popupComponent && popupComponent.hide();
45 | },
46 | onContentTap() {},
47 | cancelCallback() {
48 | this.triggerEvent('cancel');
49 | },
50 | confirmCallback() {
51 | this.triggerEvent('confirm');
52 | }
53 | }
54 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-dialog/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "wxc-popup": "../../wxc-popup/dist/index"
4 | },
5 | "component": true
6 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-dialog/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-dialog/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .dialog {
2 | background: #ffffff;
3 | width: 560rpx;
4 | border-radius: 8rpx;
5 | background-color: #ffffff;
6 | display: flex;
7 | flex-flow: column nowrap;
8 | align-items: center;
9 | padding-top: 50rpx
10 | }
11 | .dialog__title {
12 | font-size: 36rpx;
13 | margin-bottom: 18rpx;
14 | padding: 0 36rpx
15 | }
16 | .dialog__content {
17 | display: flex;
18 | flex-flow: column nowrap;
19 | align-items: center
20 | }
21 | .dialog__content--image {
22 | width: 488rpx;
23 | height: 330rpx;
24 | background-color: #ebebeb;
25 | margin: 6rpx 36rpx 18rpx
26 | }
27 | .dialog__content--text {
28 | font-size: 30rpx;
29 | padding: 0 36rpx 30rpx;
30 | text-align: center
31 | }
32 | .dialog__btns {
33 | width: 100%;
34 | line-height: 100rpx;
35 | height: 100rpx;
36 | border-top: 1rpx solid #e5e5e5;
37 | display: flex;
38 | flex-flow: row nowrap;
39 | justify-content: center;
40 | align-items: center;
41 | font-size: 36rpx
42 | }
43 | .dialog__btns--cancel {
44 | flex: 1;
45 | border-right: 1rpx solid #e5e5e5;
46 | display: flex;
47 | align-items: center;
48 | justify-content: center
49 | }
50 | .dialog__btns--confirm {
51 | flex: 1;
52 | display: flex;
53 | align-items: center;
54 | justify-content: center
55 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-elip/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {
4 | line: {
5 | type: Number,
6 | value: ''
7 | }
8 | },
9 | data: {},
10 | methods: {}
11 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-elip/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-elip/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-elip/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .wxc-elip {
2 | overflow: hidden;
3 | white-space: nowrap;
4 | text-overflow: ellipsis;
5 | }
6 | .elip--multiple {
7 | white-space: normal;
8 | display: -webkit-box;
9 | -webkit-box-orient: vertical;
10 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-flex/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {
4 | // 主轴方向
5 | dir: {
6 | type: String,
7 | value: 'left'
8 | },
9 | // 主轴对齐方式
10 | main: {
11 | type: String,
12 | value: 'left'
13 | },
14 | // 交叉轴对齐方式
15 | cross: {
16 | type: String,
17 | value: 'stretch'
18 | },
19 | // 换行设置
20 | wrap: {
21 | type: String,
22 | value: 'nowrap'
23 | }
24 | },
25 | data: {},
26 | methods: {}
27 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-flex/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-flex/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-flex/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .flex {
2 | display: flex;
3 | width: 100%;
4 | height: 100%;
5 | }
6 |
7 | /* 主轴对齐方式 */
8 | .dir--left {
9 | flex-direction: row;
10 | }
11 | .dir--right {
12 | flex-direction: row-reverse;
13 | }
14 | .dir--top {
15 | flex-direction: column;
16 | }
17 | .dir--bottom {
18 | flex-direction: column-reverse;
19 | }
20 |
21 | /* 主轴排列方式 */
22 | .main--start {
23 | justify-content: flex-start;
24 | }
25 | .main--end {
26 | justify-content: flex-end;
27 | }
28 | .main--between {
29 | justify-content: space-between;
30 | }
31 | .main--center {
32 | justify-content: center;
33 | }
34 | .main--around {
35 | justify-content: space-around;
36 | }
37 |
38 | /* 换行设置 */
39 | .wrap--nowrap {
40 | flex-wrap: nowrap;
41 | }
42 | .wrap--wrap {
43 | flex-wrap: wrap;
44 | }
45 | .wrap--reverse {
46 | flex-wrap: wrap-reverse;
47 | }
48 |
49 |
50 | /* 交叉轴排列方式 */
51 | .cross--start {
52 | align-items: flex-start;
53 | }
54 | .cross--end {
55 | align-items: flex-end;
56 | }
57 | .cross--center {
58 | align-items: center;
59 | }
60 | .cross--baseline {
61 | align-items: baseline;
62 | }
63 | .cross--stretch {
64 | align-items: stretch;
65 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-icon/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {
4 | type: {
5 | type: String,
6 | value: 'mogujie'
7 | },
8 | size: {
9 | type: [Number, String],
10 | value: 26
11 | },
12 | color: {
13 | type: String,
14 | value: '#333333'
15 | }
16 | },
17 | data: {},
18 | methods: {}
19 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-icon/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-icon/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-input/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "wxc-icon": "../../wxc-icon/dist/index"
4 | },
5 | "component": true
6 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-input/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{title}}
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-input/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .input {}
2 | .input__combine {
3 | position: relative;
4 | display: flex;
5 | flex-flow: row nowrap;
6 | align-items: center;
7 | line-height: 1.4;
8 | padding: 24rpx 30rpx;
9 | box-sizing:border-box;
10 | font-size: 28rpx;
11 | color: #333
12 | }
13 | .input__combine::after {
14 | content: '';
15 | position: absolute;
16 | top: 0;
17 | left: 0;
18 | right: 0;
19 | width: 200%;
20 | height: 200%;
21 | transform: scale(.5);
22 | transform-origin: 0 0;
23 | pointer-events: none;
24 | box-sizing: border-box;
25 | border: 0 solid #e5e5e5;
26 | border-bottom-width: 1rpx
27 | }
28 | .input__wrapped:after {
29 | border: 1rpx solid #e5e5e5;
30 | border-radius: 8rpx
31 | }
32 | .input__none::after {
33 | display: none
34 | }
35 | .input__right {
36 | text-align: right
37 | }
38 | .input__error {
39 | color: #fc3c64
40 | }
41 | .input__error:after {
42 | border-color: #fc3c64
43 | }
44 | .input__label {
45 | min-width: 163rpx;
46 | height: 46rpx;
47 | line-height: 46rpx;
48 | color: #333
49 | }
50 | .input__icon {
51 | width: 40rpx;
52 | height: 40rpx;
53 | line-height: 36rpx;
54 | margin-right: 32rpx;
55 | color: #999
56 | }
57 | .input__form {
58 | flex: 1;
59 | height: 46rpx;
60 | min-height: 46rpx;
61 | line-height: 46rpx;
62 | font-size: 32rpx
63 | }
64 | .input__placeholder {
65 | font-size: 28rpx;
66 | color: #999
67 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-label/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {
4 | text: {
5 | type: String,
6 | value: 0
7 | },
8 | type: {
9 | type: String,
10 | value: 'plain'
11 | },
12 | typeColor: {
13 | type: String,
14 | value: '#ff5777'
15 | },
16 | textColor: {
17 | type: String,
18 | value: '#ffffff'
19 | },
20 | _system_: {
21 | type: String,
22 | value: ''
23 | }
24 | },
25 | data: {},
26 | methods: {},
27 | attached: function () {
28 | let host = this;
29 | wx.getSystemInfo && wx.getSystemInfo({
30 | success: function (res) {
31 | host.setData({
32 | _system_: !!~res.system.indexOf('Android') ? 'android' : 'ios'
33 | });
34 | }
35 | });
36 | }
37 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-label/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-label/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{text ? text : ''}}
4 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-label/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .label {
2 | display: inline-block;
3 | height: 30rpx;
4 | line-height: 30rpx;
5 | padding: 0 10rpx;
6 | font-size: 20rpx;
7 | font-family: PingFangSC;
8 | border-radius: 4rpx;
9 | vertical-align: middle;
10 | overflow: hidden;
11 | }
12 | .label__system--android {
13 | line-height: 34rpx;
14 | }
15 | .label__type--corner {
16 | width: 84rpx;
17 | height: 36rpx;
18 | line-height: 36rpx;
19 | padding: 0;
20 | border: none;
21 | border-radius: 0;
22 | border-top-left-radius: 6rpx;
23 | border-bottom-right-radius: 6rpx;
24 | background: rgba(255,85,119, 0.8);
25 | text-align: center;
26 | }
27 | .label__type--corner.label__system--android {
28 | line-height: 42rpx;
29 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-list/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {
4 | title: {
5 | type: String,
6 | value: '' // 标题
7 | },
8 | detail: {
9 | type: String,
10 | value: '' // 标题下方的具体描述
11 | },
12 | desc: {
13 | type: String,
14 | value: '' // 右侧描述部分
15 | },
16 | icon: {
17 | type: String,
18 | value: '' // 标题左侧icon pintuan
19 | },
20 | iconColor: {
21 | type: String,
22 | value: '#ff5077' // 标题左侧icon颜色
23 | },
24 | src: {
25 | type: String,
26 | value: '' // 标题左侧icon图片链接
27 | },
28 | dot: {
29 | type: Boolean,
30 | value: false // 右侧描述部分的左侧红点
31 | },
32 | dotColor: {
33 | type: String,
34 | value: '#f5123e' // 右侧描述部分的左侧红点颜色
35 | },
36 | arrow: {
37 | type: Boolean,
38 | value: true // 是否显示箭头
39 | },
40 | mode: {
41 | type: String,
42 | value: 'normal' // 有边框和无边框 normal, none
43 | }
44 | },
45 | data: {},
46 | methods: {
47 | onClick(event) {
48 | let detail = event.detail;
49 | let option = {};
50 | this.triggerEvent('click', detail, option);
51 | }
52 | }
53 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-list/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "wxc-icon": "../../wxc-icon/dist/index"
4 | },
5 | "component": true
6 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-list/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | {{title}}
9 | {{detail}}
10 |
11 |
12 |
13 |
14 |
15 |
16 | {{desc}}
17 |
18 |
19 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-list/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .list {}
2 | .list__body {
3 | display: flex;
4 | align-items: center;
5 | min-height: 90rpx;
6 | line-height: 1.4;
7 | padding: 20rpx 30rpx 20rpx 0;
8 | margin-left: 30rpx;
9 | box-sizing: border-box;
10 | border-bottom: 1rpx solid #ececec;
11 | font-size: 32rpx;
12 | color: #333
13 | }
14 | .list__none {
15 | border: none
16 | }
17 | .list__image {
18 | width: 38rpx;
19 | height: 38rpx;
20 | margin-right: 30rpx
21 | }
22 | .list__icon {
23 | margin-right: 30rpx
24 | }
25 | .list__title {
26 | flex: 1
27 | }
28 | .list__title--sub {
29 | margin-top: 14rpx;
30 | font-size: 28rpx;
31 | line-height: 40rpx;
32 | color: #999
33 | }
34 | .list__desc {}
35 | .list__desc--dot {
36 | width: 16rpx;
37 | height: 16rpx;
38 | margin-right: 18rpx;
39 | border-radius: 16rpx
40 | }
41 | .list__desc--text {
42 | color: #999;
43 | font-size: 24rpx
44 | }
45 | .list__desc--arrow {
46 | margin-left: 8rpx
47 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-loading/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | _timer: null,
3 |
4 | behaviors: [],
5 | properties: {
6 | isShow: {
7 | type: Boolean,
8 | value: false,
9 | observer(isShow) {
10 | if (isShow) {
11 | if (!getApp().globalData) {
12 | Object.assign(getApp(), { globalData: {} });
13 | }
14 | let globalData = getApp().globalData;
15 | let zIndex = (globalData._zIndex || 1000) + 1;
16 | globalData._zIndex = zIndex;
17 | this.setData({
18 | zIndex: zIndex
19 | });
20 | }
21 | }
22 | },
23 | type: {
24 | type: String,
25 | value: 'mgj'
26 | },
27 | image: {
28 | type: String,
29 | value: ''
30 | },
31 | slip: {
32 | type: String,
33 | value: ''
34 | }
35 | },
36 | data: {
37 | zIndex: 1000
38 | },
39 | methods: {
40 | show() {
41 | if (this._timer) {
42 | clearTimeout(this._timer);
43 | }
44 | this._timer = setTimeout(() => {
45 | this._timer = null;
46 | this.setData({ isShow: true });
47 | }, 500);
48 | },
49 | hide() {
50 | if (this._timer) {
51 | clearTimeout(this._timer);
52 | this._timer = null;
53 | }
54 | this.setData({ isShow: false });
55 | }
56 | }
57 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-loading/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-loading/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-loading/dist/index.wxss:
--------------------------------------------------------------------------------
1 |
2 | @keyframes loadingRotate {
3 | 0% {
4 | transform: rotate(0);
5 | }
6 | 100% {
7 | transform: rotate(360deg);
8 | }
9 | }
10 | .loading {
11 | position: fixed;
12 | display: flex;
13 | top: 0;
14 | right: 0;
15 | bottom: 0;
16 | left: 0;
17 | align-items: center;
18 | align-content: center;
19 | }
20 | .loading__image {
21 | position: relative;
22 | margin: 0 auto;
23 | pointer-events: auto;
24 | }
25 | .loading__image--mgj {
26 | background-image: url(https://s10.mogucdn.com/mlcdn/c45406/170607_5241335cb37ka3ab7781ddh504ggh_200x200.png);
27 | }
28 | .loading__image--mall {
29 | background-image: url(https://s10.mogucdn.com/mlcdn/c45406/171023_625g128f20b5k0aace38jgghe737b_200x200.png);
30 | }
31 | .loading__slip {
32 | animation: loadingRotate 1050ms infinite;
33 | }
34 | .loading__slip--mgj {
35 | background-image: url(http://s10.mogucdn.com/p1/160715/upload_ifrgmmzwmyydknldhezdambqmeyde_200x200.png);
36 | }
37 | .loading__slip--mall {
38 | background-image: url(https://s10.mogucdn.com/mlcdn/c45406/170810_6la1hibih5861b4i2j0j5e4jgl3ee_200x200.png);
39 | }
40 | .loading__box {
41 | width: 200rpx;
42 | height: 200rpx;
43 | background-repeat: no-repeat;
44 | background-size: cover;
45 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-loadmore/dist/config.js:
--------------------------------------------------------------------------------
1 | const TYPES = [{
2 | icon: 'https://s10.mogucdn.com/p2/161213/upload_57bl76e9010115f3fj1d2k1kj5l4b_44x44.png',
3 | text: '再看点别的?'
4 | }, {
5 | icon: 'https://s10.mogucdn.com/p2/161213/upload_6c4a17j86gb0lh9hba01i464fkie2_44x44.png',
6 | text: '哎呀都看完了'
7 | }, {
8 | icon: 'https://s10.mogucdn.com/p2/161213/upload_1iddk17bfe1k4257f207i467f21e8_44x44.png',
9 | text: '叽~木有啦'
10 | }, {
11 | icon: 'https://s10.mogucdn.com/p2/161213/upload_2e6ig5fb6k773l546a9gj8g2k7bfg_44x44.png',
12 | text: '哎一古~刷完了'
13 | }, {
14 | icon: 'https://s10.mogucdn.com/p2/161213/upload_124lgj5ji1h9f3ci0bdbe5k4gf1kk_44x44.png',
15 | text: '没有了呢'
16 | }, {
17 | icon: 'https://s10.mogucdn.com/p2/161213/upload_1122hdalb10h08kbiehd344fj6j1k_44x44.png',
18 | text: '汪~木有啦'
19 | }];
20 |
21 | const IconType = {
22 | HIDDEN: -1,
23 | SHOW_DEFAULT: 1,
24 | SHOW_CONFIG: 2
25 | };
26 |
27 | export { TYPES, IconType };
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-loadmore/dist/index.js:
--------------------------------------------------------------------------------
1 | import { TYPES, IconType } from './config.js';
2 |
3 | export default Component({
4 | behaviors: [],
5 | properties: {
6 | text: {
7 | type: String,
8 | value: ''
9 | },
10 | isEnd: {
11 | type: Boolean,
12 | value: false
13 | },
14 | icon: {
15 | type: String
16 | }
17 | },
18 | data: {
19 | type: TYPES[Math.floor(Math.random() * TYPES.length)],
20 | iconStatus: IconType.HIDDEN,
21 | iconType: IconType
22 | },
23 | attached() {
24 | let iconStatus = IconType.HIDDEN;
25 | const icon = this.data.icon;
26 | if (icon) {
27 | iconStatus = IconType.SHOW_DEFAULT;
28 | }
29 | if (/\.(jpg|gif|jpeg|png)+$/.test(icon)) {
30 | iconStatus = IconType.SHOW_CONFIG;
31 | }
32 | this.setData({
33 | iconStatus
34 | });
35 | },
36 | methods: {}
37 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-loadmore/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-loadmore/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | {{ text || type.text }}
12 |
13 |
14 |
15 |
16 |
17 | {{ text || '加载中...' }}
18 |
19 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-loadmore/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .loadmore {
2 | display: flex;
3 | width: 100%;
4 | height: 92rpx;
5 | justify-content: center;
6 | align-items: center
7 | }
8 | .loadmore__line {
9 | width: 100rpx;
10 | height: 1rpx;
11 | border-top: 1rpx solid #d2d2d2
12 | }
13 | .loadmore__icon {
14 | width: 32rpx;
15 | height: 32rpx;
16 | margin-left: 16rpx
17 | }
18 | .loadmore__text {
19 | margin: 0 16rpx 0 8rpx;
20 | color: #999;
21 | font-size: 28rpx
22 | }
23 | .loadmore__wrap {
24 | color: #999;
25 | font-size: 28rpx;
26 | display: flex;
27 | justify-content: center;
28 | align-items: center
29 | }
30 | .loadmore__loading-icon {
31 | width:30rpx;
32 | height:30rpx;
33 | margin-right: 8rpx;
34 | display: inline-block;
35 | vertical-align: middle;
36 | animation: weuiLoading 1s steps(12, end) infinite;
37 | background: url('https://s10.mogucdn.com/mlcdn/c45406/171016_4a61e09hcadd157gadhdeje55e82c_32x32.png') no-repeat;
38 | -webkit-background-size: 100%;
39 | background-size: 100%
40 | }
41 | .loadmore__loading-text {
42 | display: inline-block;
43 | vertical-align: middle;
44 | margin-left: 8rpx
45 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-mask/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-mask/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-mask/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .mask {
2 | width: 100%;
3 | height: 100%;
4 | position: fixed;
5 | top: 0;
6 | left: 0
7 | }
8 | .mask__bg {
9 | width: 100%;
10 | height: 100%
11 | }
12 | .mask__content {
13 | display: inline-block;
14 | position: absolute;
15 | z-index: 1
16 | }
17 | .mask__status {}
18 | .mask__status--show {}
19 | .mask__status--hide {
20 | opacity: 0;
21 | display: none;
22 | z-index: -10
23 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-notice/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {
4 | scroll: {
5 | type: Boolean,
6 | value: false
7 | },
8 | isShow: {
9 | type: Boolean,
10 | value: true
11 | },
12 | notice: {
13 | type: String,
14 | value: ''
15 | },
16 | bgColor: {
17 | type: String,
18 | value: '#ff5777' // 通告栏背景色
19 | },
20 | color: {
21 | type: String,
22 | value: '#fff' // 文字颜色
23 | },
24 | showIcon: {
25 | type: Boolean,
26 | value: false
27 | },
28 | iconColor: {
29 | type: String,
30 | value: '#fff'
31 | },
32 | close: {
33 | type: Boolean,
34 | value: false
35 | },
36 | bgRgba: {
37 | type: String,
38 | value: 'rgba(255, 85, 119, 0)' // 背景颜色的rgba形式,a的值为0,配合close使用
39 | }
40 | },
41 | data: {},
42 | methods: {
43 | onDismissNotice(event) {
44 | this.setData({
45 | isShow: false
46 | });
47 | let detail = event.detail;
48 | let option = {};
49 | this.triggerEvent('close', detail, option);
50 | }
51 | }
52 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-notice/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "wxc-icon": "../../wxc-icon/dist/index"
4 | },
5 | "component": true
6 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-notice/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{notice}}
6 | {{notice}}
7 |
8 |
9 | {{notice}}
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-notice/dist/index.wxss:
--------------------------------------------------------------------------------
1 |
2 | @keyframes notice {
3 | 0% {
4 | transform: translateX(0);
5 | }
6 |
7 | 100% {
8 | transform: translateX(-50%);
9 | }
10 | }
11 | .notice {
12 | display: flex;
13 | position: relative;
14 | height: 70rpx;
15 | padding: 0 24rpx 0 30rpx;
16 | align-items: center;
17 | }
18 | .notice {}
19 | .notice__icon {
20 | display: block;
21 | width: 36rpx;
22 | height: 30rpx;
23 | line-height: 30rpx;
24 | margin-right: 12rpx;
25 | }
26 | .notice__text {
27 | display: inline-block;
28 | margin-right: 30rpx;
29 | white-space: nowrap;
30 | font-size: 24rpx;
31 | line-height: 70rpx;
32 | }
33 | .notice__text {}
34 | .notice__text--wrap {
35 | flex: 1;
36 | overflow: hidden;
37 | }
38 | .notice__text--animate {
39 | animation: notice 8s linear infinite;
40 | }
41 | .notice__text--overlay {
42 | position: absolute;
43 | width: 44rpx;
44 | height: 100%;
45 | top: 0;
46 | right: 60rpx;
47 | z-index: 1;
48 | }
49 | .notice__text--span {
50 | display: inline-block;
51 | margin-right: 18rpx;
52 | }
53 | .notice__close {
54 | margin-left: 20rpx;
55 | color: #fff;
56 | font-size: 24rpx;
57 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-panel/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {
4 | title: {
5 | type: String,
6 | value: ''
7 | },
8 | margin: {
9 | type: Boolean,
10 | value: true
11 | },
12 | border: {
13 | type: Boolean,
14 | value: true
15 | }
16 | },
17 | data: {},
18 | methods: {
19 | onClick(event) {
20 | let detail = event.detail;
21 | let option = {};
22 | this.triggerEvent('click', detail, option);
23 | }
24 | }
25 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-panel/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-panel/dist/index.wxml:
--------------------------------------------------------------------------------
1 | {{title}}
2 |
3 |
4 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-panel/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .panel {
2 | position: relative;
3 | margin-top: 20rpx;
4 | background: #fff;
5 | overflow: hidden
6 | }
7 | .panel::after {
8 | content: '';
9 | position: absolute;
10 | top: 0;
11 | left: 0;
12 | width: 200%;
13 | height: 200%;
14 | transform: scale(.5);
15 | transform-origin: 0 0;
16 | pointer-events: none;
17 | box-sizing: border-box;
18 | border: 0 solid #e5e5e5;
19 | border-top-width: 1rpx;
20 | border-bottom-width: 1rpx
21 | }
22 | .panel {}
23 | .panel__title {
24 | font-size: 28rpx;
25 | line-height: 1;
26 | color: #999;
27 | padding: 40rpx 30rpx 0 30rpx
28 | }
29 | .panel__margin {
30 | margin-top: 0
31 | }
32 | .panel__border::after {
33 | border: 0 none
34 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-popup/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "wxc-mask": "../../wxc-mask/dist/index"
4 | },
5 | "component": true
6 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-popup/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-price/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-price/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 | {{symbol}}
3 |
4 |
5 |
6 | {{value && decimal !== 'small' ? value : ''}}
7 |
8 | {{value}}
9 | .{{decimalNum}}
10 |
11 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-price/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .price,
2 | .price__icon,
3 | .price__count {
4 | display: inline-block;
5 | line-height: 1;
6 | }
7 |
8 | .price__icon--sup,
9 | .price__icon--sub {
10 | font-size: 52%;
11 | }
12 |
13 | .price__icon--sup {
14 | vertical-align: super;
15 | line-height: 1.1;
16 | }
17 |
18 | .price__icon--del,
19 | .price__count--del {
20 | font-weight: normal;
21 | text-decoration: line-through;
22 | }
23 |
24 | .count__decimal--small {
25 | display: inline;
26 | font-size: 62%;
27 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-progress/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {
4 | percent: {
5 | type: [Number, String],
6 | value: 100
7 | },
8 | strokeWidth: {
9 | type: [Number, String],
10 | value: 16
11 | },
12 | activeLineColor: {
13 | type: Array,
14 | value: []
15 | },
16 | activeColor: {
17 | type: [String, Array],
18 | value: '#ffca49, #ffb262'
19 | },
20 | backgroundColor: {
21 | type: String,
22 | value: '#e5e5e5'
23 | },
24 | radius: {
25 | type: [Number, String],
26 | value: 15
27 | }
28 | },
29 | data: {},
30 | methods: {},
31 | attached: function () {
32 | let activeColor = this.data.activeColor;
33 |
34 | if (!!~activeColor.indexOf(',')) {
35 | this.setData({
36 | activeLineColor: activeColor.split(',')
37 | });
38 | }
39 | }
40 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-progress/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-progress/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-progress/dist/index.wxss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/dist/packages/@minui/wxc-progress/dist/index.wxss
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-rate/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {
4 | value: {
5 | type: Number,
6 | value: 0
7 | },
8 | count: {
9 | type: Number,
10 | value: 5
11 | },
12 | size: {
13 | type: [String, Number],
14 | value: 44
15 | },
16 | color: {
17 | type: String,
18 | value: '#e5e5e5'
19 | },
20 | activeColor: {
21 | type: String,
22 | value: '#fdb757'
23 | },
24 | readonly: {
25 | type: Boolean,
26 | value: false
27 | },
28 | padding: {
29 | type: Number,
30 | value: 20
31 | }
32 | },
33 | data: {},
34 | methods: {
35 | handlerRate(e) {
36 | if (this.data.readonly) {
37 | return;
38 | }
39 | let score = e.target.dataset.score;
40 | if (score) {
41 | this.setData({
42 | value: score
43 | });
44 | let detail = e.detail;
45 | detail.value = score;
46 | let option = {};
47 | this.triggerEvent('rate', detail, option);
48 | }
49 | }
50 | }
51 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-rate/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "wxc-icon": "../../wxc-icon/dist/index"
4 | },
5 | "component": true
6 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-rate/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-rate/dist/index.wxss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/dist/packages/@minui/wxc-rate/dist/index.wxss
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-search/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "wxc-icon": "../../wxc-icon/dist/index"
4 | },
5 | "component": true
6 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-search/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-search/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .search {
2 | display: flex;
3 | align-items: center;
4 | min-width: 510rpx;
5 | height: 60rpx;
6 | overflow: hidden
7 | }
8 | .search {}
9 | .search__form {
10 | position: relative;
11 | display: flex;
12 | flex-direction: row;
13 | align-items: center;
14 | flex-grow: 1;
15 | min-width: 510rpx;
16 | height: 60rpx;
17 | overflow: hidden
18 | }
19 | .search__content {}
20 | .search__content--center {
21 | justify-content: center
22 | }
23 | .search__content--left {
24 | justify-content: flex-start
25 | }
26 | .search__icon {
27 | margin-left: 24rpx;
28 | font-weight: bold
29 | }
30 | .search__text {
31 | font-size: 24rpx;
32 | max-width: 570rpx;
33 | margin-left: 16rpx;
34 | overflow: hidden;
35 | white-space: nowrap;
36 | text-overflow:ellipsis
37 | }
38 | .search__input {
39 | flex: 1;
40 | min-width: 476rpx;
41 | height: 60rpx;
42 | padding: 0 16rpx;
43 | font-size: 28rpx;
44 | color: #333;
45 | overflow: hidden
46 | }
47 | .search__clear {
48 | position: absolute;
49 | right: 3rpx;
50 | bottom: 0;
51 | display: flex;
52 | flex-direction: row;
53 | justify-content: center;
54 | align-items: center;
55 | width: 40rpx;
56 | height: 60rpx
57 | }
58 | .search__button {
59 | width: 120rpx;
60 | height: 60rpx;
61 | line-height: 60rpx;
62 | font-size: 28rpx;
63 | overflow: hidden;
64 | background: none;
65 | padding-left: 0;
66 | padding-right: 0
67 | }
68 | .search__button::after {
69 | border: none
70 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-select/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {
4 | items: {
5 | type: Array,
6 | value: []
7 | },
8 | checked: {
9 | type: [String, Number],
10 | value: ''
11 | },
12 | color: {
13 | type: String,
14 | value: '#ff5777'
15 | }
16 | },
17 | data: {},
18 | methods: {
19 | radioChange(e) {
20 | this.setData({
21 | checked: e.detail.value
22 | });
23 | let detail = e.detail || {};
24 | let option = {};
25 | this.triggerEvent('change', detail, option);
26 | }
27 | }
28 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-select/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "wxc-icon": "../../wxc-icon/dist/index"
4 | },
5 | "component": true
6 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-select/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-select/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .select {}
2 | .select__group {
3 | width: 100%;
4 | background: #fff
5 | }
6 | .select__cell {
7 | position: relative;
8 | display: flex;
9 | align-items: center;
10 | height: 90rpx;
11 | line-height: 90rpx;
12 | font-size: 28rpx;
13 | color: #666
14 | }
15 | .select__cell::after {
16 | content: '';
17 | position: absolute;
18 | top: 0;
19 | left: 0;
20 | right: 0;
21 | width: 200%;
22 | height: 200%;
23 | transform: scale(.5);
24 | transform-origin: 0 0;
25 | box-sizing: border-box;
26 | border-bottom: 1rpx solid #e5e5e5
27 | }
28 | .select__cell:last-child::after {
29 | display: none
30 | }
31 | .select__text {
32 | margin: 0 24rpx;
33 | color: #333
34 | }
35 | .select__desc {
36 | flex: 1
37 | }
38 | .select__checked {
39 | position: relative;
40 | text-align: right;
41 | color: #666
42 | }
43 | .select__radio {
44 | margin-right: 24rpx
45 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-steps/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {
4 | steps: {
5 | type: Array,
6 | value: []
7 | },
8 | current: {
9 | type: Number,
10 | value: 0
11 | }
12 | },
13 | data: {},
14 | methods: {},
15 | attached() {}
16 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-steps/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-steps/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | {{item.desc}}
10 | {{item.title}}
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-steps/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .step {
2 | display: flex;
3 | background: #fff
4 | }
5 | .step__icon {
6 | color: #ff4422;
7 | background: #fff;
8 | display: flex;
9 | flex-direction: column;
10 | align-items: center;
11 | margin-right: 15rpx
12 | }
13 | .step__dot {
14 | width: 14rpx;
15 | height: 14rpx;
16 | border-radius: 50%;
17 | background: #fff;
18 | border: 1rpx solid #ff4422
19 | }
20 | .step__dot--todo {
21 | border-color: #ddd
22 | }
23 | .step__line {
24 | flex: 1;
25 | width: 1rpx;
26 | height: 100%;
27 | background: #ddd
28 | }
29 | .step__line--finish {
30 | background: #ff4422
31 | }
32 | .step__content {
33 | margin-bottom:32rpx
34 | }
35 | .step__desc {
36 | line-height:32rpx;
37 | font-size: 28rpx;
38 | color: #333;
39 | background: #fff;
40 | padding-right: 1rpx;
41 | margin-bottom: 10rpx
42 | }
43 | .step__desc--todo {
44 | color: #999
45 | }
46 | .step__title {
47 | font-size: 24rpx;
48 | color: #999;
49 | line-height:23rpx
50 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-tab/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-tab/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .tab {}
2 | .tab__full {
3 | position: fixed;
4 | width: 100%;
5 | height: 100%
6 | }
7 | .tab__navbar-wrap {
8 | position: relative
9 | }
10 | .tab__navbar {
11 | white-space: nowrap;
12 | width: 100%
13 | }
14 | .tab__navbar-item {
15 | text-align: center;
16 | display: inline-block;
17 | overflow: hidden;
18 | white-space: nowrap
19 | }
20 | .tab__navbar-item {}
21 | .tab__navbar-item--default {
22 | padding: 13rpx 0
23 | }
24 | .tab__line {
25 | position: absolute;
26 | left: 0;
27 | bottom: 0;
28 | height: 4rpx
29 | }
30 | .tab__line {}
31 | .tab__line--animate {
32 | transition: left .3s cubic-bezier(.645, .045, .355, 1)
33 | }
34 | .tab__content-wrap {
35 | width: 100%;
36 | overflow: hidden
37 | }
38 | .tab__content {
39 | width: 100%
40 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-tab/dist/label.js:
--------------------------------------------------------------------------------
1 | import Event from './Event.js';
2 | export default Component({
3 | behaviors: [],
4 | properties: {
5 | tabIndex: Number,
6 | componentId: {
7 | type: String,
8 | value: ''
9 | }
10 | },
11 | data: {
12 | activeKey: 0,
13 | width: 0
14 | },
15 | attached() {
16 | const componentId = this.data.componentId;
17 | Event.emit(`tab-create-${componentId}`, {
18 | key: this.data.tabIndex
19 | });
20 |
21 | Event.on(`to-label-switch-${componentId}`, activeKey => {
22 | this.setData({ activeKey });
23 | });
24 |
25 | Event.on(`label-width-${componentId}`, width => {
26 | this.setData({ width });
27 | });
28 | },
29 | moved() {
30 | Event.removeListener();
31 | },
32 | methods: {
33 | onSwitch() {
34 | Event.emit(`from-label-switch-${this.data.componentId}`, this.data.tabIndex);
35 | }
36 | }
37 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-tab/dist/label.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-tab/dist/label.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-tab/dist/label.wxss:
--------------------------------------------------------------------------------
1 | .tab {}
2 | .tab__navbar-title {
3 | display: inline-block;
4 | white-space: nowrap
5 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-tab/dist/panel.js:
--------------------------------------------------------------------------------
1 | import Event from './Event.js';
2 | export default Component({
3 | behaviors: [],
4 | properties: {
5 | tabIndex: Number,
6 | label: String,
7 | componentId: {
8 | type: String,
9 | value: ''
10 | }
11 | },
12 | data: {
13 | activeKey: 1,
14 | test: 0
15 | },
16 | attached() {
17 | this.componentId = this.data.componentId;
18 | this.data.label && Event.emit(`tab-create-${this.componentId}`, {
19 | key: this.data.tabIndex,
20 | label: this.data.label
21 | });
22 | Event.on(`to-panel-switch-${this.componentId}`, activeKey => {
23 | this.setData({ activeKey });
24 | });
25 | },
26 | methods: {}
27 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-tab/dist/panel.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "component": true
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-tab/dist/panel.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-tab/dist/panel.wxss:
--------------------------------------------------------------------------------
1 | .tab {}
2 | .tab__panel {
3 | width: 100%
4 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-toast/dist/index.js:
--------------------------------------------------------------------------------
1 | export default Component({
2 | behaviors: [],
3 | properties: {
4 | isShow: {
5 | type: Boolean,
6 | value: false,
7 | observer(isShow) {
8 | if (isShow) {
9 | if (!getApp().globalData) {
10 | Object.assign(getApp(), { globalData: {} });
11 | }
12 | let globalData = getApp().globalData;
13 | let zIndex = (globalData._zIndex || 1000) + 1;
14 | globalData._zIndex = zIndex;
15 | this.setData({
16 | zIndex: zIndex
17 | });
18 | }
19 | }
20 | },
21 | text: {
22 | type: String,
23 | value: ''
24 | },
25 | icon: {
26 | type: String,
27 | value: ''
28 | },
29 | iconColor: {
30 | type: String,
31 | value: ''
32 | },
33 | src: {
34 | type: String,
35 | value: ''
36 | },
37 | duration: {
38 | type: Number,
39 | value: 2000
40 | }
41 | },
42 | data: {
43 | zIndex: 1000
44 | },
45 | methods: {
46 | show(message) {
47 | let text = this.data.text;
48 | if (message && typeof message === 'string') {
49 | text = message;
50 | }
51 | let duration = this.data.duration;
52 |
53 | clearTimeout(this._timer);
54 | this.setData({
55 | text: text,
56 | isShow: true
57 | });
58 |
59 | if (duration > 0 && duration !== Infinity) {
60 | this._timer = setTimeout(() => {
61 | this.hide();
62 | this.triggerEvent('success', {}, {});
63 | }, duration);
64 | }
65 | },
66 |
67 | hide() {
68 | this._timer = clearTimeout(this._timer);
69 |
70 | this.setData({ isShow: false });
71 | }
72 | }
73 | });
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-toast/dist/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "wxc-icon": "../../wxc-icon/dist/index"
4 | },
5 | "component": true
6 | }
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-toast/dist/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | {{text ? text : ''}}
11 |
12 |
13 |
--------------------------------------------------------------------------------
/dist/packages/@minui/wxc-toast/dist/index.wxss:
--------------------------------------------------------------------------------
1 | .toast {
2 | position: fixed;
3 | display: flex;
4 | top: 0;
5 | right: 0;
6 | bottom: 0;
7 | left: 0;
8 | flex-direction: column;
9 | justify-content: center;
10 | align-content: center
11 | }
12 | .toast__box {
13 | margin: 0 auto;
14 | pointer-events: auto;
15 | display: block;
16 | min-width: 300rpx;
17 | max-width: 426rpx;
18 | /*min-height: 80rpx;*/
19 | background-color: rgba(0, 0, 0, .7);
20 | padding: 24rpx 30rpx;
21 | text-align: center;
22 | border-radius: 10rpx
23 | }
24 | .toast__icon {
25 | display: block;
26 | width: 68rpx;
27 | height: 68rpx;
28 | line-height: 68rpx;
29 | margin: 0 auto 18rpx auto
30 | }
31 | .toast__icon--image {
32 | width: 68rpx;
33 | height: 68rpx
34 | }
35 | .toast__title {
36 | color: #fff;
37 | font-size: 28rpx;
38 | line-height: 40rpx
39 | }
--------------------------------------------------------------------------------
/dist/packages/@zanui/actionsheet/index.js:
--------------------------------------------------------------------------------
1 | const { extractComponentId } = require('../common/helper');
2 |
3 | module.exports = {
4 | _handleZanActionsheetMaskClick({ currentTarget = {} }) {
5 | const dataset = currentTarget.dataset || {};
6 | const { componentId, closeOnClickOverlay } = dataset;
7 |
8 | // 判断是否在点击背景时需要关闭弹层
9 | if (!closeOnClickOverlay) {
10 | return;
11 | }
12 |
13 | resolveCancelClick.call(this, { componentId });
14 | },
15 |
16 | _handleZanActionsheetCancelBtnClick(e) {
17 | const componentId = extractComponentId(e);
18 |
19 | resolveCancelClick.call(this, { componentId });
20 | },
21 |
22 | _handleZanActionsheetBtnClick({ currentTarget = {} }) {
23 | const dataset = currentTarget.dataset || {};
24 | const { componentId, index } = dataset;
25 |
26 | if (this.handleZanActionsheetClick) {
27 | this.handleZanActionsheetClick({ componentId, index });
28 | } else {
29 | console.warn('页面缺少 handleZanActionsheetClick 回调函数');
30 | }
31 | }
32 | };
33 |
34 | function resolveCancelClick({ componentId }) {
35 |
36 | if (this.handleZanActionsheetCancel) {
37 | this.handleZanActionsheetCancel({ componentId });
38 | } else {
39 | console.warn('页面缺少 handleZanActionsheetCancel 回调函数');
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/actionsheet/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
10 |
26 |
27 |
28 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/actionsheet/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-actionsheet{background-color:#f8f8f8}.zan-actionsheet__mask{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;background:rgba(0,0,0,.7);display:none}.zan-actionsheet__container{position:fixed;left:0;right:0;bottom:0;background:#f8f8f8;transform:translate3d(0,50%,0);transform-origin:center;transition:all .2s ease;z-index:11;opacity:0;visibility:hidden}.zan-actionsheet__btn.zan-btn{height:50px;line-height:50px;margin-bottom:0}.zan-actionsheet__btn.zan-btn::after{border-width:0;border-bottom-width:1px}.zan-actionsheet__btn.zan-btn:last-child::after{border-bottom-width:0}.zan-actionsheet__subname{margin-left:2px;font-size:12px;color:#666}.zan-actionsheet__footer{margin-top:10px}.zan-actionsheet__btn.zan-btn--loading .zan-actionsheet__subname{color:transparent}.zan-actionsheet--show .zan-actionsheet__container{opacity:1;transform:translate3d(0,0,0);visibility:visible}.zan-actionsheet--show .zan-actionsheet__mask{display:block}
--------------------------------------------------------------------------------
/dist/packages/@zanui/badge/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-badge{position:relative}.zan-badge__count{position:absolute;top:-16px;right:0;height:1.6em;min-width:1.6em;line-height:1.6;padding:0 .4em;font-size:20px;border-radius:.8em;background:#f44;color:#fff;text-align:center;white-space:nowrap;transform:translateX(50%) scale(.5);transform-origin:center;z-index:10;box-shadow:0 0 0 2px #fff;box-sizing:border-box}
--------------------------------------------------------------------------------
/dist/packages/@zanui/capsule/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{ leftText }}
8 | {{ rightText }}
12 |
13 |
14 | {{ leftText }}
15 | {{ rightText }}
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/capsule/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-capsule{display:inline-block;font-size:12px;vertical-align:middle;line-height:19px;transform:scale(.83)}.zan-capsule__left,.zan-capsule__right{display:inline-block;line-height:17px;height:19px;vertical-align:middle;box-sizing:border-box}.zan-capsule__left{padding:0 2px;color:#fff;background:#999;border-radius:2px 0 0 2px;border:1rpx solid #999}.zan-capsule__right{padding:0 5px;color:#999;border-radius:0 2px 2px 0;border:1rpx solid #999}.zan-capsule--danger .zan-capsule__left{color:#fff;background:#f24544;border-color:#f24544}.zan-capsule--danger .zan-capsule__right{color:#f24544;border-color:#f24544}
--------------------------------------------------------------------------------
/dist/packages/@zanui/card/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-card{margin-left:0;width:auto;padding:5px 15px;overflow:hidden;position:relative;font-size:14px}.zan-card__thumb{width:90px;height:90px;float:left;position:relative;margin-left:auto;margin-right:auto;overflow:hidden;background-size:cover}.zan-card__img{position:absolute;top:0;left:0;right:0;bottom:0;width:auto;height:auto;max-width:100%;max-height:100%}.zan-card__detail{margin-left:100px;width:auto;position:relative}.zan-card__detail-row{overflow:hidden;line-height:20px;min-height:20px;margin-bottom:3px}.zan-card__right-col{float:right}.zan-card__left-col{margin-right:80px}
--------------------------------------------------------------------------------
/dist/packages/@zanui/cell/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-cell{position:relative;padding:12px 15px;display:flex;align-items:center;line-height:1.4;font-size:14px}.zan-cell::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e5e5e5;border-bottom-width:1px;left:15px;right:0}.zan-cell__icon{margin-right:5px}.zan-cell__bd{flex:1}.zan-cell__text{line-height:24px;font-size:14px}.zan-cell__desc{line-height:1.2;font-size:12px;color:#666}.zan-cell__ft{position:relative;text-align:right;color:#666}.zan-cell__no-pading{padding:0}.zan-cell__no-pading .zan-cell__bd_padding{padding:12px 0 12px 15px}.zan-cell__no-pading .zan-cell__bd_padding .zan-form__input{height:26px}.zan-cell__no-pading .zan-cell__ft_padding{padding:12px 15px 12px 0}.zan-cell--last-child::after,.zan-cell:last-child::after{display:none}.zan-cell--access .zan-cell__ft{padding-right:13px}.zan-cell--access .zan-cell__ft::after{position:absolute;top:50%;right:2px;content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8c8;border-style:solid;transform:translateY(-50%) matrix(.71,.71,-.71,.71,0,0)}.zan-cell--switch{padding-top:6px;padding-bottom:6px}
--------------------------------------------------------------------------------
/dist/packages/@zanui/col/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-col{float:left;box-sizing:border-box;width:0}.zan-col-1{width:4.16667%}.zan-col-offset-1{margin-left:4.16667%}.zan-col-2{width:8.33333%}.zan-col-offset-2{margin-left:8.33333%}.zan-col-3{width:12.5%}.zan-col-offset-3{margin-left:12.5%}.zan-col-4{width:16.66667%}.zan-col-offset-4{margin-left:16.66667%}.zan-col-5{width:20.83333%}.zan-col-offset-5{margin-left:20.83333%}.zan-col-6{width:25%}.zan-col-offset-6{margin-left:25%}.zan-col-7{width:29.16667%}.zan-col-offset-7{margin-left:29.16667%}.zan-col-8{width:33.33333%}.zan-col-offset-8{margin-left:33.33333%}.zan-col-9{width:37.5%}.zan-col-offset-9{margin-left:37.5%}.zan-col-10{width:41.66667%}.zan-col-offset-10{margin-left:41.66667%}.zan-col-11{width:45.83333%}.zan-col-offset-11{margin-left:45.83333%}.zan-col-12{width:50%}.zan-col-offset-12{margin-left:50%}.zan-col-13{width:54.16667%}.zan-col-offset-13{margin-left:54.16667%}.zan-col-14{width:58.33333%}.zan-col-offset-14{margin-left:58.33333%}.zan-col-15{width:62.5%}.zan-col-offset-15{margin-left:62.5%}.zan-col-16{width:66.66667%}.zan-col-offset-16{margin-left:66.66667%}.zan-col-17{width:70.83333%}.zan-col-offset-17{margin-left:70.83333%}.zan-col-18{width:75%}.zan-col-offset-18{margin-left:75%}.zan-col-19{width:79.16667%}.zan-col-offset-19{margin-left:79.16667%}.zan-col-20{width:83.33333%}.zan-col-offset-20{margin-left:83.33333%}.zan-col-21{width:87.5%}.zan-col-offset-21{margin-left:87.5%}.zan-col-22{width:91.66667%}.zan-col-offset-22{margin-left:91.66667%}.zan-col-23{width:95.83333%}.zan-col-offset-23{margin-left:95.83333%}.zan-col-24{width:100%}.zan-col-offset-24{margin-left:100%}
--------------------------------------------------------------------------------
/dist/packages/@zanui/color/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-c-red{color:#f44!important}.zan-c-gray{color:#c9c9c9!important}.zan-c-gray-dark{color:#999!important}.zan-c-gray-darker{color:#666!important}.zan-c-black{color:#333!important}.zan-c-blue{color:#38f!important}.zan-c-green{color:#06bf04!important}
--------------------------------------------------------------------------------
/dist/packages/@zanui/dialog/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
8 | {{ zanDialog.content }}
10 |
12 |
13 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/dialog/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-dialog--container{position:fixed;top:45%;left:50%;width:80%;height:0;font-size:16px;overflow:hidden;transition:all .2s linear;border-radius:4px;background-color:#fff;transform:translate3d(-50%,-50%,0);color:#333;opacity:0;z-index:1}.zan-dialog--mask{position:fixed;width:100%;height:100%;top:0;left:0;background-color:rgba(0,0,0,.6);transition:.3s;display:none;z-index:1}.zan-dialog__header{padding:15px 0 0;text-align:center}.zan-dialog__content{position:relative;padding:15px 20px;line-height:1.5;min-height:40px}.zan-dialog__content::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e5e5e5;border-bottom-width:1px}.zan-dialog__content--title{color:#999;font-size:14px}.zan-dialog__footer{overflow:hidden}.zan-dialog__button{line-height:50px;height:50px;padding:0 5px;border-radius:0;margin-bottom:0}.zan-dialog__button::after{border-width:0;border-radius:0}.zan-dialog--show .zan-dialog--container{opacity:1;height:auto}.zan-dialog--show .zan-dialog--mask{display:block}.zan-dialog__footer--horizon{display:flex}.zan-dialog__footer--horizon .zan-dialog__button{flex:1}.zan-dialog__footer--horizon .zan-dialog__button::after{border-right-width:1px}.zan-dialog__footer--horizon .zan-dialog__button:last-child::after{border-right-width:0}.zan-dialog__footer--vertical .zan-dialog__button{flex:1}.zan-dialog__footer--vertical .zan-dialog__button::after{border-bottom-width:1px}.zan-dialog__footer--vertical .zan-dialog__button:last-child::after{border-bottom-width:0}
--------------------------------------------------------------------------------
/dist/packages/@zanui/field/index.js:
--------------------------------------------------------------------------------
1 | const { extractComponentId } = require('../common/helper');
2 |
3 | module.exports = {
4 | _handleZanFieldChange(event) {
5 | const componentId = extractComponentId(event);
6 | event.componentId = componentId;
7 |
8 |
9 |
10 | if (this.handleZanFieldChange) {
11 | return this.handleZanFieldChange(event);
12 | }
13 |
14 | console.warn('页面缺少 handleZanFieldChange 回调函数');
15 | },
16 |
17 | _handleZanFieldFocus(event) {
18 | const componentId = extractComponentId(event);
19 | event.componentId = componentId;
20 |
21 |
22 |
23 | if (this.handleZanFieldFocus) {
24 | return this.handleZanFieldFocus(event);
25 | }
26 | },
27 |
28 | _handleZanFieldBlur(event) {
29 | const componentId = extractComponentId(event);
30 | event.componentId = componentId;
31 |
32 |
33 |
34 | if (this.handleZanFieldBlur) {
35 | return this.handleZanFieldBlur(event);
36 | }
37 | }
38 | };
39 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/field/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{ title }}
6 |
20 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/field/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-cell{position:relative;padding:12px 15px;display:flex;align-items:center;line-height:1.4;font-size:14px}.zan-cell::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e5e5e5;border-bottom-width:1px;left:15px;right:0}.zan-cell__icon{margin-right:5px}.zan-cell__bd{flex:1}.zan-cell__text{line-height:24px;font-size:14px}.zan-cell__desc{line-height:1.2;font-size:12px;color:#666}.zan-cell__ft{position:relative;text-align:right;color:#666}.zan-cell__no-pading{padding:0}.zan-cell__no-pading .zan-cell__bd_padding{padding:12px 0 12px 15px}.zan-cell__no-pading .zan-cell__bd_padding .zan-form__input{height:26px}.zan-cell__no-pading .zan-cell__ft_padding{padding:12px 15px 12px 0}.zan-cell--last-child::after,.zan-cell:last-child::after{display:none}.zan-cell--access .zan-cell__ft{padding-right:13px}.zan-cell--access .zan-cell__ft::after{position:absolute;top:50%;right:2px;content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8c8;border-style:solid;transform:translateY(-50%) matrix(.71,.71,-.71,.71,0,0)}.zan-cell--switch{padding-top:6px;padding-bottom:6px}.zan-field{padding:7px 15px;color:#333}.zan-field--wrapped{margin:0 15px;background-color:#fff}.zan-field--wrapped::after{left:0;border-width:1px;border-radius:4px}.zan-field.zan-field--wrapped::after{display:block}.zan-field--wrapped+.zan-field--wrapped{margin-top:10px}.zan-field--error{color:#f40}.zan-field--wrapped.zan-field--error::after{border-color:#f40}.zan-field__title{color:#333;min-width:65px;padding-right:10px}.zan-field__input{flex:1;line-height:1.6;padding:4px 0;min-height:22px;height:auto;font-size:14px}.zan-field__placeholder{font-size:14px}.zan-field__input--right{text-align:right}
--------------------------------------------------------------------------------
/dist/packages/@zanui/index.js:
--------------------------------------------------------------------------------
1 | exports.Actionsheet = require('./actionsheet/index');
2 | exports.Dialog = require('./dialog/index');
3 | exports.Field = require('./field/index');
4 | exports.NoticeBar = require('./noticebar/index');
5 | exports.Select = require('./select/index');
6 | exports.Stepper = require('./stepper/index');
7 | exports.Switch = require('./switch/index');
8 | exports.Tab = require('./tab/index');
9 | exports.Toast = require('./toast/index');
10 | exports.TopTips = require('./toptips/index');
11 |
12 | // 兼容老版本,在下次大版本发布时会被移除
13 | exports.CheckLabel = require('./select/index');
14 |
15 | const { extend } = require('./common/helper');
16 | exports.extend = extend;
17 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/index.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/dist/packages/@zanui/index.wxml:
--------------------------------------------------------------------------------
1 |
2 | dist/packages/@zanui/index.wxml
3 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/loadmore/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | {{ nodata_str || '暂无数据' }}
14 |
15 |
16 |
17 |
18 |
19 |
20 | 加载中...
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/noticebar/index.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/dist/packages/@zanui/noticebar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
12 | {{ text }}
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/noticebar/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-noticebar{color:#f60;padding:9px 10px;font-size:12px;line-height:1.5;background-color:#fff7cc;}
--------------------------------------------------------------------------------
/dist/packages/@zanui/panel/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-panel{position:relative;background:#fff;margin-top:10px;overflow:hidden}.zan-panel::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e5e5e5;border-top-width:1px;border-bottom-width:1px}.zan-panel-title{font-size:14px;line-height:1;color:#999;padding:20px 15px 0 15px}.zan-panel--without-margin-top{margin-top:0}.zan-panel--without-border::after{border:0 none}
--------------------------------------------------------------------------------
/dist/packages/@zanui/popup/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-popup{visibility:hidden}.zan-popup--show{visibility:visible}.zan-popup__mask{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;background:rgba(0,0,0,.7);display:none}.zan-popup__container{position:fixed;left:50%;top:50%;background:#fff;transform:translate3d(-50%,-50%,0);transform-origin:center;transition:all .4s ease;z-index:11;opacity:0}.zan-popup--show .zan-popup__container{opacity:1}.zan-popup--show .zan-popup__mask{display:block}.zan-popup--left .zan-popup__container{left:0;top:auto;transform:translate3d(-100%,0,0)}.zan-popup--show.zan-popup--left .zan-popup__container{transform:translate3d(0,0,0)}.zan-popup--right .zan-popup__container{right:0;top:auto;left:auto;transform:translate3d(100%,0,0)}.zan-popup--show.zan-popup--right .zan-popup__container{transform:translate3d(0,0,0)}.zan-popup--bottom .zan-popup__container{top:auto;left:auto;bottom:0;transform:translate3d(0,100%,0)}.zan-popup--show.zan-popup--bottom .zan-popup__container{transform:translate3d(0,0,0)}.zan-popup--top .zan-popup__container{top:0;left:auto;transform:translate3d(0,-100%,0)}.zan-popup--show.zan-popup--top .zan-popup__container{transform:translate3d(0,0,0)}
--------------------------------------------------------------------------------
/dist/packages/@zanui/row/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-row:after{content:"";display:table;clear:both}
--------------------------------------------------------------------------------
/dist/packages/@zanui/select/index.js:
--------------------------------------------------------------------------------
1 | const { extractComponentId } = require('../common/helper');
2 |
3 | function handle(e) {
4 | const componentId = extractComponentId(e);
5 | const value = e.detail.value;
6 |
7 | callback.call(this, componentId, value);
8 | }
9 |
10 | function callback(componentId, value) {
11 | const e = { componentId, value };
12 |
13 |
14 | if (this.handleZanSelectChange) {
15 | this.handleZanSelectChange(e);
16 | } else {
17 | console.warn('页面缺少 handleZanSelectChange 回调函数');
18 | }
19 | }
20 |
21 | module.exports = {
22 | _handleZanSelectChange(e) {
23 | handle.call(this, e);
24 | }
25 | };
26 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/select/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
20 |
21 |
22 |
23 |
24 | function getColor(color) {
25 | color = color || '#ff4444'
26 | return color;
27 | }
28 |
29 | module.exports = {
30 | getColor: getColor,
31 | getItemStyle: function(item, checkedValue, activeColor) {
32 | var padding = item.padding * 10;
33 | var style = 'padding-left: ' + padding + 'px;';
34 |
35 | // 如果为选中状态,则高亮
36 | if (item.value === checkedValue) {
37 | style += 'color: ' + getColor(activeColor);
38 | }
39 |
40 | return style;
41 | }
42 | };
43 |
44 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/select/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-select__list .zan-select__radio{display:none}
--------------------------------------------------------------------------------
/dist/packages/@zanui/stepper/index.js:
--------------------------------------------------------------------------------
1 | function handle(e, num) {
2 | var dataset = e.currentTarget.dataset;
3 | var componentId = dataset.componentId;
4 | var disabled = dataset.disabled;
5 | var stepper = +dataset.stepper;
6 |
7 | if (disabled) return null;
8 |
9 | callback.call(this, componentId, stepper + num);
10 | }
11 |
12 | function callback(componentId, stepper) {
13 | stepper = +stepper;
14 | var e = { componentId, stepper };
15 |
16 |
17 | if (this.handleZanStepperChange) {
18 | this.handleZanStepperChange(e);
19 | } else {
20 | console.warn('页面缺少 handleZanStepperChange 回调函数');
21 | }
22 | }
23 |
24 | var Stepper = {
25 | _handleZanStepperMinus(e) {
26 | handle.call(this, e, -1);
27 | },
28 |
29 | _handleZanStepperPlus(e) {
30 | handle.call(this, e, +1);
31 | },
32 |
33 | _handleZanStepperBlur(e) {
34 | var dataset = e.currentTarget.dataset;
35 | var componentId = dataset.componentId;
36 | var max = +dataset.max;
37 | var min = +dataset.min;
38 | var value = e.detail.value;
39 |
40 | if (!value) {
41 | setTimeout(() => {
42 | callback.call(this, componentId, min);
43 | }, 16);
44 | callback.call(this, componentId, value);
45 | return '' + value;
46 | }
47 |
48 | value = +value;
49 | if (value > max) {
50 | value = max;
51 | } else if (value < min) {
52 | value = min;
53 | }
54 |
55 | callback.call(this, componentId, value);
56 |
57 | return '' + value;
58 | }
59 | };
60 |
61 | module.exports = Stepper;
62 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/stepper/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
10 |
20 | +
27 |
28 |
29 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/stepper/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-stepper{color:#666}.zan-stepper view{display:inline-block;line-height:20px;padding:5px 0;text-align:center;min-width:40px;box-sizing:border-box;vertical-align:middle;font-size:12px;border:1rpx solid #999}.zan-stepper .zan-stepper__minus{border-right:none;border-radius:2px 0 0 2px}.zan-stepper .zan-stepper__text{border:1rpx solid #999;display:inline-block;text-align:center;vertical-align:middle;height:30px;width:40px;min-height:auto;font-size:12px;line-height:30px}.zan-stepper .zan-stepper__plus{border-left:none;border-radius:0 2px 2px 0}.zan-stepper .zan-stepper--disabled{background:#f8f8f8;color:#bbb;border-color:#e8e8e8}.zan-stepper--small view{min-width:36px;line-height:18px}.zan-stepper--small .zan-stepper__text{width:36px;line-height:28px;height:28px}
--------------------------------------------------------------------------------
/dist/packages/@zanui/steps/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 | {{ step.text }}
8 | {{ step.desc }}
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/steps/wxss/vstep.wxss:
--------------------------------------------------------------------------------
1 | .zan-steps--vsteps{color:#999;font-size:14px}.zan-steps--vsteps .zan-steps__step{position:relative;padding:15px 0}.zan-steps--vsteps .zan-steps__step--done{color:#4b0}.zan-steps--vsteps .zan-steps__line{position:absolute;top:0;bottom:0;left:7px;width:1px;background-color:#e5e5e5}.zan-steps--vsteps .zan-steps__title{display:inline-block;line-height:20px;padding-left:27px}.zan-steps--vsteps .zan-steps__title--desc{padding-left:3px}.zan-steps--vsteps .zan-steps__icons{position:absolute;left:7px;top:50%;transform:translate(-50%,-50%);z-index:2;padding:3px 0;background-color:#fff}.zan-steps--vsteps .zan-steps__circle{width:5px;height:5px;background-color:#cacaca;border-radius:10px}.zan-steps--vsteps .zan-steps__step--done .zan-steps__circle{width:5px;height:5px;background-color:#09bb07}.zan-steps--vsteps .zan-steps__step--cur .zan-steps__circle{width:13px;height:13px;background:transparent url(https://b.yzcdn.cn/v2/image/wap/success_small@2x.png);background-size:13px 13px;border-radius:0}.zan-steps--vsteps .zan-steps__icon--active{width:13px;height:13px}.zan-steps--vsteps .zan-steps__step--first-child .zan-steps__title::before{content:'';position:absolute;top:0;bottom:50%;left:7px;width:1px;background-color:#fff;z-index:1}.zan-steps--vsteps .zan-steps__step--last-child .zan-steps__title::after{content:'';position:absolute;top:50%;bottom:0;left:7px;width:1px;background-color:#fff;z-index:1}
--------------------------------------------------------------------------------
/dist/packages/@zanui/switch/index.js:
--------------------------------------------------------------------------------
1 | var Switch = {
2 | _handleZanSwitchChange(e) {
3 | var dataset = e.currentTarget.dataset;
4 |
5 | var checked = !dataset.checked;
6 | var loading = dataset.loading;
7 | var disabled = dataset.disabled;
8 | var componentId = dataset.componentId;
9 |
10 | if (loading || disabled) return;
11 |
12 |
13 |
14 | if (this.handleZanSwitchChange) {
15 | this.handleZanSwitchChange({
16 | checked,
17 | componentId
18 | });
19 | } else {
20 | console.warn('页面缺少 handleZanSwitchChange 回调函数');
21 | }
22 | }
23 | };
24 |
25 | module.exports = Switch;
26 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/switch/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/switch/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-switch{position:relative;display:inline-block;width:52px;height:32px;vertical-align:middle;box-sizing:border-box;border-radius:16px;background:#44db5e;border:1px solid #44db5e}.zan-switch__circle{position:absolute;top:0;left:0;width:30px;height:30px;display:inline-block;background:#fff;border-radius:15px;box-sizing:border-box;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 3px 1px 0 rgba(0,0,0,.05),0 2px 2px 0 rgba(0,0,0,.1),0 3px 3px 0 rgba(0,0,0,.05);transition:transform .35s cubic-bezier(.45,1,.4,1);z-index:2}.zan-switch__bg{position:absolute;top:-1px;left:-1px;width:52px;height:32px;background:#fff;border-radius:26px;display:inline-block;border:1px solid #e5e5e5;box-sizing:border-box;transition:transform .35s cubic-bezier(.45,1,.4,1);transform:scale(0);transform-origin:36px 16px}.zan-switch--on .zan-switch__circle{transform:translateX(20px)}.zan-switch--off .zan-switch__bg{transform:scale(1)}.zan-swtich--disabled{opacity:.4}.zan-switch__loading{position:absolute;left:7px;top:7px;width:16px;height:16px;background:url(https://img.yzcdn.cn/public_files/2017/02/24/9acec77d91106cd15b8107c4633d9155.png) no-repeat;background-size:16px 16px;animation:zan-switch-loading .8s infinite linear}@keyframes zan-switch-loading{from{transform:rotate(0)}to{transform:rotate(360deg)}}
--------------------------------------------------------------------------------
/dist/packages/@zanui/tab/index.js:
--------------------------------------------------------------------------------
1 | const { extractComponentId } = require('../common/helper');
2 |
3 | var Tab = {
4 | _handleZanTabChange(e) {
5 | const componentId = extractComponentId(e);
6 | const dataset = e.currentTarget.dataset;
7 | const selectedId = dataset.itemId;
8 | const data = { componentId, selectedId };
9 |
10 |
11 | if (this.handleZanTabChange) {
12 | this.handleZanTabChange(data);
13 | } else {
14 | console.warn('页面缺少 handleZanTabChange 回调函数');
15 | }
16 | }
17 | };
18 |
19 | module.exports = Tab;
20 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/tab/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
12 |
13 |
14 |
15 |
16 |
17 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
35 | {{ item.title }}
36 |
37 |
38 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/tab/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-tab{height:45px}.zan-tab__bd{width:750rpx;display:flex;flex-direction:row;border-bottom:1rpx solid #e5e5e5;background:#fff}.zan-tab__bd--fixed{position:fixed;top:0;z-index:2}.zan-tab__item{flex:1;display:inline-block;padding:0 10px;line-height:0;box-sizing:border-box;overflow:hidden;text-align:center}.zan-tab__title{display:inline-block;max-width:100%;height:44px;line-height:44px;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;word-break:keep-all;font-size:14px;color:#666}.zan-tab__item--selected .zan-tab__title{color:#f44;border-bottom:2px solid #f44}.zan-tab__bd--scroll{display:block;white-space:nowrap}.zan-tab__bd--scroll .zan-tab__item{min-width:80px}
--------------------------------------------------------------------------------
/dist/packages/@zanui/tag/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-tag{display:inline-block;position:relative;box-sizing:border-box;line-height:16px;padding:0 5px;border-radius:2px;font-size:11px;background:#c9c9c9;text-align:center;color:#fff}.zan-tag::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e5e5e5;border-width:1px;border-radius:4px}.zan-tag--plain{color:#c9c9c9;background:#fff}.zan-tag--primary{color:#fff;background-color:#4b0}.zan-tag--primary::after{border-color:#4b0}.zan-tag--primary.zan-tag--plain{color:#4b0;background:#fff}.zan-tag--danger{color:#fff;background:#f44}.zan-tag--danger::after{border-color:#f44}.zan-tag--danger.zan-tag--plain{color:#f44;background:#fff}.zan-tag--warn{color:#fff;background:#f85}.zan-tag--warn::after{border-color:#f85}.zan-tag--warn.zan-tag--plain{color:#f85;background:#fff}.zan-tag--disabled{color:#999!important;background:#e5e5e5}.zan-tag--disabled::after{border-color:#ccc}
--------------------------------------------------------------------------------
/dist/packages/@zanui/toast/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | showZanToast(title, timeout) {
3 | const options = formatParameter(title, timeout);
4 |
5 | // 清除上一轮的计时器
6 | const { timer = 0 } = this.data.zanToast || {};
7 | clearTimeout(timer);
8 |
9 | // 弹层设置~
10 | const zanToast = {
11 | show: true,
12 | icon: options.icon,
13 | image: options.image,
14 | title: options.title
15 | };
16 | this.setData({
17 | zanToast
18 | });
19 |
20 | // 传入的显示时长小于0,就认为需要一直显示
21 | if (timeout < 0) {
22 | return;
23 | }
24 |
25 | // 下一轮计时器
26 | const nextTimer = setTimeout(() => {
27 | this.clearZanToast();
28 | }, timeout || 3000);
29 |
30 | this.setData({
31 | 'zanToast.timer': nextTimer
32 | });
33 | },
34 |
35 | // 清除所有 toast
36 | clearZanToast() {
37 | const { timer = 0 } = this.data.zanToast || {};
38 | clearTimeout(timer);
39 |
40 | this.setData({
41 | 'zanToast.show': false
42 | });
43 | },
44 |
45 | // 快捷方法,显示 loading
46 | showZanLoading(title) {
47 | const options = formatParameter(title);
48 |
49 | this.showZanToast({
50 | ...options,
51 | icon: 'loading'
52 | });
53 | }
54 | };
55 |
56 | function formatParameter(title, timeout = 0) {
57 | // 如果传入的 title 是对象,那么认为所有的配置属性都在这个对象中了
58 | if (typeof title === 'object') {
59 | return title;
60 | }
61 |
62 | return {
63 | title,
64 | timeout
65 | };
66 | }
67 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/toast/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
11 |
16 |
20 |
21 |
22 |
26 |
27 |
28 |
29 | {{ zanToast.title }}
30 |
31 |
32 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/toast/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-toast{position:fixed;top:35%;left:50%;transform:translate3d(-50%,-50%,0);background:rgba(0,0,0,.7);color:#fff;font-size:14px;line-height:1.5em;margin:0 auto;box-sizing:border-box;padding:10px 18px;text-align:center;border-radius:4px;z-index:100}.zan-toast--notitle{padding:18px}.zan-toast__icon{width:40px;height:40px;line-height:40px;margin:0 auto;padding:12px 15px;font-size:38px;text-align:center}.zan-toast__icon-loading{line-height:0}.zan-toast__icon-loading .zan-loading{width:40px;height:40px}.zan-toast__icon-image{background-size:40px;background-position:center;background-repeat:no-repeat}
--------------------------------------------------------------------------------
/dist/packages/@zanui/toptips/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | showZanTopTips(content = '', options = {}) {
3 | let zanTopTips = this.data.zanTopTips || {};
4 | // 如果已经有一个计时器在了,就清理掉先
5 | if (zanTopTips.timer) {
6 | clearTimeout(zanTopTips.timer);
7 | zanTopTips.timer = 0;
8 | }
9 |
10 | if (typeof options === 'number') {
11 | options = {
12 | duration: options
13 | };
14 | }
15 |
16 | // options参数默认参数扩展
17 | options = Object.assign({
18 | duration: 3000
19 | }, options);
20 |
21 | // 设置定时器,定时关闭topTips
22 | let timer = setTimeout(() => {
23 | this.setData({
24 | 'zanTopTips.show': false,
25 | 'zanTopTips.timer': 0
26 | });
27 | }, options.duration);
28 |
29 | // 展示出topTips
30 | this.setData({
31 | zanTopTips: {
32 | show: true,
33 | content,
34 | options,
35 | timer
36 | }
37 | });
38 | }
39 | };
40 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/toptips/index.wxml:
--------------------------------------------------------------------------------
1 |
2 | {{ zanTopTips.content }}
3 |
4 |
--------------------------------------------------------------------------------
/dist/packages/@zanui/toptips/index.wxss:
--------------------------------------------------------------------------------
1 | .zan-toptips{display:block;position:fixed;-webkit-transform:translateZ(0) translateY(-100%);width:100%;min-height:32px;top:0;line-height:2.3;font-size:14px;text-align:center;color:#fff;background-color:#e64340;z-index:110;opacity:0;transition:all .4s ease}.zan-toptips--show{-webkit-transform:translateZ(0) translateY(0);opacity:1}
--------------------------------------------------------------------------------
/images/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/.DS_Store
--------------------------------------------------------------------------------
/images/0.5star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/0.5star.png
--------------------------------------------------------------------------------
/images/0star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/0star.png
--------------------------------------------------------------------------------
/images/1star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/1star.png
--------------------------------------------------------------------------------
/images/add-addr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/add-addr.png
--------------------------------------------------------------------------------
/images/addr-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/addr-active.png
--------------------------------------------------------------------------------
/images/addr-edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/addr-edit.png
--------------------------------------------------------------------------------
/images/addr-line.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/addr-line.png
--------------------------------------------------------------------------------
/images/goodsDescription/buy2add1red.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/goodsDescription/buy2add1red.jpg
--------------------------------------------------------------------------------
/images/goodsDescription/fresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/goodsDescription/fresh.png
--------------------------------------------------------------------------------
/images/gou-red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/gou-red.png
--------------------------------------------------------------------------------
/images/gou.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/gou.png
--------------------------------------------------------------------------------
/images/ico-add-addr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/ico-add-addr.png
--------------------------------------------------------------------------------
/images/ico-addr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/ico-addr.png
--------------------------------------------------------------------------------
/images/icon-cart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/icon-cart.png
--------------------------------------------------------------------------------
/images/location_red_blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/location_red_blue.png
--------------------------------------------------------------------------------
/images/more/backGround.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/backGround.png
--------------------------------------------------------------------------------
/images/more/close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/close.png
--------------------------------------------------------------------------------
/images/more/confirm-word1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/confirm-word1.png
--------------------------------------------------------------------------------
/images/more/del.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/del.png
--------------------------------------------------------------------------------
/images/more/down-thin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/down-thin.png
--------------------------------------------------------------------------------
/images/more/down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/down.png
--------------------------------------------------------------------------------
/images/more/down_w.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/down_w.png
--------------------------------------------------------------------------------
/images/more/enter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/enter.png
--------------------------------------------------------------------------------
/images/more/left_g.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/left_g.png
--------------------------------------------------------------------------------
/images/more/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/loading.gif
--------------------------------------------------------------------------------
/images/more/noticePic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/noticePic.png
--------------------------------------------------------------------------------
/images/more/opensmall.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/opensmall.png
--------------------------------------------------------------------------------
/images/more/right_g.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/right_g.png
--------------------------------------------------------------------------------
/images/more/run.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/run.png
--------------------------------------------------------------------------------
/images/more/search_pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/search_pic.png
--------------------------------------------------------------------------------
/images/more/timg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/timg.jpg
--------------------------------------------------------------------------------
/images/more/title8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/title8.png
--------------------------------------------------------------------------------
/images/more/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/up.png
--------------------------------------------------------------------------------
/images/more/wave.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/more/wave.png
--------------------------------------------------------------------------------
/images/nav/cart-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/cart-off.png
--------------------------------------------------------------------------------
/images/nav/cart-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/cart-on.png
--------------------------------------------------------------------------------
/images/nav/cart-on1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/cart-on1.png
--------------------------------------------------------------------------------
/images/nav/classification-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/classification-off.png
--------------------------------------------------------------------------------
/images/nav/classification-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/classification-on.png
--------------------------------------------------------------------------------
/images/nav/find-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/find-off.png
--------------------------------------------------------------------------------
/images/nav/find-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/find-on.png
--------------------------------------------------------------------------------
/images/nav/home-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/home-off.png
--------------------------------------------------------------------------------
/images/nav/home-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/home-on.png
--------------------------------------------------------------------------------
/images/nav/icon-aixin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/icon-aixin.png
--------------------------------------------------------------------------------
/images/nav/icon-aixin1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/icon-aixin1.png
--------------------------------------------------------------------------------
/images/nav/my-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/my-off.png
--------------------------------------------------------------------------------
/images/nav/my-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/my-on.png
--------------------------------------------------------------------------------
/images/nav/order-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/order-off.png
--------------------------------------------------------------------------------
/images/nav/order-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/order-on.png
--------------------------------------------------------------------------------
/images/nav/select-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/select-off.png
--------------------------------------------------------------------------------
/images/nav/select-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/nav/select-on.png
--------------------------------------------------------------------------------
/images/order-details/arrow-right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/order-details/arrow-right.png
--------------------------------------------------------------------------------
/images/order-details/icon-address.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/order-details/icon-address.png
--------------------------------------------------------------------------------
/images/order-details/icon-ddfh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/order-details/icon-ddfh.png
--------------------------------------------------------------------------------
/images/order-details/icon-ddfk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/order-details/icon-ddfk.png
--------------------------------------------------------------------------------
/images/order-details/icon-ddgb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/order-details/icon-ddgb.png
--------------------------------------------------------------------------------
/images/order-details/icon-ddsh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/order-details/icon-ddsh.png
--------------------------------------------------------------------------------
/images/order-details/icon-jycg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/order-details/icon-jycg.png
--------------------------------------------------------------------------------
/images/order-details/icon-wuliu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/order-details/icon-wuliu.png
--------------------------------------------------------------------------------
/images/popup-close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/images/popup-close.png
--------------------------------------------------------------------------------
/log.txt:
--------------------------------------------------------------------------------
1 | V1.7.7.8.5 AK47 2018-01-06 15:25:00 优化用户授权、商品详情增加视频播放支持 ;基于2018年1月3号修改;用户中心优惠券显示bug修复;修复直接购买下单没有起送价bug
2 |
3 | v1.7.7.8.6 AK47 2018-01-12 11:11:00 添加订单列表滑动切换体验;添加100ư鲜显示;优化精选页notice显示;优化购物车页面浏览体验;添加分类页时钟显示;
4 |
5 | v1.7.7.8.7 AK47 2018-01-12 19:21:00 修复商品详情页图片之间空隙bug;
6 |
7 | v1.8 AK47 2018-01-15 20:54:00 修复选择地址列表底部被掩盖现象;更新底包至V1.8;offline版本将所有图片(除wxss中的url外)转换到本地存储;
8 |
9 | v2.0.1 qindiandadudu 2018-04-08 22:50:00 年后bug修复,更新EastWorld底包到2.0(2018-04-08)版本;添加搜索历史记录、联想
10 |
11 | v2.0.2 qindiandadudu 2018-04-09 14:32:00 搜索框添加智能联想全部商品;添加搜索内容任意字符匹配(模糊匹配)
12 | v2.0.3 qindiandadudu 2018-04-09 10:20:00 修复待付款订单底部显示问题
13 | v2.0.5 qindiandadudu 2018-05-19 16:29:00 修改授权登陆方式;例行bug修复
14 | v2.0.6 qindiandadudu 2018-05-24 08:50 修复kjId导致的无法下单问题; 支付订单时候增加判断用户积分是否充足
--------------------------------------------------------------------------------
/min.config.json:
--------------------------------------------------------------------------------
1 | {
2 | "npm": {
3 | "dest": "dist/packages"
4 | },
5 | "compilers": {
6 | "babel": {
7 | "sourceMaps": "inline",
8 | "presets": [
9 | "env"
10 | ],
11 | "plugins": [
12 | "syntax-export-extensions",
13 | "transform-class-properties",
14 | "transform-decorators-legacy",
15 | "transform-export-extensions"
16 | ]
17 | }
18 | }
19 | }
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "时刻到家",
3 | "description": "时刻零售超市",
4 | "version": "2.0.6",
5 | "repository": {
6 | "type": "git",
7 | "url": ""
8 | },
9 | "author": "qindiandadudu",
10 | "license": "MIT",
11 | "dependencies": {
12 | "@minui/wxc-abnor": "^1.0.7",
13 | "@minui/wxc-avatar": "^1.0.4",
14 | "@minui/wxc-badge": "^1.0.5",
15 | "@minui/wxc-button": "^1.0.1",
16 | "@minui/wxc-cc": "^1.0.3",
17 | "@minui/wxc-countdown": "^1.0.5",
18 | "@minui/wxc-counter": "^1.0.6",
19 | "@minui/wxc-dialog": "^1.0.9",
20 | "@minui/wxc-elip": "^1.0.5",
21 | "@minui/wxc-flex": "^1.0.5",
22 | "@minui/wxc-icon": "^1.0.9",
23 | "@minui/wxc-input": "^1.0.1",
24 | "@minui/wxc-label": "^1.0.5",
25 | "@minui/wxc-list": "^1.0.1",
26 | "@minui/wxc-loading": "^1.0.8",
27 | "@minui/wxc-loadmore": "^1.0.5",
28 | "@minui/wxc-mask": "^1.0.8",
29 | "@minui/wxc-notice": "^1.0.1",
30 | "@minui/wxc-panel": "^1.0.1",
31 | "@minui/wxc-popup": "^1.0.9",
32 | "@minui/wxc-price": "^1.0.8",
33 | "@minui/wxc-progress": "^1.0.5",
34 | "@minui/wxc-rate": "^1.0.1",
35 | "@minui/wxc-search": "^1.0.1",
36 | "@minui/wxc-select": "^1.0.1",
37 | "@minui/wxc-steps": "^1.0.7",
38 | "@minui/wxc-tab": "^1.0.8",
39 | "@minui/wxc-toast": "^1.0.9",
40 | "babel-plugin-syntax-export-extensions": "^6.13.0",
41 | "babel-plugin-transform-class-properties": "^6.24.1",
42 | "babel-plugin-transform-decorators-legacy": "^1.3.4",
43 | "babel-plugin-transform-export-extensions": "^6.22.0",
44 | "babel-preset-env": "^1.6.1"
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/pages/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/pages/.DS_Store
--------------------------------------------------------------------------------
/pages/address-add/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "新增地址"
3 | }
--------------------------------------------------------------------------------
/pages/authorize/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户信息授权",
3 | "usingComponents": {
4 | "wxc-button": "../../dist/packages/@minui/wxc-button/dist/index"
5 | }
6 | }
--------------------------------------------------------------------------------
/pages/authorize/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
--------------------------------------------------------------------------------
/pages/authorize/index.wxss:
--------------------------------------------------------------------------------
1 | page {
2 | height: 100%;
3 | }
4 |
5 | .container {
6 | background-color: #f5f5f9;
7 | justify-content: initial;
8 | }
9 |
10 | .form-box {
11 | width: 100%;
12 | background-color: #fff;
13 | margin-top: 20rpx;
14 | }
15 |
16 | .row-wrap {
17 | width: 720rpx;
18 | height: 88rpx;
19 | line-height: 88rpx;
20 | margin-left: 30rpx;
21 | border-bottom: 1rpx solid #eee;
22 | display: flex;
23 | font-size: 28rpx;
24 | /*justify-content: space-between;*/
25 | }
26 |
27 | .row-wrap .label {
28 | width: 160rpx;
29 | color: #000;
30 | }
31 |
32 | .row-wrap .label-right {
33 | flex: 1;
34 | height: 88rpx;
35 | line-height: 88rpx;
36 | }
37 |
38 | .row-wrap .label-right input {
39 | height: 100%;
40 | font-size: 28rpx;
41 | padding-right: 30rpx;
42 | }
43 |
44 | .row-wrap .right-box {
45 | margin-right: 30rpx;
46 | }
47 |
48 | .arrow-right {
49 | width: 15rpx;
50 | height: 24rpx;
51 | }
52 |
53 | .agree-btn {
54 | margin-top: 50rpx;
55 | color: #000;
56 | }
57 |
58 | .reject-btn {
59 | margin-top: 180rpx;
60 | background-color: #ff5777;
61 | color: #fff;
62 | }
63 |
64 | .addr-details {
65 | height: auto;
66 | padding: 30rpx 0;
67 | margin-left: 30rpx;
68 | border-bottom: 1rpx solid #eee;
69 | display: flex;
70 | font-size: 28rpx;
71 | }
72 |
73 | .addr-details .label {
74 | margin: auto 0 auto 0;
75 | width: 160rpx;
76 | color: #000;
77 | }
78 |
79 | .addr-details textarea {
80 | box-sizing: border-box;
81 | width: 480rpx;
82 | overflow: scroll;
83 | }
84 |
85 | picker {
86 | min-width: 20rpx;
87 | height: 100%;
88 | margin-right: 20rpx;
89 | }
90 |
91 | .hui {
92 | color: #777;
93 | }
94 |
--------------------------------------------------------------------------------
/pages/choiceness/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "enablePullDownRefresh": true,
3 | "usingComponents": {
4 | "wxc-icon": "../../dist/packages/@minui/wxc-icon/dist/index",
5 | "wxc-flex": "../../dist/packages/@minui/wxc-flex/dist/index",
6 | "wxc-loadmore": "../../dist/packages/@minui/wxc-loadmore/dist/index",
7 | "wxc-price": "../../dist/packages/@minui/wxc-price/dist/index",
8 | "wxc-label": "../../dist/packages/@minui/wxc-label/dist/index",
9 | "wxc-popup": "../../dist/packages/@minui/wxc-popup/dist/index"
10 | }
11 | }
--------------------------------------------------------------------------------
/pages/classification/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "enablePullDownRefresh": true,
3 | "usingComponents": {
4 | "wxc-abnor": "../../dist/packages/@minui/wxc-abnor/dist/index",
5 | "wxc-notice": "../../dist/packages/@minui/wxc-notice/dist/index",
6 | "wxc-loadmore": "../../dist/packages/@minui/wxc-loadmore/dist/index",
7 | "wxc-elip": "../../dist/packages/@minui/wxc-elip/dist/index",
8 | "wxc-price": "../../dist/packages/@minui/wxc-price/dist/index",
9 | "wxc-label": "../../dist/packages/@minui/wxc-label/dist/index",
10 | "wxc-toast": "../../dist/packages/@minui/wxc-toast/dist/index",
11 | "wxc-loading": "../../dist/packages/@minui/wxc-loading/dist/index",
12 | "wxc-dialog": "../../dist/packages/@minui/wxc-dialog/dist/index"
13 | }
14 | }
--------------------------------------------------------------------------------
/pages/finder/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "发现优惠",
3 | "enablePullDownRefresh": true,
4 | "usingComponents": {
5 | "wxc-icon": "../../dist/packages/@minui/wxc-icon/dist/index",
6 | "wxc-flex": "../../dist/packages/@minui/wxc-flex/dist/index",
7 | "wxc-loadmore": "../../dist/packages/@minui/wxc-loadmore/dist/index",
8 | "wxc-label": "../../dist/packages/@minui/wxc-label/dist/index",
9 | "wxc-toast": "../../dist/packages/@minui/wxc-toast/dist/index"
10 | }
11 | }
--------------------------------------------------------------------------------
/pages/goods-details/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "商品详情",
3 | "usingComponents": {
4 | "wxc-loadmore": "../../dist/packages/@minui/wxc-loadmore/dist/index",
5 | "wxc-price": "../../dist/packages/@minui/wxc-price/dist/index",
6 | "wxc-icon": "../../dist/packages/@minui/wxc-icon/dist/index",
7 | "wxc-label": "../../dist/packages/@minui/wxc-label/dist/index"
8 | }
9 | }
--------------------------------------------------------------------------------
/pages/kanjia/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "砍价详情"
3 | }
4 |
--------------------------------------------------------------------------------
/pages/notice/show.js:
--------------------------------------------------------------------------------
1 | var app = getApp();
2 | var WxParse = require('../../templates/wxParse/wxParse.js');
3 |
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {
10 |
11 | },
12 |
13 | /**
14 | * 生命周期函数--监听页面加载
15 | */
16 | onLoad: function (options) {
17 | var that = this;
18 | wx.request({
19 | url: 'https://api.it120.cc/' + app.globalData.subDomain + '/notice/detail',
20 | data: {
21 | id: options.id
22 | },
23 | success: function (res) {
24 | if (res.data.code == 0) {
25 | that.setData({
26 | notice: res.data.data
27 | });
28 | WxParse.wxParse('article', 'html', res.data.data.content, that, 5);
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 | /**
77 | * 用户点击右上角分享
78 | */
79 | onShareAppMessage: function () {
80 |
81 | }
82 | })
--------------------------------------------------------------------------------
/pages/notice/show.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "公告详情"
3 | }
--------------------------------------------------------------------------------
/pages/notice/show.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{notice.title}}
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pages/notice/show.wxss:
--------------------------------------------------------------------------------
1 | .notice {
2 | width: 750rpx;
3 | padding: 15rpx;
4 | font-size: 25rpx;
5 | }
6 | .title {
7 | color:chocolate;
8 | font-size: 30rpx;
9 | margin-bottom: 30rpx;
10 | }
--------------------------------------------------------------------------------
/pages/order-details/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "订单详情"
3 | }
--------------------------------------------------------------------------------
/pages/recharge/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "在线充值"
3 | }
--------------------------------------------------------------------------------
/pages/recharge/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
14 |
--------------------------------------------------------------------------------
/pages/search/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "发现另一个世界",
3 | "navigationBarBackgroundColor": "#69C3AA",
4 | "usingComponents": {
5 | "wxc-icon": "../../dist/packages/@minui/wxc-icon/dist/index",
6 | "wxc-loadmore": "../../dist/packages/@minui/wxc-loadmore/dist/index",
7 | "wxc-abnor": "../../dist/packages/@minui/wxc-abnor/dist/index",
8 | "wxc-price": "../../dist/packages/@minui/wxc-price/dist/index",
9 | "wxc-label": "../../dist/packages/@minui/wxc-label/dist/index"
10 | }
11 | }
--------------------------------------------------------------------------------
/pages/select-address/index.js:
--------------------------------------------------------------------------------
1 | //index.js
2 | //获取应用实例
3 | var app = getApp()
4 | Page({
5 | data: {
6 | addressList:[]
7 | },
8 |
9 | selectTap: function (e) {
10 | var id = e.currentTarget.dataset.id;
11 | wx.request({
12 | url: 'https://api.it120.cc/'+ app.globalData.subDomain +'/user/shipping-address/update',
13 | data: {
14 | token: wx.getStorageSync('token'),
15 | id:id,
16 | isDefault:'true'
17 | },
18 | success: (res) =>{
19 | wx.navigateBack({})
20 | }
21 | })
22 | },
23 |
24 | addAddess : function () {
25 | wx.navigateTo({
26 | url:"/pages/address-add/index"
27 | })
28 | },
29 |
30 | editAddess: function (e) {
31 | wx.navigateTo({
32 | url: "/pages/address-add/index?id=" + e.currentTarget.dataset.id
33 | })
34 | },
35 |
36 | onLoad: function () {
37 | console.log('onLoad')
38 |
39 |
40 | },
41 | onShow : function () {
42 | this.initShippingAddress();
43 | },
44 | initShippingAddress: function () {
45 | var that = this;
46 | wx.request({
47 | url: 'https://api.it120.cc/'+ app.globalData.subDomain +'/user/shipping-address/list',
48 | data: {
49 | token: wx.getStorageSync('token')
50 | },
51 | success: (res) =>{
52 | if (res.data.code == 0) {
53 | that.setData({
54 | addressList:res.data.data
55 | });
56 | } else if (res.data.code == 700){
57 | that.setData({
58 | addressList: null
59 | });
60 | }
61 | }
62 | })
63 | }
64 |
65 | })
66 |
--------------------------------------------------------------------------------
/pages/select-address/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "选择收货地址",
3 | "usingComponents": {
4 | "wxc-icon": "../../dist/packages/@minui/wxc-icon/dist/index"
5 | }
6 | }
--------------------------------------------------------------------------------
/pages/select-address/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {{item.linkMan}} {{item.mobile}}
7 |
8 |
9 | {{item.address}}
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | 新增收货地址
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/pages/shop-cart/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "购物车",
3 | "usingComponents": {
4 | "wxc-abnor": "../../dist/packages/@minui/wxc-abnor/dist/index",
5 | "wxc-loadmore": "../../dist/packages/@minui/wxc-loadmore/dist/index",
6 | "wxc-counter": "../../dist/packages/@minui/wxc-counter/dist/index",
7 | "wxc-price": "../../dist/packages/@minui/wxc-price/dist/index",
8 | "wxc-label": "../../dist/packages/@minui/wxc-label/dist/index"
9 | }
10 | }
--------------------------------------------------------------------------------
/pages/shop-cart/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/pages/shop-cart/index.wxss:
--------------------------------------------------------------------------------
1 | /**index.wxss**/
2 | @import "../../templates/template-cart/template-cart.wxss";
3 | page{
4 | height: 100%;
5 | /*overflow: hidden;*/
6 | }
7 | .container {
8 | width: 100%;
9 | background: #f4f4f4;
10 | display: flex;
11 | flex-direction: column;
12 | justify-content: flex-start;
13 | }
14 | .pos-fiexd{
15 | position: fixed;
16 | bottom: 0;
17 | left: 0;
18 | }
--------------------------------------------------------------------------------
/pages/start/start.js:
--------------------------------------------------------------------------------
1 | //login.js
2 | //获取应用实例
3 | var app = getApp();
4 | Page({
5 | data: {
6 | remind: '加载中',
7 | angle: 0
8 | },
9 | goToIndex:function(){
10 | wx.switchTab({
11 | url: '/pages/classification/index',
12 | });
13 | },
14 | onLoad:function(){
15 | var that = this
16 | that.setData({
17 | background_color: app.globalData.globalBGColor,
18 | bgRed: app.globalData.bgRed,
19 | bgGreen: app.globalData.bgGreen,
20 | bgBlue: app.globalData.bgBlue
21 | })
22 | },
23 | onShow:function(){
24 |
25 | },
26 | onReady: function(){
27 | var that = this;
28 | setTimeout(function(){
29 | that.setData({
30 | remind: ''
31 | });
32 | }, 1000);
33 | wx.onAccelerometerChange(function(res) {
34 | var angle = -(res.x*30).toFixed(1);
35 | if(angle>14){ angle=14; }
36 | else if(angle<-14){ angle=-14; }
37 | if(that.data.angle !== angle){
38 | that.setData({
39 | angle: angle
40 | });
41 | }
42 | });
43 | },
44 | });
--------------------------------------------------------------------------------
/pages/start/start.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": " ",
3 | "enablePullDownRefresh": false,
4 | "disableScroll": true,
5 | "usingComponents": {
6 | "wxc-button": "../../dist/packages/@minui/wxc-button/dist/index",
7 | "wxc-icon": "../../dist/packages/@minui/wxc-icon/dist/index"
8 | }
9 | }
--------------------------------------------------------------------------------
/pages/start/start.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | 进入店铺
18 |
19 |
20 | © 2017 qindiandadudu 倾情巨献
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/pages/to-pay-order/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "待付款订单",
3 | "usingComponents": {
4 | "wxc-icon": "../../dist/packages/@minui/wxc-icon/dist/index"
5 | }
6 | }
--------------------------------------------------------------------------------
/pages/ucenter/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/pages/ucenter/.DS_Store
--------------------------------------------------------------------------------
/pages/ucenter/feedback/feedback.js:
--------------------------------------------------------------------------------
1 | //var util = require('../../../utils/util.js');
2 | //var api = require('../../../config/api.js');
3 |
4 |
5 |
6 | var app = getApp();
7 |
8 | Page({
9 | data: {
10 | array: ['请选择反馈类型', '商品相关', '物流状况', '客户服务', '优惠活动', '功能异常', '产品建议', '其他'],
11 | index: 0,
12 | inputTxt: '',
13 | },
14 | bindPickerChange: function (e) {
15 | console.log('picker发送选择改变,携带值为', e.detail.value)
16 | this.setData({
17 | index: e.detail.value
18 | })
19 | },
20 | clearMobileNumber: function(){
21 | this.setData({
22 | //更新页面input框显示
23 | inputTxt: ''
24 | })
25 | },
26 | onLoad: function (options) {
27 | },
28 | onReady: function () {
29 |
30 | },
31 | onShow: function () {
32 |
33 | },
34 | onHide: function () {
35 | // 页面隐藏
36 |
37 | },
38 | onUnload: function () {
39 | // 页面关闭
40 | }
41 | })
--------------------------------------------------------------------------------
/pages/ucenter/feedback/feedback.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "意见反馈"
3 | }
--------------------------------------------------------------------------------
/pages/ucenter/feedback/feedback.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {{array[index]}}
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | 0/500
15 |
16 |
17 | 手机号码
18 |
19 |
20 |
21 |
22 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/pages/ucenter/footprint/footprint.json:
--------------------------------------------------------------------------------
1 | {
2 |
3 | }
--------------------------------------------------------------------------------
/pages/ucenter/footprint/footprint.wxml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
--------------------------------------------------------------------------------
/pages/ucenter/footprint/footprint.wxss:
--------------------------------------------------------------------------------
1 | page{
2 | background: #f4f4f4;
3 | min-height: 100%;
4 | }
5 |
6 | .container{
7 | background: #f4f4f4;
8 | min-height: 100%;
9 | }
10 |
11 | .footprint{
12 | height: auto;
13 | overflow: hidden;
14 | width: 100%;
15 | border-top: 1px solid #e1e1e1;
16 | }
17 |
18 | .day-item{
19 | height: auto;
20 | overflow: hidden;
21 | width: 100%;
22 | margin-bottom: 20rpx;
23 | }
24 |
25 | .day-hd{
26 | height: 94rpx;
27 | width: 100%;
28 | line-height: 94rpx;
29 | background: #fff;
30 | padding-left: 30rpx;
31 | color: #333;
32 | font-size: 28rpx;
33 | }
34 |
35 | .day-list{
36 | width: 100%;
37 | height: auto;
38 | overflow: hidden;
39 | background: #fff;
40 | padding-left: 30rpx;
41 | border-top: 1px solid #e1e1e1;
42 | }
43 |
44 | .item{
45 | height: 212rpx;
46 | width: 720rpx;
47 | background: #fff;
48 | padding: 30rpx 30rpx 30rpx 0;
49 | border-bottom: 1px solid #e1e1e1;
50 | }
51 |
52 | .item:last-child{
53 | border-bottom: 1px solid #fff;
54 | }
55 |
56 | .item .img{
57 | float: left;
58 | width: 150rpx;
59 | height: 150rpx;
60 | }
61 |
62 | .item .info{
63 | float: right;
64 | width: 540rpx;
65 | height: 150rpx;
66 | display: flex;
67 | flex-direction: column;
68 | justify-content: center;
69 | padding-left: 20rpx;
70 | }
71 |
72 | .item .info .name{
73 | font-size: 28rpx;
74 | color: #333;
75 | line-height: 40rpx;
76 | }
77 |
78 |
79 | .item .info .subtitle{
80 | margin-top: 8rpx;
81 | font-size: 24rpx;
82 | color: #888;
83 | line-height: 40rpx;
84 | }
85 |
86 | .item .info .price{
87 | margin-top: 8rpx;
88 | font-size: 28rpx;
89 | color: #333;
90 | line-height: 40rpx;
91 | }
92 |
--------------------------------------------------------------------------------
/pages/ucenter/index/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我的",
3 | "enablePullDownRefresh": false,
4 | "usingComponents": {
5 | "wxc-avatar": "../../../dist/packages/@minui/wxc-avatar/dist/index",
6 | "wxc-button": "../../../dist/packages/@minui/wxc-button/dist/index",
7 | "wxc-icon": "../../../dist/packages/@minui/wxc-icon/dist/index",
8 | "wxc-label": "../../../dist/packages/@minui/wxc-label/dist/index"
9 | }
10 | }
--------------------------------------------------------------------------------
/pages/ucenter/location/format-location.js:
--------------------------------------------------------------------------------
1 | function formatLocation(longitude, latitude) {
2 | longitude = longitude.toFixed(2)
3 | latitude = latitude.toFixed(2)
4 |
5 | return {
6 | longitude: longitude.toString().split('.'),
7 | latitude: latitude.toString().split('.')
8 | }
9 | }
10 |
11 | module.exports = formatLocation
12 |
--------------------------------------------------------------------------------
/pages/ucenter/location/location.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "果果位置"
3 | }
4 |
--------------------------------------------------------------------------------
/pages/ucenter/location/location.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 甜果果小铺:馆陶县文卫街西段名都花园门面房
4 |
5 |
6 | 手机号:******(赵先生)
7 |
8 |
9 | (可直接在"我的"-->"客服电话"里联系店家)
10 |
11 |
12 |
13 |
23 |
24 |
25 |
26 |
27 |
28 | 距离我约:{{meters}}km
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/pages/ucenter/location/location.wxss:
--------------------------------------------------------------------------------
1 | .shopInfo{
2 | width: 100%;
3 | height: auto;
4 | }
5 |
6 | .shopname{
7 | margin-left: 20rpx;
8 | width: 90%;
9 | height: 60rpx;
10 | padding-top: 40rpx;
11 | font-size: 32rpx;
12 | align-items: center;
13 | }
14 |
15 | .shopconnect{
16 | margin-left: 20rpx;
17 | width: 90%;
18 | height: 50rpx;
19 | font-size: 28rpx;
20 | align-items: center;
21 | }
22 |
23 | .mapView{
24 | align-items: center;
25 | }
26 |
27 | .distanceTxt{
28 | padding-left: 20rpx;
29 | font-size: 32rpx;
30 | display: flex;
31 | flex-direction: row;
32 | }
33 |
34 |
--------------------------------------------------------------------------------
/pages/ucenter/mycoupons/index.js:
--------------------------------------------------------------------------------
1 | //index.js
2 | //获取应用实例
3 | var app = getApp()
4 | Page({
5 | data: {
6 | coupons:[]
7 | },
8 | onLoad: function () {
9 | },
10 | onShow : function () {
11 | this.getMyCoupons();
12 | },
13 | getMyCoupons: function () {
14 | var that = this;
15 | wx.request({
16 | url: 'https://api.it120.cc/' + app.globalData.subDomain + '/discounts/my',
17 | data: {
18 | token: wx.getStorageSync('token'),
19 | status: 0
20 | },
21 | success: function (res) {
22 | if (res.data.code == 0) {
23 | var coupons = res.data.data;
24 | if (coupons.length > 0) {
25 | that.setData({
26 | coupons: coupons
27 | });
28 | }
29 | console.log(coupons)
30 | }
31 | }
32 | })
33 | },
34 | goBuy:function(){
35 | wx.reLaunch({
36 | url: '/pages/classification/index'
37 | })
38 | }
39 |
40 | })
41 |
--------------------------------------------------------------------------------
/pages/ucenter/mycoupons/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我的优惠券"
3 | }
--------------------------------------------------------------------------------
/pages/ucenter/mycoupons/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | ¥\n\n {{item.money}}
6 |
7 |
8 | {{item.name}}\n
9 | 满
10 | {{item.moneyHreshold}}
11 | 元使用 \n
12 | {{item.dateEnd}}
13 | 前有效\n
14 |
15 |
16 |
17 |
18 |
19 |
20 | 立即前往下单
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/pages/ucenter/mycoupons/index.wxss:
--------------------------------------------------------------------------------
1 | .container {
2 | background-color: #f2f2f2;
3 | }
4 |
5 | .coupons-list {
6 | width: 100%;
7 | background-color: #fff;
8 | margin-top: 20rpx;
9 | }
10 |
11 | .coupons-item {
12 | width: 580rpx;
13 | height: 180rpx;
14 | margin: 10rpx 35rpx;
15 | padding: 50rpx;
16 | background: url(https://cdn.it120.cc/apifactory/2017/11/27/fadbf4818acc33c0e08a052d3ab3e648.png) 0 0 no-repeat;
17 | background-size: 630rpx 250rpx;
18 | background-position-x: 30rpx;
19 | background-position-y: 15rpx;
20 | background-color: #f1a83b;
21 | font-size: 30rpx;
22 | line-height: 50rpx;
23 | display: inline-flex;
24 | flex-direction: row;
25 | border-radius: 10rpx;
26 | }
27 |
28 | .coupons-money {
29 | width: 70rpx;
30 | padding-top: 10rpx;
31 | font-size: 56rpx;
32 | font-weight: bold;
33 | color: yellow;
34 | }
35 |
36 | .coupons-info {
37 | width: 600rpx;
38 | padding-left: 80rpx;
39 | padding-top: 15rpx;
40 | text-align: center;
41 | }
42 |
43 | .bottom-box {
44 | position: fixed;
45 | width: 100%;
46 | bottom: 0;
47 | font-size: 28rpx;
48 | color: #000;
49 | border-top: 1rpx solid #f4f4f4;
50 | height: 100rpx;
51 | line-height: 100rpx;
52 | background-color: #fff;
53 | }
54 |
55 | .bottom-box .arrow-right {
56 | background: url(https://cdn.it120.cc/images/weappshop/arrow-right.png) no-repeat 705rpx center;
57 | background-size: 15rpx auto;
58 | }
59 |
60 | .bottom-box .arrow-right .add-btn {
61 | margin-left: 30rpx;
62 | padding-left: 70rpx;
63 | background-color: #fff;
64 | background: url(https://cdn.it120.cc/images/weappshop/add-addr.png) no-repeat left center;
65 | background-size: 40rpx auto;
66 | }
67 |
--------------------------------------------------------------------------------
/pages/ucenter/order-list/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "订单列表",
3 | "usingComponents": {
4 | "wxc-abnor": "../../../dist/packages/@minui/wxc-abnor/dist/index",
5 | "wxc-loading": "../../../dist/packages/@minui/wxc-loading/dist/index",
6 | "wxc-badge": "../../../dist/packages/@minui/wxc-badge/dist/index",
7 | "wxc-price": "../../../dist/packages/@minui/wxc-price/dist/index"
8 | }
9 | }
--------------------------------------------------------------------------------
/pages/withdraw/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我要提现"
3 | }
--------------------------------------------------------------------------------
/pages/withdraw/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
14 |
--------------------------------------------------------------------------------
/pages/wuliu/index.js:
--------------------------------------------------------------------------------
1 | //index.js
2 | //获取应用实例
3 | var app = getApp()
4 | Page({
5 | data: {},
6 | onLoad: function (e) {
7 | var orderId = e.id;
8 | this.data.orderId = orderId;
9 | },
10 | onShow: function () {
11 | var that = this;
12 | wx.request({
13 | url: 'https://api.it120.cc/' + app.globalData.subDomain + '/order/detail',
14 | data: {
15 | token: wx.getStorageSync('token'),
16 | id: that.data.orderId
17 | },
18 | success: (res) => {
19 | wx.hideLoading();
20 | if (res.data.code != 0) {
21 | wx.showModal({
22 | title: '错误',
23 | content: res.data.msg,
24 | showCancel: false
25 | })
26 | return;
27 | }
28 | that.setData({
29 | orderDetail: res.data.data,
30 | logisticsTraces: res.data.data.logisticsTraces.reverse()
31 | });
32 | }
33 | })
34 | }
35 | })
36 |
--------------------------------------------------------------------------------
/pages/wuliu/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "物流详情"
3 | }
--------------------------------------------------------------------------------
/pages/wuliu/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 物流单号
5 | {{orderDetail.logistics.trackingNumber}}
6 |
7 |
8 | 物流公司
9 | {{orderDetail.logistics.shipperName}}
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | {{item.AcceptTime}}
22 | {{item.AcceptStation}}
23 |
24 |
25 |
26 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/project.config.json:
--------------------------------------------------------------------------------
1 | {
2 | "description": "项目配置文件。",
3 | "setting": {
4 | "urlCheck": true,
5 | "es6": true,
6 | "postcss": true,
7 | "minified": true,
8 | "newFeature": true
9 | },
10 | "compileType": "miniprogram",
11 | "libVersion": "1.6.6",
12 | "appid": "touristappid",
13 | "projectname": "tgg",
14 | "condition": {
15 | "search": {
16 | "current": -1,
17 | "list": [
18 | {
19 | "name": "test",
20 | "pathName": "",
21 | "title": "",
22 | "cacheKey": ""
23 | }
24 | ]
25 | },
26 | "conversation": {
27 | "current": 0,
28 | "list": [
29 | {
30 | "name": "test",
31 | "query": "",
32 | "boxQI": "",
33 | "service": {}
34 | }
35 | ]
36 | },
37 | "plugin": {
38 | "current": -1,
39 | "list": []
40 | },
41 | "game": {
42 | "list": []
43 | },
44 | "miniprogram": {
45 | "current": -1,
46 | "list": [
47 | {
48 | "id": -1,
49 | "name": "精选",
50 | "pathName": "pages/choiceness/index",
51 | "query": ""
52 | },
53 | {
54 | "id": -1,
55 | "name": "发现",
56 | "pathName": "pages/finder/index",
57 | "query": ""
58 | },
59 | {
60 | "id": -1,
61 | "name": "分类",
62 | "pathName": "pages/classification/index",
63 | "query": ""
64 | },
65 | {
66 | "id": -1,
67 | "name": "我的",
68 | "pathName": "pages/ucenter/index/index",
69 | "query": ""
70 | },
71 | {
72 | "id": -1,
73 | "name": "购物车",
74 | "pathName": "pages/shop-cart/index",
75 | "query": ""
76 | }
77 | ]
78 | }
79 | }
80 | }
--------------------------------------------------------------------------------
/templates/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/.DS_Store
--------------------------------------------------------------------------------
/templates/canvas-clock/index.json:
--------------------------------------------------------------------------------
1 | {
2 |
3 | }
4 |
--------------------------------------------------------------------------------
/templates/canvas-clock/index.wxml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/templates/canvas-clock/index.wxss:
--------------------------------------------------------------------------------
1 | .canvas{
2 | width: 50%;
3 | height: 50%;
4 | position: fixed;
5 | background-color: greenyellow;
6 | }
--------------------------------------------------------------------------------
/templates/goods-item/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | {{item.name}}
10 |
11 | ¥
12 | {{item.minPrice}}
13 | ¥
14 | {{item.originalPrice}}
15 |
16 |
17 | 新品上市
18 | 已售{{item.numberOrders}}份
19 | 评分:
20 |
21 |
22 |
23 | {{item.starscore}}分
24 | 0分
25 |
26 |
27 |
--------------------------------------------------------------------------------
/templates/recommend-goods-item/recommend-goods-item.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | {{item.name}}
12 | {{item.characteristic}}
13 |
14 |
15 |
16 |
17 |
18 | 新品上市
19 | 已售{{item.numberOrders}}份
20 | 评分:
21 |
22 |
23 |
24 | {{item.starscore}}分
25 | 0分
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/templates/starscore/starscore.js:
--------------------------------------------------------------------------------
1 | function star(pingfen) {
2 | var that = this, //这里是图片的路径,自己需要改
3 |
4 | data = {
5 | ling: "/images/0star.png",
6 | ban: "/images/0.5star.png",
7 | zheng: "/images/1star.png"
8 |
9 | },
10 |
11 | nums = [];//这里是返回图片排列的顺序的数组,这里要注意在页面使用的时候图片的路径,不过使用网络图片无所谓
12 |
13 | if((pingfen/0.5)%2==0){//如果评分为整数,如4.0、5.0
14 | for (var i = 0; i < 5; i++) {
15 | if (i < pingfen) {
16 | nums.push(data.zheng);
17 | } else {
18 | nums.push(data.ling);
19 | }
20 | }
21 | }else{//评分不为整数,如3.5、2.5
22 | for (var i = 0; i < 5; i++) {
23 | if (i < pingfen - 0.5) {
24 | nums.push(data.zheng);//先把整数分离出来,如:3.5,这里就是先把3分离出来,把代表1的图片放进去
25 | } else if (i == (pingfen - 0.5)) {
26 | nums.push(data.ban);//把小数的部分分离出来,如:3.5里的0.5,把代表0.5的图片放进去
27 | } else {
28 | nums.push(data.ling);//然后剩下的就是没有满的用代表0的图片放进去,如:3.5,里面放进去了3个代表1的图片,然后放入了1个代表0.5的图片,最后还剩一个图片的位置,这时候就放代表0的图片
29 | }
30 | }
31 | }
32 |
33 | return nums;
34 | }
35 |
36 |
37 | module.exports = { picStr: star }
--------------------------------------------------------------------------------
/templates/starscore/starscore.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {{item.pingfen}}
7 |
8 |
--------------------------------------------------------------------------------
/templates/wxParse/emojis/00.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/00.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/01.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/01.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/02.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/02.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/03.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/03.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/04.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/04.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/05.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/05.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/06.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/06.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/07.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/07.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/08.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/08.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/09.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/09.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/10.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/10.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/100.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/100.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/101.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/101.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/102.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/102.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/103.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/103.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/104.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/104.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/105.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/105.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/106.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/106.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/107.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/107.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/108.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/108.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/109.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/109.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/11.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/11.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/110.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/110.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/111.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/111.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/112.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/112.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/113.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/113.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/114.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/114.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/115.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/115.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/116.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/116.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/117.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/117.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/118.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/118.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/119.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/119.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/12.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/12.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/120.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/120.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/121.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/121.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/122.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/122.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/123.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/123.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/124.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/124.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/125.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/125.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/126.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/126.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/127.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/127.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/128.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/128.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/129.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/129.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/13.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/13.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/130.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/130.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/131.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/131.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/132.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/132.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/133.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/133.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/134.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/134.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/14.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/14.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/15.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/15.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/16.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/16.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/17.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/17.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/18.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/18.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/19.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/19.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/20.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/20.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/21.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/21.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/22.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/22.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/23.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/23.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/24.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/24.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/25.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/25.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/26.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/26.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/27.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/27.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/28.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/28.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/29.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/29.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/30.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/30.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/31.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/31.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/32.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/32.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/33.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/33.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/34.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/34.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/35.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/35.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/36.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/36.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/37.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/37.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/38.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/38.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/39.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/39.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/40.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/40.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/41.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/41.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/42.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/42.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/43.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/43.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/44.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/44.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/45.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/45.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/46.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/46.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/47.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/47.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/48.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/48.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/49.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/49.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/50.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/50.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/51.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/51.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/52.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/52.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/53.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/53.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/54.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/54.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/55.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/55.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/56.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/56.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/57.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/57.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/58.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/58.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/59.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/59.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/60.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/60.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/61.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/61.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/62.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/62.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/63.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/63.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/64.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/64.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/65.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/65.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/66.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/66.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/67.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/67.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/68.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/68.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/69.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/69.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/70.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/70.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/71.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/71.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/72.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/72.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/73.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/73.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/74.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/74.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/75.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/75.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/76.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/76.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/77.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/77.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/78.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/78.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/79.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/79.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/80.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/80.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/81.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/81.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/82.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/82.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/83.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/83.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/84.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/84.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/85.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/85.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/86.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/86.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/87.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/87.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/88.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/88.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/89.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/89.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/90.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/90.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/91.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/91.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/92.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/92.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/93.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/93.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/94.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/94.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/95.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/95.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/96.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/96.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/97.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/97.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/98.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/98.gif
--------------------------------------------------------------------------------
/templates/wxParse/emojis/99.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxParse/emojis/99.gif
--------------------------------------------------------------------------------
/templates/wxSearch/images/wxSearch-icon-delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/templates/wxSearch/images/wxSearch-icon-delete.png
--------------------------------------------------------------------------------
/utils/pay.js:
--------------------------------------------------------------------------------
1 | function wxpay(app, money, orderId, redirectUrl) {
2 | let remark = "在线充值";
3 | let nextAction = {};
4 | if (orderId != 0) {
5 | remark = "支付订单 :" + orderId;
6 | nextAction = { type: 0, id: orderId };
7 | }
8 | wx.request({
9 | url: 'https://api.it120.cc/' + app.globalData.subDomain + '/pay/wxapp/get-pay-data',
10 | data: {
11 | token: wx.getStorageSync('token'),
12 | money:money,
13 | remark:remark,
14 | payName:"在线支付",
15 | nextAction:nextAction
16 | },
17 | //method:'POST',
18 | success: function(res){
19 | if(res.data.code == 0){
20 | // 发起支付
21 | wx.requestPayment({
22 | timeStamp:res.data.data.timeStamp,
23 | nonceStr:res.data.data.nonceStr,
24 | package:'prepay_id=' + res.data.data.prepayId,
25 | signType:'MD5',
26 | paySign:res.data.data.sign,
27 | fail:function (aaa) {
28 | wx.showToast({title: '支付失败:' + aaa})
29 | },
30 | success:function () {
31 | wx.showToast({title: '支付成功'})
32 | wx.redirectTo({
33 | url: redirectUrl
34 | });
35 | }
36 | })
37 | } else {
38 | wx.showToast({ title: '服务器忙' + res.data.code + res.data.msg})
39 | }
40 | }
41 | })
42 | }
43 |
44 | module.exports = {
45 | wxpay: wxpay
46 | }
47 |
--------------------------------------------------------------------------------
/基于East World数据库管理的甜果果小铺商城样例使用说明.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Levin000/TianguoguoXiaopu/b1a29e691a0ecce6f1aa826dff8ea82bd1a24248/基于East World数据库管理的甜果果小铺商城样例使用说明.pdf
--------------------------------------------------------------------------------