diff --git a/src/components/other/chartFullscreen.config.ts b/src/components/other/chartFullscreen.config.ts
index c8bc19c..ad3a21e 100644
--- a/src/components/other/chartFullscreen.config.ts
+++ b/src/components/other/chartFullscreen.config.ts
@@ -2,4 +2,5 @@ export default definePageConfig({
navigationBarTitleText: '曲线图',
navigationStyle: 'custom',
enablePullDownRefresh: false,
+ pageOrientation: 'landscape',
})
diff --git a/src/components/other/chartFullscreen.vue b/src/components/other/chartFullscreen.vue
index 34d89d0..6232778 100644
--- a/src/components/other/chartFullscreen.vue
+++ b/src/components/other/chartFullscreen.vue
@@ -1,5 +1,5 @@
-
+
-
diff --git a/src/components/other/index.vue b/src/components/other/index.vue
index 9fab6a9..1d4b48d 100644
--- a/src/components/other/index.vue
+++ b/src/components/other/index.vue
@@ -726,6 +726,11 @@ const props = defineProps({
required: true,
default: 1,
},
+ // 公告弹窗是否打开
+ noticeOpen: {
+ type: Boolean,
+ default: false,
+ },
});
const pondDeviceRes = ref();
const emit = defineEmits(["getPondInfo", "getRes", "render", "addDevice"]);
@@ -1419,7 +1424,7 @@ function createCharts(x, series, ids) {
animation: true,
background: "#FFFFFF",
color: ["#17B4B2", "#5470c6", "#fac858"],
- padding: [15, 30, 35, 45],
+ padding: [15, 50, 35, 15],
enableScroll: false,
boundaryGap: "justify",
update: true,
@@ -1437,9 +1442,9 @@ function createCharts(x, series, ids) {
itemCount: 0,
scrollShow: false,
scrollAlign: "left",
- labelCount: 7,
+ labelCount: 6,
rotateLabel: true,
- rotateAngle: 30,
+ rotateAngle: 45,
marginTop: 10,
},
yAxis: {
diff --git a/src/pages/main/home.vue b/src/pages/main/home.vue
index bd80b1b..a36706a 100644
--- a/src/pages/main/home.vue
+++ b/src/pages/main/home.vue
@@ -307,6 +307,7 @@
@addDevice="addDevice"
ref="pondChildInfo"
type="1"
+ :noticeOpen="noticeOpen"
/>
diff --git a/src/utils/request.ts b/src/utils/request.ts
index 09ec942..bdd62dc 100644
--- a/src/utils/request.ts
+++ b/src/utils/request.ts
@@ -12,8 +12,8 @@ const getBaseUrl = () => {
BASE_URL = 'http://127.0.0.1:8080' // 本地调试后端地址
} else {
// BASE_URL = 'https://api.yuceyun.cn' //填写你的请求域名
- // BASE_URL = 'https://www.qdintc.com/fishery-api' // 测试环境
- BASE_URL = 'http://127.0.0.1:8080' // 本地调试后端地址
+ BASE_URL = 'https://www.qdintc.com/fishery-api' // 测试环境
+ // BASE_URL = 'http://127.0.0.1:8080' // 本地调试后端地址
// BASE_URL = 'http://47.102.210.182:6678' //测试环境
}
return BASE_URL