feat: 修改样式

This commit is contained in:
2026-07-16 15:54:26 +08:00
parent 4a669ec670
commit aa2f1009e8
12 changed files with 538 additions and 623 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ export default {
<style lang="scss" scoped>
.choiceness_warp {
margin-top: 50rpx;
margin-top: 35rpx;
}
.choiceness_title {
+13 -4
View File
@@ -24,7 +24,7 @@
<!-- (秒杀券立减) -->
<view class="coupon_row" v-if="hasCoupon">
<view class="coupon_badge" v-if="activedType === 'seckill'">
<view class="coupon_badge" v-if="activedType === 'seckill' || activedType === 'actived'">
<text class="flash_icon">⚡</text>
<text class="coupon_text" v-if="item.secDiscount || item.subsidy">加倍补{{ item.secDiscount ||
item.subsidy }}元</text>
@@ -46,7 +46,7 @@
</view>
<!-- Alarm clock button -->
<view class="alarm_btn_wrapper">
<image class="uni-image" v-if="activedType === 'seckill'"
<image class="uni-image" v-if="activedType === 'actived'"
src="https://static.tbmall.xin/static/new-home/home_3.png"></image>
<image class="uni-image seckill-icon" v-else src="https://static.tbmall.xin/static/home/qiang.png">
</image>
@@ -110,6 +110,15 @@ export default {
methods: {
// 商品
onSelectProct(item) {
if (this.activedType === 'actived') {
uni.showToast({
title: '活动即将开始',
icon: 'none',
mask: true,
duration: 1500,
})
return;
}
let url = "/pages/other_package/productInfo/productInfo?id=" + item.id;
if (this.activedType === 'seckill') {
url = "/pages/other_package/productInfo/productInfo?id=" + item.id + "&activedType=" + this.activedType + "&activityId=" + item.activityId;
@@ -239,14 +248,14 @@ export default {
font-size: 26rpx;
color: #000;
font-weight: bold;
line-height: 40rpx;
line-height: 30rpx;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
margin-bottom: 12rpx;
// margin-bottom: 12rpx;
}
.coupon_row {