Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
7061b54c
Commit
7061b54c
authored
Jul 15, 2023
by
hxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
秒杀砍价 bug 修复
parent
690e1153
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
11 deletions
+1
-11
static/nativeComponents/GoodsList/GoodsItem/index.wxml
+1
-11
No files found.
static/nativeComponents/GoodsList/GoodsItem/index.wxml
View file @
7061b54c
<!-- 商品列表item -->
<!-- 商品列表item -->
<!-- {{items.loadState}}--{{items.loadProductImgUrl}}--{{items.productImgUrl}} -->
<!-- <view wx:if="{{items && datas.componentData['style'] == 'list' && items.loadState == false}}">
<view class="skeleton-animate">
<view class="skeleton-bg skeleton-img"></view>
<view class="skeleton-bg skeleton-title"></view>
<view class="skeleton-bg skeleton-detail"></view>
<view class="skeleton-bg skeleton-price"></view>
</view>
</view> -->
<view
<view
class="goodsItem {{datas.componentData.style==='rowList'?'goodsRowList':''}} {{datas.componentData.style==='heap'?'goodsRowList goodsHeapItem':''}}"
class="goodsItem {{datas.componentData.style==='rowList'?'goodsRowList':''}} {{datas.componentData.style==='heap'?'goodsRowList goodsHeapItem':''}}"
style="--proGap2:{{datas.componentData.proGap*2}}rpx;"
style="--proGap2:{{datas.componentData.proGap*2}}rpx;"
...
@@ -36,7 +26,7 @@
...
@@ -36,7 +26,7 @@
style="padding:{{datas.componentData.imgSize}}"
style="padding:{{datas.componentData.imgSize}}"
>
>
<!-- 秒杀活动 -->
<!-- 秒杀活动 -->
<block wx:if="{{items && items.secondKillActivityInfoGoodsList}}">
<block wx:if="{{items && items.secondKillActivityInfoGoodsList
&& !(items.cutActivityGoodsList && items.cutActivityGoodsList.length != 0 && items.cutActivityGoodsList[0].status == 2)
}}">
<view class="secKillBanner" style="border-radius:{{datas.componentData.borderRadius*2}}rpx 0 {{datas.componentData.borderRadius*2}}rpx 0">
<view class="secKillBanner" style="border-radius:{{datas.componentData.borderRadius*2}}rpx 0 {{datas.componentData.borderRadius*2}}rpx 0">
<image class="seckill-image" src="../../../svg/seckill.svg"></image>
<image class="seckill-image" src="../../../svg/seckill.svg"></image>
<block wx:if="{{!isBeginSecKill}}">{{ currentSecKillInfo.formatTime || "" }}</block>
<block wx:if="{{!isBeginSecKill}}">{{ currentSecKillInfo.formatTime || "" }}</block>
...
...
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