代客下单修改部分样式

This commit is contained in:
2024-10-16 14:16:14 +08:00
parent 7030d60847
commit 72d4862925
3 changed files with 39 additions and 22 deletions

View File

@@ -55,7 +55,9 @@
<view></view>
<view>{{allPrice}}</view>
</view>
<my-button shape="circle" height="80" width="220" @tap="toConfimOrder">{{table.type=='add'?'确认加菜':'去下单'}} </my-button>
<my-button shape="circle" height="80" width="220" @tap="toConfimOrder">
<text class="u-font-32 font-bold">{{table.type=='add'?'确认加菜':'去下单'}} </text>
</my-button>
</view>
</template>

View File

@@ -71,7 +71,7 @@
</view>
<view class="class-item" :id="'item' + index" v-for="(item , index) in data.tabbar"
:key="index">
<view class="item-title">
<view class="item-title" :class="{active:data.current == index}">
<text>{{item.name}}</text>
</view>
<view class="item-container">
@@ -684,7 +684,7 @@
let selGoods=ref({})
function chooseGuige(foodsindex, index) {
if (!canAddGoods()) {
return infoBox.showToast('先选择桌台', 0.5).then(res => {
return infoBox.showToast('先选择桌台', 0.5).then(res => {
chooseTable()
})
}
@@ -1164,7 +1164,7 @@
.u-tab-item-active {
position: relative;
color: #000;
color: $my-main-color;
font-size: 30rpx;
font-weight: 600;
background: #fff;
@@ -1173,7 +1173,7 @@
.u-tab-item-active::before {
content: "";
position: absolute;
border-left: 4px solid $u-primary;
border-left: 4px solid $my-main-color;
left: 0;
top: 0;
bottom: 0;
@@ -1207,7 +1207,10 @@
justify-content: center;
align-items: center;
}
::v-deep .uni-searchbar{
padding-top: 12px!important;
padding-bottom: 16px!important;
}
.right-box {
width: 572rpx;
// background-color: rgb(250, 250, 250);
@@ -1230,8 +1233,10 @@
.item-title {
font-size: 26rpx;
color: $u-main-color;
font-weight: bold;
&.active{
color: $my-main-color;
}
}
.item-menu-name {