From 89b7b2b79bc2a383c39d323edc7cfe4ddd9fe90e Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期二, 08 十月 2024 16:21:11 +0800
Subject: [PATCH] #
---
pages/order/orderList.vue | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/pages/order/orderList.vue b/pages/order/orderList.vue
index 8c40407..a81772d 100644
--- a/pages/order/orderList.vue
+++ b/pages/order/orderList.vue
@@ -1,5 +1,19 @@
<template>
<view>
+ <view class="status_bar">
+ <!-- 杩欓噷鏄姸鎬佹爮 -->
+ </view>
+ <uni-nav-bar left-icon="left" background-color="#f8f8f8" title="缁勬墭涓婃灦" @clickLeft="back" :fixed="true"
+ :border="false" rightWidth="160rpx" leftWidth="160rpx"
+ >
+ <block slot="right">
+ <view class="city">
+ <view>
+ <text class="uni-nav-bar-text">{{store}}</text>
+ </view>
+ </view>
+ </block>
+ </uni-nav-bar>
<view class="card" v-for="item in menuList" @click="chose(item)">
{{item}}
</view>
@@ -12,15 +26,25 @@
return {
baseUrl: '',
token: '',
+ storeId: 0,
+ store: '',
menuList: []
}
},
onShow() {
this.baseUrl = uni.getStorageSync('baseUrl');
this.token = uni.getStorageSync('token');
+ this.storeId = uni.getStorageSync('store')
+ if (this.storeId == 1) {
+ this.store = '瀹佹尝浠�'
+ }
+ if (this.storeId == 2) {
+ this.store = '鏂版槍浠�'
+ }
this.getOrderNoList()
},
methods: {
+ back() { uni.navigateBack({}) },
getOrderNoList() {
let that = this
uni.request({
@@ -61,6 +85,7 @@
</script>
<style>
+ @import url('../../static/css/wms.css/wms.css');
.card {
margin: 20rpx;
padding: 30rpx;
--
Gitblit v1.9.1