├── .gitignore ├── App.vue ├── components ├── active_form.vue ├── coolc-coupon │ └── coolc-coupon.vue ├── dingdan │ ├── goods.vue │ ├── list.vue │ ├── next.vue │ ├── quxiao.vue │ ├── wanchen.vue │ └── yiru.vue ├── goods │ ├── dianzan.vue │ ├── goods.vue │ └── mapdi.vue ├── mix-list-cell.vue ├── package-lock.json ├── package.json ├── preferent │ └── preferent.vue ├── search │ └── search.vue ├── share-btn │ └── share-btn.vue ├── ss-upload-image │ └── ss-upload-image.vue ├── suzhou │ └── suzhou.vue ├── swiperAdv │ └── swiperAdv.vue ├── uni-icon │ └── uni-icon.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 ├── main.js ├── manifest.json ├── pages.json ├── pages ├── biji │ └── biji.vue ├── cart │ └── cart.vue ├── cities │ └── cities.vue ├── citiesList │ └── citiesList.vue ├── customer │ └── customer.vue ├── find │ └── find.vue ├── finddetail │ └── finddetail.vue ├── hotel │ └── hotel.vue ├── hotelDetails │ └── hotelDetails.vue ├── index │ └── index.vue ├── map │ └── map.vue ├── mine │ ├── center.vue │ ├── coupon.vue │ ├── hands.vue │ ├── join.vue │ ├── login.vue │ ├── mine.vue │ ├── myQR.vue │ ├── notice.vue │ ├── qusetion.vue │ ├── service.vue │ └── setting.vue ├── news │ └── news.vue ├── prize │ └── prize.vue ├── questions │ └── questions.vue ├── reservation │ └── reservation.vue ├── reservationList │ └── reservationList.vue ├── search │ └── search.vue ├── shouquan │ └── shouquan.vue ├── sleep │ └── sleep.vue ├── toViewmore │ └── toViewmore.vue ├── trafficGuidance │ └── trafficGuidance.vue ├── viewAllphotos │ └── viewAllphotos.vue ├── viewDetails │ └── viewDetails.vue ├── welfare │ └── welfare.vue └── winter │ └── winter.vue ├── static ├── arc.png ├── icons │ ├── cart.png │ ├── cart1.png │ ├── copy.png │ ├── find.png │ ├── find1.png │ ├── index.png │ ├── index1.png │ ├── mine.png │ ├── mine1.png │ └── weixin.png ├── image │ ├── tuceng1.png │ ├── tuceng2.png │ ├── tuceng3.png │ └── tuceng4.png ├── img │ ├── delete_img.png │ ├── face.jpg │ ├── qr.png │ ├── qrlogo.png │ └── update_btn.png ├── js │ ├── Vregular.js │ └── verification.js ├── missing-face.png └── yticon.ttf ├── uni.scss └── utils ├── format.js ├── html.js ├── htmlparser.js └── zgrequest.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .project 3 | unpackage/ 4 | .DS_Store -------------------------------------------------------------------------------- /components/coolc-coupon/coolc-coupon.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{item.seller_name}}使用 5 | ¥{{item.money}} 6 | {{item.end_time}}前使用 7 | 8 | 券号:{{item.ticket}} 9 | {{item.title}} 10 | 11 | 12 | 选择使用 13 | 立即使用 14 | 15 | 16 | 17 | 53 | 54 | 161 | -------------------------------------------------------------------------------- /components/dingdan/goods.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 此功能未开通 5 | 6 | 7 | 立即登录 8 | 9 | 10 | 11 | 12 | 28 | 29 | 59 | -------------------------------------------------------------------------------- /components/dingdan/list.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 此功能未开通 5 | 6 | 7 | 立即登录 8 | 9 | 10 | 11 | 12 | 28 | 29 | 59 | -------------------------------------------------------------------------------- /components/dingdan/next.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 此功能未开通 5 | 6 | 7 | 立即登录 8 | 9 | 10 | 11 | 12 | 28 | 29 | 59 | -------------------------------------------------------------------------------- /components/dingdan/quxiao.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 此功能未开通 5 | 6 | 7 | 立即登录 8 | 9 | 10 | 11 | 12 | 28 | 29 | 59 | -------------------------------------------------------------------------------- /components/dingdan/wanchen.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 此功能未开通 5 | 6 | 7 | 立即登录 8 | 9 | 10 | 11 | 12 | 28 | 29 | 59 | -------------------------------------------------------------------------------- /components/dingdan/yiru.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 此功能未开通 5 | 6 | 7 | 立即登录 8 | 9 | 10 | 11 | 12 | 28 | 29 | 59 | -------------------------------------------------------------------------------- /components/goods/dianzan.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{item.storeName}} 8 | 9 | {{item.evaluation}} 10 | 11 | 12 | 13 | 14 | 15 | 16 | {{item.nickname}} 17 | 18 | ❤ 19 | 20 | 21 | 22 | 23 | 24 | 59 | 177 | -------------------------------------------------------------------------------- /components/goods/goods.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{item.arr1.storeName||"大湖原舍特色度假酒店"}} 8 | 9 | {{item.arr1.evaluation}} 10 | 11 | 12 | 13 | 14 | 15 | 16 | {{item.arr1.nickname}} 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 写笔记 28 | 29 | 30 | 31 | 32 | 33 | 34 | 98 | 242 | -------------------------------------------------------------------------------- /components/goods/mapdi.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 41 | 42 | 46 | -------------------------------------------------------------------------------- /components/mix-list-cell.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | {{title}} 9 | {{tips}} 10 | 11 | 12 | 13 | 14 | 15 | 16 | 69 | 70 | 117 | -------------------------------------------------------------------------------- /components/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "components", 3 | "version": "1.0.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@babel/runtime": { 8 | "version": "7.12.5", 9 | "resolved": "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.12.5.tgz?cache=0&sync_timestamp=1604443606981&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fruntime%2Fdownload%2F%40babel%2Fruntime-7.12.5.tgz", 10 | "integrity": "sha1-QQ5+SHRB4bNgwpvnFdhw2bmFiC4=", 11 | "requires": { 12 | "regenerator-runtime": "^0.13.4" 13 | } 14 | }, 15 | "@popperjs/core": { 16 | "version": "2.5.4", 17 | "resolved": "https://registry.npm.taobao.org/@popperjs/core/download/@popperjs/core-2.5.4.tgz?cache=0&sync_timestamp=1604076368519&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40popperjs%2Fcore%2Fdownload%2F%40popperjs%2Fcore-2.5.4.tgz", 18 | "integrity": "sha1-3iW12p9yeYWjdX/Vm10Cirp1hBo=" 19 | }, 20 | "@vant/icons": { 21 | "version": "1.4.0", 22 | "resolved": "https://registry.npm.taobao.org/@vant/icons/download/@vant/icons-1.4.0.tgz?cache=0&sync_timestamp=1604235300752&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40vant%2Ficons%2Fdownload%2F%40vant%2Ficons-1.4.0.tgz", 23 | "integrity": "sha1-qR94lPLzQ1b3il1vi51PGkat0MU=" 24 | }, 25 | "@vant/popperjs": { 26 | "version": "1.0.2", 27 | "resolved": "https://registry.npm.taobao.org/@vant/popperjs/download/@vant/popperjs-1.0.2.tgz?cache=0&sync_timestamp=1607062513238&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40vant%2Fpopperjs%2Fdownload%2F%40vant%2Fpopperjs-1.0.2.tgz", 28 | "integrity": "sha1-Ui1xZWI1Elo64I6ccBo7rm/YjXs=", 29 | "requires": { 30 | "@popperjs/core": "^2.5.4" 31 | } 32 | }, 33 | "@vue/babel-helper-vue-jsx-merge-props": { 34 | "version": "1.2.1", 35 | "resolved": "https://registry.npm.taobao.org/@vue/babel-helper-vue-jsx-merge-props/download/@vue/babel-helper-vue-jsx-merge-props-1.2.1.tgz?cache=0&sync_timestamp=1602851174430&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40vue%2Fbabel-helper-vue-jsx-merge-props%2Fdownload%2F%40vue%2Fbabel-helper-vue-jsx-merge-props-1.2.1.tgz", 36 | "integrity": "sha1-MWJKelBfsU2h1YAjclpMXycOaoE=" 37 | }, 38 | "regenerator-runtime": { 39 | "version": "0.13.7", 40 | "resolved": "https://registry.npm.taobao.org/regenerator-runtime/download/regenerator-runtime-0.13.7.tgz", 41 | "integrity": "sha1-ysLazIoepnX+qrrriugziYrkb1U=" 42 | }, 43 | "vant": { 44 | "version": "2.11.2", 45 | "resolved": "https://registry.npm.taobao.org/vant/download/vant-2.11.2.tgz?cache=0&sync_timestamp=1607650039589&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvant%2Fdownload%2Fvant-2.11.2.tgz", 46 | "integrity": "sha1-I5xcysneJ2S0Ba/61AjGnbCwnaA=", 47 | "requires": { 48 | "@babel/runtime": "7.x", 49 | "@vant/icons": "1.4.0", 50 | "@vant/popperjs": "^1.0.0", 51 | "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0", 52 | "vue-lazyload": "1.2.3" 53 | } 54 | }, 55 | "vue-lazyload": { 56 | "version": "1.2.3", 57 | "resolved": "https://registry.npm.taobao.org/vue-lazyload/download/vue-lazyload-1.2.3.tgz", 58 | "integrity": "sha1-kB+ewVx+bKeHgaK65KNDaGve2yw=" 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /components/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "components", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "vant": "^2.11.2" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /components/preferent/preferent.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 为你推荐 4 | 每一次睡眠都为您精挑细选 5 | 6 | 7 | 8 | 9 | 11 | 12 | 29 | -------------------------------------------------------------------------------- /components/search/search.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 推荐 6 | 无锡 7 | 苏州 8 | 湖州 9 | 常州 10 | 11 | 12 | 嘉兴 13 | 北京 14 | 扬州 15 | 南京 16 | 上海 17 | 18 | 19 | 20 | 21 | 22 | 23 | 77 | 78 | 109 | -------------------------------------------------------------------------------- /components/share-btn/share-btn.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 听说,可爱的人都很喜欢分享哦~ 5 | 6 | 7 | 8 | 9 | 10 | {{ item.text }} 11 | 12 | 13 | 14 | 15 | 16 | 17 | 42 | 43 | 127 | -------------------------------------------------------------------------------- /components/ss-upload-image/ss-upload-image.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 83 | 84 | 135 | -------------------------------------------------------------------------------- /components/suzhou/suzhou.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | {{res.storeReserve||"本月可订"}} 15 | 16 | {{item}} 17 | 18 | 19 | 20 | {{res.subTitle}} 21 | 22 | 23 | {{res.storeName}} 24 | 特色度假酒店 25 | 26 | 27 | 28 | 29 | 30 | 31 | 56 | 57 | 128 | -------------------------------------------------------------------------------- /components/swiperAdv/swiperAdv.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | {{res.sellingLabel.replace(/,/g," /")}} 12 | 13 | {{res.subTitle}} 14 | 15 | 16 | 17 | {{res.storeName}} 18 | 19 | 20 | 21 | 22 | 23 | 24 | 43 | 44 | 96 | -------------------------------------------------------------------------------- /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/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/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-popup-message/uni-popup-message.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{message}} 4 | 5 | 6 | 7 | 68 | 117 | -------------------------------------------------------------------------------- /components/uni-ui/uni-popup-share/uni-popup-share.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{title}} 4 | 5 | 6 | 7 | 8 | {{item.text}} 9 | 10 | 11 | 12 | 13 | 14 | 取消 15 | 16 | 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 | -------------------------------------------------------------------------------- /main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './App' 3 | 4 | Vue.config.productionTip = false 5 | 6 | App.mpType = 'app' 7 | 8 | const app = new Vue({ 9 | ...App 10 | }) 11 | app.$mount() 12 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "如程酒店", 3 | "appid" : "__UNI__D109150", 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 | "LivePusher" : {} 22 | }, 23 | /* 应用发布信息 */ 24 | "distribute" : { 25 | /* android打包配置 */ 26 | "android" : { 27 | "permissions" : [ 28 | "", 29 | "", 30 | "", 31 | "", 32 | "", 33 | "", 34 | "", 35 | "", 36 | "", 37 | "", 38 | "", 39 | "", 40 | "" 41 | ] 42 | }, 43 | /* ios打包配置 */ 44 | "ios" : {}, 45 | /* SDK配置 */ 46 | "sdkConfigs" : { 47 | "ad" : {}, 48 | "maps" : { 49 | "amap" : { 50 | "appkey_ios" : "", 51 | "appkey_android" : "" 52 | } 53 | } 54 | }, 55 | "icons" : { 56 | "android" : { 57 | "hdpi" : "unpackage/res/icons/72x72.png", 58 | "xhdpi" : "unpackage/res/icons/96x96.png", 59 | "xxhdpi" : "unpackage/res/icons/144x144.png", 60 | "xxxhdpi" : "unpackage/res/icons/192x192.png" 61 | }, 62 | "ios" : { 63 | "appstore" : "unpackage/res/icons/1024x1024.png", 64 | "ipad" : { 65 | "app" : "unpackage/res/icons/76x76.png", 66 | "app@2x" : "unpackage/res/icons/152x152.png", 67 | "notification" : "unpackage/res/icons/20x20.png", 68 | "notification@2x" : "unpackage/res/icons/40x40.png", 69 | "proapp@2x" : "unpackage/res/icons/167x167.png", 70 | "settings" : "unpackage/res/icons/29x29.png", 71 | "settings@2x" : "unpackage/res/icons/58x58.png", 72 | "spotlight" : "unpackage/res/icons/40x40.png", 73 | "spotlight@2x" : "unpackage/res/icons/80x80.png" 74 | }, 75 | "iphone" : { 76 | "app@2x" : "unpackage/res/icons/120x120.png", 77 | "app@3x" : "unpackage/res/icons/180x180.png", 78 | "notification@2x" : "unpackage/res/icons/40x40.png", 79 | "notification@3x" : "unpackage/res/icons/60x60.png", 80 | "settings@2x" : "unpackage/res/icons/58x58.png", 81 | "settings@3x" : "unpackage/res/icons/87x87.png", 82 | "spotlight@2x" : "unpackage/res/icons/80x80.png", 83 | "spotlight@3x" : "unpackage/res/icons/120x120.png" 84 | } 85 | } 86 | } 87 | } 88 | }, 89 | /* 快应用特有相关 */ 90 | "quickapp" : {}, 91 | /* 小程序特有相关 */ 92 | "mp-weixin" : { 93 | "appid" : "wx4d36fdab8a29816e", 94 | "setting" : { 95 | "urlCheck" : false, 96 | "es6" : true, 97 | "minified" : true 98 | }, 99 | "usingComponents" : true 100 | }, 101 | "mp-alipay" : { 102 | "usingComponents" : true 103 | }, 104 | "mp-baidu" : { 105 | "usingComponents" : true 106 | }, 107 | "mp-toutiao" : { 108 | "usingComponents" : true 109 | }, 110 | "uniStatistics" : { 111 | "enable" : false 112 | } 113 | } 114 | -------------------------------------------------------------------------------- /pages/biji/biji.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 | 66 | 67 | 124 | -------------------------------------------------------------------------------- /pages/cart/cart.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 | 31 | 32 | 33 | 34 | 35 | 73 | 74 | 75 | 129 | -------------------------------------------------------------------------------- /pages/cities/cities.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 42 | 43 | 54 | -------------------------------------------------------------------------------- /pages/customer/customer.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 常见问题 7 | 8 | 9 | 10 | 11 | 在线客服(服务时间:10:00~24:00) 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 42 | 43 | 92 | -------------------------------------------------------------------------------- /pages/find/find.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 | 31 | 32 | 33 | 193 | 250 | -------------------------------------------------------------------------------- /pages/hotel/hotel.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 19 | 20 | 25 | -------------------------------------------------------------------------------- /pages/map/map.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 59 | 60 | 63 | -------------------------------------------------------------------------------- /pages/mine/center.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 请输入兑换码 5 | 6 | 立即兑换 7 | 8 | 兑换说明 9 | 兑换中心仅对会员资格以及会员升级兑换,如需兑换优惠券请到个人中心内进行兑换 10 | 会员资格兑换及会员升级兑换规则请仔细阅读《如程会员协议》及 11 | 《如程任享会员升级规则》。一经兑换,则视为会员同意前述协议及规则,相应会员资格即生效 12 | 13 | 14 | 15 | 16 | 17 | 36 | 37 | 74 | -------------------------------------------------------------------------------- /pages/mine/hands.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 输入酒店简要信息 4 | 5 | 6 | {{ item.icon }} 7 | {{ item.name }} 8 | 9 | 10 | 11 | 12 | 13 | 14 | 描述补充: 15 | 16 | 17 | 酒店照片: 18 | 19 | 20 | 21 | 22 | 23 | 提交申请 24 | 25 | 26 | 27 | 30 | 31 | 32 | 111 | 112 | 181 | 182 | -------------------------------------------------------------------------------- /pages/mine/join.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 加入会员 12 | 为亲友开通 13 | 14 | 15 | 16 | 17 | 18 | 68 | 69 | 93 | -------------------------------------------------------------------------------- /pages/mine/login.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Hi~ 7 | 欢迎来到如程 8 | 9 | 10 | 11 | 微信授权登录 12 | 13 | 14 | 15 | 42 | 43 | 65 | -------------------------------------------------------------------------------- /pages/mine/myQR.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 扫描二维码,加我好友 11 | 12 | 13 | {{tis}} 14 | 15 | 16 | 17 | 18 | 69 | 70 | 135 | -------------------------------------------------------------------------------- /pages/mine/notice.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 51 | 52 | 59 | -------------------------------------------------------------------------------- /pages/mine/qusetion.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 如程任享电子会员有效期自购当日起至1年后止;会员有效期期满后,会员有权益保留会员资格。续费金额以平台当时公示金额为准。 6 | 7 | 8 | 会员使用免费入住权益时,每次最高可预订1个免费房间,连续2晚。当您完成本次订单退房后可进行下一次预定。 9 | 10 | 11 | 会员有效期内,在如程所有合作酒店,会员享有不限次数、不限房型的免费入住权益。 12 | 13 | 14 | 在您本人入住的前提下,您可与家人朋友居住在一个房间。房间入住人数以酒店规则为准。 15 | 16 | 17 | 为了保证您的会员专属权益,您的如程任享仅供您本人使用。 18 | 19 | 20 | 不可以,会员在入住并办理完成退房手续后,可预订下次行程 21 | 22 | 23 | 订房是需要付房费作为保证金,保证金金额按该房间市场价格(标价)计算,具体以实际支付金额为准。在入住完成并退房办理完成后,该笔保证金将予以退还。 24 | 25 | 26 | 可以的。请您致电如程会员客服中心(400-872-9988),向客服申请开票,并提供相关开票信息:个人:邮箱、会员真实姓名;公司:邮箱、购买手机号、会员真实姓名、公司名称、公司税号、对公账号、开户银行、联系电话及地址 27 | 28 | 29 | 保证金将在退房完成后一个工作日内退还至会员付款的银行或其他收款账户中 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 57 | 58 | 67 | -------------------------------------------------------------------------------- /pages/mine/service.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 常见问题 7 | 8 | 9 | 10 | 11 | 在线客服(服务时间:10:00~24:00) 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 42 | 43 | 92 | -------------------------------------------------------------------------------- /pages/mine/setting.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 头像 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 昵称 16 | 17 | {{userinfo.nickName}} 18 | 19 | 20 | 21 | 22 | 个性签名 23 | 24 | 这人太懒了,什么都不写 25 | 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 | 51 | 52 | 支付设置 53 | 54 | 55 | 56 | 57 | 58 | 59 | 通用 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 版本升级 69 | 70 | v1.0.0 71 | 72 | 73 | 74 | 75 | 清除缓存 76 | 77 | 78 | 79 | 80 | 81 | 82 | 问题反馈 83 | 84 | 85 | 86 | 87 | 88 | 89 | 关于商城 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 120 | 121 | 185 | -------------------------------------------------------------------------------- /pages/news/news.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 58 | 59 | 69 | -------------------------------------------------------------------------------- /pages/prize/prize.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 该功能暂未开通哦,请耐心等待~ 13 | 14 | 15 | 16 | 17 | 18 | 49 | 50 | 60 | -------------------------------------------------------------------------------- /pages/questions/questions.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 如程任享电子会员有效期自购当日起至1年后止;会员有效期期满后,会员有权益保留会员资格。续费金额以平台当时公示金额为准。 6 | 7 | 8 | 会员使用免费入住权益时,每次最高可预订1个免费房间,连续2晚。当您完成本次订单退房后可进行下一次预定。 9 | 10 | 11 | 会员有效期内,在如程所有合作酒店,会员享有不限次数、不限房型的免费入住权益。 12 | 13 | 14 | 在您本人入住的前提下,您可与家人朋友居住在一个房间。房间入住人数以酒店规则为准。 15 | 16 | 17 | 为了保证您的会员专属权益,您的如程任享仅供您本人使用。 18 | 19 | 20 | 不可以,会员在入住并办理完成退房手续后,可预订下次行程 21 | 22 | 23 | 订房是需要付房费作为保证金,保证金金额按该房间市场价格(标价)计算,具体以实际支付金额为准。在入住完成并退房办理完成后,该笔保证金将予以退还。 24 | 25 | 26 | 可以的。请您致电如程会员客服中心(400-872-9988),向客服申请开票,并提供相关开票信息:个人:邮箱、会员真实姓名;公司:邮箱、购买手机号、会员真实姓名、公司名称、公司税号、对公账号、开户银行、联系电话及地址 27 | 28 | 29 | 保证金将在退房完成后一个工作日内退还至会员付款的银行或其他收款账户中 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 57 | 58 | 67 | -------------------------------------------------------------------------------- /pages/reservation/reservation.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 23 | 24 | 27 | -------------------------------------------------------------------------------- /pages/reservationList/reservationList.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 58 | 59 | 69 | -------------------------------------------------------------------------------- /pages/search/search.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 全国 6 | 7 | {{title}} 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 128 | 129 | 172 | -------------------------------------------------------------------------------- /pages/shouquan/shouquan.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | Hi~ 29 | 欢迎来到如程 30 | 31 | 32 | 33 | 微信授权登录 34 | 35 | 36 | 37 | 64 | 65 | 87 | -------------------------------------------------------------------------------- /pages/sleep/sleep.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 64 | 65 | 75 | -------------------------------------------------------------------------------- /pages/toViewmore/toViewmore.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 54 | 61 | -------------------------------------------------------------------------------- /pages/trafficGuidance/trafficGuidance.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 54 | 57 | -------------------------------------------------------------------------------- /pages/viewAllphotos/viewAllphotos.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{item.title}} 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 48 | 49 | 74 | -------------------------------------------------------------------------------- /pages/viewDetails/viewDetails.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 52 | 55 | -------------------------------------------------------------------------------- /pages/welfare/welfare.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 加入会员 9 | 10 | 11 | 12 | 13 | 40 | 41 | 70 | -------------------------------------------------------------------------------- /pages/winter/winter.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 距结束还剩: 16 | 17 | 18 | 20 | 21 | 22 | 23 | 24 | 25 | 任享会员12个月+再送30天会期 26 | 会期内可预订1房2晚 27 | 权益详情> 28 | 29 | 30 | 加入会员 31 | 32 | 33 | 34 | 35 | 36 | 37 | 68 | 69 | 174 | -------------------------------------------------------------------------------- /static/arc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/arc.png -------------------------------------------------------------------------------- /static/icons/cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/icons/cart.png -------------------------------------------------------------------------------- /static/icons/cart1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/icons/cart1.png -------------------------------------------------------------------------------- /static/icons/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/icons/copy.png -------------------------------------------------------------------------------- /static/icons/find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/icons/find.png -------------------------------------------------------------------------------- /static/icons/find1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/icons/find1.png -------------------------------------------------------------------------------- /static/icons/index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/icons/index.png -------------------------------------------------------------------------------- /static/icons/index1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/icons/index1.png -------------------------------------------------------------------------------- /static/icons/mine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/icons/mine.png -------------------------------------------------------------------------------- /static/icons/mine1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/icons/mine1.png -------------------------------------------------------------------------------- /static/icons/weixin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/icons/weixin.png -------------------------------------------------------------------------------- /static/image/tuceng1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/image/tuceng1.png -------------------------------------------------------------------------------- /static/image/tuceng2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/image/tuceng2.png -------------------------------------------------------------------------------- /static/image/tuceng3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/image/tuceng3.png -------------------------------------------------------------------------------- /static/image/tuceng4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/image/tuceng4.png -------------------------------------------------------------------------------- /static/img/delete_img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/img/delete_img.png -------------------------------------------------------------------------------- /static/img/face.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/img/face.jpg -------------------------------------------------------------------------------- /static/img/qr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/img/qr.png -------------------------------------------------------------------------------- /static/img/qrlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/img/qrlogo.png -------------------------------------------------------------------------------- /static/img/update_btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fanyijie-21/TCJD/537f9843fce47ea096c77172cd18d8e7b5341782/static/img/update_btn.png -------------------------------------------------------------------------------- /static/js/Vregular.js: -------------------------------------------------------------------------------- 1 | var Vregular = { 2 | // 验证自然数 3 | naturalNumber: /^(([0-9]*[1-9][0-9]*)|(0+))$/, 4 | // 0到20位的英文字符和数字 5 | enNum0to20: /^[a-z0-9A-Z]{0,20}$/, 6 | // 2到100位的中英文字符和空格 7 | cnEnSpace2to100: /^[a-zA-Z\u4E00-\u9FA5\s*]{2,100}$/, 8 | // 数字和换行符 9 | numLinefeed: /^[0-9\n*]+$/, 10 | // 255位以内的字符 11 | char0to255: /^.{0,255}$/, 12 | 13 | // 英文 14 | english: /^.[A-Za-z]+$/, 15 | // 座机 16 | telephone: /^\d{3}-\d{7,8}|\d{4}-\d{7,8}$/, 17 | // 证件号码 18 | IDNumber: /^[a-z0-9A-Z]{0,50}$/, 19 | // 身份证号码,包括15位和18位的 20 | IDCard: /(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{7}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}$)/, 21 | // QQ号码 22 | qq: /^[1-9]\d{4,11}$/, 23 | //邮箱 24 | email:/^\s{0}$|^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((\.[a-zA-Z0-9_-]{2,3}){1,2})$/, 25 | //电话号码 26 | phone:/^\s{0}$|^1\d{10}$/, 27 | // 验证6位数字 28 | num6:/^\s{0}$|^[0-9]{6}$/, 29 | // 支付宝账号 30 | AlipayAccount:/^\s{0}$|^(?:\w+\.?)*\w+@(?:\w+\.)+\w+|^1\d{10}$/, 31 | //姓名,2-20个汉字,中间允许包含一个“.” 32 | realName:/^\s{0}$|^[\u4E00-\u9FA5]+[.·]{0,1}[\u4E00-\u9FA5]+$/, 33 | //验证用户名,4到16位(字母,数字,下划线,第一位必须是字母) 34 | userName:/^\s{0}$|^[a-zA-Z][a-zA-Z0-9_]{3,15}$/, 35 | // 银行卡号码 36 | bankCard:/^\s{0}$|^(\d{15}|\d{16}|\d{19})$/, 37 | // 网址, 仅支持http和https开头的 38 | URL: /^(http|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-.,@?^=%&:/~+#]*[\w\-@?^=%&/~+#])?$/, 39 | //正整数 40 | positiveInteger:/^\s{0}$|^-?(([1-9]\d*)|(0))$/, 41 | //数字类型 42 | numberType:/^-?[0-9]+(\.\d+)?$/, 43 | // 不为空 44 | noEmpty:/\S/, 45 | //pwd:/\/ 至少8-16个字符,至少1个大写字母,1个小写字母和1个数字,其他可以是任意字符: 46 | pwd:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[^]{8,20}$/ 47 | } 48 | 49 | var Vrules={ 50 | phone:{pattern: Vregular.phone, errMess: '请输入正确的手机号码'}, 51 | number:{pattern: Vregular.numberType, errMess: '请输入正确的数字'}, 52 | telephone: {pattern: Vregular.telephone, errMess: "请输入正确的座机号码",}, 53 | email: {pattern: Vregular.email, errMess: '请输入正确的邮箱'}, 54 | idcard: {pattern: Vregular.IDCard, errMess: '请输入正确的证件号码'}, 55 | bankCard: {pattern: Vregular.bankCard, errMess: '请输入正确的银行卡号码'}, 56 | qq: {pattern: Vregular.qq, errMess: '请输入正确的qq号码'}, 57 | num6:{pattern: Vregular.num6, errMess: '请输入正确的6位数字'}, 58 | AlipayAccount:{pattern: Vregular.AlipayAccount, errMess: '请输入正确的支付宝账号'}, 59 | realName:{pattern: Vregular.realName, errMess: '请输入正确的真实姓名'}, 60 | userName:{pattern: Vregular.userName, errMess: '请输入正确的名称'}, 61 | URL:{pattern: Vregular.URL, errMess: '请输入正确的url'}, 62 | positiveInteger:{pattern: Vregular.positiveInteger, errMess: '请输入正确的正整数'}, 63 | english:{pattern: Vregular.english, errMess: '请输入正确的英文字母'}, 64 | idNumber:{pattern: Vregular.IDNumber, errMess: '请输入正确的证件号'}, 65 | req:{pattern: Vregular.noEmpty, errMess: '必填项'}, 66 | same:{pattern:"",errMess: '两次输入不一致'}, 67 | pwd:{pattern:Vregular.pwd,errMess: '密码格式不正确'} 68 | 69 | 70 | } 71 | export default Vrules -------------------------------------------------------------------------------- /static/js/verification.js: -------------------------------------------------------------------------------- 1 | 2 | import Vrules from "./Vregular.js"; //正则验证 3 | var verification={}; 4 | 5 | verification.install=function(Vue){ 6 | Vue.prototype.$vervify =function(option){ 7 | var otherDefault={ 8 | reqEmptyVal:false, 9 | 10 | } 11 | var otherPra=Object.assign({},otherDefault,option.otherPra) //合并对象 12 | var result=0; 13 | var flag=true; 14 | for(var m=0;m0){ 44 | if(option.formDate[m-1].rules.value!=_default.value){ 45 | uni.showToast({ 46 | title: _default.errMess, 47 | duration: 2000, 48 | icon:"none" 49 | }); 50 | flag=false; 51 | } 52 | }else{ 53 | uni.showToast({ 54 | title: "表单配置不正确,请检查被确认输入框的位置", 55 | duration: 2000, 56 | icon:"none" 57 | }); 58 | flag=false; 59 | } 60 | 61 | }else{ 62 | if(_default.value.length>0){ 63 | regularVer() 64 | } 65 | } 66 | function regularVer(){ 67 | if(!_default.pattern.test( _default.value)){ 68 | uni.showToast({ 69 | title: _default.errMess, 70 | duration: 2000, 71 | icon:"none" 72 | }); 73 | flag=false; 74 | }else{ 75 | flag=true; 76 | } 77 | } 78 | if(!flag){ 79 | return flag 80 | } 81 | } 82 | } 83 | } 84 | return flag; 85 | }, 86 | // 提交序列化的表单 87 | Vue.prototype.$submitForm =function(option){ 88 | var submitData={}; 89 | for(var i=0;i]*>/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(/\ { 5 | uni.request({ 6 | url: baseUrl + url, 7 | method: "GET", 8 | data: data, 9 | success: function(res) { 10 | console.log('GET成功', res), 11 | resolve(res.data) 12 | }, 13 | fail: function(err) { 14 | console.log('GET失败'), 15 | reject(err) 16 | } 17 | }) 18 | }) 19 | } 20 | 21 | 22 | export function myRequestPost(url, data) { 23 | return new Promise((resolve, reject) => { 24 | uni.request({ 25 | url: baseUrl + url, 26 | header: { 27 | 'Content-Type': 'application/json' 28 | }, 29 | method: "POST", 30 | data: data, 31 | success: function(res) { 32 | console.log('POST成功', res), 33 | resolve(res.data) 34 | }, 35 | fail: function(err) { 36 | console.log('POST失败'), 37 | reject(err) 38 | } 39 | }) 40 | }) 41 | } 42 | --------------------------------------------------------------------------------
兑换说明
兑换中心仅对会员资格以及会员升级兑换,如需兑换优惠券请到个人中心内进行兑换
会员资格兑换及会员升级兑换规则请仔细阅读《如程会员协议》及 11 | 《如程任享会员升级规则》。一经兑换,则视为会员同意前述协议及规则,相应会员资格即生效