登录
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
Component({
|
||||
properties: {},
|
||||
properties: {
|
||||
img:String,
|
||||
title:String,
|
||||
id:String,
|
||||
price:String
|
||||
},
|
||||
data: {},
|
||||
methods: {
|
||||
gotodetail() {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<view class="commodity" bindtap="gotodetail">
|
||||
<view class="content">
|
||||
<image class="imgthumb "></image>
|
||||
<image class="imgthumb " src="{{img}}"></image>
|
||||
<view class="introduce">
|
||||
<text>产品名称产品名称产品名称产品名称产品名称产品名称产品名称</text>
|
||||
<text class="towline">{{title}}</text>
|
||||
<view>
|
||||
<text>¥657</text>
|
||||
<text>¥{{price}}</text>
|
||||
<text>加入购物车</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user