-
![]()
+
+
+
+
扫码下载装样大师手机版
+
![]()
+
@@ -102,10 +106,10 @@ async function openAppCodeDialog() {
showAppCode.value = true
if (!appCodeImg.value) {
try {
- const res = await authService.getAppCode()
+ const res = await authService.getDownloadCode()
console.log('获取APP二维码响应结果:', res)
const data = res.data || res
- appCodeImg.value = data.qrcode || data.qr_code || data.qrcode_url || data.url || (typeof data === 'string' ? data : '')
+ appCodeImg.value = data.android_qrcode
} catch (e) {
console.log(e.message)
}
@@ -559,11 +563,53 @@ function openLoginDialog() {
height: 100%;
}
-.qrCode-box {
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 20px 0;
+.app-code-dialog {
+ :deep(.el-dialog) {
+ padding: 0 !important;
+ background-color: transparent !important;
+ box-shadow: 0 0 0 0 transparent !important;
+ }
+
+
+ :deep(.close) {
+ top: calc(100% + 18px);
+
+ right: calc(50% - 34px);
+ }
+}
+
+.app-download-wrapper {
+ width: 494px;
+ height: 504px;
+ background-image: url('@/public/other/gongzidan/download-app-bg.png');
+ background-size: cover;
+ background-position: center;
+ background-repeat: no-repeat;
+ position: relative;
+
+ .content-box {
+ position: absolute;
+ top: 45%;
+ /* 大约在白底开始的位置,根据高保真微调 */
+ left: 0;
+ width: 100%;
+ padding-left: 40px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+
+ .scan-title {
+ font-weight: 500;
+ font-size: 20px;
+ color: #1A1A1A;
+ line-height: 29px;
+ letter-spacing: 1px;
+ }
+
+ .qrcode {
+ width: 200px;
+ height: 200px;
+ }
+ }
}
diff --git a/src/components/simulator/PhoneMockup.vue b/src/components/simulator/PhoneMockup.vue
index d54f9c4..df16af8 100644
--- a/src/components/simulator/PhoneMockup.vue
+++ b/src/components/simulator/PhoneMockup.vue
@@ -1,5 +1,5 @@
-
+
@@ -12,6 +12,8 @@