1.修改肯德基页面

yj-dev
杨杰 2 years ago
parent 22757f5622
commit 7fbd4b23df
  1. 4
      pages/tabBar/home/home.vue
  2. 13
      qianzhu-KFC/home/home.vue
  3. 3
      uni.scss

@ -737,8 +737,8 @@
}) })
} else if (item.title == '肯德基') { } else if (item.title == '肯德基') {
uni.navigateTo({ uni.navigateTo({
url: '/pages/tabBar/order/order?id=1' // url: '/pages/tabBar/order/order?id=1'
// url:'../../../qianzhu-KFC/home/home' url:'../../../qianzhu-KFC/home/home'
}) })
} else if (item.title == '电影票') { } else if (item.title == '电影票') {
uni.navigateTo({ uni.navigateTo({

@ -2,7 +2,7 @@
<view> <view>
<image mode="widthFix" class="width100 imgs" src="../static/imgs/kfchome.png"></image> <image mode="widthFix" class="width100 imgs" src="../static/imgs/kfchome.png"></image>
<view class="width94 heads alijusstart"> <view class="width94 heads alijusstart">
<view class="width48 backcorfff height260 fotct paddtop15"> <view class="width48 backcorfff height280 fotct paddtop15">
<view class="fcor666 font20"><text class="fcor333 fontwig6 ">KFC</text>在线点餐</view> <view class="fcor666 font20"><text class="fcor333 fontwig6 ">KFC</text>在线点餐</view>
<view class="c62a1e font28 mart10 fontwig6">5折起</view> <view class="c62a1e font28 mart10 fontwig6">5折起</view>
<image class="width80p mart20" mode="widthFix" src="../static/imgs/kfc1.png"></image> <image class="width80p mart20" mode="widthFix" src="../static/imgs/kfc1.png"></image>
@ -10,14 +10,14 @@
立即点餐(堂食/外带) 立即点餐(堂食/外带)
</view> </view>
</view> </view>
<view class="width48 backcorfff margitle height260 fotct paddtop15"> <!-- <view class="width48 backcorfff margitle height260 fotct paddtop15">
<view class="fcor666 font20">外卖优惠点餐</view> <view class="fcor666 font20">外卖优惠点餐</view>
<view class="c62a1e font28 mart10 fontwig6">送到家</view> <view class="c62a1e font28 mart10 fontwig6">送到家</view>
<image class="width80p mart20" mode="widthFix" src="../static/imgs/kfc2.png"></image> <image class="width80p mart20" mode="widthFix" src="../static/imgs/kfc2.png"></image>
<view class="mart15 width90 height30 border-15 fcorfff backcorf062 font13" @click="jumpaddress()"> <view class="mart15 width90 height30 border-15 fcorfff backcorf062 font13" @click="jumpaddress()">
立即点餐 立即点餐
</view> </view>
</view> </view> -->
</view> </view>
<view class="foots fotct marb20"> <view class="foots fotct marb20">
<view class="width90 mart30 colorbe font14"> 本产品为第三方代点餐/代配送服务</view> <view class="width90 mart30 colorbe font14"> 本产品为第三方代点餐/代配送服务</view>
@ -60,7 +60,8 @@
} }
.width48 { .width48 {
width: 48%; width: 60%;
margin-left: 20%;
border-radius: 30rpx; border-radius: 30rpx;
} }
@ -78,7 +79,7 @@
.heads { .heads {
position: relative; position: relative;
top: 500rpx; top: 440rpx;
} }
.border-15 { .border-15 {
@ -91,6 +92,6 @@
.foots { .foots {
position: relative; position: relative;
top: 500rpx; top: 450rpx;
} }
</style> </style>

@ -503,6 +503,9 @@ $uni-font-size-paragraph:30upx;
.height260{ .height260{
height: 260px; height: 260px;
} }
.height280{
height: 280px;
}
.height30 { .height30 {
height: 30px; height: 30px;
line-height: 30px; line-height: 30px;

Loading…
Cancel
Save