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
17131668
Commit
17131668
authored
May 17, 2023
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
限时折扣
parent
f5459350
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
4 deletions
+16
-4
build/webpack.prod.conf.js
+2
-1
static/nativeComponents/TimeLimitedDiscount/index.wxml
+2
-2
static/nativeComponents/TimeLimitedDiscount/index.wxss
+12
-1
static/nicon/iconfont.css
+0
-0
static/nicon/iconfont.wxss
+0
-0
No files found.
build/webpack.prod.conf.js
View file @
17131668
...
@@ -117,7 +117,8 @@ if (useUglifyJs) {
...
@@ -117,7 +117,8 @@ if (useUglifyJs) {
uglifyOptions
:
{
uglifyOptions
:
{
compress
:
{
compress
:
{
warnings
:
false
,
warnings
:
false
,
drop_console
:
false
drop_console
:
true
,
pure_funcs
:
[
'console.log'
]
}
}
}
}
}))
}))
...
...
static/nativeComponents/TimeLimitedDiscount/index.wxml
View file @
17131668
...
@@ -98,11 +98,11 @@
...
@@ -98,11 +98,11 @@
</view>
</view>
<view
<view
class="btn"
class="btn"
style="background:{{mainColor}};"
data-items="{{goodsList[index]}}"
data-items="{{goodsList[index]}}"
catchtap="onclickOrder"
catchtap="onclickOrder"
>
>
立即抢购
<!-- 立即抢购 -->
<view class="antt ant-tianchongtianjia" style="font-size: 36rpx;"></view>
</view>
</view>
</view>
</view>
</view>
</view>
...
...
static/nativeComponents/TimeLimitedDiscount/index.wxss
View file @
17131668
/* static/nativeComponents/FloatButton/index.wxss */
@import '../../nicon/iconfont.wxss';
@import "/static/font/common_icon.wxss";
.time-limited-discount {
.time-limited-discount {
background: var(--backgroundColor);
background: var(--backgroundColor);
font-size: 32rpx;
font-size: 32rpx;
...
@@ -120,7 +123,7 @@
...
@@ -120,7 +123,7 @@
}
}
.goods-item-child .info .allPrice .btn {
.goods-item-child .info .allPrice .btn {
font-size: 24rpx;
font-size: 24rpx;
background: var(--main-color);
/* background: var(--main-color); */
padding: 8rpx;
padding: 8rpx;
color: #fff;
color: #fff;
border-radius: 10rpx;
border-radius: 10rpx;
...
@@ -129,6 +132,14 @@
...
@@ -129,6 +132,14 @@
-ms-border-radius: 10rpx;
-ms-border-radius: 10rpx;
-o-border-radius: 10rpx;
-o-border-radius: 10rpx;
}
}
.goods-item-child .info .allPrice .btn .antt{
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
background: var(--main-color);
}
.goods-item-child-flex {
.goods-item-child-flex {
display: flex;
display: flex;
justify-content: space-between;
justify-content: space-between;
...
...
static/nicon/iconfont.css
View file @
17131668
This diff is collapsed.
Click to expand it.
static/nicon/iconfont.wxss
View file @
17131668
This diff is collapsed.
Click to expand it.
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