parent
353225e8ea
commit
67244568ad
@ -1,3 +1,19 @@
|
||||
<view class="container">
|
||||
<view>{{clockresult.food_name}}</view>
|
||||
|
||||
<image src="{{detailObj.url}}"></image>
|
||||
<view class="detail">
|
||||
<text class="title">{{detailObj.food_name}}</text>
|
||||
<text>{{detailObj.food_shop}}</text>
|
||||
<text class="price">¥{{detailObj.price}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="separate"></view>
|
||||
<!-- sku选择 -->
|
||||
<text bindtap="toggleDialog">请选择购买数量</text>
|
||||
<view class="separate"></view>
|
||||
<text>商品评价</text>
|
||||
<text class="text-remark">东西还可以,好评~</text>
|
||||
<view class="separate"></view>
|
||||
<view class="detail-nav">
|
||||
<button class="button-green" bindtap="addCar" formType="submit">加入购物车</button>
|
||||
<button class="button-red" bindtap="immeBuy" formType="submit">立即购买</button></view>
|
@ -1 +1,23 @@
|
||||
/* pages/detail/detail.wxss */
|
||||
page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
.detail {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-top: 15rpx;
|
||||
margin-bottom: 0rpx;
|
||||
}
|
||||
.detail .title {
|
||||
font-size: 40rpx;
|
||||
margin: 10rpx;
|
||||
color: black;
|
||||
text-align: justify;
|
||||
}
|
||||
.detail .price {
|
||||
color: red;
|
||||
font-size: 40rpx;
|
||||
margin: 10rpx;
|
||||
}
|
Loading…
Reference in new issue