├── App.vue ├── LICENSE ├── README.md ├── colorui ├── animation.css ├── components │ └── cu-custom.vue ├── icon.css └── main.css ├── commons ├── global.css ├── graceChecker.js ├── iconfont.css ├── qrcode.js ├── request.js ├── resources.js ├── rsa.js ├── sha1.js ├── uni.css ├── util.js └── utils.js ├── components ├── hm │ ├── hm-dimorphic.vue │ ├── hm-image.vue │ ├── hm-loading.vue │ ├── hm-menu.vue │ ├── hm-notice.vue │ ├── hm-search.vue │ ├── hm-todo-list.vue │ ├── hm-workflow-step.vue │ └── more-menu.vue └── uni │ ├── uni-badge.vue │ ├── uni-countdown.vue │ ├── uni-drawer.vue │ ├── uni-icon.vue │ ├── uni-load-more.vue │ ├── uni-nav-bar.vue │ ├── uni-number-box.vue │ ├── uni-popup.vue │ ├── uni-segmented-control.vue │ ├── uni-status-bar.vue │ └── uni-tag.vue ├── euler-uniapp-boilerplate.iml ├── main.js ├── manifest.json ├── node_modules ├── .bin │ ├── prettier │ └── prettier.cmd └── prettier │ ├── README.md │ ├── bin-prettier.js │ ├── index.js │ ├── package.json │ ├── parser-babylon.js │ ├── parser-flow.js │ ├── parser-glimmer.js │ ├── parser-graphql.js │ ├── parser-markdown.js │ ├── parser-parse5.js │ ├── parser-postcss.js │ ├── parser-typescript.js │ ├── parser-vue.js │ └── third-party.js ├── package-lock.json ├── pages.json ├── pages ├── basics │ ├── avatar.vue │ ├── background.vue │ ├── button.vue │ ├── design.vue │ ├── home.vue │ ├── icon.vue │ ├── layout.vue │ ├── loading.vue │ ├── progress.vue │ ├── shadow.vue │ ├── tag.vue │ └── text.vue ├── component │ ├── bar.vue │ ├── card.vue │ ├── chat.vue │ ├── form.vue │ ├── home.vue │ ├── list.vue │ ├── modal.vue │ ├── nav.vue │ ├── steps.vue │ ├── swiper.vue │ └── timeline.vue ├── index │ └── index.vue ├── other │ ├── awake.vue │ └── home.vue ├── page │ ├── euler │ │ ├── 404.vue │ │ ├── 500.vue │ │ ├── forget-pwd.vue │ │ ├── login.vue │ │ ├── main.vue │ │ ├── modify-pwd.vue │ │ ├── msg-content.vue │ │ ├── msg-list.vue │ │ ├── net-disconnect.vue │ │ ├── tab-main.vue │ │ ├── tab-message.vue │ │ ├── tab-my.vue │ │ ├── upgrade-info.vue │ │ ├── upgrade.vue │ │ ├── user-bind.vue │ │ ├── user-center.vue │ │ └── user-not-bind.vue │ └── home.vue ├── plugin │ ├── animation.vue │ ├── drawer.vue │ ├── home.vue │ ├── indexes.vue │ └── verticalnav.vue ├── search-page.vue ├── sys-component │ ├── home.vue │ ├── menu.vue │ ├── notice-content.vue │ └── notice-list.vue └── third.vue ├── pom.xml ├── screenshot ├── screenshot1.png ├── screenshot2.png ├── screenshot3.png ├── screenshot4.png ├── screenshot5.png ├── screenshot6.png ├── screenshot7.png └── screenshot8.png ├── static ├── BasicsBg.png ├── basics-nav-li-bg.png ├── cjkz.png ├── commons │ └── images │ │ ├── alertImg │ │ ├── img-cartoon-loading.png │ │ ├── img-cartoon-nfc.png │ │ ├── img-cartoon-nodata.png │ │ ├── img-cartoon-nowifi.png │ │ ├── img-cartoon-scan.png │ │ ├── img-clound.png │ │ ├── img-dange-sign.png │ │ ├── img-dange.png │ │ ├── img-leaf.png │ │ ├── img-leaf2.png │ │ ├── img-loading.png │ │ ├── img-moon.png │ │ ├── img-nodata.png │ │ ├── img-rain.png │ │ ├── img-success.png │ │ ├── img-sun.png │ │ ├── img-tips-dange.png │ │ ├── img-tips-loading.png │ │ ├── img-tips-nodata.png │ │ ├── img-tips-success.png │ │ └── logo-loading.png │ │ ├── icons │ │ ├── icon-arrow-down.png │ │ ├── icon-btn-selected-disabled.png │ │ ├── icon-btn-selected.png │ │ ├── icon-day.png │ │ ├── icon-man.png │ │ ├── icon-message.png │ │ ├── icon-month.png │ │ ├── icon-person.png │ │ ├── icon-shop.png │ │ ├── icon-week.png │ │ └── icon-woman.png │ │ └── vcode.jpg ├── componentBg.png ├── home │ ├── basics.png │ └── cjkz2329.jpg ├── logo.png ├── pages │ ├── login │ │ ├── banner-tobacco-1.jpg │ │ ├── banner-tobacco-2.jpg │ │ ├── banner_1.jpg │ │ ├── bg-login2.jpg │ │ ├── bg-login2.png │ │ ├── logo-euler-e-white.png │ │ ├── logo-euler-e.png │ │ ├── logo-euler-h-white.png │ │ ├── logo-euler-h.png │ │ ├── logo-euler-v-white.png │ │ ├── logo-euler-v.png │ │ ├── logo-euler.png │ │ ├── logo-white.png │ │ ├── logo-yc.png │ │ └── logo.png │ ├── main │ │ ├── banner.png │ │ ├── tabMain.png │ │ ├── tabMain_cur.png │ │ ├── tabMessage.png │ │ ├── tabMessage_cur.png │ │ ├── tabMy.png │ │ ├── tabMy_cur.png │ │ ├── tabTodo.png │ │ └── tabTodo_cur.png │ ├── my │ │ └── user-man.png │ └── user-center │ │ └── bg-report-default.jpg └── tabbar │ ├── about.png │ ├── about_cur.png │ ├── basics.png │ ├── basics_cur.png │ ├── component.png │ ├── component_cur.png │ ├── other.png │ ├── other_cur.png │ ├── page.png │ ├── page_cur.png │ ├── plugin.png │ ├── plugin_cur.png │ ├── sysComponent.png │ └── sysComponent_cur.png └── uni.scss /README.md: -------------------------------------------------------------------------------- 1 | # uniapp-demo 2 | uniapp各种开发实战,包含基本布局,动画,组件(时间轴,轮播,聊天,tabbar,导航等),微动画,抽屉,侧滑,唤醒原生app,数据库操作等等。 3 | 4 | 5 | -------------------------------------------------------------------------------- /colorui/animation.css: -------------------------------------------------------------------------------- 1 | /* 2 | Animation 微动画 3 | 基于ColorUI组建库的动画模块 by 文晓港 2019年3月26日19:52:28 4 | */ 5 | 6 | /* css 滤镜 控制黑白底色gif的 */ 7 | .gif-black{ 8 | mix-blend-mode: screen; 9 | } 10 | .gif-white{ 11 | mix-blend-mode: multiply; 12 | } 13 | 14 | 15 | /* Animation css */ 16 | [class*=animation-] { 17 | animation-duration: .5s; 18 | animation-timing-function: ease-out; 19 | animation-fill-mode: both 20 | } 21 | 22 | .animation-fade { 23 | animation-name: fade; 24 | animation-duration: .8s; 25 | animation-timing-function: linear 26 | } 27 | 28 | .animation-scale-up { 29 | animation-name: scale-up 30 | } 31 | 32 | .animation-scale-down { 33 | animation-name: scale-down 34 | } 35 | 36 | .animation-slide-top { 37 | animation-name: slide-top 38 | } 39 | 40 | .animation-slide-bottom { 41 | animation-name: slide-bottom 42 | } 43 | 44 | .animation-slide-left { 45 | animation-name: slide-left 46 | } 47 | 48 | .animation-slide-right { 49 | animation-name: slide-right 50 | } 51 | 52 | .animation-shake { 53 | animation-name: shake 54 | } 55 | 56 | .animation-reverse { 57 | animation-direction: reverse 58 | } 59 | 60 | @keyframes fade { 61 | 0% { 62 | opacity: 0 63 | } 64 | 65 | 100% { 66 | opacity: 1 67 | } 68 | } 69 | 70 | @keyframes scale-up { 71 | 0% { 72 | opacity: 0; 73 | transform: scale(.2) 74 | } 75 | 76 | 100% { 77 | opacity: 1; 78 | transform: scale(1) 79 | } 80 | } 81 | 82 | @keyframes scale-down { 83 | 0% { 84 | opacity: 0; 85 | transform: scale(1.8) 86 | } 87 | 88 | 100% { 89 | opacity: 1; 90 | transform: scale(1) 91 | } 92 | } 93 | 94 | @keyframes slide-top { 95 | 0% { 96 | opacity: 0; 97 | transform: translateY(-100%) 98 | } 99 | 100 | 100% { 101 | opacity: 1; 102 | transform: translateY(0) 103 | } 104 | } 105 | 106 | @keyframes slide-bottom { 107 | 0% { 108 | opacity: 0; 109 | transform: translateY(100%) 110 | } 111 | 112 | 100% { 113 | opacity: 1; 114 | transform: translateY(0) 115 | } 116 | } 117 | 118 | @keyframes shake { 119 | 120 | 0%, 121 | 100% { 122 | transform: translateX(0) 123 | } 124 | 125 | 10% { 126 | transform: translateX(-9px) 127 | } 128 | 129 | 20% { 130 | transform: translateX(8px) 131 | } 132 | 133 | 30% { 134 | transform: translateX(-7px) 135 | } 136 | 137 | 40% { 138 | transform: translateX(6px) 139 | } 140 | 141 | 50% { 142 | transform: translateX(-5px) 143 | } 144 | 145 | 60% { 146 | transform: translateX(4px) 147 | } 148 | 149 | 70% { 150 | transform: translateX(-3px) 151 | } 152 | 153 | 80% { 154 | transform: translateX(2px) 155 | } 156 | 157 | 90% { 158 | transform: translateX(-1px) 159 | } 160 | } 161 | 162 | @keyframes slide-left { 163 | 0% { 164 | opacity: 0; 165 | transform: translateX(-100%) 166 | } 167 | 168 | 100% { 169 | opacity: 1; 170 | transform: translateX(0) 171 | } 172 | } 173 | 174 | @keyframes slide-right { 175 | 0% { 176 | opacity: 0; 177 | transform: translateX(100%) 178 | } 179 | 180 | 100% { 181 | opacity: 1; 182 | transform: translateX(0) 183 | } 184 | } -------------------------------------------------------------------------------- /colorui/components/cu-custom.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 66 | 67 | 70 | -------------------------------------------------------------------------------- /commons/global.css: -------------------------------------------------------------------------------- 1 | @import "../colorui/main.css"; 2 | @import "../colorui/icon.css"; 3 | @import "uni.css"; 4 | @import "iconfont.css"; 5 | 6 | .g-page { 7 | position: absolute; 8 | left: 0; 9 | right: 0; 10 | top: 0; 11 | bottom: 0; 12 | width: 100%; 13 | height: 100%; 14 | overflow: hidden; 15 | display: flex; 16 | flex-direction: column; 17 | justify-content: space-between; 18 | } 19 | .g-page .g-content { 20 | border-width: 0; 21 | overflow: auto; 22 | overflow-x: hidden; 23 | position: relative; 24 | flex: 1 25 | } 26 | 27 | .g-page .g-footer { 28 | z-index: 9999; 29 | position: relative; 30 | min-height: 3rem; 31 | } 32 | 33 | .g-line-clamp { 34 | overflow: hidden; 35 | text-overflow: ellipsis; 36 | display: -webkit-box; 37 | -webkit-line-clamp: 2; 38 | -webkit-box-orient: vertical; 39 | white-space: normal !important; 40 | } 41 | 42 | .g-margin0 { 43 | margin: 0 auto; 44 | } 45 | 46 | .g-caption { 47 | padding: .3125rem 1rem; 48 | color: #6d6d72; 49 | font-size: .875rem; 50 | } 51 | 52 | .g-status-bar { 53 | height: var(--status-bar-height); 54 | width: 100%; 55 | background-color: #007AFF; 56 | 57 | } 58 | 59 | .g-status-place { 60 | height: var(--status-bar-height); 61 | width: 100%; 62 | position: fixed; 63 | background-color: #007AFF; 64 | top: 0; 65 | z-index: 999; 66 | } 67 | 68 | [class*="hm-icon"] { 69 | font-family: "hm-iconfont" !important; 70 | font-size: 16px; 71 | font-style: normal; 72 | -webkit-font-smoothing: antialiased; 73 | -moz-osx-font-smoothing: grayscale; 74 | } 75 | 76 | .cu-list.grid>.cu-item [class*=hm-icon] { 77 | position: relative; 78 | display: block; 79 | margin-top: 9px; 80 | width: 100%; 81 | font-size: 23px; 82 | } 83 | 84 | .text-success { 85 | color: #04be02 !important 86 | } 87 | .text-primary { 88 | color: #0f82fe !important 89 | } 90 | .text-info { 91 | color: #10aeff !important 92 | } 93 | .text-warning { 94 | color: #ffa800 !important 95 | } 96 | .text-danger { 97 | color: #f44f4f !important 98 | } 99 | .text-amber { 100 | color: #fff !important; 101 | } 102 | .text-indigo { 103 | color: #fff !important; 104 | } 105 | .text-deeppurple { 106 | color: #fff !important; 107 | } 108 | .text-lightblue { 109 | border-color: rgba(3,155,229,0.9) !important; 110 | } 111 | .text-teal { 112 | color: #fff !important; 113 | } 114 | .text-lightgreen { 115 | color: #fff !important; 116 | } 117 | .text-lime { 118 | color: #fff !important; 119 | } 120 | .text-deeporange { 121 | color: #fff !important; 122 | } 123 | 124 | .bg-amber { 125 | background-color: #ffb300 !important; 126 | color: #fff !important; 127 | } 128 | .bg-indigo { 129 | background-color: #3949ab !important; 130 | color: #fff !important; 131 | } 132 | .bg-deeppurple { 133 | background-color: #5e35b1 !important; 134 | color: #fff !important; 135 | } 136 | .bg-lightblue { 137 | background-color: #039be5 !important; 138 | border-color: rgba(3,155,229,0.9) !important; 139 | } 140 | .bg-teal { 141 | background-color: #00897b !important; 142 | color: #fff !important; 143 | } 144 | .bg-lightgreen { 145 | background-color: #7cb342 !important; 146 | color: #fff !important; 147 | } 148 | .bg-lime { 149 | background-color: #c0ca33 !important; 150 | color: #fff !important; 151 | } 152 | .bg-deeporange { 153 | background-color: #f4511e !important; 154 | color: #fff !important; 155 | } 156 | .bg-footer { 157 | background-color: #f9f9f9 !important; 158 | color: #999999 !important; 159 | } 160 | .bg-success { 161 | background-color: #04be02 !important; 162 | color: #ffffff !important; 163 | } 164 | .bg-primary { 165 | background-color: #0f82fe !important; 166 | color: #ffffff !important; 167 | } 168 | .bg-info { 169 | background-color: #10aeff !important; 170 | color: #ffffff !important; 171 | } 172 | .bg-warning { 173 | background-color: #ffa800 !important; 174 | color: #ffffff !important; 175 | } 176 | .bg-danger { 177 | background-color: #f44f4f !important; 178 | color: #ffffff !important; 179 | } 180 | 181 | .border-success { 182 | border: 1px solid #04be02 !important; 183 | } 184 | .border-primary { 185 | border: 1px solid #0f82fe !important; 186 | } 187 | .border-info { 188 | border: 1px solid #10aeff !important; 189 | } 190 | .border-warning { 191 | border: 1px solid #ffa800 !important; 192 | } 193 | .border-danger { 194 | border: 1px solid #f44f4f !important; 195 | } 196 | -------------------------------------------------------------------------------- /commons/request.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 通用uni-app网络请求 3 | * 基于 Promise 对象实现更简单的 request 使用方式,支持请求和响应拦截 4 | */ 5 | 6 | /* 7 | // 开放的接口 8 | import http from './interface' 9 | 10 | http.config.baseUrl = "http://localhost:8080/api/" 11 | 12 | http.request(url:'user/list',method:'GET').then((res)=>{ 13 | console.log(JSON.stringify(res)) 14 | }) 15 | http.get('user/list').then((res)=>{ 16 | console.log(JSON.stringify(res)) 17 | }) 18 | http.get('user/list', {status: 1}).then((res)=>{ 19 | console.log(JSON.stringify(res)) 20 | }) 21 | http.post('user', {id:1, status: 1}).then((res)=>{ 22 | console.log(JSON.stringify(res)) 23 | }) 24 | http.put('user/1', {status: 2}).then((res)=>{ 25 | console.log(JSON.stringify(res)) 26 | }) 27 | http.delete('user/1').then((res)=>{ 28 | console.log(JSON.stringify(res)) 29 | }) 30 | 31 | */ 32 | export default { 33 | config: { 34 | baseUrl: "", 35 | header: { 36 | 'Content-Type':'application/x-www-form-urlencoded' 37 | }, 38 | data: {}, 39 | method: "GET", 40 | dataType: "json", /* 如设为json,会对返回的数据做一次 JSON.parse */ 41 | responseType: "text", 42 | success() {}, 43 | fail() {}, 44 | complete() {} 45 | }, 46 | interceptor: { 47 | request: null, 48 | response: null 49 | }, 50 | request(options) { 51 | if (!options) { 52 | options = {} 53 | } 54 | options.baseUrl = options.baseUrl || this.config.baseUrl 55 | options.dataType = options.dataType || this.config.dataType 56 | options.url = options.baseUrl + options.url 57 | options.data = options.data || {} 58 | options.method = options.method || this.config.method 59 | 60 | return new Promise((resolve, reject) => { 61 | let _config = null 62 | 63 | options.complete = (response) => { 64 | let statusCode = response.statusCode 65 | response.config = _config 66 | if (process.env.NODE_ENV === 'development') { 67 | if (statusCode === 200) { 68 | console.log("【" + _config.requestId + "】 结果:" + JSON.stringify(response.data)) 69 | } 70 | } 71 | if (this.interceptor.response) { 72 | let newResponse = this.interceptor.response(response) 73 | if (newResponse) { 74 | response = newResponse 75 | } 76 | } 77 | // 统一的响应日志记录 78 | _reslog(response) 79 | if (statusCode === 200) { //成功 80 | resolve(response.data); 81 | } else { 82 | uni.showModal({ 83 | title: '错误提示', 84 | content: '请求【' + response.config.url + '】失败', 85 | showCancel: false 86 | }); 87 | response.data = {}; 88 | response.data.successful = false; 89 | response.data.message = response.errMsg; 90 | resolve(response.data); 91 | } 92 | } 93 | 94 | _config = Object.assign({}, this.config, options) 95 | _config.requestId = new Date().getTime() 96 | 97 | if (this.interceptor.request) { 98 | this.interceptor.request(_config) 99 | } 100 | 101 | // 统一的请求日志记录 102 | _reqlog(_config) 103 | 104 | if (process.env.NODE_ENV === 'development') { 105 | console.log("【" + _config.requestId + "】 地址:" + _config.url) 106 | if (_config.data) { 107 | console.log("【" + _config.requestId + "】 参数:" + JSON.stringify(_config.data)) 108 | } 109 | } 110 | 111 | uni.request(_config); 112 | }); 113 | }, 114 | get(url, data, options) { 115 | if (!options) { 116 | options = {} 117 | } 118 | options.url = url 119 | options.data = data 120 | options.method = 'GET' 121 | return this.request(options) 122 | }, 123 | post(url, data, options) { 124 | if (!options) { 125 | options = {} 126 | } 127 | options.url = url 128 | options.data = data 129 | options.method = 'POST' 130 | return this.request(options) 131 | } 132 | } 133 | 134 | 135 | /** 136 | * 请求接口日志记录 137 | */ 138 | function _reqlog(req) { 139 | if (process.env.NODE_ENV === 'development') { 140 | console.log("【" + req.requestId + "】 地址:" + req.url) 141 | if (req.data) { 142 | console.log("【" + req.requestId + "】 请求参数:" + JSON.stringify(req.data)) 143 | } 144 | } 145 | } 146 | 147 | /** 148 | * 响应接口日志记录 149 | */ 150 | function _reslog(res) { 151 | let _statusCode = res.statusCode; 152 | if (process.env.NODE_ENV === 'development') { 153 | console.log("【" + res.config.requestId + "】 地址:" + res.config.url) 154 | if (res.config.data) { 155 | console.log("【" + res.config.requestId + "】 请求参数:" + JSON.stringify(res.config.data)) 156 | } 157 | console.log("【" + res.config.requestId + "】 响应结果:" + JSON.stringify(res)) 158 | } 159 | } -------------------------------------------------------------------------------- /commons/util.js: -------------------------------------------------------------------------------- 1 | function formatTime(time) { 2 | if (typeof time !== 'number' || time < 0) { 3 | return time 4 | } 5 | 6 | var hour = parseInt(time / 3600) 7 | time = time % 3600 8 | var minute = parseInt(time / 60) 9 | time = time % 60 10 | var second = time 11 | 12 | return ([hour, minute, second]).map(function (n) { 13 | n = n.toString() 14 | return n[1] ? n : '0' + n 15 | }).join(':') 16 | } 17 | 18 | function formatLocationStr(longitude, latitude) { 19 | const location = formatLocation(longitude, latitude); 20 | return "经度=" + location.longitude + ",纬度=" + location.latitude; 21 | } 22 | 23 | function formatLocation(longitude, latitude) { 24 | if (typeof longitude === 'string' && typeof latitude === 'string') { 25 | longitude = parseFloat(longitude) 26 | latitude = parseFloat(latitude) 27 | } 28 | 29 | longitude = longitude.toFixed(2) 30 | latitude = latitude.toFixed(2) 31 | 32 | return { 33 | longitude: longitude.toString().split('.'), 34 | latitude: latitude.toString().split('.') 35 | } 36 | } 37 | var dateUtils = { 38 | UNITS: { 39 | '年': 31557600000, 40 | '月': 2629800000, 41 | '天': 86400000, 42 | '小时': 3600000, 43 | '分钟': 60000, 44 | '秒': 1000 45 | }, 46 | humanize: function (milliseconds) { 47 | var humanize = ''; 48 | for (var key in this.UNITS) { 49 | if (milliseconds >= this.UNITS[key]) { 50 | humanize = Math.floor(milliseconds / this.UNITS[key]) + key + '前'; 51 | break; 52 | } 53 | } 54 | return humanize || '刚刚'; 55 | }, 56 | format: function (dateStr) { 57 | var date = this.parse(dateStr) 58 | var diff = Date.now() - date.getTime(); 59 | if (diff < this.UNITS['天']) { 60 | return this.humanize(diff); 61 | } 62 | var _format = function (number) { 63 | return (number < 10 ? ('0' + number) : number); 64 | }; 65 | return date.getFullYear() + '/' + _format(date.getMonth() + 1) + '/' + _format(date.getDay()) + '-' + 66 | _format(date.getHours()) + ':' + _format(date.getMinutes()); 67 | }, 68 | parse: function (str) { //将"yyyy-mm-dd HH:MM:ss"格式的字符串,转化为一个Date对象 69 | var a = str.split(/[^0-9]/); 70 | return new Date(a[0], a[1] - 1, a[2], a[3], a[4], a[5]); 71 | } 72 | }; 73 | 74 | module.exports = { 75 | formatTime: formatTime, 76 | formatLocation: formatLocation, 77 | formatLocationStr: formatLocationStr, 78 | dateUtils: dateUtils 79 | } 80 | -------------------------------------------------------------------------------- /commons/utils.js: -------------------------------------------------------------------------------- 1 | const utils = { 2 | dateUtils: { 3 | // yyyyMMdd -> yyyy年MM月dd日 4 | formatDateStrCN: function(str) { 5 | let year = str.substring(0, 4); 6 | let month = str.substring(4, 6); 7 | let day = str.substring(6, 8); 8 | return year + "年" + month + "月" + day + '日'; 9 | }, 10 | // yyyy-MM-dd -> yyyy年MM月dd日 11 | formatToCN: function(str) { 12 | let year = str.substring(0, 4); 13 | let month = str.substring(5, 7); 14 | let day = str.substring(8, 10); 15 | return year + "年" + month + "月" + day + '日'; 16 | }, 17 | // yyyyMMdd -> yyyy-MM-dd 18 | formatDateStr: function(str) { 19 | let year = str.substring(0, 4); 20 | let month = str.substring(4, 6); 21 | let day = str.substring(6, 8); 22 | return year + "-" + month + "-" + day; 23 | }, 24 | // yyyyMMddHHmmss -> yyyy-MM-dd HH:mm:ss 25 | formatTimeStr: function(str) { 26 | let year = str.substring(0, 4); 27 | let month = str.substring(4, 6); 28 | let day = str.substring(6, 8); 29 | let hour = str.substring(8, 10); 30 | let minite = str.substring(10, 12); 31 | let second = str.substring(12, 14); 32 | return year + "-" + month + "-" + day + " " + hour + ":" + minite + ":" + second; 33 | }, 34 | format: function (date) { 35 | let _format = utils.dateUtils._format; 36 | return '' + date.getFullYear() + _format(date.getMonth() + 1) + _format(date.getDate()) + 37 | _format(date.getHours()) + _format(date.getMinutes()) + _format(date.getSeconds()); 38 | }, 39 | _format: function (number) { 40 | return (number < 10 ? ('0' + number) : number); 41 | } 42 | } 43 | }; 44 | 45 | export default utils 46 | -------------------------------------------------------------------------------- /components/hm/hm-dimorphic.vue: -------------------------------------------------------------------------------- 1 | 8 | 18 | 19 | 60 | 61 | 64 | -------------------------------------------------------------------------------- /components/hm/hm-loading.vue: -------------------------------------------------------------------------------- 1 | 4 | 7 | 24 | 25 | 28 | -------------------------------------------------------------------------------- /components/hm/hm-notice.vue: -------------------------------------------------------------------------------- 1 | 22 | 47 | 48 | 50 | -------------------------------------------------------------------------------- /components/hm/more-menu.vue: -------------------------------------------------------------------------------- 1 | 33 | 34 | 89 | 90 | 112 | -------------------------------------------------------------------------------- /components/uni/uni-badge.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 37 | 38 | 116 | -------------------------------------------------------------------------------- /components/uni/uni-countdown.vue: -------------------------------------------------------------------------------- 1 | 10 | 115 | 141 | -------------------------------------------------------------------------------- /components/uni/uni-drawer.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | 56 | 57 | 109 | -------------------------------------------------------------------------------- /components/uni/uni-icon.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 33 | 34 | -------------------------------------------------------------------------------- /components/uni/uni-load-more.vue: -------------------------------------------------------------------------------- 1 | 26 | 27 | 60 | 61 | 193 | -------------------------------------------------------------------------------- /components/uni/uni-number-box.vue: -------------------------------------------------------------------------------- 1 | 8 | 95 | 174 | -------------------------------------------------------------------------------- /components/uni/uni-popup.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 44 | 94 | -------------------------------------------------------------------------------- /components/uni/uni-segmented-control.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 92 | 93 | 135 | -------------------------------------------------------------------------------- /components/uni/uni-status-bar.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 22 | 23 | 31 | -------------------------------------------------------------------------------- /components/uni/uni-tag.vue: -------------------------------------------------------------------------------- 1 | 7 | 8 | 43 | 44 | 149 | -------------------------------------------------------------------------------- /euler-uniapp-boilerplate.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './App' 3 | 4 | import basics from './pages/basics/home.vue' 5 | Vue.component('basics',basics); 6 | 7 | import components from './pages/component/home.vue' 8 | Vue.component('components',components); 9 | 10 | import plugin from './pages/plugin/home.vue' 11 | Vue.component('plugin',plugin); 12 | 13 | import page from './pages/page/home.vue' 14 | Vue.component('page',page); 15 | 16 | import sysComponents from './pages/sys-component/home.vue' 17 | Vue.component('sys-components',sysComponents); 18 | 19 | import other from './pages/other/home.vue' 20 | Vue.component('other',other); 21 | 22 | import cuCustom from './colorui/components/cu-custom.vue' 23 | Vue.component('cu-custom',cuCustom); 24 | 25 | Vue.config.productionTip = false 26 | 27 | App.mpType = 'app' 28 | 29 | const app = new Vue({ 30 | ...App 31 | }) 32 | app.$mount() 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "HUI-MOBILE", 3 | "appid" : "__UNI__2D055C3", 4 | "description" : "", 5 | "versionName" : "1.0.0", 6 | "versionCode" : "100", 7 | "transformPx" : false, 8 | "app-plus" : { 9 | /* 5+App特有相关 */ 10 | "splashscreen" : { 11 | "alwaysShowBeforeRender" : true, 12 | "waiting" : true, 13 | "autoclose" : true, 14 | "delay" : 0 15 | }, 16 | "modules" : { 17 | "Push" : {} 18 | }, 19 | /* 模块配置 */ 20 | "distribute" : { 21 | /* 应用发布信息 */ 22 | "android" : { 23 | /* android打包配置 */ 24 | "permissions" : [ 25 | "", 26 | "", 27 | "", 28 | "", 29 | "", 30 | "", 31 | "", 32 | "", 33 | "", 34 | "", 35 | "", 36 | "", 37 | "", 38 | "", 39 | "", 40 | "", 41 | "", 42 | "", 43 | "", 44 | "", 45 | "", 46 | "" 47 | ], 48 | "schemes" : "euler-demo" 49 | }, 50 | "ios" : { 51 | "urltypes" : "euler-demo", 52 | "idfa" : false 53 | }, 54 | /* ios打包配置 */ 55 | "sdkConfigs" : { 56 | "push" : { 57 | "unipush" : {} 58 | } 59 | }, 60 | "icons" : { 61 | "android" : { 62 | "xhdpi" : "", 63 | "hdpi" : "", 64 | "xxhdpi" : "", 65 | "xxxhdpi" : "" 66 | }, 67 | "ios" : { 68 | "iphone" : { 69 | "app@2x" : "", 70 | "app@3x" : "", 71 | "notification@2x" : "", 72 | "notification@3x" : "", 73 | "settings@2x" : "", 74 | "settings@3x" : "", 75 | "spotlight@2x" : "", 76 | "spotlight@3x" : "" 77 | }, 78 | "appstore" : "", 79 | "ipad" : { 80 | "app" : "", 81 | "app@2x" : "", 82 | "notification" : "", 83 | "notification@2x" : "", 84 | "proapp@2x" : "", 85 | "settings" : "", 86 | "settings@2x" : "", 87 | "spotlight" : "", 88 | "spotlight@2x" : "" 89 | } 90 | } 91 | } 92 | } 93 | }, 94 | /* SDK配置 */ 95 | "quickapp" : {}, 96 | /* 快应用特有相关 */ 97 | "mp-weixin" : { 98 | "appid" : "", 99 | "setting" : { 100 | "urlCheck" : true, 101 | "es6" : false 102 | } 103 | }, 104 | "mp-toutiao" : { 105 | "appid" : "" 106 | }, 107 | "h5" : { 108 | "router" : { 109 | "base" : "/umobile/" 110 | } 111 | } 112 | } 113 | -------------------------------------------------------------------------------- /node_modules/.bin/prettier: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../prettier/bin-prettier.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../prettier/bin-prettier.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/prettier.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\prettier\bin-prettier.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\prettier\bin-prettier.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/prettier/README.md: -------------------------------------------------------------------------------- 1 | ![Prettier Banner](https://raw.githubusercontent.com/prettier/prettier-logo/master/images/prettier-banner-light.png) 2 | 3 |

Opinionated Code Formatter

4 | 5 |

6 | 7 | JavaScript 8 | · Flow 9 | · TypeScript 10 | · CSS 11 | · SCSS 12 | · Less 13 | · JSX 14 | · Vue 15 | · GraphQL 16 | · JSON 17 | · Markdown 18 | · 19 | Your favorite language? 20 | 21 | 22 |

23 | 24 |

25 | 26 | Gitter 27 | 28 | 29 | Travis 30 | 31 | 32 | Codecov 33 | 34 | 35 | npm version 36 | 37 | 38 | monthly downloads 39 | 40 | 41 | code style: prettier 42 | 43 | 44 | Follow+Prettier+on+Twitter 45 | 46 |

47 | 48 | ## Intro 49 | 50 | Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. 51 | 52 | ### Input 53 | 54 | 55 | ```js 56 | foo(reallyLongArg(), omgSoManyParameters(), IShouldRefactorThis(), isThereSeriouslyAnotherOne()); 57 | ``` 58 | 59 | ### Output 60 | 61 | ```js 62 | foo( 63 | reallyLongArg(), 64 | omgSoManyParameters(), 65 | IShouldRefactorThis(), 66 | isThereSeriouslyAnotherOne() 67 | ); 68 | ``` 69 | 70 | Prettier can be run [in your editor](http://prettier.io/docs/en/editors.html) on-save, in a [pre-commit hook](https://prettier.io/docs/en/precommit.html), or in [CI environments](https://prettier.io/docs/en/cli.html#list-different) to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again! 71 | 72 | --- 73 | 74 | **[Documentation](https://prettier.io/docs/en/)** 75 | 76 | 77 | [Install](https://prettier.io/docs/en/install.html) · 78 | [Options](https://prettier.io/docs/en/options.html) · 79 | [CLI](https://prettier.io/docs/en/cli.html) · 80 | [API](https://prettier.io/docs/en/api.html) 81 | 82 | **[Playground](https://prettier.io/playground/)** 83 | 84 | --- 85 | 86 | ## Badge 87 | 88 | Show the world you're using _Prettier_ → [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) 89 | 90 | ```md 91 | [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) 92 | ``` 93 | 94 | ## Contributing 95 | 96 | See [CONTRIBUTING.md](CONTRIBUTING.md). 97 | -------------------------------------------------------------------------------- /node_modules/prettier/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "_from": "prettier@~1.12.0", 3 | "_id": "prettier@1.12.1", 4 | "_inBundle": false, 5 | "_integrity": "sha1-wa0g6APndJ+vkFpAnSNn4Gu+cyU=", 6 | "_location": "/prettier", 7 | "_phantomChildren": {}, 8 | "_requested": { 9 | "type": "range", 10 | "registry": true, 11 | "raw": "prettier@~1.12.0", 12 | "name": "prettier", 13 | "escapedName": "prettier", 14 | "rawSpec": "~1.12.0", 15 | "saveSpec": null, 16 | "fetchSpec": "~1.12.0" 17 | }, 18 | "_requiredBy": [ 19 | "#USER", 20 | "/" 21 | ], 22 | "_resolved": "http://registry.npm.taobao.org/prettier/download/prettier-1.12.1.tgz", 23 | "_shasum": "c1ad20e803e7749faf905a409d2367e06bbe7325", 24 | "_spec": "prettier@~1.12.0", 25 | "_where": "E:\\weilanwlSVN\\colorui\\github\\ColorUI\\Colorui-UniApp", 26 | "author": { 27 | "name": "James Long" 28 | }, 29 | "bin": { 30 | "prettier": "./bin-prettier.js" 31 | }, 32 | "bugs": { 33 | "url": "https://github.com/prettier/prettier/issues" 34 | }, 35 | "bundleDependencies": false, 36 | "deprecated": false, 37 | "description": "Prettier is an opinionated code formatter", 38 | "devDependencies": { 39 | "babel-cli": "6.24.1", 40 | "babel-preset-es2015": "6.24.1", 41 | "codecov": "2.2.0", 42 | "cross-env": "5.0.5", 43 | "eslint": "4.18.2", 44 | "eslint-config-prettier": "2.9.0", 45 | "eslint-friendly-formatter": "3.0.0", 46 | "eslint-plugin-import": "2.9.0", 47 | "eslint-plugin-prettier": "2.6.0", 48 | "eslint-plugin-react": "7.7.0", 49 | "jest": "21.1.0", 50 | "mkdirp": "0.5.1", 51 | "prettier": "1.12.0", 52 | "prettylint": "1.0.0", 53 | "rimraf": "2.6.2", 54 | "rollup": "0.47.6", 55 | "rollup-plugin-commonjs": "8.2.6", 56 | "rollup-plugin-json": "2.1.1", 57 | "rollup-plugin-node-builtins": "2.0.0", 58 | "rollup-plugin-node-globals": "1.1.0", 59 | "rollup-plugin-node-resolve": "2.0.0", 60 | "rollup-plugin-replace": "1.2.1", 61 | "shelljs": "0.8.1", 62 | "snapshot-diff": "0.2.2", 63 | "strip-ansi": "4.0.0", 64 | "tempy": "0.2.1", 65 | "uglify-es": "3.3.9", 66 | "webpack": "2.6.1" 67 | }, 68 | "engines": { 69 | "node": ">=4" 70 | }, 71 | "files": [ 72 | "*.js" 73 | ], 74 | "homepage": "https://prettier.io", 75 | "license": "MIT", 76 | "main": "./index.js", 77 | "name": "prettier", 78 | "repository": { 79 | "type": "git", 80 | "url": "git+https://github.com/prettier/prettier.git" 81 | }, 82 | "scripts": { 83 | "prepublishOnly": "node -e \"assert.equal(require('.').version, require('..').version)\"" 84 | }, 85 | "version": "1.12.1" 86 | } 87 | -------------------------------------------------------------------------------- /node_modules/prettier/parser-vue.js: -------------------------------------------------------------------------------- 1 | "use strict";function makeMap(e,t){const n=Object.create(null),a=e.split(",");for(let e=0;en[e.toLowerCase()]:e=>n[e]}const no=()=>!1,isNonPhrasingTag=makeMap("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),attribute=/^\s*([^\s"'<>/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ncname="[a-zA-Z_][\\w\\-\\.]*",qnameCapture=`((?:${ncname}\\:)?${ncname})`,startTagOpen=new RegExp(`^<${qnameCapture}`),startTagClose=/^\s*(\/?)>/,endTag=new RegExp(`^<\\/${qnameCapture}[^>]*>`),doctype=/^]+>/i,comment=/^/g,"$1").replace(//g,"$1")),shouldIgnoreFirstNewline(a,r)&&(r=r.slice(1)),t.chars&&t.chars(r),""));i+=e.length-o.length,e=o,h(a,i-n,i)}else{let n,a,r,o=e.indexOf("<");if(0===o){if(comment.test(e)){const n=e.indexOf("--\x3e");if(n>=0){t.shouldKeepComment&&t.comment(e.substring(4,n)),l(n+3);continue}}if(conditionalComment.test(e)){const t=e.indexOf("]>");if(t>=0){l(t+2);continue}}const n=e.match(doctype);if(n){l(n[0].length);continue}const a=e.match(endTag);if(a){const e=i;l(a[0].length),h(a[1],e,i);continue}const r=d();if(r){g(r),shouldIgnoreFirstNewline(c,e)&&l(1);continue}}if(o>=0){for(a=e.slice(o);!(endTag.test(a)||startTagOpen.test(a)||comment.test(a)||conditionalComment.test(a)||(r=a.indexOf("<",1))<0);)o+=r,a=e.slice(o);n=e.substring(0,o),l(o)}o<0&&(n=e,e=""),t.chars&&n&&t.chars(n)}if(e===s){t.chars&&t.chars(e),"production"!==process.env.NODE_ENV&&!n.length&&t.warn&&t.warn(`Mal-formatted tag at end of template: "${e}"`);break}}function l(t){i+=t,e=e.substring(t)}function d(){const t=e.match(startTagOpen);if(t){const n={tagName:t[1],attrs:[],start:i};let a,r;for(l(t[0].length);!(a=e.match(startTagClose))&&(r=e.match(attribute));)l(r[0].length),n.attrs.push(r);if(a)return n.unarySlash=a[1],l(a[0].length),n.end=i,n}}function g(e){const s=e.tagName,i=e.unarySlash;a&&("p"===c&&isNonPhrasingTag(s)&&h(c),o(s)&&c===s&&h(s));const l=r(s)||!!i,d=e.attrs.length,g=new Array(d);for(let n=0;n=0&&n[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(let s=n.length-1;s>=o;s--)"production"!==process.env.NODE_ENV&&(s>o||!e)&&t.warn&&t.warn(`tag <${n[s].tag}> has no matching end tag.`),t.end&&t.end(n[s].tag,a,r);n.length=o,c=o&&n[o-1].tag}else"br"===s?t.start&&t.start(e,[],!0,a,r):"p"===s&&(t.start&&t.start(e,[],!1,a,r),t.end&&t.end(e,a,r))}h()}function parse(e){const t={tag:"root",attrs:[],unary:!1,start:0,contentStart:0,contentEnd:e.length,end:e.length,children:[],comments:[]},n=[t];let a=t;return parseHTML(e,{start:function(e,t,r,o,s){const c={tag:e,attrs:t,unary:r,start:o,children:[]};a.children.push(c),r?c.end=s:(c.contentStart=s,n.push(c),a=c)},end:function(e,t,r){n.pop(),a.contentEnd=t,a.end=r,a=n[n.length-1]}}),t}var parserVue=parse;module.exports=parserVue; 2 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "requires": true, 3 | "lockfileVersion": 1, 4 | "dependencies": { 5 | "prettier": { 6 | "version": "1.12.1", 7 | "resolved": "http://registry.npm.taobao.org/prettier/download/prettier-1.12.1.tgz", 8 | "integrity": "sha1-wa0g6APndJ+vkFpAnSNn4Gu+cyU=" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pages.json: -------------------------------------------------------------------------------- 1 | { 2 | "pages": [ 3 | //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages 4 | { 5 | "path": "pages/index/index", 6 | "style": {} 7 | }, 8 | { 9 | "path": "pages/basics/layout", 10 | "style": {} 11 | }, 12 | { 13 | "path": "pages/basics/background", 14 | "style": {} 15 | }, 16 | { 17 | "path": "pages/basics/text", 18 | "style": {} 19 | }, 20 | { 21 | "path": "pages/basics/icon", 22 | "style": {} 23 | }, 24 | { 25 | "path": "pages/basics/button", 26 | "style": {} 27 | }, 28 | { 29 | "path": "pages/basics/design", 30 | "style": {} 31 | }, 32 | { 33 | "path": "pages/basics/tag", 34 | "style": {} 35 | }, 36 | { 37 | "path": "pages/basics/avatar", 38 | "style": {} 39 | }, 40 | { 41 | "path": "pages/basics/progress", 42 | "style": {} 43 | }, 44 | { 45 | "path": "pages/basics/shadow", 46 | "style": {} 47 | }, 48 | { 49 | "path": "pages/basics/loading", 50 | "style": {} 51 | }, 52 | { 53 | "path": "pages/component/bar", 54 | "style": {} 55 | }, 56 | { 57 | "path": "pages/component/nav", 58 | "style": {} 59 | }, 60 | { 61 | "path": "pages/component/list", 62 | "style": {} 63 | }, 64 | { 65 | "path": "pages/component/card", 66 | "style": {} 67 | }, 68 | { 69 | "path": "pages/component/form", 70 | "style": {} 71 | }, 72 | { 73 | "path": "pages/component/timeline", 74 | "style": {} 75 | }, 76 | { 77 | "path": "pages/component/chat", 78 | "style": {} 79 | }, 80 | { 81 | "path": "pages/component/swiper", 82 | "style": {} 83 | }, 84 | { 85 | "path": "pages/component/modal", 86 | "style": {} 87 | }, 88 | { 89 | "path": "pages/component/steps", 90 | "style": {} 91 | }, 92 | { 93 | "path": "pages/plugin/indexes", 94 | "style": {} 95 | }, 96 | { 97 | "path": "pages/plugin/animation", 98 | "style": {} 99 | }, 100 | { 101 | "path": "pages/plugin/drawer", 102 | "style": {} 103 | }, 104 | { 105 | "path": "pages/plugin/verticalnav", 106 | "style": {} 107 | }, 108 | { 109 | "path": "pages/sys-component/notice-list", 110 | "style": {} 111 | }, 112 | { 113 | "path": "pages/sys-component/notice-content", 114 | "style": {} 115 | }, 116 | { 117 | "path": "pages/sys-component/menu", 118 | "style": {} 119 | }, 120 | { 121 | "path": "components/hm/more-menu", 122 | "style": {} 123 | }, 124 | { 125 | "path": "pages/third", 126 | "style": {} 127 | },{ 128 | "path": "pages/search-page", 129 | "style": {} 130 | },{ 131 | "path": "pages/page/euler/login", 132 | "style": {} 133 | },{ 134 | "path": "pages/page/euler/main", 135 | "style": {} 136 | },{ 137 | "path": "pages/page/euler/forget-pwd", 138 | "style": {} 139 | },{ 140 | "path": "pages/page/euler/tab-main", 141 | "style": {} 142 | },{ 143 | "path": "pages/page/euler/tab-message", 144 | "style": {} 145 | },{ 146 | "path": "pages/page/euler/tab-my", 147 | "style": {} 148 | },{ 149 | "path": "pages/page/euler/msg-list", 150 | "style": {} 151 | },{ 152 | "path": "pages/page/euler/msg-content", 153 | "style": {} 154 | },{ 155 | "path": "pages/page/euler/upgrade", 156 | "style": {} 157 | },{ 158 | "path": "pages/page/euler/modify-pwd", 159 | "style": {} 160 | },{ 161 | "path": "pages/page/euler/upgrade-info", 162 | "style": {} 163 | },{ 164 | "path": "pages/page/euler/404", 165 | "style": {} 166 | },{ 167 | "path": "pages/page/euler/500", 168 | "style": {} 169 | },{ 170 | "path": "pages/page/euler/net-disconnect", 171 | "style": {} 172 | },{ 173 | "path": "pages/page/euler/user-not-bind", 174 | "style": {} 175 | },{ 176 | "path": "pages/page/euler/user-bind", 177 | "style": {} 178 | },{ 179 | "path": "pages/page/euler/user-center", 180 | "style": {} 181 | },{ 182 | "path": "pages/other/awake", 183 | "style": {} 184 | } 185 | ], 186 | "globalStyle": { 187 | "mp-alipay": { 188 | /* 支付宝小程序特有相关 */ 189 | "transparentTitle": "always", 190 | "allowsBounceVertical": "NO" 191 | }, 192 | "navigationBarBackgroundColor": "#0081ff", 193 | "navigationBarTitleText": "ColorUi for UniApp", 194 | "navigationStyle": "custom", 195 | "navigationBarTextStyle": "white" 196 | }, 197 | "usingComponts": true, 198 | "condition": { 199 | //模式配置,仅开发期间生效 200 | "current": 0, 201 | //当前激活的模式(list 的索引项) 202 | "list": [ 203 | /*{ 204 | "name": "表单", 205 | //模式名称 206 | "path": "pages/component/form", 207 | //启动页面 208 | "query": "" 209 | //启动参数 210 | }*/ 211 | ] 212 | } 213 | } 214 | -------------------------------------------------------------------------------- /pages/basics/avatar.vue: -------------------------------------------------------------------------------- 1 | 88 | 89 | 105 | 106 | 109 | -------------------------------------------------------------------------------- /pages/basics/button.vue: -------------------------------------------------------------------------------- 1 | 100 | 101 | 120 | 121 | 124 | -------------------------------------------------------------------------------- /pages/basics/design.vue: -------------------------------------------------------------------------------- 1 | 75 | 76 | 122 | 123 | 131 | -------------------------------------------------------------------------------- /pages/basics/home.vue: -------------------------------------------------------------------------------- 1 | 18 | 19 | 95 | 96 | 101 | -------------------------------------------------------------------------------- /pages/basics/loading.vue: -------------------------------------------------------------------------------- 1 | 63 | 64 | 65 | 98 | 99 | 102 | -------------------------------------------------------------------------------- /pages/basics/shadow.vue: -------------------------------------------------------------------------------- 1 | 36 | 37 | 51 | 52 | 55 | -------------------------------------------------------------------------------- /pages/basics/tag.vue: -------------------------------------------------------------------------------- 1 | 117 | 118 | 127 | 128 | 131 | -------------------------------------------------------------------------------- /pages/component/chat.vue: -------------------------------------------------------------------------------- 1 | 90 | 91 | 108 | 109 | 114 | -------------------------------------------------------------------------------- /pages/component/home.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 87 | 88 | 93 | -------------------------------------------------------------------------------- /pages/component/nav.vue: -------------------------------------------------------------------------------- 1 | 70 | 71 | 87 | 88 | 91 | -------------------------------------------------------------------------------- /pages/component/steps.vue: -------------------------------------------------------------------------------- 1 | 66 | 67 | 111 | 112 | 115 | -------------------------------------------------------------------------------- /pages/component/timeline.vue: -------------------------------------------------------------------------------- 1 | 88 | 89 | 98 | 99 | 102 | -------------------------------------------------------------------------------- /pages/index/index.vue: -------------------------------------------------------------------------------- 1 | 49 | 50 | 64 | 65 | 73 | -------------------------------------------------------------------------------- /pages/other/awake.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | -------------------------------------------------------------------------------- /pages/page/euler/404.vue: -------------------------------------------------------------------------------- 1 | 20 | 21 | 30 | 31 | -------------------------------------------------------------------------------- /pages/page/euler/500.vue: -------------------------------------------------------------------------------- 1 | 21 | 22 | 31 | 32 | -------------------------------------------------------------------------------- /pages/page/euler/main.vue: -------------------------------------------------------------------------------- 1 | 32 | 58 | -------------------------------------------------------------------------------- /pages/page/euler/modify-pwd.vue: -------------------------------------------------------------------------------- 1 | 37 | 38 | 69 | 70 | -------------------------------------------------------------------------------- /pages/page/euler/msg-content.vue: -------------------------------------------------------------------------------- 1 | 23 | 24 | 58 | 59 | 62 | -------------------------------------------------------------------------------- /pages/page/euler/msg-list.vue: -------------------------------------------------------------------------------- 1 | 30 | 111 | 112 | -------------------------------------------------------------------------------- /pages/page/euler/net-disconnect.vue: -------------------------------------------------------------------------------- 1 | 24 | 25 | 39 | 40 | -------------------------------------------------------------------------------- /pages/page/euler/tab-main.vue: -------------------------------------------------------------------------------- 1 | 25 | 59 | -------------------------------------------------------------------------------- /pages/page/euler/tab-message.vue: -------------------------------------------------------------------------------- 1 | 28 | 57 | -------------------------------------------------------------------------------- /pages/page/euler/tab-my.vue: -------------------------------------------------------------------------------- 1 | 39 | 63 | -------------------------------------------------------------------------------- /pages/page/euler/upgrade-info.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 39 | 40 | -------------------------------------------------------------------------------- /pages/page/euler/upgrade.vue: -------------------------------------------------------------------------------- 1 | 28 | 29 | 46 | 47 | -------------------------------------------------------------------------------- /pages/page/euler/user-bind.vue: -------------------------------------------------------------------------------- 1 | 42 | 43 | 65 | 66 | -------------------------------------------------------------------------------- /pages/page/euler/user-center.vue: -------------------------------------------------------------------------------- 1 | 40 | 41 | 56 | 57 | -------------------------------------------------------------------------------- /pages/page/euler/user-not-bind.vue: -------------------------------------------------------------------------------- 1 | 30 | 31 | 44 | 45 | -------------------------------------------------------------------------------- /pages/page/home.vue: -------------------------------------------------------------------------------- 1 | 34 | 35 | 109 | 110 | 115 | -------------------------------------------------------------------------------- /pages/plugin/animation.vue: -------------------------------------------------------------------------------- 1 | 78 | 79 | 137 | 138 | -------------------------------------------------------------------------------- /pages/plugin/drawer.vue: -------------------------------------------------------------------------------- 1 | 42 | 43 | 64 | 65 | 171 | -------------------------------------------------------------------------------- /pages/plugin/home.vue: -------------------------------------------------------------------------------- 1 | 21 | 22 | 61 | 62 | 104 | -------------------------------------------------------------------------------- /pages/search-page.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 26 | 27 | 30 | -------------------------------------------------------------------------------- /pages/sys-component/notice-content.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | 48 | 49 | 52 | -------------------------------------------------------------------------------- /pages/sys-component/notice-list.vue: -------------------------------------------------------------------------------- 1 | 23 | 24 | 90 | 91 | 94 | -------------------------------------------------------------------------------- /pages/third.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | 51 | 52 | 55 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | euler-uniapp-boilerplate 7 | com.hsit 8 | 5.5.0-SNAPSHOT 9 | 10 | maven.hsit.com.cn:8081 11 | 2.6 12 | 2.1.2 13 | 14 | 15 | 16 | 17 | 18 | 19 | copy 20 | prepare-package 21 | 22 | copy-resources 23 | 24 | 25 | true 26 | 27 | ${basedir}/target/classes/euler-uniapp-bolierplate 28 | 29 | 30 | 31 | . 32 | pom.xml 33 | unpackage/** 34 | target/** 35 | *.iml 36 | 37 | 38 | 39 | 40 | 41 | org.apache.maven.plugins 42 | maven-resources-plugin 43 | ${resources-plugin.version} 44 | 45 | false 46 | 47 | 48 | 49 | org.apache.maven.plugins 50 | maven-source-plugin 51 | ${source-plugin.version} 52 | 53 | 54 | attach-sources 55 | none 56 | 57 | jar-no-fork 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | internal.repo.release 67 | http://${repo.host}/nexus/content/repositories/releases/ 68 | 69 | 70 | internal.repo.snapshot 71 | http://${repo.host}/nexus/content/repositories/snapshots/ 72 | 73 | 74 | 75 | -------------------------------------------------------------------------------- /screenshot/screenshot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/screenshot/screenshot1.png -------------------------------------------------------------------------------- /screenshot/screenshot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/screenshot/screenshot2.png -------------------------------------------------------------------------------- /screenshot/screenshot3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/screenshot/screenshot3.png -------------------------------------------------------------------------------- /screenshot/screenshot4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/screenshot/screenshot4.png -------------------------------------------------------------------------------- /screenshot/screenshot5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/screenshot/screenshot5.png -------------------------------------------------------------------------------- /screenshot/screenshot6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/screenshot/screenshot6.png -------------------------------------------------------------------------------- /screenshot/screenshot7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/screenshot/screenshot7.png -------------------------------------------------------------------------------- /screenshot/screenshot8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/screenshot/screenshot8.png -------------------------------------------------------------------------------- /static/BasicsBg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/BasicsBg.png -------------------------------------------------------------------------------- /static/basics-nav-li-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/basics-nav-li-bg.png -------------------------------------------------------------------------------- /static/cjkz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/cjkz.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-cartoon-loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-cartoon-loading.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-cartoon-nfc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-cartoon-nfc.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-cartoon-nodata.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-cartoon-nodata.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-cartoon-nowifi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-cartoon-nowifi.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-cartoon-scan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-cartoon-scan.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-clound.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-clound.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-dange-sign.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-dange-sign.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-dange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-dange.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-leaf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-leaf.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-leaf2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-leaf2.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-loading.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-moon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-moon.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-nodata.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-nodata.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-rain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-rain.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-success.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-sun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-sun.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-tips-dange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-tips-dange.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-tips-loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-tips-loading.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-tips-nodata.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-tips-nodata.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/img-tips-success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/img-tips-success.png -------------------------------------------------------------------------------- /static/commons/images/alertImg/logo-loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/alertImg/logo-loading.png -------------------------------------------------------------------------------- /static/commons/images/icons/icon-arrow-down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/icons/icon-arrow-down.png -------------------------------------------------------------------------------- /static/commons/images/icons/icon-btn-selected-disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/icons/icon-btn-selected-disabled.png -------------------------------------------------------------------------------- /static/commons/images/icons/icon-btn-selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/icons/icon-btn-selected.png -------------------------------------------------------------------------------- /static/commons/images/icons/icon-day.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/icons/icon-day.png -------------------------------------------------------------------------------- /static/commons/images/icons/icon-man.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/icons/icon-man.png -------------------------------------------------------------------------------- /static/commons/images/icons/icon-message.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/icons/icon-message.png -------------------------------------------------------------------------------- /static/commons/images/icons/icon-month.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/icons/icon-month.png -------------------------------------------------------------------------------- /static/commons/images/icons/icon-person.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/icons/icon-person.png -------------------------------------------------------------------------------- /static/commons/images/icons/icon-shop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/icons/icon-shop.png -------------------------------------------------------------------------------- /static/commons/images/icons/icon-week.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/icons/icon-week.png -------------------------------------------------------------------------------- /static/commons/images/icons/icon-woman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/icons/icon-woman.png -------------------------------------------------------------------------------- /static/commons/images/vcode.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/commons/images/vcode.jpg -------------------------------------------------------------------------------- /static/componentBg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/componentBg.png -------------------------------------------------------------------------------- /static/home/basics.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/home/basics.png -------------------------------------------------------------------------------- /static/home/cjkz2329.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/home/cjkz2329.jpg -------------------------------------------------------------------------------- /static/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/logo.png -------------------------------------------------------------------------------- /static/pages/login/banner-tobacco-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/login/banner-tobacco-1.jpg -------------------------------------------------------------------------------- /static/pages/login/banner-tobacco-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/login/banner-tobacco-2.jpg -------------------------------------------------------------------------------- /static/pages/login/banner_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/login/banner_1.jpg -------------------------------------------------------------------------------- /static/pages/login/bg-login2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/login/bg-login2.jpg -------------------------------------------------------------------------------- /static/pages/login/bg-login2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/login/bg-login2.png -------------------------------------------------------------------------------- /static/pages/login/logo-euler-e-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/login/logo-euler-e-white.png -------------------------------------------------------------------------------- /static/pages/login/logo-euler-e.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/login/logo-euler-e.png -------------------------------------------------------------------------------- /static/pages/login/logo-euler-h-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/login/logo-euler-h-white.png -------------------------------------------------------------------------------- /static/pages/login/logo-euler-h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/login/logo-euler-h.png -------------------------------------------------------------------------------- /static/pages/login/logo-euler-v-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/login/logo-euler-v-white.png -------------------------------------------------------------------------------- /static/pages/login/logo-euler-v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/login/logo-euler-v.png -------------------------------------------------------------------------------- /static/pages/login/logo-euler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/login/logo-euler.png -------------------------------------------------------------------------------- /static/pages/login/logo-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/login/logo-white.png -------------------------------------------------------------------------------- /static/pages/login/logo-yc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/login/logo-yc.png -------------------------------------------------------------------------------- /static/pages/login/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/login/logo.png -------------------------------------------------------------------------------- /static/pages/main/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/main/banner.png -------------------------------------------------------------------------------- /static/pages/main/tabMain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/main/tabMain.png -------------------------------------------------------------------------------- /static/pages/main/tabMain_cur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/main/tabMain_cur.png -------------------------------------------------------------------------------- /static/pages/main/tabMessage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/main/tabMessage.png -------------------------------------------------------------------------------- /static/pages/main/tabMessage_cur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/main/tabMessage_cur.png -------------------------------------------------------------------------------- /static/pages/main/tabMy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/main/tabMy.png -------------------------------------------------------------------------------- /static/pages/main/tabMy_cur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/main/tabMy_cur.png -------------------------------------------------------------------------------- /static/pages/main/tabTodo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/main/tabTodo.png -------------------------------------------------------------------------------- /static/pages/main/tabTodo_cur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/main/tabTodo_cur.png -------------------------------------------------------------------------------- /static/pages/my/user-man.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/my/user-man.png -------------------------------------------------------------------------------- /static/pages/user-center/bg-report-default.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/pages/user-center/bg-report-default.jpg -------------------------------------------------------------------------------- /static/tabbar/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/tabbar/about.png -------------------------------------------------------------------------------- /static/tabbar/about_cur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/tabbar/about_cur.png -------------------------------------------------------------------------------- /static/tabbar/basics.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/tabbar/basics.png -------------------------------------------------------------------------------- /static/tabbar/basics_cur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/tabbar/basics_cur.png -------------------------------------------------------------------------------- /static/tabbar/component.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/tabbar/component.png -------------------------------------------------------------------------------- /static/tabbar/component_cur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/tabbar/component_cur.png -------------------------------------------------------------------------------- /static/tabbar/other.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/tabbar/other.png -------------------------------------------------------------------------------- /static/tabbar/other_cur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/tabbar/other_cur.png -------------------------------------------------------------------------------- /static/tabbar/page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/tabbar/page.png -------------------------------------------------------------------------------- /static/tabbar/page_cur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/tabbar/page_cur.png -------------------------------------------------------------------------------- /static/tabbar/plugin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/tabbar/plugin.png -------------------------------------------------------------------------------- /static/tabbar/plugin_cur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/tabbar/plugin_cur.png -------------------------------------------------------------------------------- /static/tabbar/sysComponent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/tabbar/sysComponent.png -------------------------------------------------------------------------------- /static/tabbar/sysComponent_cur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/czl0325/uniapp-demo/501ab8c14af62a24c6d03ced41c96fc92eeab3d9/static/tabbar/sysComponent_cur.png -------------------------------------------------------------------------------- /uni.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * 这里是uni-app内置的常用样式变量 3 | * 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App 6 | * 7 | */ 8 | 9 | /** 10 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 11 | * 12 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 13 | */ 14 | 15 | /* 颜色变量 */ 16 | 17 | /* 行为相关颜色 */ 18 | $uni-color-primary: #007aff; 19 | $uni-color-success: #4cd964; 20 | $uni-color-warning: #f0ad4e; 21 | $uni-color-error: #dd524d; 22 | 23 | /* 文字基本颜色 */ 24 | $uni-text-color:#333;//基本色 25 | $uni-text-color-inverse:#fff;//反色 26 | $uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息 27 | $uni-text-color-placeholder: #808080; 28 | $uni-text-color-disable:#c0c0c0; 29 | 30 | /* 背景颜色 */ 31 | $uni-bg-color:#ffffff; 32 | $uni-bg-color-grey:#f8f8f8; 33 | $uni-bg-color-hover:#f1f1f1;//点击状态颜色 34 | $uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色 35 | 36 | /* 边框颜色 */ 37 | $uni-border-color:#c8c7cc; 38 | 39 | /* 尺寸变量 */ 40 | 41 | /* 文字尺寸 */ 42 | $uni-font-size-sm:24upx; 43 | $uni-font-size-base:28upx; 44 | $uni-font-size-lg:32upx; 45 | 46 | /* 图片尺寸 */ 47 | $uni-img-size-sm:40upx; 48 | $uni-img-size-base:52upx; 49 | $uni-img-size-lg:80upx; 50 | 51 | /* Border Radius */ 52 | $uni-border-radius-sm: 4upx; 53 | $uni-border-radius-base: 6upx; 54 | $uni-border-radius-lg: 12upx; 55 | $uni-border-radius-circle: 50%; 56 | 57 | /* 水平间距 */ 58 | $uni-spacing-row-sm: 10px; 59 | $uni-spacing-row-base: 20upx; 60 | $uni-spacing-row-lg: 30upx; 61 | 62 | /* 垂直间距 */ 63 | $uni-spacing-col-sm: 8upx; 64 | $uni-spacing-col-base: 16upx; 65 | $uni-spacing-col-lg: 24upx; 66 | 67 | /* 透明度 */ 68 | $uni-opacity-disabled: 0.3; // 组件禁用态的透明度 69 | 70 | /* 文章场景相关 */ 71 | $uni-color-title: #2C405A; // 文章标题颜色 72 | $uni-font-size-title:40upx; 73 | $uni-color-subtitle: #555555; // 二级标题颜色 74 | $uni-font-size-subtitle:36upx; 75 | $uni-color-paragraph: #3F536E; // 文章段落颜色 76 | $uni-font-size-paragraph:30upx; --------------------------------------------------------------------------------