diff --git a/components/UserInfoCard.vue b/components/UserInfoCard.vue
index 00ca3c5..5822aa7 100644
--- a/components/UserInfoCard.vue
+++ b/components/UserInfoCard.vue
@@ -5,7 +5,16 @@
{{ currentCardNo || '-' }}
- ICCID: {{ deviceInfo.iccid || '-' }}
+
+ ICCID: {{ deviceInfo.iccid || '-' }}
+
+
套餐名称:{{ deviceInfo.packageName || '-' }}
套餐到期时间:{{ deviceInfo.expireDate || '-' }}
@@ -27,6 +36,8 @@
networkStatus: { type: [String, Number], default: '离线' },
isDevice: { type: Boolean, default: true }
});
+
+ defineEmits(['copy']);
diff --git a/docker/nginx.conf b/docker/nginx.conf
index 94468c2..d1667ad 100644
--- a/docker/nginx.conf
+++ b/docker/nginx.conf
@@ -17,7 +17,10 @@ server {
add_header Content-Type text/plain;
}
- location / {
+ # H5 部署到 /h5
+ location /h5/ {
+ alias /usr/share/nginx/html/;
+ index index.html;
try_files $uri $uri/ /index.html;
}
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 591ae13..0bf8161 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,7 +1,7 @@
+ :isDevice="userInfo.isDevice" :networkStatus="deviceInfo.network_status" @copy="copy" />