Commit f88d60116d2b2de950fad9063db40a7d114d4dd0

Authored by wangfan
1 parent e2c88a11

cookbook

... ... @@ -36,6 +36,9 @@ Component({
data: {
item_clear_num:null,
hasIPhone:false,
labelIcon:{
'https://xt05.colorcun.com/uploads/label/lijie.png':'http://qn.colorcun.com/custom/lite-yd-cook/image/lijian.png',
},
},
attached () {
console.log('food-card-ready',this.data.orderid,this.data.fromSoucre)
... ...
... ... @@ -13,7 +13,7 @@
<block wx:if="{{item.labelList}}">
<view class="menu-ptop-mark">
<block wx:for="{{item.labelList}}" wx:for-item="son" wx:key="labelList-key">
<image class="labelListImg" src="{{son.icon}}" mode="aspectFit"></image>
<image class="labelListImg" src="{{labelIcon[son.icon]||son.icon}}" mode="aspectFit"></image>
</block>
</view>
</block>
... ...
... ... @@ -78,32 +78,7 @@
background-color: #999;
border-radius: 10rpx;
}
.add::after{
position: absolute;
content: '';
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
width: 60%;
height: 6rpx;
background-color: red;
border-radius: 10rpx;
}
.add::before{
position: absolute;
content: '';
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
width: 6rpx;
height: 60%;
background-color: red;
border-radius: 10rpx;
}
.ptop5 {
padding-top:5px;
... ... @@ -217,20 +192,13 @@
background-color: #262628;
}
.hasListModel .add{
border: 2rpx solid #67676C;
background-color:#262628;
}
.hasListModel .add:after,.hasListModel .add:before{
background-color: #fff;
}
.hasListModel .add:after{
width: 75%;
height: 4rpx;
}
.hasListModel .add:before{
height: 75%;
width: 4rpx;
background-color: #fefefe;
background-image: url("http://qn.colorcun.com/custom/lite-yd-cook/image/add.png");
background-size: 100%;
width: 40rpx;
height: 40rpx;
}
.hasListModel .t-align-c{
margin: 0 10rpx;
font-size: 36rpx;
... ...
... ... @@ -27,11 +27,25 @@
</view>
</view>
</view>
<view style="height: 80px;width: 100%;"></view>
<view style="height: 110px;width: 100%;"></view>
</view>
</scroll-view>
<view class="white flex-lr" style="position:fixed;bottom:0px;width:100%;padding:5px 0;z-index:2000;height:58px;">
<view class="white flex-lr bottom-view">
<view class="share flex-vc">
<view class="icon">
<image src="http://qn.colorcun.com/custom/lite-yd-cook/image/share.png"></image>
</view>
<view class="text">一起点</view>
</view>
<view class="cart flex-ll">
<view class="icon">
<image src="http://qn.colorcun.com/custom/lite-yd-cook/image/cart.png"/>
<view class="dot">11</view>
</view>
<view class="text Semibold">¥0.00</view>
</view>
<view class="place flex-vc">选好了</view>
<!--
<view class="body-view">
</view>
... ...
... ... @@ -160,4 +160,70 @@
width: 100%;
height: 300rpx;
margin-bottom: 10rpx;
}
.bottom-view{
position:fixed;
bottom:0;
width:100%;
z-index:2000;
height:100rpx;
background-color: #fefefe;
color:#353535;
}
.bottom-view image{
width: 100%;
height: 100%;
}
.share{
width: 180rpx;
min-width: 180rpx;
border-right: 2rpx solid #E0E0E0;
}
.share .icon{
width: 38rpx;
height: 34rpx;
}
.share .text{
font-size: 20rpx;
line-height: 28rpx;
height: 28rpx;
margin-top: 8rpx;
}
.cart{
width: 100%;
}
.cart .icon{
margin-left: 54rpx;
width: 44rpx;
height: 44rpx;
position: relative;
}
.cart .icon .dot{
position: absolute;
top:-15rpx;
right: -15rpx;
background-color: #E14553;
color:#fefefe;
font-size: 20rpx;
width: 30rpx;
height: 30rpx;
line-height: 30rpx;
border-radius: 50%;
text-align: center;
}
.cart .text{
font-size: 36rpx;
margin-left: 34rpx;
}
.place{
width: 238rpx;
min-width: 238rpx;
background-color: #262628;
color: #fefefe;
font-size: 34rpx;
height: 100%;
}
\ No newline at end of file
... ...
... ... @@ -10,7 +10,7 @@ export default {
//预定信息详情
'App.Reserve.Detail': {
cachetime: 60,
cachetime: 30,
},
//建立预定关系
... ...