Commit c2ad9a9c by 胡悦

提交

1 parent 1b6f0141

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
......@@ -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-25 18:08:24
*/
let baseSize = 37.5
function setRem() {
......@@ -23,6 +23,5 @@ function throttle(func, wait) {
}
setRem()
window.onresize = throttle(() => {
console.log(11)
setRem()
}, 1000)
\ No newline at end of file
}, 500)
\ No newline at end of file
......@@ -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!