This commit is contained in:
Teng 2026-01-16 17:27:14 +08:00
commit 7b4d7f0c98
7 changed files with 12 additions and 11 deletions

View File

@ -27,7 +27,7 @@
default: true
},
style:{
type:String
// type:String
}
})

View File

@ -127,7 +127,7 @@
flex-direction: column;
justify-content: space-between;
align-items: center;
padding: 3.8vw 0 1vw 0;
padding: 2.3vw 0 1vw 0;
margin-right: 3vw;
.logo{
width: 3.8vw;

View File

@ -111,8 +111,7 @@
const props = defineProps({
show: {
type: Boolean,
default:false,
required: true,
default:false
},
caigouobj:{
type:Object,

View File

@ -75,16 +75,14 @@
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineComponent } from 'vue';
const props = defineProps({
InvoicingList: {
type: Array,
required: true
type: Array
},
status: {
type: String
},
show: {
type: Boolean,
default: false,
required: true,
default: false
},
})
const emit = defineEmits(['addcartory', 'scrolltolower','addcar','crk'])

View File

@ -4,7 +4,8 @@ const base_url = 'https://www.focusnu.com/opeapi'
// const base_url = 'http://localhost:8091/opeapi'
// 请求超出时间
const timeout = 5000
// 登录过期防止多次弹出
let loginout = false;
// 需要修改token和根据实际修改请求头
export default (params) => {
let url = params.url;
@ -32,12 +33,15 @@ export default (params) => {
// console.log(res.statusCode);
if (res.statusCode == 200) {
resolve(res.data);
loginout = false;
} else {
console.log("http", /^https?:\/\//.test(url) ? url : base_url + url)
console.log("res",response)
console.log("data",data)
switch (res.statusCode) {
case 401:
if(loginout == true){return}
loginout = true;
uni.showModal({
title: "提示",
content: "登录过期",

View File

@ -574,7 +574,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
)
]);
}
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/camera.nvue"]]);
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/camera.nvue"]]);
export {
camera as default
};

View File

@ -578,7 +578,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
)
]);
}
const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/fullcamera.nvue"]]);
const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/fullcamera.nvue"]]);
export {
fullcamera as default
};