Commit 96532097 by 前端

fixed

2 parents 2d5fdd2d 9d99a779
......@@ -3,12 +3,12 @@
* @Author: huyue
* @Date: 2022-10-10 10:59:01
* @LastEditors: huyue
* @LastEditTime: 2022-10-14 14:44:46
* @LastEditTime: 2022-10-26 10:27:36
*/
module.exports = {
"plugins": {
"postcss-pxtorem": {
rootValue: 37.5, // 75 表示 750 设计稿,37.5 表示 37.5 表示 375 设计稿
rootValue: 750, // 75 表示 750 设计稿,37.5 表示 37.5 表示 375 设计稿
unitPrecision: 6, // 计算结果保留 6 位小数
selectorBlackList: ['.no-rem', 'no-rem'], // 要忽略的选择器并保留为px
propList: ['*'], // 可以从 px 更改为 rem 的属性 感叹号开头的不转化
......

2.71 KB | W: | H:

1.99 KB | W: | H:

src/assets/images/goodNews/icon-left.png
src/assets/images/goodNews/icon-left.png
src/assets/images/goodNews/icon-left.png
src/assets/images/goodNews/icon-left.png
  • 2-up
  • Swipe
  • Onion skin

2.69 KB | W: | H:

2.02 KB | W: | H:

src/assets/images/goodNews/icon-right.png
src/assets/images/goodNews/icon-right.png
src/assets/images/goodNews/icon-right.png
src/assets/images/goodNews/icon-right.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -14,7 +14,7 @@
.report-item {
// display: flex;
// justify-content: center;
width: calc((100% - 4px) / 3);
width: calc((100% - 5px) / 3);
.icon {
display: inline-block;
width: 50px;
......@@ -81,12 +81,13 @@
.finish-activty {
margin-top: 50px;
text-align: center;
height: 85px;
min-height: 85px;
.activty-text {
display: inline-block;
background: linear-gradient(0deg, #ffd7b7 0%, #ffebdb 100%);
border-radius: 8px;
padding: 13px 21px;
width: 460px;
font-size: 24px;
font-weight: 500;
color: #262525;
......
......@@ -538,7 +538,7 @@
display: inline-flex;
justify-content: center;
align-items: center;
font-size: 20px;
font-size: 16px;
font-weight: 500;
color: #ffffff;
line-height: 32px;
......
......@@ -5,32 +5,38 @@ $good-color: #ffd2b2;
background: url("@/assets/images/goodNews/line-bg.png");
background-repeat: repeat-x;
background-size: 4px 57px;
width: auto;
// margin: 0 43px;
font-size: 30px;
font-size: 23px;
color: $good-color;
line-height: 30px;
}
.product-name {
position: relative;
padding: 14px 0;
// border-top: 3px solid $good-color;
// border-bottom: 3px solid $good-color;
// background: linear-gradient(0deg, #850005 0%, #9a1316 100%);
// height: 100%;
box-sizing: border-box;
div {
// width: 100%;
box-sizing: border-box;
max-width: 425px;
white-space: nowrap;
padding: 0 15px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.product-icon {
position: absolute;
width: 52px;
width: 30px;
height: 57px;
}
.icon-left {
left: -50px;
left: -29px;
top: 0;
}
.icon-right {
right: -50px;
right: -29px;
top: 0;
}
.store-name {
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-10-10 10:59:01
* @LastEditors: huyue
* @LastEditTime: 2022-10-24 11:04:56
* @LastEditTime: 2022-10-26 10:54:03
*/
let baseSize = 37.5
function setRem() {
......@@ -23,6 +23,6 @@ function throttle(func, wait) {
}
setRem()
window.onresize = throttle(() => {
console.log(11)
console.log(111)
setRem()
}, 1000)
\ No newline at end of file
......@@ -2,8 +2,13 @@
* @Description: 战报
* @Author: huyue
* @Date: 2022-10-11 17:41:38
<<<<<<< HEAD
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-10-26 12:28:15
=======
* @LastEditors: huyue
* @LastEditTime: 2022-10-26 11:27:03
>>>>>>> 9d99a779c3a24f57d1a796dd3c0737ca8138553b
-->
<template>
<!-- 战报产品 -->
......@@ -148,7 +153,10 @@
</div>
<div class="finish-activty">
<div class="activty-text" v-if="progress <= 50">
活动完成率较差,争取下次活动有所突破
已完成目标产值<span class="activty-flag">{{
data.activitedInfo.volumeRate
}}</span
>,活动完成率较差,争取下次活动有所突破
</div>
<div class="activty-text" v-else-if="progress > 80">
已完成目标产值<span class="activty-flag">{{
......@@ -157,7 +165,10 @@
>,圆满完成任务
</div>
<div v-else class="activty-text">
活动完成率较好,争取下次活动更上一层楼
已完成目标产值<span class="activty-flag">{{
data.activitedInfo.volumeRate
}}</span
>,活动完成率较好,争取下次活动更上一层楼
</div>
</div>
</div>
......@@ -660,6 +671,7 @@
<div class="funnel-list">
<div class="funnel-item width0">
<div
v-if="data.activitedInfo.touchVisitorCount[0] != 0"
class="funnel-bg"
:style="{
'background-color': data.colorList[0],
......@@ -675,6 +687,7 @@
}}</span>
</div>
<div
v-if="data.activitedInfo.touchVisitorCount[1] != 0"
class="funnel-bg"
:style="{
'background-color': data.colorList[1],
......@@ -704,6 +717,7 @@
</div>
<div class="funnel-item width1">
<div
v-if="data.activitedInfo.touchOrderCount[0] != 0"
class="funnel-bg"
:style="{
'background-color': data.colorList[0],
......@@ -719,6 +733,7 @@
}}</span>
</div>
<div
v-if="data.activitedInfo.touchOrderCount[1] != 0"
class="funnel-bg"
:style="{
'background-color': data.colorList[1],
......@@ -748,6 +763,7 @@
</div>
<div class="funnel-item width2">
<div
v-if="data.activitedInfo.touchConversionRate[0] != '0.00'"
class="funnel-bg"
:style="{
'background-color': data.colorList[0],
......@@ -763,6 +779,7 @@
>
</div>
<div
v-if="data.activitedInfo.touchConversionRate[1] != '0.00'"
class="funnel-bg"
:style="{
'background-color': data.colorList[1],
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-10-10 15:26:23
* @LastEditors: huyue
* @LastEditTime: 2022-10-25 15:02:50
* @LastEditTime: 2022-10-25 17:51:32
-->
<template>
<img class="bg" src="@/assets/images/goodNews/bg.png" alt="" />
......@@ -14,7 +14,7 @@
src="@/assets/images/goodNews/icon-left.png"
alt=""
/>
{{ data.storeInfo.goodsName }}
<div>{{ data.storeInfo.goodsName }}</div>
<img
class="icon-right product-icon"
src="@/assets/images/goodNews/icon-right.png"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!