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
f4db9b9e
Commit
f4db9b9e
authored
Jun 06, 2023
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ca1b64a6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
src/components/custom-list/index.vue
+1
-0
static/nativeComponents/TimeLimitedDiscount/index.js
+8
-1
static/nativeComponents/TimeLimitedDiscount/index.wxss
+4
-1
No files found.
src/components/custom-list/index.vue
View file @
f4db9b9e
...
...
@@ -108,6 +108,7 @@ export default {
current
:
1
,
size
:
this
.
showCont
,
}
console
.
log
(
query
,
'------getList-----query'
)
index
.
outDataSourceData
(
query
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
){
this
.
comDataList
=
res
.
data
.
data
.
data
||
[];
...
...
static/nativeComponents/TimeLimitedDiscount/index.js
View file @
f4db9b9e
...
...
@@ -286,7 +286,14 @@ const componentOptions = {
.
exec
();
},
onChange
(
e
)
{
this
.
setData
({
timeData
:
e
.
detail
});
let
{
days
,
hours
,
minutes
,
seconds
}
=
e
.
detail
;
let
detail
=
{
days
:
days
<
10
?
'0'
+
days
:
days
,
hours
:
hours
<
10
?
'0'
+
hours
:
hours
,
minutes
:
minutes
<
10
?
'0'
+
minutes
:
minutes
,
seconds
:
seconds
<
10
?
'0'
+
seconds
:
seconds
,
}
this
.
setData
({
timeData
:
detail
});
},
onclickProduct
(
e
)
{
console
.
log
(
...
...
static/nativeComponents/TimeLimitedDiscount/index.wxss
View file @
f4db9b9e
...
...
@@ -106,6 +106,7 @@
-webkit-box-orient: vertical;
line-height: 44rpx;
font-size: 32rpx;
height: 46rpx;
}
.goods-item-child .info .allPrice,
.goods-item .info .allPrice{
...
...
@@ -201,13 +202,14 @@
overflow-y: hidden;
white-space: nowrap;
-webkit-overflow-scrolling: touch; /* ios5+ */
padding: 20rpx;
}
.goods1 .goods-item {
display: inline-block;
vertical-align: top;
white-space: initial;
margin-right: 20rpx;
width:
40
%;
width:
26
%;
}
.goods1 .goods-item .items {
border-radius: 5px;
...
...
@@ -215,6 +217,7 @@
background: #ffffff;
}
.goods1 .goods-item .slidebox2 {
height: 22vw;
box-sizing: border-box;
-moz-box-sizing: border-box; /* Firefox */
-webkit-box-sizing: border-box; /* Safari */
...
...
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