li{
+ line-height: 20px;
+ }
+}
+.opacity-nav{
+ background-color:rgba(0,0,0,.5);
+}
.nav-side ul {
width: 100%;
padding: 0px;
@@ -226,9 +230,9 @@ export default {
padding-left: 12px;
font-size: 13px;
line-height: 18px;
-}
-.nav-side li:hover {
- background: #999395;
+ &:hover{
+ background: #999395;
+ }
}
.nav-side-item:hover {
cursor: pointer;
@@ -237,7 +241,7 @@ export default {
/*显示商品详细信息*/
.detail-item-panel {
- width: 815px;
+ width: 1000px;
min-height: 340px;
background-color: #fff;
box-shadow: 0px 0px 15px #ccc;
@@ -265,7 +269,6 @@ export default {
}
.detail-item-panel li {
line-height: 30px;
- // margin-left: 40px;
}
.detail-item-title {
font-weight: bold;
diff --git a/buyer/src/pages/Index.vue b/buyer/src/pages/Index.vue
index 4a059584..7c1244c4 100644
--- a/buyer/src/pages/Index.vue
+++ b/buyer/src/pages/Index.vue
@@ -10,7 +10,7 @@
-
+
@@ -44,7 +44,9 @@ export default {
modelForm: { list: [] }, // 楼层装修数据
topAdvert: {}, // 顶部广告
showNav: false, // 是否展示分类栏
- topSearchShow: false // 滚动后顶部搜索栏展示
+ topSearchShow: false, // 滚动后顶部搜索栏展示
+ carouselLarge: false, // 不同轮播分类尺寸
+ carouselOpacity: false // 不同轮播分类样式
};
},
methods: {
@@ -53,15 +55,21 @@ export default {
indexData({ clientType: 'PC' }).then((res) => {
if (res.success) {
let dataJson = JSON.parse(res.result.pageData);
- this.modelForm = dataJson;
// 秒杀活动不是装修的数据,需要调用接口判断是否有秒杀商品
+ // 轮播图根据不同轮播,样式不同
for (let i = 0; i < dataJson.list.length; i++) {
- if (dataJson.list[i].type === 'seckill') {
+ let type = dataJson.list[i].type
+ if (type === 'carousel2') {
+ this.carouselLarge = true;
+ } else if (type === 'carousel1') {
+ this.carouselLarge = true
+ this.carouselOpacity = true
+ } else if (type === 'seckill') {
let seckill = this.getListByDay()
dataJson.list[i].options.list = seckill
- break;
}
}
+ this.modelForm = dataJson;
storage.setItem('navList', dataJson.list[1])
this.showNav = true
this.topAdvert = dataJson.list[0];
diff --git a/buyer/src/pages/home/memberCenter/Favorites.vue b/buyer/src/pages/home/memberCenter/Favorites.vue
index ca2c75d1..f0188c8b 100644
--- a/buyer/src/pages/home/memberCenter/Favorites.vue
+++ b/buyer/src/pages/home/memberCenter/Favorites.vue
@@ -24,8 +24,8 @@
-
-
+
+
diff --git a/manager/src/views/lili-dialog/goods-dialog.vue b/manager/src/views/lili-dialog/goods-dialog.vue
index 2cd1712e..56979371 100644
--- a/manager/src/views/lili-dialog/goods-dialog.vue
+++ b/manager/src/views/lili-dialog/goods-dialog.vue
@@ -43,7 +43,6 @@ export default {
data() {
return {
type: "multiple", //单选或者多选 single multiple
-
skuList: [], // 商品sku列表
total: 0, // 商品总数
goodsParams: { // 商品请求参数
@@ -115,10 +114,9 @@ export default {
res.result.records.forEach((item) => {
item.selected = false;
item.___type = "goods"; //设置为goods让pc wap知道标识
-
this.selectedWay.forEach(e => {
if (e.id === item.id) {
- item.selected = true
+ item.selected = true
}
})
});
diff --git a/manager/src/views/lili-floor-renovation/modelForm.vue b/manager/src/views/lili-floor-renovation/modelForm.vue
index 21d50310..28cf7967 100644
--- a/manager/src/views/lili-floor-renovation/modelForm.vue
+++ b/manager/src/views/lili-floor-renovation/modelForm.vue
@@ -9,9 +9,9 @@