|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <view class="content" :class="hasShopiing?'bg-0':'bg-0'">
|
|
|
+ <view class="content" :class="hasShopiing?'bg-0':'bg-1'">
|
|
|
<view class="content-body">
|
|
|
<!-- 头部栏 -->
|
|
|
<view class="header-box">
|
|
@@ -20,7 +20,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="cbody">
|
|
|
- <view :class="hasShopiing?'shopping bg-blue':'body-box bg-blue'">
|
|
|
+ <view :class="hasShopiing?'shopping':'body-box bg-blue'">
|
|
|
<!-- 滚动区域 -->
|
|
|
<view class="scroll-list" v-if="!hasShopiing">
|
|
|
<scrollBox v-if="list.length&&!hasRedPacket" :list="list"></scrollBox>
|
|
@@ -465,9 +465,9 @@
|
|
|
this.hasShopiing = res.data && res.data.paramValue == 1
|
|
|
// 有商城
|
|
|
if(this.hasShopiing){
|
|
|
- if(!flag){
|
|
|
- // 隐藏tab 视频,显示tab购物车
|
|
|
- this.showCatTab()
|
|
|
+ // 隐藏tab 视频,显示tab购物车
|
|
|
+ this.showCatTab()
|
|
|
+ if(this.productTypeList.length == 0){
|
|
|
// 商品分类
|
|
|
this.getGoodType()
|
|
|
}
|
|
@@ -957,7 +957,7 @@
|
|
|
background-image: linear-gradient(#86defa 0%, #ffffff 15%);
|
|
|
}
|
|
|
.bg-1{
|
|
|
- background-image: linear-gradient(#066cff 10%, #80b1fd 30%, #f8f8f8 50%);
|
|
|
+ background-image: linear-gradient(#86defa 0%,#cdeff9 20%,#f8f8f8 30%);
|
|
|
}
|
|
|
.content {
|
|
|
margin: 0;
|
|
@@ -1090,6 +1090,7 @@
|
|
|
}
|
|
|
.bg-blue{
|
|
|
position: relative;
|
|
|
+ z-index: 1;
|
|
|
> view{
|
|
|
z-index: 100;
|
|
|
position: relative;
|
|
@@ -1107,10 +1108,7 @@
|
|
|
content: '';
|
|
|
border-radius: 0 0 50% 50%;
|
|
|
/*分别对应 左上 右上 右下 左下 可以修改成其它颜色*/
|
|
|
- background: linear-gradient(to bottom, #066cff, #1d77ff);
|
|
|
- }
|
|
|
- .search-head{
|
|
|
-
|
|
|
+ background: linear-gradient(to bottom, #066cff, #056bf9);
|
|
|
}
|
|
|
.userCard{
|
|
|
position:relative;
|
|
@@ -1147,11 +1145,11 @@
|
|
|
.shopping{
|
|
|
padding: 0;
|
|
|
.notices{
|
|
|
- padding: 0.5em 10px 0
|
|
|
- }
|
|
|
- &::after{
|
|
|
- top: -25px;
|
|
|
- border-radius: 0 0 150px 150px;
|
|
|
+ padding: 0.5em 10px 0;
|
|
|
+ margin-top: 0.2rem;
|
|
|
+ .text{
|
|
|
+ color: #066cff;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.list-box{
|