Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mini-program-wepy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
mini-program-wepy
Commits
a1a2168c
Commit
a1a2168c
authored
May 19, 2020
by
ziyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improvement: 修改样式
parent
6686faff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
index.wpy
src/pages/index.wpy
+5
-4
No files found.
src/pages/index.wpy
View file @
a1a2168c
...
@@ -89,12 +89,13 @@
...
@@ -89,12 +89,13 @@
margin-top: 2rpx;
margin-top: 2rpx;
}
}
.list-item image {
.list-item image {
width: 100%;
width: 95%;
max-height: 102px;
display: block;
height: 86px;
margin:0 auto;
}
}
.list-item .text {
.list-item .text {
font-size: 10px;
font-size: 10px;
margin-top: -5px;
text-overflow: ellipsis;
text-overflow: ellipsis;
white-space: nowrap;
white-space: nowrap;
overflow: hidden;
overflow: hidden;
...
@@ -219,7 +220,7 @@
...
@@ -219,7 +220,7 @@
bindtouchend="touchEnd"
bindtouchend="touchEnd"
class="list-item {{item.select?'delete':''}} {{tools.computClass(currentIndex,index,list.length)}}"
class="list-item {{item.select?'delete':''}} {{tools.computClass(currentIndex,index,list.length)}}"
>
>
<image src="/static/images/test2.png"
mode="widthFix"
></image>
<image src="/static/images/test2.png"></image>
<view class="text">{{item.text}}</view>
<view class="text">{{item.text}}</view>
<view class="goods">
<view class="goods">
<text class="price">¥99.9</text><text class="buy">2200人购买</text>
<text class="price">¥99.9</text><text class="buy">2200人购买</text>
...
...
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