详情细节,测试部署修改

merge-requests/11/head
ch 3 years ago
parent ce51644388
commit 3aafeee978

@ -2,20 +2,27 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-07 22:40:55 * @Date: 2022-05-07 22:40:55
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-09 16:04:47 * @LastEditTime: 2022-05-10 13:48:39
* @Description: file content * @Description: file content
--> -->
<template> <template>
<div class="ui-line-box"> <div class="ui-line-box">
<div class="ui-line-box--head"> <div class="ui-line-box--head">
<slot name="head"></slot> <slot name="head">
<b class="ui-line-box--title">{{title}}</b>
</slot>
</div> </div>
<slot name="body"></slot> <slot name="body"></slot>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
props : {
title : {
type : String,
default : ''
}
}
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@ -27,5 +34,8 @@ export default {
padding: 0 30px; padding: 0 30px;
background: #f8f8f8; background: #f8f8f8;
} }
&--title{
font-weight: normal;
}
} }
</style> </style>

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-04 17:44:29 * @Date: 2022-05-04 17:44:29
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-08 17:24:29 * @LastEditTime: 2022-05-10 13:55:12
* @Description: 金额显示UI组件金额和小数点显示大小不同以及需不需要小数点 * @Description: 金额显示UI组件金额和小数点显示大小不同以及需不需要小数点
props props
money 金额 数组或字符串 money 金额 数组或字符串

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-03 22:14:16 * @Date: 2022-05-03 22:14:16
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-09 09:56:10 * @LastEditTime: 2022-05-10 12:56:34
* @Description: file content * @Description: file content
*/ */
export default { export default {
@ -10,7 +10,11 @@ export default {
head: { head: {
title: 'shop-pc', title: 'shop-pc',
htmlAttrs: { htmlAttrs: {
lang: 'en' lang: 'zh'
},
server: {
port: 3000, // default: 3000
host: '0.0.0.0' // default: localhost,
}, },
meta: [ meta: [
{ charset: 'utf-8' }, { charset: 'utf-8' },

14
package-lock.json generated

@ -3875,7 +3875,7 @@
"dependencies": { "dependencies": {
"core-js": { "core-js": {
"version": "2.6.12", "version": "2.6.12",
"resolved": "https://registry.npmmirror.com/core-js/-/core-js-2.6.12.tgz", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz",
"integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==" "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ=="
}, },
"regenerator-runtime": { "regenerator-runtime": {
@ -3917,7 +3917,7 @@
"dependencies": { "dependencies": {
"debug": { "debug": {
"version": "2.6.9", "version": "2.6.9",
"resolved": "https://registry.npmmirror.com/debug/-/debug-2.6.9.tgz", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dev": true, "dev": true,
"requires": { "requires": {
@ -3926,7 +3926,7 @@
}, },
"globals": { "globals": {
"version": "9.18.0", "version": "9.18.0",
"resolved": "https://registry.npmmirror.com/globals/-/globals-9.18.0.tgz", "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz",
"integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==",
"dev": true "dev": true
}, },
@ -6386,7 +6386,7 @@
"dependencies": { "dependencies": {
"debug": { "debug": {
"version": "2.6.9", "version": "2.6.9",
"resolved": "https://registry.npmmirror.com/debug/-/debug-2.6.9.tgz", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"requires": { "requires": {
"ms": "2.0.0" "ms": "2.0.0"
@ -6444,7 +6444,7 @@
"dependencies": { "dependencies": {
"is-extendable": { "is-extendable": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmmirror.com/is-extendable/-/is-extendable-1.0.1.tgz", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
"integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
"requires": { "requires": {
"is-plain-object": "^2.0.4" "is-plain-object": "^2.0.4"
@ -13737,7 +13737,7 @@
"dependencies": { "dependencies": {
"is-arrayish": { "is-arrayish": {
"version": "0.3.2", "version": "0.3.2",
"resolved": "https://registry.npmmirror.com/is-arrayish/-/is-arrayish-0.3.2.tgz", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
"integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="
} }
} }
@ -16214,7 +16214,7 @@
}, },
"make-dir": { "make-dir": {
"version": "1.3.0", "version": "1.3.0",
"resolved": "https://registry.npmmirror.com/make-dir/-/make-dir-1.3.0.tgz", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz",
"integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==",
"requires": { "requires": {
"pify": "^3.0.0" "pify": "^3.0.0"

@ -2,24 +2,14 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-08 17:48:36 * @Date: 2022-05-08 17:48:36
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-09 22:06:37 * @LastEditTime: 2022-05-10 12:19:04
* @Description: file content * @Description: file content
--> -->
<template> <template>
<<<<<<< HEAD
<div class="c-white-main" style="padding-top:350px">
<div class="account"> <div class="account">
<div class="account--nav">左侧栏</div> <div class="account--nav">左侧栏</div>
<nuxt-child class="account--main" /> <nuxt-child class="account--main" />
</div> </div>
</div>
=======
<div class="account">
<div class="account--nav">左侧栏</div>
<nuxt-child class="account--main" />
</div>
>>>>>>> feature/task1.0.0
</template> </template>
<script> <script>
export default { export default {
@ -54,16 +44,10 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
<<<<<<< HEAD
.account{
padding: 30px 0;
margin: 0 auto;
=======
.account { .account {
@include layout-box; @include layout-box;
padding-top: 370px; padding: 30px 0;
margin: 0 auto; margin: 0 auto;
>>>>>>> feature/task1.0.0
display: flex; display: flex;
&--nav { &--nav {
width: 170px; width: 170px;

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-09 16:24:49 * @Date: 2022-05-09 16:24:49
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-09 21:31:33 * @LastEditTime: 2022-05-10 13:55:36
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -56,7 +56,8 @@
<label> <label>
{{orderInfo.orderStatus == 1 ? '应付款:' : '实付款:'}} {{orderInfo.orderStatus == 1 ? '应付款:' : '实付款:'}}
</label> </label>
<UiMoney :money="orderInfo.payAmount" float prefix suffix/> <UiMoney class="message--pay-amount" size="20px" preSize="14px" sufSize="14px"
:money="orderInfo.payAmount" float prefix suffix/>
</p> </p>
</div> </div>
</div> </div>
@ -122,5 +123,9 @@ export default {
margin: 20px 0; margin: 20px 0;
} }
} }
&--pay-amount{
color: #FF512B;
font-weight: bold;
}
} }
</style> </style>

@ -2,15 +2,12 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-09 15:52:51 * @Date: 2022-05-09 15:52:51
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-09 18:05:32 * @LastEditTime: 2022-05-10 13:50:29
* @Description: file content * @Description: file content
--> -->
<template> <template>
<div class="logisitcs"> <div class="logisitcs">
<UiLineBox class="logisitcs--info" title="收货人信息"> <UiLineBox class="logisitcs--info" title="收货人信息">
<div class="title" slot="head">
<b>收货人信息</b>
</div>
<div slot="body" class="info"> <div slot="body" class="info">
<p> <p>
<label>收货人</label> <label>收货人</label>
@ -29,7 +26,7 @@
<UiLineBox class="logisitcs--list" v-if="logisitcsList.length"> <UiLineBox class="logisitcs--list" v-if="logisitcsList.length">
<div slot="head" class="title"> <div slot="head" class="title">
<b>物流信息</b> <b>物流信息</b>
<span>中嘻嘻嘻</span> <span>{{logisitcsInfo.companyName}}<small>{{logisitcsInfo.trackingNo}}</small></span>
</div> </div>
<ul slot="body" class="list"> <ul slot="body" class="list">
<li v-for="(item, idx) in logisitcsList" :key="idx"> <li v-for="(item, idx) in logisitcsList" :key="idx">
@ -73,6 +70,18 @@ export default {
margin-left: 28px; margin-left: 28px;
} }
} }
.title{
display: flex;
justify-content: space-between;
span{
color: #666;
small{
font-size: 14px;
color: #999;
margin-left: 15px;
}
}
}
.info{ .info{
padding: 20px 30px; padding: 20px 30px;
color: #666; color: #666;

@ -2,16 +2,18 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-09 14:41:37 * @Date: 2022-05-09 14:41:37
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-10 10:53:08 * @LastEditTime: 2022-05-10 13:33:57
* @Description: file content * @Description: file content
--> -->
<template> <template>
<ul class="step"> <ul class="step">
<li v-for="item in steps" :key="item.id" :class="item.active && 'active'"> <li v-for="item in steps" :key="item.id" :class="item.active && 'active'">
<div>
<img :src="item.active ? item.iconActive :item.icon"/> <img :src="item.active ? item.iconActive :item.icon"/>
<b>{{item.name}}</b> <b>{{item.name}}</b>
<span>{{item.date}}</span> <span>{{item.date}}</span>
<span>{{item.time}}</span> <span>{{item.time}}</span>
</div>
</li> </li>
</ul> </ul>
</template> </template>
@ -118,7 +120,35 @@ export default {
flex: 1; flex: 1;
justify-content: space-between; justify-content: space-between;
li{ li{
flex: 1;
position: relative;
&::after{
display: block;
content: '........................................';
width: calc(100% - 65px);
height: 20px;
line-height: 0;
overflow: hidden;
position: absolute;
color: #eee;
font-size: 40px;
top: 25px;
left: -8px;
z-index: 1;
}
&:first-child{
flex: 0;
&::after{
content: '';
}
}
div{
position: relative;
z-index: 2;
width: 80px;
text-align: center; text-align: center;
float: right;
}
img{ img{
width: 66px; width: 66px;
} }
@ -136,6 +166,9 @@ export default {
b{ b{
color: #FF875B; color: #FF875B;
} }
&::after{
color: #FFF3ED;
}
} }
} }
} }

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-04 20:47:29 * @Date: 2022-05-04 20:47:29
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-08 21:17:05 * @LastEditTime: 2022-05-10 13:16:44
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -98,9 +98,6 @@ export default {
} }
this.orderList = result.records; this.orderList = result.records;
this.orderTotal = result.total this.orderTotal = result.total
},
pageChange(){
} }
} }
} }

@ -2,12 +2,12 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-04 17:30:58 * @Date: 2022-05-04 17:30:58
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-10 11:37:51 * @LastEditTime: 2022-05-10 12:22:53
* @Description: file content * @Description: file content
--> -->
<template> <template>
<div class="c-white-main" style="padding-top:350px"> <div class="main">
<h3 class="title">支付方式</h3> <h3 class="title">支付方式</h3>
<div class="pay-type"> <div class="pay-type">
<el-radio label="微信支付" /> <el-radio label="微信支付" />
@ -154,6 +154,9 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.main{
@include layout-box
}
.title{ .title{
margin: 24px 0 13px; margin: 24px 0 13px;
} }

Loading…
Cancel
Save