m页面完成

master
kefei 6 years ago
parent a0665b3f33
commit 0e3d56edd2

@ -178,6 +178,11 @@ Page({
});
this.calculateTotal();
},
todetail:function(){
wx.navigateTo({
url:"/pages/detail/detail"
})
},
/**

@ -7,7 +7,6 @@
<!--第一个盒子 -->
<view class='good_title'>
<view class='shangjia'></view>
<view class='shanchu'>
<view class='shanchu_trash' bindtap="deleteList"><image src='/pages/index/image/shanchu.png'></image></view>
<!-- 删除 -->
@ -23,7 +22,7 @@
</label>
</view>
<view class='good_img'>
<image class='cover' src='{{good.cover}}'></image>
<image class='cover' src='{{good.cover}}' bindtap='todetail'></image>
</view>
<view class='content'>
<view class='titles'>{{good.desc}}</view>

@ -46,8 +46,8 @@
</view>
<view class="person-line"></view>
<view class="list-item">
<image class="item-image" src="/pages/index/image/wddd.png"></image>
<text class="item-text">我的订单</text>
<image class="item-image" src="/pages/index/image/wddd.png" bindtap='toOrder'></image>
<text class="item-text" bindtap='toOrder'>我的订单</text>
</view>
<view class="person-line"></view>
<view class="list-item">

Loading…
Cancel
Save