Authored by 邱骏

修改部分样式

... ... @@ -9,12 +9,12 @@ export default {
},
methods: {
async onClick(e) {
if (e.timeStamp - this._lastTime < 800) {
return;
}
this._lastTime = e.timeStamp;
if (this.requiredAuth) {
const user = await this.$sdk.getUser();
... ...
... ... @@ -140,7 +140,7 @@ export default {
.iconfont {
height: 100%;
font-size: 20PX;
font-size: 28px;
display: flex;
align-items: center;
justify-content: center;
... ...
<template>
<div class="icon-btn" :class="{'btn-selected': viewOption.selected}" :style="btnStyle">
<AuthComponent :requiredAuth="isAuth" class="click-wrap" @click="onClick"></AuthComponent>
<AuthComponent :requiredAuth="isAuth" :class="['click-wrap', isAuth ? 'auth' : '']" @click="onClick"></AuthComponent>
<!--为推荐阅读的点赞按钮增加了个fav_gray的相关样式-->
<i class="iconfont" :class="iconClass" :style="iconStyle">
<div v-if="type === 'fav' || type === 'fav_gray'" class="praise-lottie">
... ... @@ -361,6 +361,7 @@ export default {
.icon-ke_weixuanzhong_gray {
color: #878787;
font-size: 36px !important;
}
.click-wrap {
... ... @@ -369,7 +370,7 @@ export default {
position: absolute;
left: -25%;
top: -15px;
z-index: 2;
z-index: 9;
}
.icon-btn-text {
... ... @@ -379,7 +380,7 @@ export default {
position: absolute;
font-weight: bold;
top: -5px;
left: -3px;
left: -5px;
}
.view-text.change {
... ... @@ -397,6 +398,11 @@ export default {
z-index: 0;
}
.icon-gouwuchex {
font-size: 36px !important;
margin-left: -24px;
}
.imgfont {
&:before {
opacity: 0;
... ...
... ... @@ -40,7 +40,7 @@ export default {
.topic-icon {
position: absolute;
top: 16px;
top: 12px;
left: 14px;
width: 24px;
height: 24px;
... ... @@ -59,7 +59,7 @@ export default {
/* margin-right: 16px; */
max-width: 310px;
overflow: hidden;
padding: 12px 12px 12px 36px;
padding: 8px 12px 8px 36px;
text-overflow: ellipsis;
white-space: nowrap;
}
... ...
... ... @@ -72,7 +72,7 @@
:option="{textSelectedColor: 'white', textAutoChange: false, emitName: 'onClick'}"
@onClick="onProductListActionView">
<template v-slot:label>
<span>商品</span>
<span style="font-weight: bold;">商品</span>
</template>
</WidgetIconBtn>
</div>
... ...
... ... @@ -118,7 +118,7 @@ export default {
position: relative;
.wf-item-mid {
border-radius: 2PX;
/* border-radius: 2PX; */
position: relative;
overflow: hidden;
background-color: #fff;
... ...