diff --git a/src/api/scheme.js b/src/api/scheme.js index 04ed8be..6d67923 100644 --- a/src/api/scheme.js +++ b/src/api/scheme.js @@ -3,13 +3,9 @@ */ import http from '../utils/http' -export function GetScheme (){ - return new Promise((resolve, reject) => { - http({ - url:'/api//admin/shop/wxqrcode/gen/common/wxurlscheme', - method:'post', - }).then(res=>{ - resolve(res) - }).catch(e => reject(console.warn(e))) +export function GetScheme() { + return http({ + url: '/api/admin/shop/wxqrcode/common/wxurlscheme', + method: 'post', }) -} +} \ No newline at end of file diff --git a/src/assets/image/indexQRcode.png b/src/assets/image/indexQRcode.png new file mode 100644 index 0000000..b6f18a2 Binary files /dev/null and b/src/assets/image/indexQRcode.png differ diff --git a/src/views/wxJump/WxJump.vue b/src/views/wxJump/WxJump.vue index 2b5da3e..1c18e8c 100644 --- a/src/views/wxJump/WxJump.vue +++ b/src/views/wxJump/WxJump.vue @@ -1,48 +1,72 @@ @@ -55,6 +79,7 @@ onMounted(() => { justify-content: center; height: 100vh; font-size: 16px; + margin: 0; /* 清除默认边距 */ } .btn { margin-top: 30px; @@ -64,5 +89,9 @@ onMounted(() => { border: none; border-radius: 4px; font-size: 16px; + cursor: pointer; +} +.btn:hover { + background: #06b058; } \ No newline at end of file