From 1ae4309fe4fbc19dcdcaa28b1193a2737299b900 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期五, 11 十月 2024 13:20:33 +0800
Subject: [PATCH] #
---
pages/pakin/putOn.vue | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/pages/pakin/putOn.vue b/pages/pakin/putOn.vue
index 66c6801..e61bf19 100644
--- a/pages/pakin/putOn.vue
+++ b/pages/pakin/putOn.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="code">
<view class="item">
<view class="code-decs">搴撲綅鍙�:</view>
@@ -150,6 +164,8 @@
return {
baseUrl: '',
token: '',
+ storeId: 0,
+ store: '',
order: '',
locno: '',
barcode: '',
@@ -175,8 +191,16 @@
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 = '鏂版槍浠�'
+ }
},
methods: {
+ back() { uni.navigateBack({}) },
messageToggle(type) {
this.msgType1 = type
this.$refs.message.open()
--
Gitblit v1.9.1