diff --git a/App.vue b/App.vue index c0dc4a9..9943dca 100644 --- a/App.vue +++ b/App.vue @@ -19,6 +19,14 @@ @import "@/colorui/animation.css"; @import '@/common/styles/common.css'; /*每个页面公共css */ + //底部按钮 + .btn-bottom { + position: fixed; + left: 0; + bottom: 0; + width: 100%; + z-index: 1; + } // loading加载 .loading-more { diff --git a/colorui/icon.css b/colorui/icon.css index 16ed121..31a6158 100644 --- a/colorui/icon.css +++ b/colorui/icon.css @@ -430,7 +430,7 @@ } .cuIcon-fold:before { - content: "\e6de"; + /* content: "\e6de"; */ } .cuIcon-game:before { diff --git a/colorui/main.css b/colorui/main.css index 9875069..8e3f158 100644 --- a/colorui/main.css +++ b/colorui/main.css @@ -331,10 +331,10 @@ checkbox.green.checked .uni-checkbox-input, checkbox.checked .uni-checkbox-input, radio.green.checked .uni-radio-input, radio.checked .uni-radio-input { - background-color: #39b54a !important; - border-color: #39b54a !important; + /* background-color: #39b54a !important; + border-color: #39b54a !important; */ color: #ffffff !important; - border-color: #39B54A !important; + /* border-color: #39B54A !important; */ } switch.cyan[checked] .wx-switch-input, @@ -3383,6 +3383,9 @@ scroll-view.cu-steps .cu-item { .fr { float: right; } +.border { + border: 1px solid #ccc; +} /* ================== 背景 @@ -3469,8 +3472,8 @@ scroll-view.cu-steps .cu-item { } .bg-orange { - background-color: #FE9903; - color: #ffffff; + background-color: #FE9903!important; + color: #ffffff!important; } .bg-yellow { @@ -3494,10 +3497,14 @@ scroll-view.cu-steps .cu-item { } .bg-blue { - background-color: #0081ff; + background-color: #1E89FF!important; color: #ffffff; } +.border-blue { + border: 1px solid #1E89FF!important; +} + .bg-purple { background-color: #6739b6; color: #ffffff; @@ -3524,8 +3531,8 @@ scroll-view.cu-steps .cu-item { } .bg-gray { - background-color: #f0f0f0; - color: #333333; + background-color: #999999!important; + color: white!important; } .bg-black { @@ -3890,7 +3897,7 @@ scroll-view.cu-steps .cu-item { .text-orange, .line-orange, .lines-orange { - color: #f37b1d; + color: #FE9903; } .text-yellow, @@ -3908,7 +3915,7 @@ scroll-view.cu-steps .cu-item { .text-green, .line-green, .lines-green { - color: #39b54a; + color: #10CB3B; } .text-cyan, @@ -3920,7 +3927,7 @@ scroll-view.cu-steps .cu-item { .text-blue, .line-blue, .lines-blue { - color: #0081ff; + color: #1E89FF!important; } .text-purple, @@ -3956,7 +3963,7 @@ scroll-view.cu-steps .cu-item { .text-gray, .line-gray, .lines-gray { - color: #aaaaaa; + color: #777777; } .text-black, diff --git a/common/styles/common.css b/common/styles/common.css index a68d65d..11bff85 100644 --- a/common/styles/common.css +++ b/common/styles/common.css @@ -14,13 +14,13 @@ uni-radio .uni-radio-input { /* #ifdef H5 */ radio .uni-radio-input, checkbox .uni-checkbox-input { - border-radius: 50%; + /* border-radius: 50%; */ transform: scale(0.8); } radio .uni-radio-input.uni-radio-input-checked, checkbox .uni-checkbox-input.uni-checkbox-input-checked { - border-radius: 50%; + /* border-radius: 50%; */ border: 1px solid #FF4B48 !important; background: #FF4B48 !important; color: #FFFFFF !important; diff --git a/components/me-tabs/me-tabs.vue b/components/me-tabs/me-tabs.vue index 1d325ab..527e2b0 100644 --- a/components/me-tabs/me-tabs.vue +++ b/components/me-tabs/me-tabs.vue @@ -137,6 +137,7 @@ box-sizing: border-box; overflow-y: hidden; background-color: #FE9903; + border-radius: 10px; // box-shadow: 0 0.06rem 0.3rem rgba(0, 0, 0, .1); &.tabs-fixed { diff --git a/components/mescroll-uni/mescroll-body.vue b/components/mescroll-uni/mescroll-body.vue index 0068248..f6e3929 100644 --- a/components/mescroll-uni/mescroll-body.vue +++ b/components/mescroll-uni/mescroll-body.vue @@ -11,7 +11,7 @@ - + {{downText}} diff --git a/components/self-line/self-line.vue b/components/self-line/self-line.vue new file mode 100644 index 0000000..8149043 --- /dev/null +++ b/components/self-line/self-line.vue @@ -0,0 +1,16 @@ + + + + + diff --git a/main.js b/main.js index 85d8fff..adaddca 100644 --- a/main.js +++ b/main.js @@ -30,6 +30,17 @@ Vue.component('my-nocontent', myNocontent); import aMount from './components/amount/index.vue' Vue.component('amount', aMount) +Vue.prototype.$toast=msg=>{ + uni.showToast({ + icon:'none', + title:msg + }) +} + +//H5复制到剪切板 +import VueClipboard from 'vue-clipboard2' +Vue.use(VueClipboard) + //路由跳转 Vue.prototype.$routerGo = (obj) => { uni.navigateTo({ diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..7d5d118 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,52 @@ +{ + "requires": true, + "lockfileVersion": 1, + "dependencies": { + "clipboard": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.8.tgz", + "integrity": "sha512-Y6WO0unAIQp5bLmk1zdThRhgJt/x3ks6f30s3oE3H1mgIEU33XyQjEf8gsf6DxC7NPX8Y1SsNWjUjL/ywLnnbQ==", + "requires": { + "good-listener": "^1.2.2", + "select": "^1.1.2", + "tiny-emitter": "^2.0.0" + } + }, + "delegate": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz", + "integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==" + }, + "good-listener": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz", + "integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=", + "requires": { + "delegate": "^3.1.2" + } + }, + "select": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz", + "integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=" + }, + "tiny-emitter": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz", + "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==" + }, + "tki-qrcode": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/tki-qrcode/-/tki-qrcode-0.1.6.tgz", + "integrity": "sha512-EnnlS8psowC7PsW3MDYcxvJYkuklX3WAZ/BYanR4TdBHTu74GfjTBX8Y16REP+AeDENiVtBPh4jtTRL2P736hQ==" + }, + "vue-clipboard2": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/vue-clipboard2/-/vue-clipboard2-0.3.1.tgz", + "integrity": "sha512-H5S/agEDj0kXjUb5GP2c0hCzIXWRBygaWLN3NEFsaI9I3uWin778SFEMt8QRXiPG+7anyjqWiw2lqcxWUSfkYg==", + "requires": { + "clipboard": "^2.0.0" + } + } + } +} diff --git a/pages.json b/pages.json index 44b53ca..517fe08 100644 --- a/pages.json +++ b/pages.json @@ -16,6 +16,36 @@ "navigationBarTitleText": "我的订单" } }, + { + "path": "pages/order/order-details", + "style": { + "navigationBarTitleText": "订单详情" + } + }, + { + "path": "pages/order/confirm-order", + "style": { + "navigationBarTitleText": "确认订单" + } + }, + { + "path": "pages/order/pay-success", + "style": { + "navigationBarTitleText": "支付结果" + } + }, + { + "path": "pages/order/apply-refund", + "style": { + "navigationBarTitleText": "申请退款" + } + }, + { + "path": "pages/order/apply-details", + "style": { + "navigationBarTitleText": "退款详情" + } + }, { "path": "pages/center/index", "style": { @@ -50,24 +80,24 @@ }, "tabBar": { "color": "#909399", - "selectedColor": "#303133", + "selectedColor": "#FE9903", "borderStyle": "black", "backgroundColor": "#ffffff", "list": [{ "pagePath": "pages/index/index", - "iconPath": "static/tabbar/index.png", - "selectedIconPath": "static/tabbar/index-selected.png", + "iconPath": "static/tabbar/home.png", + "selectedIconPath": "static/tabbar/home-active.png", "text": "首页" }, { "pagePath": "pages/order/index", - "iconPath": "static/tabbar/center.png", - "selectedIconPath": "static/tabbar/center-selected.png", + "iconPath": "static/tabbar/order.png", + "selectedIconPath": "static/tabbar/order-active.png", "text": "订单" }, { "pagePath": "pages/center/index", - "iconPath": "static/tabbar/center.png", - "selectedIconPath": "static/tabbar/center-selected.png", + "iconPath": "static/tabbar/my.png", + "selectedIconPath": "static/tabbar/my-active.png", "text": "我的" } ] diff --git a/pages/order/apply-details.vue b/pages/order/apply-details.vue new file mode 100644 index 0000000..5bfdeb8 --- /dev/null +++ b/pages/order/apply-details.vue @@ -0,0 +1,200 @@ + + + + + diff --git a/pages/order/apply-refund.vue b/pages/order/apply-refund.vue new file mode 100644 index 0000000..926a2d0 --- /dev/null +++ b/pages/order/apply-refund.vue @@ -0,0 +1,214 @@ + + + + + diff --git a/pages/order/confirm-order.vue b/pages/order/confirm-order.vue new file mode 100644 index 0000000..f4d3a8e --- /dev/null +++ b/pages/order/confirm-order.vue @@ -0,0 +1,217 @@ + + + + + diff --git a/pages/order/index.vue b/pages/order/index.vue index dbf8723..a69ebb7 100644 --- a/pages/order/index.vue +++ b/pages/order/index.vue @@ -44,7 +44,7 @@ this.assetsType = e.type this.tabIndex = this.assetsType === 'all' ? 0 : this.assetsType === 'delivered' ? 1 : this.assetsType === 'receiving' ? 2 : 0 // 需要固定swiper的高度 - this.height = (uni.getSystemInfoSync().windowHeight -30) + 'px' + this.height = (uni.getSystemInfoSync().windowHeight) + 'px' }, methods: { diff --git a/pages/order/order-details.vue b/pages/order/order-details.vue new file mode 100644 index 0000000..461c581 --- /dev/null +++ b/pages/order/order-details.vue @@ -0,0 +1,211 @@ + + + + + diff --git a/pages/order/order-item.vue b/pages/order/order-item.vue index 3d47e6d..a21cedf 100644 --- a/pages/order/order-item.vue +++ b/pages/order/order-item.vue @@ -7,7 +7,7 @@ - + @@ -23,7 +23,7 @@ - + diff --git a/pages/order/pay-success.vue b/pages/order/pay-success.vue new file mode 100644 index 0000000..75d3cb7 --- /dev/null +++ b/pages/order/pay-success.vue @@ -0,0 +1,54 @@ + + + + + diff --git a/static/images/logo.gif b/static/images/logo.gif new file mode 100644 index 0000000..b2af14a Binary files /dev/null and b/static/images/logo.gif differ diff --git a/static/images/mescroll-empty.png b/static/images/mescroll-empty.png new file mode 100644 index 0000000..918fb82 Binary files /dev/null and b/static/images/mescroll-empty.png differ diff --git a/static/images/system/payfail.png b/static/images/system/payfail.png new file mode 100644 index 0000000..d42a1f6 Binary files /dev/null and b/static/images/system/payfail.png differ diff --git a/static/images/system/paysuccess.png b/static/images/system/paysuccess.png new file mode 100644 index 0000000..c961320 Binary files /dev/null and b/static/images/system/paysuccess.png differ diff --git a/static/images/system/refresh.png b/static/images/system/refresh.png new file mode 100644 index 0000000..f239f35 Binary files /dev/null and b/static/images/system/refresh.png differ diff --git a/static/images/system/user-default.jpg b/static/images/system/user-default.jpg new file mode 100644 index 0000000..a7ed10d Binary files /dev/null and b/static/images/system/user-default.jpg differ diff --git a/static/tabbar/home-active.png b/static/tabbar/home-active.png new file mode 100644 index 0000000..20d374f Binary files /dev/null and b/static/tabbar/home-active.png differ diff --git a/static/tabbar/home.png b/static/tabbar/home.png new file mode 100644 index 0000000..3f7f029 Binary files /dev/null and b/static/tabbar/home.png differ diff --git a/static/tabbar/my-active.png b/static/tabbar/my-active.png new file mode 100644 index 0000000..845e73f Binary files /dev/null and b/static/tabbar/my-active.png differ diff --git a/static/tabbar/my.png b/static/tabbar/my.png new file mode 100644 index 0000000..17632e3 Binary files /dev/null and b/static/tabbar/my.png differ diff --git a/static/tabbar/order-active.png b/static/tabbar/order-active.png new file mode 100644 index 0000000..93274b3 Binary files /dev/null and b/static/tabbar/order-active.png differ diff --git a/static/tabbar/order.png b/static/tabbar/order.png new file mode 100644 index 0000000..f4d3655 Binary files /dev/null and b/static/tabbar/order.png differ