url
This commit is contained in:
@@ -4,7 +4,7 @@ Component({
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
shospname: String,
|
||||
shopname: String,
|
||||
shopdesc: String,
|
||||
price: Number,
|
||||
pic: String
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<view class="shoppingitem">
|
||||
<view class="select"></view>
|
||||
<view class="pic">
|
||||
<image></image>
|
||||
<image src="{{pic}}"></image>
|
||||
</view>
|
||||
<view class="shopinfo">
|
||||
<view class="shopname">{{shopname}}</view>
|
||||
|
||||
@@ -35,13 +35,21 @@
|
||||
font-size: 26rpx;
|
||||
font-weight: bold;
|
||||
margin-bottom: 18rpx;
|
||||
margin-top: 35rpx;
|
||||
margin-top: 20rpx;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
|
||||
display: -webkit-box;
|
||||
|
||||
-webkit-box-orient: vertical;
|
||||
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.shopdesc {
|
||||
color: #666666;
|
||||
font-size: 22rpx;
|
||||
margin-bottom: 39rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.price {
|
||||
|
||||
Reference in New Issue
Block a user