diff --git a/App.vue b/App.vue
index a0238ae..6209971 100644
--- a/App.vue
+++ b/App.vue
@@ -2,32 +2,33 @@
* @Author: ch
* @Date: 2019-04-01 01:47:12
* @LastEditors: ch
- * @LastEditTime: 2022-03-29 10:29:13
+ * @LastEditTime: 2022-04-09 14:59:18
* @Description: file content
-->
-
\ No newline at end of file
diff --git a/components/BsEmpty.vue b/components/BsEmpty.vue
index 527a7d0..0822dce 100644
--- a/components/BsEmpty.vue
+++ b/components/BsEmpty.vue
@@ -49,11 +49,11 @@ export default {
width: 100%;
padding: 50rpx;
text-align: center;
- background: #fff;
+ background: $color-grey0;
&--tips {
font-size: 26rpx;
- color: #999;
+ color: $color-grey4;
margin: 30rpx 0 50rpx;
}
diff --git a/components/BsSelectCity.vue b/components/BsSelectCity.vue
index 365e17f..7f35924 100644
--- a/components/BsSelectCity.vue
+++ b/components/BsSelectCity.vue
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-29 16:05:06
* @LastEditors: ch
- * @LastEditTime: 2022-04-06 21:34:20
+ * @LastEditTime: 2022-04-09 15:01:37
* @Description: file content
-->
@@ -98,7 +98,7 @@ export default {
\ No newline at end of file
diff --git a/components/UiButton.vue b/components/UiButton.vue
index 896e2f8..de3ab3d 100644
--- a/components/UiButton.vue
+++ b/components/UiButton.vue
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-26 10:06:38
* @LastEditors: ch
- * @LastEditTime: 2022-04-08 14:55:44
+ * @LastEditTime: 2022-04-09 15:01:39
* @Description: file content
-->
@@ -39,31 +39,31 @@ export default {
&__normal{
height: 70rpx;
line-height: 70rpx;
- font-size: 28rpx;
+ font-size: $font-size-base;
}
&__max{
width: 690rpx;
height: 80rpx;
line-height: 80rpx;
- font-size: 32rpx;
+ font-size: $font-size-lg;
}
&__gradual{
- background: linear-gradient(270deg, #FF7F39 0%, #FFA35B 100%);
- color: #fff;
+ background: linear-gradient(270deg, $color-yellow2 0%, $color-yellow1 100%);
+ color: $color-grey0;
}
&__solid{
- background: #FF875B;
- color: #fff;
+ background: $color-yellow3;
+ color: $color-grey0;
}
&__line{
background: none;
- color: #333;
+ color: $color-grey6;
border: 1px solid rgb(192, 185, 185);
}
&__primaryLine{
background: none;
- color: #FF875B;
- border: 1px solid #FF875B;
+ color: $color-yellow3;
+ border: 1px solid $color-yellow3;
}
&__disabed{
opacity: .8;
diff --git a/components/UiCell.vue b/components/UiCell.vue
index b0cfc7f..7119194 100644
--- a/components/UiCell.vue
+++ b/components/UiCell.vue
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-26 18:29:19
* @LastEditors: ch
- * @LastEditTime: 2022-03-28 15:57:22
+ * @LastEditTime: 2022-04-09 15:01:40
* @Description: file content
-->
@@ -45,19 +45,19 @@ export default {
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
index 319de2f..a0c0279 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,5 +1,5 @@
{
- "name" : "demo",
+ "name" : "马士兵严选",
"appid" : "",
"description" : "",
"versionName" : "1.0.0",
@@ -8,7 +8,7 @@
/* 5+App特有相关 */
"app-plus" : {
"usingComponents" : true,
- "nvueStyleCompiler" : "uni-app",
+ "nvueStyleCompiler" : "马士兵严选",
"compilerVersion" : 3,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
@@ -76,19 +76,19 @@
"devServer" : {
"proxy" : {
"/uc/" : {
- "target": "http://192.168.31.97:8090/"
+ "target": "http://192.168.10.52:8090/"
},
"/mall/trade/" : {
- "target": "http://192.168.31.97:8090/"
+ "target": "http://192.168.10.52:8090/"
},
"/mall/base/" : {
- "target": "http://192.168.31.97:8090/"
+ "target": "http://192.168.10.52:8090/"
},
"/pay/" : {
- "target": "http://192.168.31.97:8090/"
+ "target": "http://192.168.10.52:8090/"
},
"/mall/product/" : {
- "target" : "http://192.168.31.97:8090/"
+ "target" : "http://192.168.10.52:8090/"
}
}
}
diff --git a/pages.json b/pages.json
index ca4d47e..37e1284 100644
--- a/pages.json
+++ b/pages.json
@@ -183,7 +183,7 @@
"selectedColor": "#FF875B",
"backgroundColor": "#FFF",
"borderStyle" : "white",
- "fontSize" : "22rpx",
+ "fontSize" : "24rpx",
"height" : "120rpx",
"list": [
{
diff --git a/pages/account/address/create.vue b/pages/account/address/create.vue
index 14767e3..0313cad 100644
--- a/pages/account/address/create.vue
+++ b/pages/account/address/create.vue
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-22 14:12:18
* @LastEditors: ch
- * @LastEditTime: 2022-04-08 17:04:51
+ * @LastEditTime: 2022-04-09 15:03:36
* @Description: file content
-->
@@ -27,7 +27,7 @@
-
+
保存
@@ -95,10 +95,10 @@ export default {
\ No newline at end of file
diff --git a/pages/account/setting/index.vue b/pages/account/setting/index.vue
index 2dae0bb..d9cb63c 100644
--- a/pages/account/setting/index.vue
+++ b/pages/account/setting/index.vue
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-22 15:09:06
* @LastEditors: ch
- * @LastEditTime: 2022-04-06 17:38:07
+ * @LastEditTime: 2022-04-09 15:03:40
* @Description: file content
-->
@@ -37,7 +37,7 @@ export default {
\ No newline at end of file
diff --git a/pages/account/setting/setName.vue b/pages/account/setting/setName.vue
index 9cc9a53..2cc93a6 100644
--- a/pages/account/setting/setName.vue
+++ b/pages/account/setting/setName.vue
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-28 15:38:23
* @LastEditors: ch
- * @LastEditTime: 2022-03-30 18:04:37
+ * @LastEditTime: 2022-04-09 15:03:41
* @Description: file content
-->
@@ -45,26 +45,26 @@ export default {
\ No newline at end of file
diff --git a/pages/cart copy/cart.vue b/pages/cart copy/cart.vue
deleted file mode 100644
index 5cae818..0000000
--- a/pages/cart copy/cart.vue
+++ /dev/null
@@ -1,540 +0,0 @@
-
-
-
-
-
-
- 购物车
- ({{list.length}})
-
- 编辑
- 完成
-
-
-
-
-
-
-
- 去逛逛
-
-
-
-
-
-
-
-
- {{ item.product.name }}
-
-
- {{ item.productSku.name }}
-
-
-
-
-
-
-
- 为您推荐
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/cart copy/tabBarCart.vue b/pages/cart copy/tabBarCart.vue
deleted file mode 100644
index 4b7d69a..0000000
--- a/pages/cart copy/tabBarCart.vue
+++ /dev/null
@@ -1,545 +0,0 @@
-
-
-
-
-
-
- 购物车
- ({{list.length}})
-
- 编辑
- 完成
-
-
-
-
-
-
-
- 去逛逛
-
-
-
-
-
-
-
-
- {{ item.product.name }}
-
-
- {{ item.productSku.name }}
-
-
-
-
-
-
-
-
- 为您推荐
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/cart/components/PageCtx.vue b/pages/cart/components/PageCtx.vue
index c02cb29..829d83a 100644
--- a/pages/cart/components/PageCtx.vue
+++ b/pages/cart/components/PageCtx.vue
@@ -25,7 +25,7 @@
@@ -61,7 +61,7 @@
@@ -317,20 +317,20 @@ export default {
justify-content: space-between;
align-items: center;
padding: 0 30rpx;
- background-color: #fff;
+ background-color: $color-grey0;
position: sticky;
top: var(--window-top);
z-index: 999;
&--totla{
font-size: 36rpx;
- color: #333;
+ color: $color-grey6;
}
&--edit,&--finish{
- font-size: 28rpx;
- color: #999;
+ font-size: $font-size-base;
+ color: $color-grey4;
}
&--finish{
- color: #FF512B;
+ color: $color-yellow4;
}
&__tabBar{
justify-content: center;
@@ -344,7 +344,7 @@ export default {
// 购物车列表
.cart-list {
- background: #fff;
+ background: $color-grey0;
}
.cart-item {
width: 690rpx;
@@ -352,7 +352,7 @@ export default {
align-items: center;
padding: 30rpx 0;
margin: 0 auto 24rpx auto;
- border-bottom: 1px solid #eee;
+ border-bottom: 1px solid $color-grey2;
&--radio {
width: 56rpx;
height: 80rpx;
@@ -376,7 +376,7 @@ export default {
}
&--title {
- font-size: 28rpx;
+ font-size: $font-size-base;
line-height: 39rpx;
max-height: 76rpx;
overflow: hidden;
@@ -391,7 +391,7 @@ export default {
margin-top: 14rpx;
height: 40rpx;
color: #ababab;
- font-size: 24rpx;
+ font-size: $font-size-sm;
overflow: hidden;
&-item {
@@ -407,7 +407,7 @@ export default {
}
&--price {
vertical-align: bottom;
- color: #FF512B;
+ color: $color-yellow4;
.unit {
font-size: 20rpx;
@@ -419,7 +419,7 @@ export default {
}
&--stepper-icon{
font-size: 38rpx;
- color: #ccc;
+ color: $color-grey3;
margin:0 14rpx;
}
&--stepper-input{
@@ -430,15 +430,15 @@ export default {
// 空数据按钮
.empty{
- background: #fff;
+ background: $color-grey0;
&--btn {
width: 220rpx;
margin: 0 auto 10rpx auto;
- font-size: 28rpx;
+ font-size: $font-size-base;
height: 64rpx;
line-height: 64rpx;
text-align: center;
- color: #333;
+ color: $color-grey6;
border-radius: 50rpx;
border: 1px solid rgb(192, 185, 185);
}
@@ -449,7 +449,7 @@ export default {
}
.title{
- font-size: 32rpx;
+ font-size: $font-size-lg;
text-align: center;
margin: 51rpx auto 30rpx auto;
display: flex;
@@ -461,12 +461,12 @@ export default {
content: '';
width: 160rpx;
height: 2rpx;
- background: linear-gradient(90deg, #CCCCCC 0%, rgba(204, 204, 204, 0) 100%);
+ background: linear-gradient(90deg, $color-grey3 0%, rgba(204, 204, 204, 0) 100%);
}
&::before{
- background: linear-gradient(270deg, #CCCCCC 0%, rgba(204, 204, 204, 0) 100%);
+ background: linear-gradient(270deg, $color-grey3 0%, rgba(204, 204, 204, 0) 100%);
}
}
@@ -475,7 +475,7 @@ export default {
display: flex;
align-items: center;
height: 96rpx;
- background: #fff;
+ background: $color-grey0;
padding: 0 30rpx;
position: fixed;
bottom: 120rpx;
@@ -490,8 +490,8 @@ export default {
width: 140rpx;
display: flex;
align-items: center;
- color: #666;
- font-size: 24rpx;
+ color: $color-grey5;
+ font-size: $font-size-sm;
.radio {
margin-bottom: -4rpx;
@@ -505,19 +505,19 @@ export default {
align-items: center;
justify-content: flex-end;
padding-right: 30rpx;
- font-size: 24rpx;
- color: #666;
+ font-size: $font-size-sm;
+ color: $color-grey5;
.goods-price {
vertical-align: bottom;
- color: #FF875B;
+ color: $color-yellow3;
.unit {
- font-size: 24rpx;
+ font-size: $font-size-sm;
}
.value {
- font-size: 32rpx;
+ font-size: $font-size-lg;
}
}
}
@@ -533,21 +533,21 @@ export default {
.btn-item {
flex: 1;
- font-size: 28rpx;
+ font-size: $font-size-base;
height: 72rpx;
line-height: 72rpx;
text-align: center;
- color: #fff;
+ color: $color-grey0;
border-radius: 50rpx;
}
// 立即购买按钮
.btn-main {
- background: #FF875B;//linear-gradient(to right, #f9211c, #ff6335);
+ background: $color-yellow3;//linear-gradient(to right, #f9211c, #ff6335);
// 禁用按钮
&.disabled {
- background: rgba($color: #FF875B, $alpha: .7);
+ background: rgba($color: $color-yellow3, $alpha: .7);
}
}
diff --git a/pages/goods/category.vue b/pages/goods/category.vue
index 4f14879..40f7932 100644
--- a/pages/goods/category.vue
+++ b/pages/goods/category.vue
@@ -2,7 +2,7 @@
-
@@ -113,7 +113,7 @@ export default {
diff --git a/pages/goods/detail/components/SkuPopup.vue b/pages/goods/detail/components/SkuPopup.vue
index c0df254..57f42be 100644
--- a/pages/goods/detail/components/SkuPopup.vue
+++ b/pages/goods/detail/components/SkuPopup.vue
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-24 11:30:55
* @LastEditors: ch
- * @LastEditTime: 2022-04-08 15:34:00
+ * @LastEditTime: 2022-04-09 15:10:11
* @Description: file content
-->
@@ -227,8 +227,8 @@ export default {
}
.product-info{
display: flex;
- font-size: 28rpx;
- color: #999;
+ font-size: $font-size-base;
+ color: $color-grey4;
line-height: 42rpx;
&--img{
width: 200rpx;
@@ -237,7 +237,7 @@ export default {
}
&--price{
font-size: 40rpx;
- color: #FF512B;
+ color: $color-yellow4;
line-height: 48rpx;
margin-bottom: 20rpx;
}
@@ -252,11 +252,11 @@ export default {
padding: 10rpx 0;
}
.attr-item{
- background: #F8F8F8;
+ background: $color-grey1;
line-height: 70rpx;
border-radius: 100rpx;
- border: 1px solid #F8F8F8;
- color: #666;
+ border: 1px solid $color-grey1;
+ color: $color-grey5;
display: block;
min-width: 158rpx;
max-width: 630rpx;
@@ -268,11 +268,11 @@ export default {
white-space: nowrap;
&__active{
background: #FFF3EE;
- border-color: #FF512B;
- color: #FF875B;
+ border-color: $color-yellow4;
+ color: $color-yellow3;
}
&__disabled{
- color: #ccc;
+ color: $color-grey3;
}
}
.sku-num{
@@ -285,9 +285,9 @@ export default {
align-items: center;
}
&--single{
- color: #999;
+ color: $color-grey4;
margin-left: 10rpx;
- font-size: 28rpx;
+ font-size: $font-size-base;
display: block;
height: 30rpx;
}
@@ -305,8 +305,8 @@ export default {
padding: 0;
border-radius: 0;
width: 340rpx;
- font-size: 28rpx;
- color: #FF875B;
+ font-size: $font-size-base;
+ color: $color-yellow3;
&::after{
border: 0;
}
@@ -314,7 +314,7 @@ export default {
width: 350rpx;
background: url('@/static/goods/buy_max.png');
background-size: 350rpx;
- color: #fff;
+ color: $color-grey0;
}
}
diff --git a/pages/goods/detail/components/SlideImage.vue b/pages/goods/detail/components/SlideImage.vue
index 48fa154..6ac1f18 100644
--- a/pages/goods/detail/components/SlideImage.vue
+++ b/pages/goods/detail/components/SlideImage.vue
@@ -101,7 +101,7 @@ export default {
padding: 2rpx 18rpx;
background: rgba(0, 0, 0, 0.363);
border-radius: 50rpx;
- color: #fff;
+ color: $color-grey0;
font-size: 26rpx;
}
diff --git a/pages/goods/detail/index.vue b/pages/goods/detail/index.vue
index eced736..0cbb8b7 100644
--- a/pages/goods/detail/index.vue
+++ b/pages/goods/detail/index.vue
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-23 17:27:21
* @LastEditors: ch
- * @LastEditTime: 2022-04-08 15:24:39
+ * @LastEditTime: 2022-04-09 15:09:59
* @Description: file content
-->
@@ -106,7 +106,7 @@ export default {
\ No newline at end of file
diff --git a/pages/goods/search.vue b/pages/goods/search.vue
index 53cf8c9..d2664ff 100644
--- a/pages/goods/search.vue
+++ b/pages/goods/search.vue
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-21 11:29:38
* @LastEditors: ch
- * @LastEditTime: 2022-04-07 16:17:35
+ * @LastEditTime: 2022-04-09 15:03:44
* @Description: file content
-->
@@ -11,7 +11,7 @@
搜索
@@ -112,7 +112,7 @@ export default {
\ No newline at end of file
diff --git a/pages/index/components/Pick.vue b/pages/index/components/Pick.vue
index 7e161bf..cb78ffb 100644
--- a/pages/index/components/Pick.vue
+++ b/pages/index/components/Pick.vue
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-23 10:29:07
* @LastEditors: ch
- * @LastEditTime: 2022-03-23 10:29:10
+ * @LastEditTime: 2022-04-09 15:03:51
* @Description: file content
-->
@@ -26,13 +26,13 @@
&-max{
width: 335rpx;
height: 450rpx;
- background: #fff;
+ background: $color-grey0;
border-radius: 8rpx;
}
&-min{
width: 335rpx;
height: 215rpx;
- background: #fff;
+ background: $color-grey0;
border-radius: 8rpx;
}
}
diff --git a/pages/index/components/Sekill.vue b/pages/index/components/Sekill.vue
index dbd8f0e..4056128 100644
--- a/pages/index/components/Sekill.vue
+++ b/pages/index/components/Sekill.vue
@@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-23 10:07:48
* @LastEditors: ch
- * @LastEditTime: 2022-04-07 11:24:38
+ * @LastEditTime: 2022-04-09 15:03:52
* @Description: file content
-->
@@ -31,10 +31,10 @@ export default {