fix: 统一mealSurplus接口为8081端口HTTPS,移除外部字体依赖

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-08-10 15:08:35 +08:00
co-authored by Claude Opus 4.7
parent 42f2d3bd03
commit d4b532cacb
3 changed files with 7 additions and 8 deletions
-1
View File
@@ -6,7 +6,6 @@
<meta name="viewport"
content="width=device-width,height=device-height, user-scalable=no,initial-scale=1, minimum-scale=1, maximum-scale=1,target-densitydpi=device-dpi ">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="stylesheet" href="https://cdn.hmos.dongs.xyz/css/harmonyos_sans_sc.css">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
+6 -6
View File
@@ -5,12 +5,12 @@
</template>
<style lang="less">
@font-face {
font-family: "PingFang";
src: url("@/assets/fonts/PingFang.ttf") format("opentype");
font-weight: 500;
font-style: normal;
}
//@font-face {
// font-family: "PingFang";
// src: url("@/assets/fonts/PingFang.ttf") format("opentype");
// font-weight: 500;
// font-style: normal;
//}
* {
border: 0;
@@ -129,7 +129,7 @@ export default {
var params = {};
var _this = this;
httpRequest("GET", "http://dev.yixiong-tech.com:8087/nutrition/neglect/large-screen/kitchen", params, {
httpRequest("GET", "https://dev.yixiong-tech.com:8081/nutrition/neglect/large-screen/kitchen", params, {
"X-DEVICE-CODE": "XIAOMI-00999",
"authorization": "57ee87183f2a4fa59683ec9ef41c8f5d"
}).then(function(res) {