问题修改

This commit is contained in:
zzyuan 2025-06-16 09:26:57 +08:00
parent 1e39716524
commit bad70f6735
2 changed files with 9 additions and 7 deletions

View File

@ -59,7 +59,7 @@
</view>
<view class="handle-box-item2" @click="goToOrder" style="background: #FFF6F4;">
<view class="image-box">
<image src="/static/images/index/food.png" style="width: 50px;height: 50px;" mode="aspectFit"></image>
<image src="/static/images/index/food.png" style="width: 40px;height: 40px;" mode="aspectFit"></image>
</view>
<view class="box-title">预定餐</view>
</view>
@ -67,13 +67,13 @@
<view style="width: 48%;">
<view class="handle-box-item2" @click="goToRemainingSum" style="background: #F4FFFF;">
<view class="image-box">
<image src="/static/images/index/balance.png" style="width: 50px;height: 50px;" mode="aspectFit"></image>
<image src="/static/images/index/balance.png" style="width: 40px;height: 40px;" mode="aspectFit"></image>
</view>
<view style="width: 65%;">
<view style="font-weight: bold;font-size: 32rpx;text-align: center;">余额/充值</view>
<view style="text-align: center;">
<text style="font-size: 24rpx;color: #333;margin-right: 6rpx;">¥</text>
<text style="font-size: 48rpx;font-weight: 700;color: #FF6816;">{{ (walletBal/100).toFixed(2) }}</text>
<text style="font-size: 40rpx;font-weight: 700;color: #FF6816;">{{ (walletBal/100).toFixed(2) }}</text>
<text style="font-size: 24rpx;color: #333;margin-left: 6rpx;"></text>
</view>
</view>
@ -81,21 +81,21 @@
<view class="handle-box-item2" @click="goToMenu" style="background: #FFFBF4;">
<view class="image-box">
<image src="/static/images/index/weeklyMenu.png" style="width: 50px;height: 50px;" mode="aspectFit"></image>
<image src="/static/images/index/weeklyMenu.png" style="width: 40px;height: 40px;" mode="aspectFit"></image>
</view>
<view class="box-title">一周菜谱</view>
</view>
<view class="handle-box-item2" @click="goToPassenger" style="background: #EEF4FF;" v-if="canteenId=='378928314946949120'">
<view class="image-box">
<image src="/static/images/index/passenger.png" style="width: 50px;height: 50px;" mode="aspectFit"></image>
<image src="/static/images/index/passenger.png" style="width: 40px;height: 40px;" mode="aspectFit"></image>
</view>
<view class="box-title">客流统计</view>
</view>
<view class="handle-box-item" @click="goToYj" style="background: #F4FFFF;" v-if="userInfo.orgId=='456365640698040320'||userInfo.custNum.indexOf('@yjst')>-1">
<view class="handle-box-item2" @click="goToYj" style="background: #F4FFFF;" v-if="userInfo.orgId=='456365640698040320'||userInfo.custNum.indexOf('@yjst')>-1">
<view class="image-box">
<image src="/static/images/index/yjCanteen.png" style="width: 50px;height: 50px;" mode="aspectFit"></image>
<image src="/static/images/index/yjCanteen.png" style="width: 40px;height: 40px;" mode="aspectFit"></image>
</view>
<view class="box-title">运检食堂</view>
</view>

View File

@ -216,6 +216,8 @@ export default {
// this.getSourceTypeList()
this.getOrderDetail()
this.generate('1223321312')
},onShow() {
this.getOrderDetail()
},
methods: {
//退