-
+
{{ userInfo.currencyIcon
}}{{ item.waresPrice | toThousandthAndKeepDecimal }}
@@ -258,11 +252,9 @@
{{ item.waresName }}
+
{{ "销量" }}:{{ item.sales | seles }}
- {{ '销量' }}:{{ item.sales | seles }}
-
-
- {{ '业绩' }}:{{
+ {{ "业绩" }}:{{
item.waresAchieve | toThousandthAndKeepDecimal
}}
@@ -277,13 +269,13 @@
:class="['menu_i', isMenu == 0 ? 'actMenu' : '']"
@click="isMenu = 0"
>
- {{ '商品介绍' }}
+ {{ "商品介绍" }}
- {{ '售后保障' }}
+ {{ "售后保障" }}
@@ -348,100 +340,100 @@ export default {
moneySymbol: "",
zoneList: [
{
- label: '分享专区',
+ label: "分享专区",
value: 100,
name: "share",
children: [
{
- label: '海粉分享',
+ label: "海粉分享",
value: 7,
name: "hiFans",
},
{
- label: '免费注册',
+ label: "免费注册",
value: 21,
name: "haiFans",
},
],
},
{
- label: '注册专区',
+ label: "注册专区",
value: 1,
name: "regiest",
children: [
{
- label: '自营专区',
+ label: "自营专区",
value: 1,
name: "regiestArea",
},
{
- label: '乐学易考',
+ label: "乐学易考",
value: 24,
name: "ezLearnReg",
},
],
},
{
- label: '升级专区',
+ label: "升级专区",
value: 2,
name: "upgrade",
children: [
{
- label: '自营专区',
+ label: "自营专区",
value: 2,
name: "upgradeArea",
},
{
- label: '乐学易考',
+ label: "乐学易考",
value: 25,
name: "ezLearnUp",
},
{
- label: '海粉专区',
+ label: "海粉专区",
value: 27,
name: "haiFunUpd",
},
],
},
{
- label: '复购专区',
+ label: "复购专区",
value: 3,
name: "repurchase",
children: [
{
- label: '自营专区',
+ label: "自营专区",
value: 3,
name: "self",
},
{
- label: '三方供应',
+ label: "三方供应",
value: 21,
name: "haiFans",
},
{
- label: '复购合作',
+ label: "复购合作",
value: 22,
name: "cooperation",
},
{
- label: '乐学易考',
+ label: "乐学易考",
value: 26,
name: "ezLearnRep",
},
{
- label: '直播专区',
+ label: "直播专区",
value: 14,
name: "live",
},
{
- label: '工具流',
+ label: "工具流",
value: 12,
name: "gongju",
},
],
},
{
- label: '福利专区',
+ label: "福利专区",
value: 13,
children: [],
name: "welfare",
@@ -453,7 +445,7 @@ export default {
// name: 'integral',
// },
{
- label: '重消专区',
+ label: "重消专区",
value: 10,
children: [],
name: "rescission",
@@ -532,7 +524,6 @@ export default {
}
},
goDetails(item) {
- let that = this;
this.$router.replace({
path: "/goodsDetails",
query: {
@@ -573,7 +564,7 @@ export default {
});
if (allNum != selNum) {
this.$message({
- message: '请添加产品',
+ message: "请添加产品",
type: "warning",
});
return false;
@@ -605,7 +596,7 @@ export default {
pkCountry: this.pkCountry,
});
this.$message({
- message: '购物车添加成功',
+ message: "购物车添加成功",
type: "success",
});
});
@@ -632,7 +623,7 @@ export default {
});
if (allNum != selNum) {
this.$message({
- message: '请添加产品',
+ message: "请添加产品",
type: "warning",
});
return false;
@@ -860,7 +851,7 @@ export default {
this.goodDetail = res.data;
let sl = this.goodDetail.sales + "";
if (sl >= 10000) {
- sl = sl.substring(0, sl.length - 4) + '万' + "+";
+ sl = sl.substring(0, sl.length - 4) + "万" + "+";
}
this.goodDetail.sales = sl;
this.mainImgUrl = res.data.videoUrl;
@@ -947,8 +938,8 @@ export default {
// })
this.downTime();
if (this.specialArea == 31) {
- this.$refs.sideBar.getSpecial(31);
- }
+ this.$refs.sideBar.getSpecial(31);
+ }
});
},
downTime() {
@@ -1110,7 +1101,7 @@ export default {
font-size: 16px;
}
.coloNum {
- color: #00417C;
+ color: #00417c;
font-weight: 600;
margin: 0 10px;
margin-top: 3px;
@@ -1224,7 +1215,7 @@ export default {
// }
// }
.addCar {
- background: #d61820;
+ background: var(--primary-color);
border-radius: 4px 4px 4px 4px;
font-size: 14px;
font-weight: 600;
@@ -1238,7 +1229,7 @@ export default {
.tit1 {
font-size: 18px;
font-weight: 600;
- color: #00417C;
+ color: #00417c;
margin-right: 10px;
margin-bottom: 5px;
}
@@ -1264,10 +1255,10 @@ export default {
margin-right: 10px;
}
-.tit5 {
+.goods-price {
font-size: 24px;
font-weight: 600;
- color: #00417C;
+ color: var(--price-color);
}
.tit6 {
@@ -1286,7 +1277,7 @@ export default {
.tit8 {
font-size: 18px;
font-weight: 400;
- color: #00417C;
+ color: #00417c;
}
.tit9 {
@@ -1296,7 +1287,7 @@ export default {
}
::v-deep .el-breadcrumb__inner.is-link:hover {
- color: #c01f1f !important;
+ color: var(--primary-color) !important;
}
::v-deep .el-breadcrumb {
@@ -1322,7 +1313,7 @@ export default {
cursor: pointer;
}
.actMenu {
- border-bottom: 5px solid #00417C;
+ border-bottom: 5px solid #00417c;
}
}
diff --git a/src/views/shoppingCart/index.vue b/src/views/shoppingCart/index.vue
index cf22156..4b3ce77 100644
--- a/src/views/shoppingCart/index.vue
+++ b/src/views/shoppingCart/index.vue
@@ -10,175 +10,193 @@
- {{'全部商品'}} {{ carNum }}
-
-
{{'注:跨专区订单不可同时购买'}}
-

+ {{ "全部商品" }} {{ carNum }}
+
+
{{ "注:跨专区订单不可同时购买" }}
+
-
{{'商品'}}
-
{{ '规格' }}
-
{{ '商品单价' }}(¥)
-
{{ '商品业绩' }}(PV)
-
{{ '数量' }}
-
{{ '总价格' }}(¥)
-
{{ '总业绩' }}(PV)
-
{{ '操作' }}
+
{{ "商品" }}
+
{{ "规格" }}
+
{{ "商品单价" }}(¥)
+
{{ "商品业绩" }}(PV)
+
{{ "数量" }}
+
{{ "总价格" }}(¥)
+
{{ "总业绩" }}(PV)
+
{{ "操作" }}
-
+
-
+
{{ item.specialAreaVal }}
-
+
-
-
![]()
+
+
{{ ctem.waresName }}
-
-
-
{{ stem.productName }}{{ stem.waresItemsParamsList.length>0&&stem.waresItemsParamsList[0].specsName }}
-
*{{ stem.waresItemsParamsList.length>0&&stem.waresItemsParamsList[0].quantity }}
+
+
+
+ {{ stem.productName
+ }}{{
+ stem.waresItemsParamsList.length > 0 &&
+ stem.waresItemsParamsList[0].specsName
+ }}
+
+
+ *{{
+ stem.waresItemsParamsList.length > 0 &&
+ stem.waresItemsParamsList[0].quantity
+ }}
+
-
-
- {{ stem.specValueNames}}
+
+
+ {{ stem.specValueNames }}
-
{{ userInfo.currencyIcon }}{{ ctem.waresPrice }}
+
+ {{ userInfo.currencyIcon }}{{ ctem.waresPrice }}
+
{{ ctem.achieve }}
-
+
-
{{ userInfo.currencyIcon }}{{ ctem.waresPrice*ctem.number |numberToCurrency }}
-
{{ ctem.achieve*ctem.number |numberToCurrency }}
-
{{ '删除' }}
+
+ {{ userInfo.currencyIcon
+ }}{{ (ctem.waresPrice * ctem.number) | numberToCurrency }}
+
+
+ {{ (ctem.achieve * ctem.number) | numberToCurrency }}
+
+
{{ "删除" }}
\ No newline at end of file
+
diff --git a/src/views/shoppingMall/index.vue b/src/views/shoppingMall/index.vue
index fc72ec4..e386aad 100644
--- a/src/views/shoppingMall/index.vue
+++ b/src/views/shoppingMall/index.vue
@@ -1,7 +1,7 @@