Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
444991a3
Commit
444991a3
authored
Oct 28, 2025
by
jt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
473140bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
SeckillSection.vue
components/SeckillSection.vue
+4
-5
No files found.
components/SeckillSection.vue
View file @
444991a3
...
@@ -85,10 +85,10 @@
...
@@ -85,10 +85,10 @@
<view
class=
"session_goods_list"
<view
class=
"session_goods_list"
:class=
"getGoodsListClass()"
>
:class=
"getGoodsListClass()"
>
<view
v-for=
"(good, goodIndex) in creditsSaleData.sessions[currentSessionIndex]?.goods || []"
<view
v-for=
"(good, goodIndex) in creditsSaleData.sessions[currentSessionIndex]?.goods || []"
:key=
"goodIndex"
class=
"credits_sale_good_item"
>
:key=
"goodIndex"
class=
"credits_sale_good_item"
@
click=
"!getGoodButtonInfo(good, creditsSaleData.sessions[currentSessionIndex]).disabled && handleCreditsSaleClickThrottled(good)"
>
<!-- 商品图片 -->
<!-- 商品图片 -->
<view
class=
"good_image_placeholder"
<view
class=
"good_image_placeholder"
>
@
click=
"!getGoodButtonInfo(good, creditsSaleData.sessions[currentSessionIndex]).disabled && handleCreditsSaleClickThrottled(good)"
>
<image
v-if=
"good.image"
:src=
"good.image"
mode=
"aspectFill"
class=
"good_image"
/>
<image
v-if=
"good.image"
:src=
"good.image"
mode=
"aspectFill"
class=
"good_image"
/>
</view>
</view>
<!-- 商品信息容器 -->
<!-- 商品信息容器 -->
...
@@ -105,8 +105,7 @@
...
@@ -105,8 +105,7 @@
<!-- 立即抢购按钮 -->
<!-- 立即抢购按钮 -->
<view
class=
"credits_sale_button"
<view
class=
"credits_sale_button"
:class=
"[`item-$
{itemIndex}`, { disabled: getGoodButtonInfo(good, creditsSaleData.sessions[currentSessionIndex]).disabled }]"
:class=
"[`item-$
{itemIndex}`, { disabled: getGoodButtonInfo(good, creditsSaleData.sessions[currentSessionIndex]).disabled }]"
:style="{ background: getGoodButtonInfo(good, creditsSaleData.sessions[currentSessionIndex]).disabled ? '#B9B9B9' : getColor('buttonGradientColor')[itemIndex] }"
:style="{ background: getGoodButtonInfo(good, creditsSaleData.sessions[currentSessionIndex]).disabled ? '#B9B9B9' : getColor('buttonGradientColor')[itemIndex] }">
@click="!getGoodButtonInfo(good, creditsSaleData.sessions[currentSessionIndex]).disabled
&&
handleCreditsSaleClickThrottled(good)">
<text
class=
"credits_sale_button_text"
>
{{
getGoodButtonInfo
(
good
,
creditsSaleData
.
sessions
[
currentSessionIndex
]).
text
}}
</text>
<text
class=
"credits_sale_button_text"
>
{{
getGoodButtonInfo
(
good
,
creditsSaleData
.
sessions
[
currentSessionIndex
]).
text
}}
</text>
</view>
</view>
</view>
</view>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment