Add shopping cart and order detail pages for drink ordering system

This commit is contained in:
zhugaoliang 2025-04-10 20:15:13 +08:00
parent 929072ee92
commit 8ca4b07365
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@
</view> </view>
<view class="fixed-bottom flex justify-between align-center bg-white "> <view class="fixed-bottom flex justify-between align-center bg-white ">
<view class="mx-2 ont-weight-light">应付:<text class="text-danger">{{ getCartGoodsPrice }}</text></view> <view class="mx-2 ont-weight-light">应付:<text class="text-danger">{{ getCartGoodsPrice }}</text></view>
<view ><uv-button style="background-color: #52ac41;" type="warning" color="#09b4f1" :customStyle="customStyle" size="large" text="去结算" @click="toPay"></uv-button></view> <view ><uv-button style="background-color: #52ac41;" type="warning" color="#52ac41" :customStyle="customStyle" size="large" text="去结算" @click="toPay"></uv-button></view>
</view> </view>
<uv-toast ref="uToast"></uv-toast> <uv-toast ref="uToast"></uv-toast>
</template> </template>

View File

@ -75,7 +75,7 @@
</view> </view>
<!-- steps end --> <!-- steps end -->
<view v-if="order.status==0 && order.paid > 0" class="d-flex just-content-center align-items-center font-size-base text-color-assist mb-40"> <view v-if="order.status==0 && order.paid > 0" class="d-flex just-content-center align-items-center font-size-base text-color-assist mb-40">
您前面还有 <text class="text-color-primary mr-10 ml-10">{{order.preNum}}</text> 单待制作 您前面还有 <text class="text-color-primary mr-10 ml-10" style="color: #52ac41;">{{order.preNum}}</text> 单待制作
</view> </view>
<!-- goods begin --> <!-- goods begin -->
<view class="w-100 d-flex flex-column position-relative mt-30" style="margin-bottom: -40rpx;"> <view class="w-100 d-flex flex-column position-relative mt-30" style="margin-bottom: -40rpx;">
@ -410,6 +410,6 @@ const refund = (order) => {
font-size: 60rpx; font-size: 60rpx;
} }
.iconfont-yshop { .iconfont-yshop {
color: #09b4f1; color: #52ac41;
} }
</style> </style>