Commit a1a2168c authored by ziyu's avatar ziyu

improvement: 修改样式

parent 6686faff
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment