|
@@ -103,6 +103,7 @@
|
|
|
margin: 0 5px;
|
|
margin: 0 5px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /*
|
|
|
.ask_btn {
|
|
.ask_btn {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
@@ -119,15 +120,103 @@
|
|
|
|
|
|
|
|
.ask_btn img:last-child {
|
|
.ask_btn img:last-child {
|
|
|
margin-right: 0;
|
|
margin-right: 0;
|
|
|
|
|
+ } */
|
|
|
|
|
+ .person_module {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ background: rgba(254, 232, 208, 0.8);
|
|
|
|
|
+ border-radius: 15px;
|
|
|
|
|
+ margin: 20px 10px 0;
|
|
|
|
|
+ padding: 15px 35px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .person_box {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #896F5A;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .person_num {
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+ color: #6A401D;
|
|
|
|
|
+ line-height: 26px;
|
|
|
|
|
+ padding-bottom: 5px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .person_line {
|
|
|
|
|
+ width: 1px;
|
|
|
|
|
+ height: 48px;
|
|
|
|
|
+ background: #6A401D;
|
|
|
|
|
+ opacity: 0.2;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ .ask_list {
|
|
|
|
|
+ margin: 15px 10px;
|
|
|
|
|
+ padding: 15px;
|
|
|
|
|
+ background: rgba(254, 232, 208, 0.8);
|
|
|
|
|
+ border-radius: 15px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .ask_title {
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ color: #6A401D;
|
|
|
|
|
+ line-height: 24px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ }
|
|
|
|
|
+ .ask_user_box {
|
|
|
|
|
+ max-height: 338px;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+ }
|
|
|
|
|
+ .ask_user {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ padding: 10px 0;
|
|
|
|
|
+ border-bottom: 1px solid rgba(106, 64, 29, 0.1);
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+ .user_msg {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: #222222;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+ }
|
|
|
|
|
+ .user_msg img {
|
|
|
|
|
+ width: 40px;
|
|
|
|
|
+ height: 40px;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+ margin-right: 10px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .ask_status1 {
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #FF0000;
|
|
|
|
|
+ max-width: 20%;
|
|
|
|
|
+ text-align: right;
|
|
|
|
|
+ }
|
|
|
|
|
+ .ask_status2 {
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #C98146;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
.activity_box {
|
|
.activity_box {
|
|
|
- width: 100%;
|
|
|
|
|
|
|
+ margin: 0 10px;
|
|
|
background: #FEE8D0;
|
|
background: #FEE8D0;
|
|
|
border-radius: 20px 20px 0 0;
|
|
border-radius: 20px 20px 0 0;
|
|
|
padding: 20px 15px;
|
|
padding: 20px 15px;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
- margin-top: 20px;
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.lottery {
|
|
.lottery {
|
|
@@ -288,23 +377,25 @@
|
|
|
color: #FFFFFF;
|
|
color: #FFFFFF;
|
|
|
border: none;
|
|
border: none;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.carousel-container {
|
|
.carousel-container {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
width: 100vw;
|
|
width: 100vw;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
.carousel-wrapper {
|
|
.carousel-wrapper {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
transition: transform 0.4s ease-out;
|
|
transition: transform 0.4s ease-out;
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
.carousel-item {
|
|
.carousel-item {
|
|
|
min-width: 100%;
|
|
min-width: 100%;
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
display: flex
|
|
display: flex
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.arrow {
|
|
.arrow {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
top: 347px;
|
|
top: 347px;
|
|
@@ -314,19 +405,20 @@
|
|
|
width: 30px;
|
|
width: 30px;
|
|
|
height: 26px;
|
|
height: 26px;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
.arrow-left {
|
|
.arrow-left {
|
|
|
left: 15px;
|
|
left: 15px;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
.arrow-right {
|
|
.arrow-right {
|
|
|
right: 15px;
|
|
right: 15px;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.progress {
|
|
.progress {
|
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
|
-font-size: 12px;
|
|
|
|
|
-color: #E83636;
|
|
|
|
|
-text-align: center;
|
|
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #E83636;
|
|
|
|
|
+ text-align: center;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|
|
|
|
|
|
|
@@ -338,23 +430,34 @@ text-align: center;
|
|
|
<div class="carousel-item" v-if="lightData.wxcpLightenClientList.length < 5">
|
|
<div class="carousel-item" v-if="lightData.wxcpLightenClientList.length < 5">
|
|
|
<img class="carousel wl_no" v-if="!lightData.wxcpLightenClientList.length" src="./img/wl_no.png" />
|
|
<img class="carousel wl_no" v-if="!lightData.wxcpLightenClientList.length" src="./img/wl_no.png" />
|
|
|
<img class="carousel wl_no" v-if="lightData.wxcpLightenClientList.length === 1" src="./img/light_one.png" />
|
|
<img class="carousel wl_no" v-if="lightData.wxcpLightenClientList.length === 1" src="./img/light_one.png" />
|
|
|
- <img class="carousel wl_no" v-else-if="lightData.wxcpLightenClientList.length === 2" src="./img/light_two.png" />
|
|
|
|
|
- <img class="carousel wl_no" v-else-if="lightData.wxcpLightenClientList.length === 3" src="./img/light_three.png" />
|
|
|
|
|
- <img class="carousel wl_no" v-else-if="lightData.wxcpLightenClientList.length === 4" src="./img/light_four.png" />
|
|
|
|
|
|
|
+ <img class="carousel wl_no" v-else-if="lightData.wxcpLightenClientList.length === 2"
|
|
|
|
|
+ src="./img/light_two.png" />
|
|
|
|
|
+ <img class="carousel wl_no" v-else-if="lightData.wxcpLightenClientList.length === 3"
|
|
|
|
|
+ src="./img/light_three.png" />
|
|
|
|
|
+ <img class="carousel wl_no" v-else-if="lightData.wxcpLightenClientList.length === 4"
|
|
|
|
|
+ src="./img/light_four.png" />
|
|
|
</div>
|
|
</div>
|
|
|
<div v-else class="carousel-item">
|
|
<div v-else class="carousel-item">
|
|
|
- <img class="carousel wl_no" v-for="i in parseInt(lightData.wxcpLightenClientList.length/5)" :key="i" src="./img/light_five.png" />
|
|
|
|
|
- <img class="carousel wl_no" v-if="parseInt(lightData.wxcpLightenClientList.length%5) === 1" src="./img/light_one.png" />
|
|
|
|
|
- <img class="carousel wl_no" v-else-if="parseInt(lightData.wxcpLightenClientList.length%5) === 2" src="./img/light_two.png" />
|
|
|
|
|
- <img class="carousel wl_no" v-else-if="parseInt(lightData.wxcpLightenClientList.length%5) === 3" src="./img/light_three.png" />
|
|
|
|
|
- <img class="carousel wl_no" v-else-if="parseInt(lightData.wxcpLightenClientList.length%5) === 4" src="./img/light_four.png" />
|
|
|
|
|
|
|
+ <img class="carousel wl_no" v-for="i in parseInt(lightData.wxcpLightenClientList.length/5)" :key="i"
|
|
|
|
|
+ src="./img/light_five.png" />
|
|
|
|
|
+ <img class="carousel wl_no" v-if="parseInt(lightData.wxcpLightenClientList.length%5) === 1"
|
|
|
|
|
+ src="./img/light_one.png" />
|
|
|
|
|
+ <img class="carousel wl_no" v-else-if="parseInt(lightData.wxcpLightenClientList.length%5) === 2"
|
|
|
|
|
+ src="./img/light_two.png" />
|
|
|
|
|
+ <img class="carousel wl_no" v-else-if="parseInt(lightData.wxcpLightenClientList.length%5) === 3"
|
|
|
|
|
+ src="./img/light_three.png" />
|
|
|
|
|
+ <img class="carousel wl_no" v-else-if="parseInt(lightData.wxcpLightenClientList.length%5) === 4"
|
|
|
|
|
+ src="./img/light_four.png" />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<!-- 左箭头 -->
|
|
<!-- 左箭头 -->
|
|
|
- <img v-show="lightData.wxcpLightenClientList.length>5 && currentIndex > 0" src="./img/wl-left.png" alt="" class="arrow arrow-left" @click="prevSlide">
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <img v-show="lightData.wxcpLightenClientList.length>5 && currentIndex > 0" src="./img/wl-left.png" alt=""
|
|
|
|
|
+ class="arrow arrow-left" @click="prevSlide">
|
|
|
|
|
+
|
|
|
<!-- 右箭头 -->
|
|
<!-- 右箭头 -->
|
|
|
- <img v-show="lightData.wxcpLightenClientList.length>5 && currentIndex < lightData.wxcpLightenClientList.length/5 - 1" src="./img/wl-right.png" alt="" class="arrow arrow-right" @click="nextSlide"></img>
|
|
|
|
|
|
|
+ <img
|
|
|
|
|
+ v-show="lightData.wxcpLightenClientList.length>5 && currentIndex < lightData.wxcpLightenClientList.length/5 - 1"
|
|
|
|
|
+ src="./img/wl-right.png" alt="" class="arrow arrow-right" @click="nextSlide"></img>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="progress">
|
|
<div class="progress">
|
|
|
<span v-if="getChunkData.length < 5">点亮进度:{{getChunkData.length}}/5</span>
|
|
<span v-if="getChunkData.length < 5">点亮进度:{{getChunkData.length}}/5</span>
|
|
@@ -375,12 +478,51 @@ text-align: center;
|
|
|
<span class="step_line"></span>
|
|
<span class="step_line"></span>
|
|
|
<span>3.完成任务</span>
|
|
<span>3.完成任务</span>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="ask_btn">
|
|
|
|
|
|
|
+ <!-- <div class="ask_btn">
|
|
|
<img v-for="item in getChunkData.slice(0, 5)" :key="item.id"
|
|
<img v-for="item in getChunkData.slice(0, 5)" :key="item.id"
|
|
|
:src="item.head || './img/ask_btn.png'" />
|
|
:src="item.head || './img/ask_btn.png'" />
|
|
|
<div v-if="getChunkData.length < 5">
|
|
<div v-if="getChunkData.length < 5">
|
|
|
<img v-for="i in (5-getChunkData.length)" :key="i" src="./img/ask_btn.png" />
|
|
<img v-for="i in (5-getChunkData.length)" :key="i" src="./img/ask_btn.png" />
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ </div> -->
|
|
|
|
|
+ <div class="person_module">
|
|
|
|
|
+ <div class="person_box">
|
|
|
|
|
+ <div class="person_num">{{lightData.clientCount}}</div>
|
|
|
|
|
+ <div>邀请人数</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="person_line"></div>
|
|
|
|
|
+ <div class="person_box">
|
|
|
|
|
+ <div class="person_num">{{lightData.formCount}}</div>
|
|
|
|
|
+ <div>报名人数</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="person_line"></div>
|
|
|
|
|
+ <div class="person_box">
|
|
|
|
|
+ <div class="person_num">{{lightData.testDriveCount}}</div>
|
|
|
|
|
+ <div>试驾人数</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="ask_list">
|
|
|
|
|
+ <div class="ask_title">已邀请用户</div>
|
|
|
|
|
+ <div class="ask_user_box">
|
|
|
|
|
+ <div class="ask_user" v-for="item in lightData.wxcpLightenClientList" :key="item.id">
|
|
|
|
|
+ <div class="user_msg">
|
|
|
|
|
+ <img :src="item.head || './img/ask_btn.png'" />
|
|
|
|
|
+ <div>{{item.name}}</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div v-if="item.auditStatus === 1" class="ask_status1">审核中</div>
|
|
|
|
|
+ <div v-if="item.auditStatus === 2" class="ask_status1">
|
|
|
|
|
+ <div>未通过</div>
|
|
|
|
|
+ <div>{{item.rejectionReason}}</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div v-if="item.auditStatus === 3" class="ask_status1">待下发</div>
|
|
|
|
|
+ <div v-if="item.auditStatus === 4" class="ask_status1">下发中</div>
|
|
|
|
|
+ <div v-if="item.auditStatus === 5" class="ask_status2">下发成功</div>
|
|
|
|
|
+ <div v-if="item.auditStatus === 6" class="ask_status1">
|
|
|
|
|
+ <div>下发失败</div>
|
|
|
|
|
+ <div>{{item.sendFailReason}}</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="activity_box">
|
|
<div class="activity_box">
|
|
|
<div v-if="lightData.wxcpLighten.raffeSwitch">
|
|
<div v-if="lightData.wxcpLighten.raffeSwitch">
|
|
@@ -484,6 +626,9 @@ text-align: center;
|
|
|
loading: false, // 提交按钮loading
|
|
loading: false, // 提交按钮loading
|
|
|
currentIndex: 0, // 当前显示的图片索引
|
|
currentIndex: 0, // 当前显示的图片索引
|
|
|
getChunkData: [], // 分割数据
|
|
getChunkData: [], // 分割数据
|
|
|
|
|
+ clientCount: null, // 邀请人数
|
|
|
|
|
+ formCount: null, // 报名人数
|
|
|
|
|
+ testDriveCount: null, // 试驾人数
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|