├── .gitignore
├── App.vue
├── Json.js
├── common
└── css
│ └── iconfont.css
├── components
├── checkbox
│ └── checkbox.vue
├── empty.vue
├── goodslist
│ └── goodslist.vue
├── maramlee-waterfalls-flow
│ └── maramlee-waterfalls-flow.vue
├── mix-list-cell.vue
├── mix-loading
│ └── mix-loading.vue
├── share.vue
├── uni-load-more
│ └── uni-load-more.vue
├── uni-number-box.vue
├── uni-popup
│ ├── message.js
│ ├── popup.js
│ ├── uni-popup-dialog.vue
│ ├── uni-popup-message.vue
│ ├── uni-popup-share.vue
│ └── uni-popup.vue
├── uni-transition
│ └── uni-transition.vue
├── uni-ui
│ ├── uni-badge
│ │ └── uni-badge.vue
│ ├── uni-calendar
│ │ ├── calendar.js
│ │ ├── uni-calendar-item.vue
│ │ ├── uni-calendar.vue
│ │ └── util.js
│ ├── uni-card
│ │ └── uni-card.vue
│ ├── uni-collapse-item
│ │ └── uni-collapse-item.vue
│ ├── uni-collapse
│ │ └── uni-collapse.vue
│ ├── uni-combox
│ │ └── uni-combox.vue
│ ├── uni-countdown
│ │ └── uni-countdown.vue
│ ├── uni-drawer
│ │ └── uni-drawer.vue
│ ├── uni-fab
│ │ └── uni-fab.vue
│ ├── uni-fav
│ │ └── uni-fav.vue
│ ├── uni-goods-nav
│ │ └── uni-goods-nav.vue
│ ├── uni-grid-item
│ │ ├── uni-grid-item copy.vue
│ │ └── uni-grid-item.vue
│ ├── uni-grid
│ │ └── uni-grid.vue
│ ├── uni-icons
│ │ ├── icons.js
│ │ ├── uni-icons.vue
│ │ └── uni.ttf
│ ├── uni-indexed-list
│ │ ├── uni-indexed-list-item.vue
│ │ └── uni-indexed-list.vue
│ ├── uni-link
│ │ └── uni-link.vue
│ ├── uni-list-ad
│ │ └── uni-list-ad.vue
│ ├── uni-list-chat
│ │ ├── uni-list-chat.scss
│ │ └── uni-list-chat.vue
│ ├── uni-list-item
│ │ └── uni-list-item.vue
│ ├── uni-list
│ │ ├── uni-list.vue
│ │ ├── uni-refresh.vue
│ │ └── uni-refresh.wxs
│ ├── uni-load-more
│ │ └── uni-load-more.vue
│ ├── uni-nav-bar
│ │ └── uni-nav-bar.vue
│ ├── uni-notice-bar
│ │ └── uni-notice-bar.vue
│ ├── uni-number-box
│ │ └── uni-number-box.vue
│ ├── uni-pagination
│ │ └── uni-pagination.vue
│ ├── uni-popup-dialog
│ │ └── uni-popup-dialog.vue
│ ├── uni-popup-message
│ │ └── uni-popup-message.vue
│ ├── uni-popup-share
│ │ └── uni-popup-share.vue
│ ├── uni-popup
│ │ ├── message.js
│ │ ├── popup.js
│ │ ├── share.js
│ │ └── uni-popup.vue
│ ├── uni-rate
│ │ └── uni-rate.vue
│ ├── uni-search-bar
│ │ └── uni-search-bar.vue
│ ├── uni-section
│ │ └── uni-section.vue
│ ├── uni-segmented-control
│ │ └── uni-segmented-control.vue
│ ├── uni-status-bar
│ │ └── uni-status-bar.vue
│ ├── uni-steps
│ │ └── uni-steps.vue
│ ├── uni-swipe-action-item
│ │ ├── bindingx.js
│ │ ├── index.wxs
│ │ ├── mpalipay.js
│ │ ├── mpother.js
│ │ ├── mpwxs.js
│ │ └── uni-swipe-action-item.vue
│ ├── uni-swipe-action
│ │ └── uni-swipe-action.vue
│ ├── uni-swiper-dot
│ │ └── uni-swiper-dot.vue
│ ├── uni-tag
│ │ └── uni-tag.vue
│ ├── uni-test
│ │ └── uni-test.vue
│ ├── uni-title
│ │ └── uni-title.vue
│ └── uni-transition
│ │ └── uni-transition.vue
├── upload-images.vue
├── xuan-linkAddress
│ ├── api.js
│ └── xuan-linkAddress.vue
└── yzc-paykeyboard
│ └── yzc-paykeyboard.vue
├── main.js
├── manifest.json
├── pages.json
├── pages
├── address
│ ├── address.vue
│ └── addressManage.vue
├── carts
│ └── carts.vue
├── classify
│ └── classify.vue
├── detail
│ └── detail.vue
├── index
│ └── index.vue
├── list
│ └── list.vue
├── map
│ └── map.vue
├── more
│ └── more.vue
├── order
│ └── order.vue
├── pay
│ └── pay.vue
├── public
│ └── public.vue
├── search
│ └── search.vue
├── set
│ └── set.vue
├── shop
│ └── shop.vue
├── user
│ ├── components
│ │ ├── com-nav.vue
│ │ ├── uni-grid-item.vue
│ │ ├── uni-grid.vue
│ │ └── uni-swiper-dot.vue
│ └── user.vue
└── userinfo
│ └── userinfo.vue
├── static
├── font
│ ├── fa.ttf
│ └── yticon.ttf
├── fonts
│ ├── iconfont (2).css
│ ├── iconfont (2).eot
│ ├── iconfont (2).svg
│ ├── iconfont (2).ttf
│ ├── iconfont (2).woff
│ ├── iconfont (2).woff2
│ ├── iconfont.css
│ ├── iconfont.eot
│ ├── iconfont.svg
│ ├── iconfont.ttf
│ ├── iconfont.woff
│ └── iconfont.woff2
├── icon
│ ├── address.png
│ ├── biji.png
│ ├── cart-active.png
│ ├── cart.png
│ ├── cha.png
│ ├── ditu.png
│ ├── fenlei.png
│ ├── fl.png
│ ├── fl1.png
│ ├── gerenzhongxin.png
│ ├── greengwc.png
│ ├── grzx.png
│ ├── grzx1.png
│ ├── gwc.png
│ ├── gwc1.png
│ ├── home-active.png
│ ├── home.png
│ ├── md.png
│ ├── md1.png
│ ├── member-active.png
│ ├── member.png
│ ├── mendian.png
│ ├── news-active.png
│ ├── news.png
│ ├── shijian.png
│ ├── sy.png
│ ├── sy1.png
│ ├── sy3.png
│ ├── xingxing.png
│ ├── you.png
│ └── 鍦板浘鏂扮増.png
├── iconfont
│ ├── iconfont.css
│ ├── iconfont.eot
│ ├── iconfont.js
│ ├── iconfont.json
│ ├── iconfont.svg
│ ├── iconfont.ttf
│ ├── iconfont.woff
│ └── iconfont.woff2
├── images
│ └── user
│ │ ├── avatar.jpg
│ │ ├── dianpu.png
│ │ ├── dizhi.png
│ │ ├── geren.png
│ │ ├── icon-kefu.png
│ │ ├── liaotian.png
│ │ ├── renwu.png
│ │ ├── shezhi.png
│ │ └── zengpin.png
├── img
│ ├── addricon.png
│ ├── card_bg.png
│ ├── load.gif
│ ├── sort0.png
│ ├── sort1.png
│ ├── sort2.png
│ └── volume.png
├── key
│ ├── close.png
│ ├── del.png
│ ├── logo.png
│ └── yue.png
├── missing-face.png
├── xuan-linkAddress
│ ├── get_linkAddress_p.js
│ ├── request.js
│ └── yes.png
└── yb-filter
│ └── img
│ ├── sort0.png
│ ├── sort1.png
│ └── sort2.png
├── store
└── index.js
├── uni.scss
└── utils
├── format.js
├── htmlparser.js
└── zgrequest.js
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | .project
3 | unpackage/
4 | .DS_Store
--------------------------------------------------------------------------------
/Json.js:
--------------------------------------------------------------------------------
1 | /* 用户 */
2 | const userInfo = {
3 | status: 1,
4 | data: {
5 | id: 1,
6 | mobile: 18888888888,
7 | nickname: 'kiki',
8 | portrait: 'https://ss1.baidu.com/6ON1bjeh1BF3odCf/it/u=3950605929,1618767528&fm=15&gp=0.jpg'
9 | },
10 | msg: '提示'
11 | }
12 |
13 | export default {
14 | userInfo
15 | }
16 |
--------------------------------------------------------------------------------
/components/checkbox/checkbox.vue:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
125 |
126 |
170 |
--------------------------------------------------------------------------------
/components/goodslist/goodslist.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 | 精选商品
4 |
5 |
6 |
7 |
8 | {{item.price}}
9 |
10 | {{item.title}}
11 |
12 |
13 |
14 |
15 |
16 |
31 |
32 |
91 |
--------------------------------------------------------------------------------
/components/mix-list-cell.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
13 | {{title}}
14 | {{tips}}
15 |
18 |
19 |
20 |
21 |
22 |
23 |
76 |
77 |
120 |
--------------------------------------------------------------------------------
/components/share.vue:
--------------------------------------------------------------------------------
1 |
2 |
5 |
13 |
14 |
17 |
18 |
23 |
24 | {{item.text}}
25 |
26 |
27 |
28 | 取消
29 |
30 |
31 |
32 |
33 |
119 |
120 |
203 |
--------------------------------------------------------------------------------
/components/uni-load-more/uni-load-more.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | {{status === 'more' ? contentText.contentdown : (status === 'loading' ? contentText.contentrefresh : contentText.contentnomore)}}
24 |
25 |
26 |
27 |
60 |
61 |
--------------------------------------------------------------------------------
/components/uni-number-box.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
16 |
20 |
21 |
22 |
23 |
24 |
145 |
200 |
--------------------------------------------------------------------------------
/components/uni-popup/message.js:
--------------------------------------------------------------------------------
1 | export default {
2 | created() {
3 | if (this.type === 'message') {
4 | // 不显示遮罩
5 | this.maskShow = false
6 | // 获取子组件对象
7 | this.childrenMsg = null
8 | }
9 | },
10 | methods: {
11 | customOpen() {
12 | if (this.childrenMsg) {
13 | this.childrenMsg.open()
14 | }
15 | },
16 | customClose() {
17 | if (this.childrenMsg) {
18 | this.childrenMsg.close()
19 | }
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/components/uni-popup/popup.js:
--------------------------------------------------------------------------------
1 | import message from './message.js';
2 | // 定义 type 类型:弹出类型:top/bottom/center
3 | const config = {
4 | // 顶部弹出
5 | top:'top',
6 | // 底部弹出
7 | bottom:'bottom',
8 | // 居中弹出
9 | center:'center',
10 | // 消息提示
11 | message:'top',
12 | // 对话框
13 | dialog:'center',
14 | // 分享
15 | share:'bottom',
16 | }
17 |
18 | export default {
19 | data(){
20 | return {
21 | config:config
22 | }
23 | },
24 | mixins: [message],
25 | }
26 |
--------------------------------------------------------------------------------
/components/uni-popup/uni-popup-dialog.vue:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
22 |
149 |
150 |
244 |
--------------------------------------------------------------------------------
/components/uni-popup/uni-popup-message.vue:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
68 |
117 |
--------------------------------------------------------------------------------
/components/uni-popup/uni-popup-share.vue:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
76 |
156 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-badge/uni-badge.vue:
--------------------------------------------------------------------------------
1 |
2 | {{ text }}
4 |
5 |
6 |
68 |
69 |
154 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-collapse/uni-collapse.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
47 |
60 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-combox/uni-combox.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{label}}
5 |
6 |
7 |
9 |
10 |
11 |
12 |
13 | {{emptyTips}}
14 |
15 |
16 | {{item}}
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
127 |
128 |
214 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-drawer/uni-drawer.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
95 |
96 |
171 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-fav/uni-fav.vue:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
12 |
13 | {{ checked ? contentText.contentFav : contentText.contentDefault }}
14 |
15 |
16 |
17 |
97 |
98 |
141 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-grid-item/uni-grid-item copy.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
9 |
10 |
11 |
70 |
71 |
168 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-grid-item/uni-grid-item.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
9 |
10 |
11 |
70 |
71 |
125 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-grid/uni-grid.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
107 |
108 |
142 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-icons/icons.js:
--------------------------------------------------------------------------------
1 | export default {
2 | "pulldown": "\ue588",
3 | "refreshempty": "\ue461",
4 | "back": "\ue471",
5 | "forward": "\ue470",
6 | "more": "\ue507",
7 | "more-filled": "\ue537",
8 | "scan": "\ue612",
9 | "qq": "\ue264",
10 | "weibo": "\ue260",
11 | "weixin": "\ue261",
12 | "pengyouquan": "\ue262",
13 | "loop": "\ue565",
14 | "refresh": "\ue407",
15 | "refresh-filled": "\ue437",
16 | "arrowthindown": "\ue585",
17 | "arrowthinleft": "\ue586",
18 | "arrowthinright": "\ue587",
19 | "arrowthinup": "\ue584",
20 | "undo-filled": "\ue7d6",
21 | "undo": "\ue406",
22 | "redo": "\ue405",
23 | "redo-filled": "\ue7d9",
24 | "bars": "\ue563",
25 | "chatboxes": "\ue203",
26 | "camera": "\ue301",
27 | "chatboxes-filled": "\ue233",
28 | "camera-filled": "\ue7ef",
29 | "cart-filled": "\ue7f4",
30 | "cart": "\ue7f5",
31 | "checkbox-filled": "\ue442",
32 | "checkbox": "\ue7fa",
33 | "arrowleft": "\ue582",
34 | "arrowdown": "\ue581",
35 | "arrowright": "\ue583",
36 | "smallcircle-filled": "\ue801",
37 | "arrowup": "\ue580",
38 | "circle": "\ue411",
39 | "eye-filled": "\ue568",
40 | "eye-slash-filled": "\ue822",
41 | "eye-slash": "\ue823",
42 | "eye": "\ue824",
43 | "flag-filled": "\ue825",
44 | "flag": "\ue508",
45 | "gear-filled": "\ue532",
46 | "reload": "\ue462",
47 | "gear": "\ue502",
48 | "hand-thumbsdown-filled": "\ue83b",
49 | "hand-thumbsdown": "\ue83c",
50 | "hand-thumbsup-filled": "\ue83d",
51 | "heart-filled": "\ue83e",
52 | "hand-thumbsup": "\ue83f",
53 | "heart": "\ue840",
54 | "home": "\ue500",
55 | "info": "\ue504",
56 | "home-filled": "\ue530",
57 | "info-filled": "\ue534",
58 | "circle-filled": "\ue441",
59 | "chat-filled": "\ue847",
60 | "chat": "\ue263",
61 | "mail-open-filled": "\ue84d",
62 | "email-filled": "\ue231",
63 | "mail-open": "\ue84e",
64 | "email": "\ue201",
65 | "checkmarkempty": "\ue472",
66 | "list": "\ue562",
67 | "locked-filled": "\ue856",
68 | "locked": "\ue506",
69 | "map-filled": "\ue85c",
70 | "map-pin": "\ue85e",
71 | "map-pin-ellipse": "\ue864",
72 | "map": "\ue364",
73 | "minus-filled": "\ue440",
74 | "mic-filled": "\ue332",
75 | "minus": "\ue410",
76 | "micoff": "\ue360",
77 | "mic": "\ue302",
78 | "clear": "\ue434",
79 | "smallcircle": "\ue868",
80 | "close": "\ue404",
81 | "closeempty": "\ue460",
82 | "paperclip": "\ue567",
83 | "paperplane": "\ue503",
84 | "paperplane-filled": "\ue86e",
85 | "person-filled": "\ue131",
86 | "contact-filled": "\ue130",
87 | "person": "\ue101",
88 | "contact": "\ue100",
89 | "images-filled": "\ue87a",
90 | "phone": "\ue200",
91 | "images": "\ue87b",
92 | "image": "\ue363",
93 | "image-filled": "\ue877",
94 | "location-filled": "\ue333",
95 | "location": "\ue303",
96 | "plus-filled": "\ue439",
97 | "plus": "\ue409",
98 | "plusempty": "\ue468",
99 | "help-filled": "\ue535",
100 | "help": "\ue505",
101 | "navigate-filled": "\ue884",
102 | "navigate": "\ue501",
103 | "mic-slash-filled": "\ue892",
104 | "search": "\ue466",
105 | "settings": "\ue560",
106 | "sound": "\ue590",
107 | "sound-filled": "\ue8a1",
108 | "spinner-cycle": "\ue465",
109 | "download-filled": "\ue8a4",
110 | "personadd-filled": "\ue132",
111 | "videocam-filled": "\ue8af",
112 | "personadd": "\ue102",
113 | "upload": "\ue402",
114 | "upload-filled": "\ue8b1",
115 | "starhalf": "\ue463",
116 | "star-filled": "\ue438",
117 | "star": "\ue408",
118 | "trash": "\ue401",
119 | "phone-filled": "\ue230",
120 | "compose": "\ue400",
121 | "videocam": "\ue300",
122 | "trash-filled": "\ue8dc",
123 | "download": "\ue403",
124 | "chatbubble-filled": "\ue232",
125 | "chatbubble": "\ue202",
126 | "cloud-download": "\ue8e4",
127 | "cloud-upload-filled": "\ue8e5",
128 | "cloud-upload": "\ue8e6",
129 | "cloud-download-filled": "\ue8e9",
130 | "headphones":"\ue8bf",
131 | "shop":"\ue609"
132 | }
133 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-icons/uni.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/components/uni-ui/uni-icons/uni.ttf
--------------------------------------------------------------------------------
/components/uni-ui/uni-indexed-list/uni-indexed-list-item.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{ list.key }}
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | {{ item.name }}
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
58 |
59 |
143 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-link/uni-link.vue:
--------------------------------------------------------------------------------
1 |
2 | {{text}}
4 |
5 |
6 |
68 |
69 |
74 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-list-ad/uni-list-ad.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | |
11 |
12 |
13 |
14 |
15 |
54 |
55 |
91 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-list-chat/uni-list-chat.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * 这里是 uni-list 组件内置的常用样式变量
3 | * 如果需要覆盖样式,这里提供了基本的组件样式变量,您可以尝试修改这里的变量,去完成样式替换,而不用去修改源码
4 | *
5 | */
6 |
7 | // 背景色
8 | $background-color : #fff;
9 | // 分割线颜色
10 | $divide-line-color : #e5e5e5;
11 |
12 | // 默认头像大小,如需要修改此值,注意同步修改 js 中的值 const avatarWidth = xx ,目前只支持方形头像
13 | // nvue 页面不支持修改头像大小
14 | $avatar-width : 45px ;
15 |
16 | // 头像边框
17 | $avatar-border-radius: 5px;
18 | $avatar-border-color: #eee;
19 | $avatar-border-width: 1px;
20 |
21 | // 标题文字样式
22 | $title-size : 16px;
23 | $title-color : #3b4144;
24 | $title-weight : normal;
25 |
26 | // 描述文字样式
27 | $note-size : 12px;
28 | $note-color : #999;
29 | $note-weight : normal;
30 |
31 | // 右侧额外内容默认样式
32 | $right-text-size : 12px;
33 | $right-text-color : #999;
34 | $right-text-weight : normal;
35 |
36 | // 角标样式
37 | // nvue 页面不支持修改圆点位置以及大小
38 | // 角标在左侧时,角标的位置,默认为 0 ,负数左/下移动,正数右/上移动
39 | $badge-left: 0px;
40 | $badge-top: 0px;
41 |
42 | // 显示圆点时,圆点大小
43 | $dot-width: 10px;
44 | $dot-height: 10px;
45 |
46 | // 显示角标时,角标大小和字体大小
47 | $badge-size : 18px;
48 | $badge-font : 12px;
49 | // 显示角标时,角标前景色
50 | $badge-color : #fff;
51 | // 显示角标时,角标背景色
52 | $badge-background-color : #ff5a5f;
53 | // 显示角标时,角标左右间距
54 | $badge-space : 6px;
55 |
56 | // 状态样式
57 | // 选中颜色
58 | $hover : #f5f5f5;
59 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-list/uni-list.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
57 |
107 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-list/uni-refresh.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
59 |
60 |
66 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-list/uni-refresh.wxs:
--------------------------------------------------------------------------------
1 | var pullDown = {
2 | threshold: 95,
3 | maxHeight: 200,
4 | callRefresh: 'onrefresh',
5 | callPullingDown: 'onpullingdown',
6 | refreshSelector: '.uni-refresh'
7 | };
8 |
9 | function ready(newValue, oldValue, ownerInstance, instance) {
10 | var state = instance.getState()
11 | state.canPullDown = newValue;
12 | // console.log(newValue);
13 | }
14 |
15 | function touchStart(e, instance) {
16 | var state = instance.getState();
17 | state.refreshInstance = instance.selectComponent(pullDown.refreshSelector);
18 | state.canPullDown = (state.refreshInstance != null && state.refreshInstance != undefined);
19 | if (!state.canPullDown) {
20 | return
21 | }
22 |
23 | // console.log("touchStart");
24 |
25 | state.height = 0;
26 | state.touchStartY = e.touches[0].pageY || e.changedTouches[0].pageY;
27 | state.refreshInstance.setStyle({
28 | 'height': 0
29 | });
30 | state.refreshInstance.callMethod("onchange", true);
31 | }
32 |
33 | function touchMove(e, ownerInstance) {
34 | var instance = e.instance;
35 | var state = instance.getState();
36 | if (!state.canPullDown) {
37 | return
38 | }
39 |
40 | var oldHeight = state.height;
41 | var endY = e.touches[0].pageY || e.changedTouches[0].pageY;
42 | var height = endY - state.touchStartY;
43 | if (height > pullDown.maxHeight) {
44 | return;
45 | }
46 |
47 | var refreshInstance = state.refreshInstance;
48 | refreshInstance.setStyle({
49 | 'height': height + 'px'
50 | });
51 |
52 | height = height < pullDown.maxHeight ? height : pullDown.maxHeight;
53 | state.height = height;
54 | refreshInstance.callMethod(pullDown.callPullingDown, {
55 | height: height
56 | });
57 | }
58 |
59 | function touchEnd(e, ownerInstance) {
60 | var state = e.instance.getState();
61 | if (!state.canPullDown) {
62 | return
63 | }
64 |
65 | state.refreshInstance.callMethod("onchange", false);
66 |
67 | var refreshInstance = state.refreshInstance;
68 | if (state.height > pullDown.threshold) {
69 | refreshInstance.callMethod(pullDown.callRefresh);
70 | return;
71 | }
72 |
73 | refreshInstance.setStyle({
74 | 'height': 0
75 | });
76 | }
77 |
78 | function propObserver(newValue, oldValue, instance) {
79 | pullDown = newValue;
80 | }
81 |
82 | module.exports = {
83 | touchmove: touchMove,
84 | touchstart: touchStart,
85 | touchend: touchEnd,
86 | propObserver: propObserver
87 | }
88 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-number-box/uni-number-box.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | -
5 |
6 |
7 |
8 | +
9 |
10 |
11 |
12 |
121 |
201 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-pagination/uni-pagination.vue:
--------------------------------------------------------------------------------
1 |
2 |
25 |
26 |
27 |
122 |
123 |
205 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-popup-dialog/uni-popup-dialog.vue:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
22 |
149 |
150 |
244 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-popup-message/uni-popup-message.vue:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
68 |
117 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-popup-share/uni-popup-share.vue:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
86 |
166 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-popup/message.js:
--------------------------------------------------------------------------------
1 | export default {
2 | created() {
3 | if (this.type === 'message') {
4 | // 不显示遮罩
5 | this.maskShow = false
6 | // 获取子组件对象
7 | this.childrenMsg = null
8 | }
9 | },
10 | methods: {
11 | customOpen() {
12 | if (this.childrenMsg) {
13 | this.childrenMsg.open()
14 | }
15 | },
16 | customClose() {
17 | if (this.childrenMsg) {
18 | this.childrenMsg.close()
19 | }
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-popup/popup.js:
--------------------------------------------------------------------------------
1 | import message from './message.js';
2 | // 定义 type 类型:弹出类型:top/bottom/center
3 | const config = {
4 | // 顶部弹出
5 | top:'top',
6 | // 底部弹出
7 | bottom:'bottom',
8 | // 居中弹出
9 | center:'center',
10 | // 消息提示
11 | message:'top',
12 | // 对话框
13 | dialog:'center',
14 | // 分享
15 | share:'bottom',
16 | }
17 |
18 | export default {
19 | data(){
20 | return {
21 | config:config
22 | }
23 | },
24 | mixins: [message]
25 | }
26 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-popup/share.js:
--------------------------------------------------------------------------------
1 | export default {
2 | created() {
3 | if (this.type === 'share') {
4 | // 关闭点击
5 | this.mkclick = false
6 | }
7 | },
8 | methods: {
9 | customOpen() {
10 | console.log('share 打开了');
11 | },
12 | customClose() {
13 | console.log('share 关闭了');
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-section/uni-section.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {{ title }}
8 | {{ subTitle }}
9 |
10 |
11 |
12 |
13 |
14 |
59 |
137 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-segmented-control/uni-segmented-control.vue:
--------------------------------------------------------------------------------
1 |
2 |
4 |
9 | {{ item }}
18 |
19 |
20 |
21 |
22 |
85 |
86 |
139 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-status-bar/uni-status-bar.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
18 |
19 |
26 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-swipe-action-item/mpalipay.js:
--------------------------------------------------------------------------------
1 | export default {
2 | data() {
3 | return {
4 | x: 0,
5 | transition: false,
6 | width: 0,
7 | viewWidth: 0,
8 | swipeShow: 0
9 | }
10 | },
11 | watch: {
12 | show(newVal) {
13 | if (this.autoClose) return
14 | if (newVal && newVal !== 'none' ) {
15 | this.transition = true
16 | this.open(newVal)
17 | } else {
18 | this.close()
19 | }
20 | }
21 | },
22 | created() {
23 | if (this.swipeaction.children !== undefined) {
24 | this.swipeaction.children.push(this)
25 | }
26 | },
27 |
28 | beforeDestroy() {
29 | this.swipeaction.children.forEach((item, index) => {
30 | if (item === this) {
31 | this.swipeaction.children.splice(index, 1)
32 | }
33 | })
34 | },
35 | mounted() {
36 | this.isopen = false
37 | setTimeout(() => {
38 | this.getQuerySelect()
39 | }, 50)
40 | },
41 | methods: {
42 | appTouchStart(e) {
43 | const {
44 | clientX
45 | } = e.changedTouches[0]
46 | this.clientX = clientX
47 | this.timestamp = new Date().getTime()
48 | },
49 | appTouchEnd(e, index, item, position) {
50 | const {
51 | clientX
52 | } = e.changedTouches[0]
53 | // fixed by xxxx 模拟点击事件,解决 ios 13 点击区域错位的问题
54 | let diff = Math.abs(this.clientX - clientX)
55 | let time = (new Date().getTime()) - this.timestamp
56 | if (diff < 40 && time < 300) {
57 | this.$emit('click', {
58 | content: item,
59 | index,
60 | position
61 | })
62 | }
63 | },
64 | // onClick(index, item, position) {
65 | // this.$emit('click', {
66 | // content: item,
67 | // index,
68 | // position
69 | // })
70 | // },
71 | /**
72 | * 移动触发
73 | * @param {Object} e
74 | */
75 | onChange(e) {
76 | this.moveX = e.detail.x
77 | this.isclose = false
78 | },
79 | touchstart(e) {
80 | this.transition = false
81 | this.isclose = true
82 | this.autoClose && this.swipeaction.closeOther(this)
83 | },
84 | touchmove(e) {},
85 | touchend(e) {
86 | // 0的位置什么都不执行
87 | if (this.isclose && this.isopen === 'none') return
88 | if (this.isclose && this.isopen !== 'none') {
89 | this.transition = true
90 | this.close()
91 | } else {
92 | this.move(this.moveX + this.leftWidth)
93 | }
94 | },
95 |
96 | /**
97 | * 移动
98 | * @param {Object} moveX
99 | */
100 | move(moveX) {
101 | // 打开关闭的处理逻辑不太一样
102 | this.transition = true
103 | // 未打开状态
104 | if (!this.isopen || this.isopen === 'none') {
105 | if (moveX > this.threshold) {
106 | this.open('left')
107 | } else if (moveX < -this.threshold) {
108 | this.open('right')
109 | } else {
110 | this.close()
111 | }
112 | } else {
113 | if (moveX < 0 && moveX < this.rightWidth) {
114 | const rightX = this.rightWidth + moveX
115 | if (rightX < this.threshold) {
116 | this.open('right')
117 | } else {
118 | this.close()
119 | }
120 | } else if (moveX > 0 && moveX < this.leftWidth) {
121 | const leftX = this.leftWidth - moveX
122 | if (leftX < this.threshold) {
123 | this.open('left')
124 | } else {
125 | this.close()
126 | }
127 | }
128 |
129 | }
130 |
131 | },
132 |
133 | /**
134 | * 打开
135 | */
136 | open(type) {
137 | this.x = this.moveX
138 | this.animation(type)
139 | },
140 |
141 | /**
142 | * 关闭
143 | */
144 | close() {
145 | this.x = this.moveX
146 | // TODO 解决 x 值不更新的问题,所以会多触发一次 nextTick ,待优化
147 | this.$nextTick(() => {
148 | this.x = -this.leftWidth
149 | if(this.isopen!=='none'){
150 | this.$emit('change', 'none')
151 | }
152 | this.isopen = 'none'
153 | })
154 | },
155 |
156 | /**
157 | * 执行结束动画
158 | * @param {Object} type
159 | */
160 | animation(type) {
161 | this.$nextTick(() => {
162 | if (type === 'left') {
163 | this.x = 0
164 | } else {
165 | this.x = -this.rightWidth - this.leftWidth
166 | }
167 |
168 | if(this.isopen!==type){
169 | this.$emit('change', type)
170 | }
171 | this.isopen = type
172 | })
173 |
174 | },
175 | getSlide(x) {},
176 | getQuerySelect() {
177 | const query = uni.createSelectorQuery().in(this);
178 | query.selectAll('.movable-view--hock').boundingClientRect(data => {
179 | this.leftWidth = data[1].width
180 | this.rightWidth = data[2].width
181 | this.width = data[0].width
182 | this.viewWidth = this.width + this.rightWidth + this.leftWidth
183 | if (this.leftWidth === 0) {
184 | // TODO 疑似bug ,初始化的时候如果x 是0,会导致移动位置错误,所以让元素超出一点
185 | this.x = -0.1
186 | } else {
187 | this.x = -this.leftWidth
188 | }
189 | this.moveX = this.x
190 | this.$nextTick(() => {
191 | this.swipeShow = 1
192 | })
193 |
194 | if (!this.buttonWidth) {
195 | this.disabledView = true
196 | }
197 |
198 | if (this.autoClose) return
199 | if (this.show !== 'none') {
200 | this.transition = true
201 | this.open(this.shows)
202 | }
203 | }).exec();
204 |
205 | }
206 | }
207 | }
208 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-swipe-action-item/mpwxs.js:
--------------------------------------------------------------------------------
1 | export default {
2 | data() {
3 | return {
4 | position: [],
5 | button: {},
6 | btn: "[]"
7 | }
8 | },
9 | // computed: {
10 | // pos() {
11 | // return JSON.stringify(this.position)
12 | // },
13 | // btn() {
14 | // return JSON.stringify(this.button)
15 | // }
16 | // },
17 | watch: {
18 | button: {
19 | handler(newVal) {
20 | this.btn = JSON.stringify(newVal)
21 | },
22 | deep: true
23 | },
24 | show(newVal) {
25 | if (this.autoClose) return
26 | if (!this.button) {
27 | this.init()
28 | return
29 | }
30 | this.button.show = newVal
31 | },
32 | leftOptions() {
33 | this.init()
34 | },
35 | rightOptions() {
36 | this.init()
37 | }
38 | },
39 | created() {
40 | if (this.swipeaction.children !== undefined) {
41 | this.swipeaction.children.push(this)
42 | }
43 | },
44 | mounted() {
45 | this.init()
46 | },
47 | beforeDestroy() {
48 | this.swipeaction.children.forEach((item, index) => {
49 | if (item === this) {
50 | this.swipeaction.children.splice(index, 1)
51 | }
52 | })
53 | },
54 | methods: {
55 | init() {
56 | clearTimeout(this.swipetimer)
57 | this.swipetimer = setTimeout(() => {
58 | this.getButtonSize()
59 | }, 50)
60 | },
61 | closeSwipe(e) {
62 | if (!this.autoClose) return
63 | this.swipeaction.closeOther(this)
64 | },
65 |
66 | change(e) {
67 | this.$emit('change', e.open)
68 | let show = this.button.show
69 | if (show !== e.open) {
70 | this.button.show = e.open
71 | }
72 |
73 | },
74 |
75 | appTouchStart(e) {
76 | const {
77 | clientX
78 | } = e.changedTouches[0]
79 | this.clientX = clientX
80 | this.timestamp = new Date().getTime()
81 | },
82 | appTouchEnd(e, index, item, position) {
83 | const {
84 | clientX
85 | } = e.changedTouches[0]
86 | // fixed by xxxx 模拟点击事件,解决 ios 13 点击区域错位的问题
87 | let diff = Math.abs(this.clientX - clientX)
88 | let time = (new Date().getTime()) - this.timestamp
89 | if (diff < 40 && time < 300) {
90 | this.$emit('click', {
91 | content: item,
92 | index,
93 | position
94 | })
95 | }
96 | },
97 | getButtonSize() {
98 | const views = uni.createSelectorQuery().in(this)
99 | views
100 | .selectAll('.uni-swipe_button-group')
101 | .boundingClientRect(data => {
102 | let show = 'none'
103 | if (this.autoClose) {
104 | show = 'none'
105 | } else {
106 | show = this.show
107 | }
108 | this.button = {
109 | data,
110 | show
111 | }
112 | })
113 | .exec()
114 | }
115 | }
116 | }
117 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-swipe-action/uni-swipe-action.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-test/uni-test.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 | 测试插件
4 |
5 |
6 |
7 |
16 |
17 |
20 |
--------------------------------------------------------------------------------
/components/uni-ui/uni-title/uni-title.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{title}}
4 |
5 |
6 |
7 |
116 |
117 |
171 |
--------------------------------------------------------------------------------
/components/xuan-linkAddress/api.js:
--------------------------------------------------------------------------------
1 | import Request from "@/static/xuan-linkAddress/request.js"
2 | //创建Request对象
3 | let request=new Request();
4 |
5 | export default{
6 | //data 参数值
7 | get_linkAddress_api:function(data){
8 | console.log(data);
9 | return request.http('/api/address/area',data,'GET');
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/main.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import store from './store'
3 | import App from './App'
4 | import Json from './Json'
5 | const msg = (title, duration=1500, mask=false, icon='none')=>{
6 | //统一提示方便全局修改
7 | if(Boolean(title) === false){
8 | return;
9 | }
10 | uni.showToast({
11 | title,
12 | duration,
13 | mask,
14 | icon
15 | });
16 | }
17 | const json = type=>{
18 | //模拟异步请求数据
19 | return new Promise(resolve=>{
20 | setTimeout(()=>{
21 | resolve(Json[type]);
22 | }, 500)
23 | })
24 | }
25 | const prePage = ()=>{
26 | let pages = getCurrentPages();
27 | let prePage = pages[pages.length - 2];
28 | // #ifdef H5
29 | return prePage;
30 | // #endif
31 | return prePage.$vm;
32 | }
33 |
34 |
35 | Vue.config.productionTip = false
36 | Vue.prototype.$fire = new Vue();
37 | Vue.prototype.$store = store;
38 | Vue.prototype.$api = {msg, json, prePage};
39 |
40 | App.mpType = 'app'
41 |
42 | const app = new Vue({
43 | ...App
44 | })
45 | app.$mount()
--------------------------------------------------------------------------------
/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name" : "花花万物",
3 | "appid" : "__UNI__EBA89D0",
4 | "description" : "",
5 | "versionName" : "1.0.0",
6 | "versionCode" : "100",
7 | "transformPx" : false,
8 | /* 5+App特有相关 */
9 | "app-plus" : {
10 | "usingComponents" : true,
11 | "nvueCompiler" : "uni-app",
12 | "compilerVersion" : 3,
13 | "splashscreen" : {
14 | "alwaysShowBeforeRender" : true,
15 | "waiting" : true,
16 | "autoclose" : true,
17 | "delay" : 0
18 | },
19 | /* 模块配置 */
20 | "modules" : {},
21 | /* 应用发布信息 */
22 | "distribute" : {
23 | /* android打包配置 */
24 | "android" : {
25 | "permissions" : [
26 | "",
27 | "",
28 | "",
29 | "",
30 | "",
31 | "",
32 | "",
33 | "",
34 | "",
35 | "",
36 | "",
37 | "",
38 | "",
39 | "",
40 | "",
41 | "",
42 | "",
43 | "",
44 | "",
45 | "",
46 | "",
47 | ""
48 | ]
49 | },
50 | /* ios打包配置 */
51 | "ios" : {},
52 | /* SDK配置 */
53 | "sdkConfigs" : {},
54 | "splashscreen" : {
55 | "androidStyle" : "default"
56 | }
57 | }
58 | },
59 | /* 快应用特有相关 */
60 | "quickapp" : {},
61 | /* 小程序特有相关 */
62 | "mp-weixin" : {
63 | "appid" : "wx591725fc1fb18f80",
64 | "setting" : {
65 | "urlCheck" : false
66 | },
67 | "usingComponents" : true
68 | },
69 | "mp-alipay" : {
70 | "usingComponents" : true
71 | },
72 | "mp-baidu" : {
73 | "usingComponents" : true
74 | },
75 | "mp-toutiao" : {
76 | "usingComponents" : true
77 | },
78 | "uniStatistics" : {
79 | "enable" : false
80 | },
81 | "h5" : {
82 | "devServer" : {
83 | "port" : 8000,
84 | "disableHostCheck" : true,
85 | "proxy" : {
86 | "/wscshop/*" : {
87 | "target" : "https://h5.youzan.com/",
88 | "changeOrigin" : true,
89 | "secure" : false
90 | },
91 | "/wscgoods/*" : {
92 | "target" : "https://h5.youzan.com/",
93 | "changeOrigin" : true,
94 | "secure" : false
95 | }
96 | },
97 | "https" : false
98 | },
99 | "router" : {
100 | "mode" : "hash"
101 | }
102 | }
103 | }
104 |
--------------------------------------------------------------------------------
/pages.json:
--------------------------------------------------------------------------------
1 | {
2 | "pages": [{
3 | "path": "pages/index/index",
4 | "style": {
5 | "navigationBarTitleText": "花花万物"
6 | }
7 | }, {
8 | "path": "pages/shop/shop",
9 | "style": {
10 | "navigationBarTitleText": "花花万物全国门店",
11 | "enablePullDownRefresh": true
12 | }
13 | },
14 | {
15 | "path": "pages/classify/classify",
16 | "style": {
17 | "navigationBarTitleText": "商品分组"
18 | }
19 | },
20 | {
21 | "path": "pages/search/search",
22 | "style": {
23 | "navigationBarTitleText": "花花万物"
24 | }
25 | },
26 | {
27 | "path": "pages/map/map",
28 | "style": {
29 | "navigationBarTitleText": "位置信息"
30 | }
31 | },
32 | {
33 | "path": "pages/carts/carts",
34 | "style": {
35 | "navigationBarTitleText": "购物车"
36 | }
37 | }, {
38 | "path": "pages/user/user",
39 | "style": {
40 | "navigationBarTitleText": "个人中心"
41 | }
42 | },
43 | {
44 | "path": "pages/detail/detail",
45 | "style": {
46 | "navigationBarTitleText": "详情展示"
47 | }
48 | },
49 | {
50 | "path": "pages/list/list",
51 | "style": {
52 | "navigationBarTitleText": "商品列表"
53 | }
54 | },
55 | {
56 | "path": "pages/set/set",
57 | "style": {
58 | "navigationBarTitleText": "设置"
59 | }
60 | },
61 | {
62 | "path": "pages/public/public",
63 | "style": {
64 | "navigationBarTitleText": "登录"
65 | }
66 | },
67 | {
68 | "path": "pages/order/order",
69 | "style": {
70 | "navigationBarTitleText": "我的订单"
71 | }
72 | },
73 | {
74 | "path": "pages/address/address",
75 | "style": {
76 | "navigationBarTitleText": "收货地址"
77 | }
78 | },
79 | {
80 | "path": "pages/more/more",
81 | "style": {
82 | "navigationBarTitleText": "最热商品"
83 | }
84 | },
85 | {
86 | "path": "pages/address/addressManage",
87 | "style": {
88 | "navigationBarTitleText": ""
89 | }
90 | }
91 | ,{
92 | "path" : "pages/pay/pay",
93 | "style" :
94 | {
95 | "navigationBarTitleText": "",
96 | "enablePullDownRefresh": false
97 | }
98 |
99 | }
100 | ],
101 | "globalStyle": {
102 | "navigationBarTextStyle": "black",
103 | "navigationBarBackgroundColor": "#f9f9f9",
104 | "backgroundColor": "#F8F8F8"
105 |
106 |
107 | },
108 | "tabBar": {
109 | "color": "#424242",
110 | "selectedColor": "#FF4B4B",
111 | "list": [{
112 | "pagePath": "pages/index/index",
113 | "text": "首页",
114 | "iconPath": "/static/icon/sy3.png",
115 | "selectedIconPath": "/static/icon/sy1.png"
116 | },
117 | {
118 | "pagePath": "pages/classify/classify",
119 | "text": "分类",
120 | "iconPath": "/static/icon/fl.png",
121 | "selectedIconPath": "/static/icon/fl1.png"
122 | },
123 |
124 | {
125 | "pagePath": "pages/shop/shop",
126 | "text": "门店",
127 | "iconPath": "/static/icon/md.png",
128 | "selectedIconPath": "/static/icon/md1.png"
129 | },
130 | {
131 | "pagePath": "pages/carts/carts",
132 | "text": "购物车",
133 | "iconPath": "/static/icon/gwc.png",
134 | "selectedIconPath": "/static/icon/gwc1.png"
135 | },
136 | {
137 | "pagePath": "pages/user/user",
138 | "text": "个人中心",
139 | "iconPath": "/static/icon/grzx.png",
140 | "selectedIconPath": "/static/icon/grzx1.png"
141 | }
142 |
143 | ]
144 | }
145 | }
146 |
--------------------------------------------------------------------------------
/pages/address/address.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 默认
7 | {{item.addressName}} {{item.area}}
8 |
9 |
10 | {{item.name}}
11 | {{item.mobile}}
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
75 |
76 |
148 |
--------------------------------------------------------------------------------
/pages/address/addressManage.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 联系人
5 |
6 |
7 |
8 | 手机号
9 |
10 |
11 |
12 | 地址
13 |
14 | {{addressData.addressName}}
15 |
16 |
17 |
18 |
19 | 门牌号
20 |
21 |
22 |
23 |
24 | 设为默认
25 |
26 |
27 |
28 |
29 |
30 |
31 |
102 |
103 |
156 |
--------------------------------------------------------------------------------
/pages/map/map.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
25 |
26 |
34 |
--------------------------------------------------------------------------------
/pages/public/public.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | 欢迎回来!
9 |
10 |
11 |
12 | 手机号码
13 |
14 |
15 |
16 | 密码
17 |
19 |
20 |
21 |
22 |
23 | 忘记密码?
24 |
25 |
26 |
27 | 还没有账号?
28 | 马上注册
29 |
30 |
31 |
32 |
33 |
85 |
86 |
206 |
--------------------------------------------------------------------------------
/pages/search/search.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | {{item.title}}
10 | {{item.sell_point}}
11 | ¥{{item.activity_price}}
12 |
13 |
14 |
15 | 没有找到你想要的商品
16 | 换个搜索词试试
17 |
18 |
19 |
20 |
21 |
68 |
69 |
112 |
--------------------------------------------------------------------------------
/pages/set/set.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 个人资料
5 |
6 |
7 |
8 | 收货地址
9 |
10 |
11 |
12 | 实名认证
13 |
14 |
15 |
16 |
17 | 消息推送
18 |
19 |
20 |
21 | 清除缓存
22 |
23 |
24 |
25 | 关于店铺
26 |
27 |
28 |
29 | 检查更新
30 | 当前版本 1.0.3
31 |
32 |
33 |
34 | 退出登录
35 |
36 |
37 |
38 |
39 |
78 |
79 |
129 |
--------------------------------------------------------------------------------
/pages/user/components/com-nav.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | {{ c.text }}
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
79 |
80 |
--------------------------------------------------------------------------------
/pages/user/components/uni-grid-item.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
68 |
69 |
--------------------------------------------------------------------------------
/pages/user/components/uni-grid.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
105 |
106 |
--------------------------------------------------------------------------------
/pages/userinfo/userinfo.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
30 |
31 |
87 |
--------------------------------------------------------------------------------
/static/font/fa.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/font/fa.ttf
--------------------------------------------------------------------------------
/static/font/yticon.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/font/yticon.ttf
--------------------------------------------------------------------------------
/static/fonts/iconfont (2).css:
--------------------------------------------------------------------------------
1 | @font-face {font-family: "iconfont";
2 | src: url('~@/static/fonts/iconfont.eot?t=1576844226174'); /* IE9 */
3 | src: url('~@/static/fonts/iconfont.eot?t=1576844226174#iefix') format('embedded-opentype'), /* IE6-IE8 */
4 | url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAVMAAsAAAAAChwAAAT9AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDKAqHQIYhATYCJAMUCwwABCAFhG0HUBurCFGUTk6f7Edh3LaEI5xY7HYeoWNK7zwLfd/7ZDz8/37f9rny/h3XpE711SdNQq1REh4bhEQoLLJn8v/facvNLUze6duSsZbv+GnTlb7095Zi+lMOtlEU4UA4hIXh39Neujkz1HYC0ju3M1Ac9Uf+ce/0z/PA5qOyXP5orGFznpcFmGBAY2xsawEOyhL0FvEsLiQTuJ7AoFUtsVtbBxckq4BugXjNDYVkbRYlhBOavvMZW7ZjpmrpbfpEfFY/H/8MIktSM+h78XRTJys/2///CaSPuC0jpPm5cJtExh6iEM99PQ8l9NiehMFPZtIVRMNXEj+zb0beXPT/M1lbNI395ZEVieiAZpiR1+KFn1lRTOZnifXTnlARyZg1+Tgxt7EMYgmJIyQ+AMNyCeqKWeO9ZOlV6Y7jtTFeKQ8tRm5qIlYcXy1Oyh9fVuuJ2tZ0WWdWhKmbl3MZu/sBgAGj+GXDAAynUbHQsuY1Dsowei8GE4agxGp8LQRRQbg6AndIDcIVej0Mm8c2vQ46ZEObfY4iStdK1oEgH8wh0cirf1tGHWjmFZSXw4Zt2pNGH1AssUPk+XIpFCyZjCESvUgkNAQRBpB+/CBuCIaSjsmCTRSFWSIXVzWoOeKt6wNErxaK51q3r1fPWtfq7nL7SgSFApHfYIivvEiv0cyEvqZGntCM6OxoqkToIdUN3Gg6mJUAqBFGFjxEg0tgwvcDFDIAM9f+WFS4weC6ob6egYZ6rhYSgSJa29jWNzPQ0s81TiSSNXpHI5jwtbi6eBNqkGrdc99fbMfQL+iYTR2oapkiByLYs93k3fbd5NwOxF9mAwy7HK58wdfBl+66BEADufaQOdvl2CPZJU7RbEv0wAzQL7Oh+dqs2fBRb9OgvjwoANaSyP+OIkUtxdT2/+sOGgpaCg6mGwDnsoN8fi5XyfIDVG5suj4+Wyg4oRIcmX6AAKfWSfHOS/m4NOO8XH5k+R2VQ1y+jbobtzlAYyAzQskq82saBgPMgBl9GDMAjnmOlY4Uj5SOuQGIffIeFR6dJps6HYW4RPbdpn6ypgHJMwmlMmTWBPBKrUlpRVBZrqfp21Wmy+v6P7OwsZ4Iob4vJnZfUlJTK/V9U/VkftSxuvWZbpn658+yjBSnJdacFWDXa2k6qDLvZgWQk8gTocUryiH3Y+6vPMc8KiXuu13obDbdSKNYV79vro61UN9/WHR+JpWlwfQNDrDNB6SVgC5daU02/IT7CSz3kQX4CPo9+Sub/UPsukQZ4Uhctmlu59ts8OXe2ML/Bhfwvfljk8rjW9m+pB/phmgqUQjyp/jKwVrLWy3UnASibDH6qsslHUkYxCB9AIFJP/kYZpZvIjQzJiQ9K5A1a2gh96Aacgad5ioM2rU9ecgUKSHKAHY8EAjjHiEZ9RWycRFayG+oZv1CZzwSMOgyGnMO2QieX5egIOhUnVCuCY8JdsxrxWdghI4irXKVewUy4EHa7/ScyW3wQOYxIBgaA0RGmRQu3SKbgeMI6kthgYYdE9Gf63aZ35k6mnBJ3k0SUCCgo1QTFKcRPEyujvKu958BhpBDIUNKfiSvACnAa6f6Onox0G2NF6tkXRoHhgwDCDHeiZEEF7VFXcDBmED5/q0sQIM6zBQR35wuq8Tiajrl69xpLD0VysKcNVLkKFGj070xuc+9NIZyWPEKRig1moQj4YKXnvKJzUwIAAAA') format('woff2'),
5 | url('~@/static/fonts/iconfont.woff?t=1576844226174') format('woff'),
6 | url('~@/static/fonts/iconfont.ttf?t=1576844226174') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
7 | url('~@/static/fonts/iconfont.svg?t=1576844226174#iconfont') format('svg'); /* iOS 4.1- */
8 | }
9 |
10 | .iconfont {
11 | font-family: "iconfont" !important;
12 | font-size: 16px;
13 | font-style: normal;
14 | -webkit-font-smoothing: antialiased;
15 | -moz-osx-font-smoothing: grayscale;
16 | }
17 |
18 | .icon-shipin:before {
19 | content: "\f0024";
20 | }
21 |
22 | .icon-tupian:before {
23 | content: "\e650";
24 | }
25 |
26 | .icon-guanyuwomen:before {
27 | content: "\e608";
28 | }
29 |
30 | .icon-ziyuan:before {
31 | content: "\e60d";
32 | }
33 |
34 |
--------------------------------------------------------------------------------
/static/fonts/iconfont (2).eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/fonts/iconfont (2).eot
--------------------------------------------------------------------------------
/static/fonts/iconfont (2).svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
39 |
--------------------------------------------------------------------------------
/static/fonts/iconfont (2).ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/fonts/iconfont (2).ttf
--------------------------------------------------------------------------------
/static/fonts/iconfont (2).woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/fonts/iconfont (2).woff
--------------------------------------------------------------------------------
/static/fonts/iconfont (2).woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/fonts/iconfont (2).woff2
--------------------------------------------------------------------------------
/static/fonts/iconfont.css:
--------------------------------------------------------------------------------
1 | @font-face {font-family: "iconfont";
2 | src: url('~@/static/fonts/iconfont.eot?t=1576844226174'); /* IE9 */
3 | src: url('~@/static/fonts/iconfont.eot?t=1576844226174#iefix') format('embedded-opentype'), /* IE6-IE8 */
4 | url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAVMAAsAAAAAChwAAAT9AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDKAqHQIYhATYCJAMUCwwABCAFhG0HUBurCFGUTk6f7Edh3LaEI5xY7HYeoWNK7zwLfd/7ZDz8/37f9rny/h3XpE711SdNQq1REh4bhEQoLLJn8v/facvNLUze6duSsZbv+GnTlb7095Zi+lMOtlEU4UA4hIXh39Neujkz1HYC0ju3M1Ac9Uf+ce/0z/PA5qOyXP5orGFznpcFmGBAY2xsawEOyhL0FvEsLiQTuJ7AoFUtsVtbBxckq4BugXjNDYVkbRYlhBOavvMZW7ZjpmrpbfpEfFY/H/8MIktSM+h78XRTJys/2///CaSPuC0jpPm5cJtExh6iEM99PQ8l9NiehMFPZtIVRMNXEj+zb0beXPT/M1lbNI395ZEVieiAZpiR1+KFn1lRTOZnifXTnlARyZg1+Tgxt7EMYgmJIyQ+AMNyCeqKWeO9ZOlV6Y7jtTFeKQ8tRm5qIlYcXy1Oyh9fVuuJ2tZ0WWdWhKmbl3MZu/sBgAGj+GXDAAynUbHQsuY1Dsowei8GE4agxGp8LQRRQbg6AndIDcIVej0Mm8c2vQ46ZEObfY4iStdK1oEgH8wh0cirf1tGHWjmFZSXw4Zt2pNGH1AssUPk+XIpFCyZjCESvUgkNAQRBpB+/CBuCIaSjsmCTRSFWSIXVzWoOeKt6wNErxaK51q3r1fPWtfq7nL7SgSFApHfYIivvEiv0cyEvqZGntCM6OxoqkToIdUN3Gg6mJUAqBFGFjxEg0tgwvcDFDIAM9f+WFS4weC6ob6egYZ6rhYSgSJa29jWNzPQ0s81TiSSNXpHI5jwtbi6eBNqkGrdc99fbMfQL+iYTR2oapkiByLYs93k3fbd5NwOxF9mAwy7HK58wdfBl+66BEADufaQOdvl2CPZJU7RbEv0wAzQL7Oh+dqs2fBRb9OgvjwoANaSyP+OIkUtxdT2/+sOGgpaCg6mGwDnsoN8fi5XyfIDVG5suj4+Wyg4oRIcmX6AAKfWSfHOS/m4NOO8XH5k+R2VQ1y+jbobtzlAYyAzQskq82saBgPMgBl9GDMAjnmOlY4Uj5SOuQGIffIeFR6dJps6HYW4RPbdpn6ypgHJMwmlMmTWBPBKrUlpRVBZrqfp21Wmy+v6P7OwsZ4Iob4vJnZfUlJTK/V9U/VkftSxuvWZbpn658+yjBSnJdacFWDXa2k6qDLvZgWQk8gTocUryiH3Y+6vPMc8KiXuu13obDbdSKNYV79vro61UN9/WHR+JpWlwfQNDrDNB6SVgC5daU02/IT7CSz3kQX4CPo9+Sub/UPsukQZ4Uhctmlu59ts8OXe2ML/Bhfwvfljk8rjW9m+pB/phmgqUQjyp/jKwVrLWy3UnASibDH6qsslHUkYxCB9AIFJP/kYZpZvIjQzJiQ9K5A1a2gh96Aacgad5ioM2rU9ecgUKSHKAHY8EAjjHiEZ9RWycRFayG+oZv1CZzwSMOgyGnMO2QieX5egIOhUnVCuCY8JdsxrxWdghI4irXKVewUy4EHa7/ScyW3wQOYxIBgaA0RGmRQu3SKbgeMI6kthgYYdE9Gf63aZ35k6mnBJ3k0SUCCgo1QTFKcRPEyujvKu958BhpBDIUNKfiSvACnAa6f6Onox0G2NF6tkXRoHhgwDCDHeiZEEF7VFXcDBmED5/q0sQIM6zBQR35wuq8Tiajrl69xpLD0VysKcNVLkKFGj070xuc+9NIZyWPEKRig1moQj4YKXnvKJzUwIAAAA') format('woff2'),
5 | url('~@/static/fonts/iconfont.woff?t=1576844226174') format('woff'),
6 | url('~@/static/fonts/iconfont.ttf?t=1576844226174') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
7 | url('~@/static/fonts/iconfont.svg?t=1576844226174#iconfont') format('svg'); /* iOS 4.1- */
8 | }
9 |
10 | .iconfont {
11 | font-family: "iconfont" !important;
12 | font-size: 16px;
13 | font-style: normal;
14 | -webkit-font-smoothing: antialiased;
15 | -moz-osx-font-smoothing: grayscale;
16 | }
17 |
18 | .icon-shipin:before {
19 | content: "\f0024";
20 | }
21 |
22 | .icon-tupian:before {
23 | content: "\e650";
24 | }
25 |
26 | .icon-guanyuwomen:before {
27 | content: "\e608";
28 | }
29 |
30 | .icon-ziyuan:before {
31 | content: "\e60d";
32 | }
33 |
34 |
--------------------------------------------------------------------------------
/static/fonts/iconfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/fonts/iconfont.eot
--------------------------------------------------------------------------------
/static/fonts/iconfont.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
39 |
--------------------------------------------------------------------------------
/static/fonts/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/fonts/iconfont.ttf
--------------------------------------------------------------------------------
/static/fonts/iconfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/fonts/iconfont.woff
--------------------------------------------------------------------------------
/static/fonts/iconfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/fonts/iconfont.woff2
--------------------------------------------------------------------------------
/static/icon/address.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/address.png
--------------------------------------------------------------------------------
/static/icon/biji.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/biji.png
--------------------------------------------------------------------------------
/static/icon/cart-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/cart-active.png
--------------------------------------------------------------------------------
/static/icon/cart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/cart.png
--------------------------------------------------------------------------------
/static/icon/cha.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/cha.png
--------------------------------------------------------------------------------
/static/icon/ditu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/ditu.png
--------------------------------------------------------------------------------
/static/icon/fenlei.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/fenlei.png
--------------------------------------------------------------------------------
/static/icon/fl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/fl.png
--------------------------------------------------------------------------------
/static/icon/fl1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/fl1.png
--------------------------------------------------------------------------------
/static/icon/gerenzhongxin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/gerenzhongxin.png
--------------------------------------------------------------------------------
/static/icon/greengwc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/greengwc.png
--------------------------------------------------------------------------------
/static/icon/grzx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/grzx.png
--------------------------------------------------------------------------------
/static/icon/grzx1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/grzx1.png
--------------------------------------------------------------------------------
/static/icon/gwc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/gwc.png
--------------------------------------------------------------------------------
/static/icon/gwc1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/gwc1.png
--------------------------------------------------------------------------------
/static/icon/home-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/home-active.png
--------------------------------------------------------------------------------
/static/icon/home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/home.png
--------------------------------------------------------------------------------
/static/icon/md.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/md.png
--------------------------------------------------------------------------------
/static/icon/md1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/md1.png
--------------------------------------------------------------------------------
/static/icon/member-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/member-active.png
--------------------------------------------------------------------------------
/static/icon/member.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/member.png
--------------------------------------------------------------------------------
/static/icon/mendian.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/mendian.png
--------------------------------------------------------------------------------
/static/icon/news-active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/news-active.png
--------------------------------------------------------------------------------
/static/icon/news.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/news.png
--------------------------------------------------------------------------------
/static/icon/shijian.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/shijian.png
--------------------------------------------------------------------------------
/static/icon/sy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/sy.png
--------------------------------------------------------------------------------
/static/icon/sy1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/sy1.png
--------------------------------------------------------------------------------
/static/icon/sy3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/sy3.png
--------------------------------------------------------------------------------
/static/icon/xingxing.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/xingxing.png
--------------------------------------------------------------------------------
/static/icon/you.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/you.png
--------------------------------------------------------------------------------
/static/icon/鍦板浘鏂扮増.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/icon/鍦板浘鏂扮増.png
--------------------------------------------------------------------------------
/static/iconfont/iconfont.css:
--------------------------------------------------------------------------------
1 | @font-face {font-family: "iconfont";
2 | src: url('~@/static/iconfont/iconfont.eot?t=1608086060394'); /* IE9 */
3 | src: url('~@/static/iconfont/iconfont.eot?t=1608086060394#iefix') format('embedded-opentype'), /* IE6-IE8 */
4 | url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAANoAAsAAAAAB4gAAAMcAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDBgqCYIJdATYCJAMMCwgABCAFhG0HSBu1BhEVlMdkPxJs3OJiZeU8yUWV0CK9CZ6nNe39+ZPtbJICgmoPgdSxBALF4IjVSUCW102AgDvfb9MOh6qQEYbteB58l2f8OwI7F2grjKiQFbJ/fzhtis93l+fyfmtvjrooLg0o0LEGRVYgAXnD2E0EDfE4BAiTp4Z0yHsMwGEB4wSQGTx5LC5jwjZUCw7Bq1hqkQ2EcGaluQOs59+XL9TmwBBSwNQ+kzpOoM17ed9cFwQLGEEpiKdzAMYqUKAGWJBRla4haJSqoYQ9lW0u9rAIZqpoEMBFvsbb6B/PgHiAyigAFXLawHvBSri6ufwCBgAFwANigEnAWZWZErBoFNyUGU2cfvfugHv3Bj54MPj+/SG37xfte9D51r3C3XeHVfE9eld66MPwwPz7jwfVkjb5dx+OXTXo/n1kWDg453iweqDtuLdgQLf2u6NG2XpodNVR0YXHVh+ByNYjCw4HS3vIRAhJdcfEHpLIuzMi51UVtG9vDDYXFvIptfUH9clTezDDDQpnzpRRxgSz08Kz3j1rftrINbP2/Lk1CpFihJnpPy1B3oCeBV3zZs7M61rQ8zBCpp85M929Z8Hhirr+/7forVu6BSIlRJYUdNtFXGIclueou7x8ebUwO5ExAARbdYUO5ZmXulsL/tNvuNd5Xf3o+Bb/XMQC8CTYXCMHg62W7hbcXbgF/oq4Y5P1pcCs1hVhUehWGqUCGJCJ6SUA+JI8H65J7ZwAwWXEBhhiyAXFUUK1zBoIEaEBeDhaQ5hqnVdHSDYTRawPVFkqgZDgFBjiuAKKK8GXapk/CEnzB09CZwgbVPKWEWWx115QKhqqPsT1PBlkVU9UX2G3oZS0lLOeEMdRioMony0wQaaY4XabqBoyMo+US6dhGGZaZO5Qa9CqLlkYmqo3BfU8HjztCSgpaJDKB2G12cTQzsorfP4KrM2gJA0NPcEnEA73T2KBqAO1UE2dGm7lFWdnJZQyiCFmI5JLDhhgakaW6kEdqKlAOyCxyIRKK9NVFSyvGd9vDxAGbtSMqFgigysuZ2U/vbiWOy4n/00QByd7OAA=') format('woff2'),
5 | url('~@/static/iconfont/iconfont.woff?t=1608086060394') format('woff'),
6 | url('~@/static/iconfont/iconfont.ttf?t=1608086060394') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
7 | url('~@/static/iconfont/iconfont.svg?t=1608086060394#iconfont') format('svg'); /* iOS 4.1- */
8 | }
9 |
10 | .iconfont {
11 | font-family: "iconfont" !important;
12 | font-size: 16px;
13 | font-style: normal;
14 | -webkit-font-smoothing: antialiased;
15 | -moz-osx-font-smoothing: grayscale;
16 | }
17 |
18 | .icon-weibiaoti-3:before {
19 | content: "\e601";
20 | }
21 |
22 | .icon-shijian-xianxing:before {
23 | content: "\e63b";
24 | }
25 |
26 |
--------------------------------------------------------------------------------
/static/iconfont/iconfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/iconfont/iconfont.eot
--------------------------------------------------------------------------------
/static/iconfont/iconfont.js:
--------------------------------------------------------------------------------
1 | !function(e){var t,n,c,i,o,d,s='',a=(a=document.getElementsByTagName("script"))[a.length-1].getAttribute("data-injectcss");if(a&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(e){console&&console.log(e)}}function l(){o||(o=!0,c())}t=function(){var e,t,n,c;(c=document.createElement("div")).innerHTML=s,s=null,(n=c.getElementsByTagName("svg")[0])&&(n.setAttribute("aria-hidden","true"),n.style.position="absolute",n.style.width=0,n.style.height=0,n.style.overflow="hidden",e=n,(t=document.body).firstChild?(c=e,(n=t.firstChild).parentNode.insertBefore(c,n)):t.appendChild(e))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(t,0):(n=function(){document.removeEventListener("DOMContentLoaded",n,!1),t()},document.addEventListener("DOMContentLoaded",n,!1)):document.attachEvent&&(c=t,i=e.document,o=!1,(d=function(){try{i.documentElement.doScroll("left")}catch(e){return void setTimeout(d,50)}l()})(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,l())})}(window);
--------------------------------------------------------------------------------
/static/iconfont/iconfont.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "2273045",
3 | "name": "no name",
4 | "font_family": "iconfont",
5 | "css_prefix_text": "icon-",
6 | "description": "",
7 | "glyphs": [
8 | {
9 | "icon_id": "1236802",
10 | "name": "地图",
11 | "font_class": "weibiaoti-3",
12 | "unicode": "e601",
13 | "unicode_decimal": 58881
14 | },
15 | {
16 | "icon_id": "8835963",
17 | "name": "时间",
18 | "font_class": "shijian-xianxing",
19 | "unicode": "e63b",
20 | "unicode_decimal": 58939
21 | }
22 | ]
23 | }
24 |
--------------------------------------------------------------------------------
/static/iconfont/iconfont.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
33 |
--------------------------------------------------------------------------------
/static/iconfont/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/iconfont/iconfont.ttf
--------------------------------------------------------------------------------
/static/iconfont/iconfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/iconfont/iconfont.woff
--------------------------------------------------------------------------------
/static/iconfont/iconfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/iconfont/iconfont.woff2
--------------------------------------------------------------------------------
/static/images/user/avatar.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/images/user/avatar.jpg
--------------------------------------------------------------------------------
/static/images/user/dianpu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/images/user/dianpu.png
--------------------------------------------------------------------------------
/static/images/user/dizhi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/images/user/dizhi.png
--------------------------------------------------------------------------------
/static/images/user/geren.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/images/user/geren.png
--------------------------------------------------------------------------------
/static/images/user/icon-kefu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/images/user/icon-kefu.png
--------------------------------------------------------------------------------
/static/images/user/liaotian.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/images/user/liaotian.png
--------------------------------------------------------------------------------
/static/images/user/renwu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/images/user/renwu.png
--------------------------------------------------------------------------------
/static/images/user/shezhi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/images/user/shezhi.png
--------------------------------------------------------------------------------
/static/images/user/zengpin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/images/user/zengpin.png
--------------------------------------------------------------------------------
/static/img/addricon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/img/addricon.png
--------------------------------------------------------------------------------
/static/img/card_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/img/card_bg.png
--------------------------------------------------------------------------------
/static/img/load.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/img/load.gif
--------------------------------------------------------------------------------
/static/img/sort0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/img/sort0.png
--------------------------------------------------------------------------------
/static/img/sort1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/img/sort1.png
--------------------------------------------------------------------------------
/static/img/sort2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/img/sort2.png
--------------------------------------------------------------------------------
/static/img/volume.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/img/volume.png
--------------------------------------------------------------------------------
/static/key/close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/key/close.png
--------------------------------------------------------------------------------
/static/key/del.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/key/del.png
--------------------------------------------------------------------------------
/static/key/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/key/logo.png
--------------------------------------------------------------------------------
/static/key/yue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/key/yue.png
--------------------------------------------------------------------------------
/static/missing-face.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/missing-face.png
--------------------------------------------------------------------------------
/static/xuan-linkAddress/get_linkAddress_p.js:
--------------------------------------------------------------------------------
1 | import api from '@/components/xuan-linkAddress/api.js';
2 |
3 | export default {
4 | /*
5 | *_this:全局this
6 | * data:数据(参数)
7 | * callback:回掉
8 | */
9 | get_linkAddress: function(_this,tag,data,callback) {
10 | //请求
11 | api.get_linkAddress_api(data).then((res) => {
12 | let revert=res.data.data;
13 | console.log(revert)
14 | if(res.data.code==1){
15 | if(tag==="province"){
16 | console.log("province")
17 | _this.linkAddress_area[0].info=revert;
18 | callback(true);//回掉
19 | }
20 | if(tag==="city"){
21 | console.log("city")
22 | _this.linkAddress_area[1].info=revert;
23 | callback(true);//回掉
24 | }
25 | if(tag==="district"){
26 | console.log("district")
27 | _this.linkAddress_area[2].info=revert;
28 | callback(true);//回掉
29 | }
30 | }
31 | });
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/static/xuan-linkAddress/request.js:
--------------------------------------------------------------------------------
1 | //网络请求
2 | export default class Request{
3 | /*
4 | *paramete 参数
5 | * data 参数值
6 | * method 请求方式
7 | */
8 | http(paramete,data,method){
9 | //根地址
10 | let BASE_API="http://admin.farmereasy.com";
11 | return new Promise((resolve,reject)=>{
12 | uni.request({
13 | url:`${BASE_API}${paramete}`,
14 | data:data,
15 | method:method,
16 | success:(res)=>{
17 | resolve(res);
18 | },
19 | fail:(res)=>{
20 | resolve(0);
21 | }
22 | })
23 | });
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/static/xuan-linkAddress/yes.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/xuan-linkAddress/yes.png
--------------------------------------------------------------------------------
/static/yb-filter/img/sort0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/yb-filter/img/sort0.png
--------------------------------------------------------------------------------
/static/yb-filter/img/sort1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/yb-filter/img/sort1.png
--------------------------------------------------------------------------------
/static/yb-filter/img/sort2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yuan-kuang/mini-programs/992cda68c4a11235f9deaac6d280d182487345f9/static/yb-filter/img/sort2.png
--------------------------------------------------------------------------------
/store/index.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import Vuex from 'vuex'
3 | Vue.use(Vuex)
4 | const store = new Vuex.Store({
5 | state: {
6 | hasLogin: false,
7 | userInfo: {},
8 | carts: uni.getStorageSync('carts') || [],
9 | user_address: {
10 | province: '',
11 | city: '',
12 | district: ''
13 | },
14 | shop: uni.getStorageSync('shop') || []
15 | },
16 | mutations: {
17 | login(state, provider) {
18 |
19 | state.hasLogin = true;
20 | state.userInfo = provider;
21 | uni.setStorage({ //缓存用户登陆状态
22 | key: 'userInfo',
23 | data: provider
24 | })
25 | console.log(state.userInfo);
26 | },
27 | logout(state) {
28 | state.hasLogin = false;
29 | state.userInfo = {};
30 | uni.removeStorage({
31 | key: 'userInfo'
32 | })
33 | },
34 | addToCarts(state, good) {
35 | var currentGood = state.carts.find(item => {
36 | if (item.alias == good.alias) {
37 | return item;
38 | }
39 | })
40 | if (currentGood) {
41 | currentGood.buynum += good.buynum
42 | } else {
43 | state.carts.push(good)
44 | }
45 | uni.setStorageSync('carts', state.carts)
46 | },
47 | changeCarts(state, newgood) {
48 | var currentGood = state.carts.find(item => {
49 | if (item.alias == newgood.alias) {
50 | return item;
51 | }
52 | })
53 | if (currentGood) {
54 | currentGood.buynum = newgood.buynum
55 | } else {
56 | state.carts.push(newgood)
57 | }
58 | uni.setStorageSync('carts', state.carts)
59 | },
60 | insteadcarts(state, payload) {
61 | uni.setStorageSync('carts', state.carts)
62 | console.log("保存成功")
63 | },
64 | commit_address(state, data) {
65 | state.user_address = data;
66 | },
67 |
68 | //增加要结算的商品
69 | addToShop(state, shoplist) {
70 | var currentGood = state.shop.find(item => {
71 | if (item.alias == shoplist.alias) {
72 | return item;
73 | }
74 | })
75 | if (currentGood) {
76 | currentGood.buynum = shoplist.buynum
77 | } else {
78 | state.shop.push(shoplist)
79 | }
80 | uni.setStorageSync('shop', state.shop)
81 | },
82 |
83 | insteadshop(state, payload) {
84 | uni.setStorageSync('shop', state.shop)
85 | console.log("保存成功")
86 | },
87 | },
88 | actions: {}
89 | })
90 | export default store
91 |
--------------------------------------------------------------------------------
/uni.scss:
--------------------------------------------------------------------------------
1 |
2 | /* 页面左右间距 */
3 | $page-row-spacing: 30upx;
4 | $page-color-base: #f8f8f8;
5 | $page-color-light: #f8f6fc;
6 | $base-color:#75cab3;
7 |
8 | /* 文字尺寸 */
9 | $font-sm: 24upx;
10 | $font-base: 28upx;
11 | $font-lg: 32upx;
12 | /*文字颜色*/
13 | $font-color-dark: #303133;
14 | $font-color-base: #606266;
15 | $font-color-light: #909399;
16 | $font-color-disabled: #C0C4CC;
17 | $font-color-spec: #4399fc;
18 | /* 边框颜色 */
19 | $border-color-dark: #DCDFE6;
20 | $border-color-base: #E4E7ED;
21 | $border-color-light: #EBEEF5;
22 | /* 图片加载中颜色 */
23 | $image-bg-color: #eee;
24 | /* 行为相关颜色 */
25 | $uni-color-primary:#75cab3;
26 | $uni-color-success: #4cd964;
27 | $uni-color-warning: #f0ad4e;
28 | $uni-color-error: #dd524d;
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/utils/format.js:
--------------------------------------------------------------------------------
1 | export function formatRichText(html) {
2 | var html = new String(html)
3 | let newContent = html.replace(/
]*>/gi, function(match, capture) {
4 | match = match.replace(/style="[^"]+"/gi, '').replace(/style='[^']+'/gi, '');
5 | match = match.replace(/width="[^"]+"/gi, '').replace(/width='[^']+'/gi, '');
6 | match = match.replace(/height="[^"]+"/gi, '').replace(/height='[^']+'/gi, '');
7 | return match;
8 | });
9 | newContent = newContent.replace(/style="[^"]+"/gi, function(match, capture) {
10 | match = match.replace(/width:[^;]+;/gi, 'max-width:100%;').replace(/width:[^;]+;/gi, 'max-width:100%;');
11 | return match;
12 | });
13 | newContent = newContent.replace(/
]*\/>/gi, '');
14 | newContent = newContent.replace(/\
{
4 | uni.request({
5 | //#ifndef H5
6 | url: baseUrl + url,
7 | //#endif
8 | //#ifdef H5
9 | url: url,
10 | //#endif
11 | method: "GET",
12 | data: data,
13 | success: function(res) {
14 | resolve(res.data)
15 | },
16 | fail: function(err) {
17 | reject(err)
18 | }
19 | })
20 | })
21 | }
22 |
23 |
24 |
--------------------------------------------------------------------------------