公寓详情

This commit is contained in:
A1300399510 2023-07-24 19:44:33 +08:00
parent 44406ee209
commit bbd1bfe6b2
14 changed files with 938 additions and 65 deletions

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="368px" height="368px" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient gradientUnits="userSpaceOnUse" x1="183.8" y1="7233" x2="607" y2="7233" id="LinearGradient52">
<stop id="Stop53" stop-color="#ffffff" offset="0" />
<stop id="Stop54" stop-color="#eff7ff" stop-opacity="0.752941176470588" offset="1" />
</linearGradient>
</defs>
<g transform="matrix(1 0 0 1 -239 -7050 )">
<path d="M 239 7060 A 10 10 0 0 1 249 7050 L 597 7050 A 10 10 0 0 1 607 7060 L 607 7408 A 10 10 0 0 1 597 7418 L 249 7418 A 10 10 0 0 1 239 7408 L 239 7060 Z " fill-rule="nonzero" fill="url(#LinearGradient52)" stroke="none" />
</g>
</svg>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="700px" height="368px" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient gradientUnits="userSpaceOnUse" x1="858" y1="7233" x2="1663" y2="7233" id="LinearGradient59">
<stop id="Stop60" stop-color="#ffffff" offset="0" />
<stop id="Stop61" stop-color="#eff7ff" stop-opacity="0.752941176470588" offset="1" />
</linearGradient>
</defs>
<g transform="matrix(1 0 0 1 -963 -7050 )">
<path d="M 963 7060 A 10 10 0 0 1 973 7050 L 1653 7050 A 10 10 0 0 1 1663 7060 L 1663 7408 A 10 10 0 0 1 1653 7418 L 973 7418 A 10 10 0 0 1 963 7408 L 963 7060 Z " fill-rule="nonzero" fill="url(#LinearGradient59)" stroke="none" />
</g>
</svg>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="421px" height="460px" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="421" y2="460" id="LinearGradient48">
<stop id="Stop49" stop-color="#d0e9ff" offset="0" />
<stop id="Stop50" stop-color="#8080ff" offset="1" />
</linearGradient>
</defs>
<g transform="matrix(1 0 0 1 -193 -7004 )">
<path d="M 0 460 L 0 0 L 171.390710382514 0 C 171.390710382514 0 280.464027860358 102.249999999999 234.655737704918 224.25 C 188.847447549477 346.249999999999 421 460 421 460 L 0 460 Z " fill-rule="nonzero" fill="url(#LinearGradient48)" stroke="none" transform="matrix(1 0 0 1 193 7004 )" />
</g>
</svg>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="579px" height="460px" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="579" y2="460" id="LinearGradient55">
<stop id="Stop56" stop-color="#d0e9ff" offset="0" />
<stop id="Stop57" stop-color="#8080ff" offset="1" />
</linearGradient>
</defs>
<g transform="matrix(1 0 0 1 -913 -7004 )">
<path d="M 0 460 L 0 0 L 302 0 C 302 0 510 94 447 216 C 384 338 579 460 579 460 L 0 460 Z " fill-rule="nonzero" fill="url(#LinearGradient55)" stroke="none" transform="matrix(1 0 0 1 913 7004 )" />
</g>
</svg>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="10px" height="17px" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1 0 0 1 -400 -668 )">
<path d="M 9.82817869415807 1.02204408817635 C 9.94272623138603 1.13560454241817 10 1.26619906479626 10 1.41382765531062 C 10 1.56145624582498 9.94272623138603 1.69205076820307 9.82817869415807 1.80561122244489 L 3.07560137457045 8.5 L 9.82817869415807 15.1943887775551 C 9.94272623138603 15.3079492317969 10 15.438543754175 10 15.5861723446894 C 10 15.7338009352037 9.94272623138603 15.8643954575818 9.82817869415807 15.9779559118236 L 8.96907216494845 16.8296593186373 C 8.8545246277205 16.9432197728791 8.72279495990836 17 8.57388316151203 17 C 8.4249713631157 17 8.29324169530355 16.9432197728791 8.1786941580756 16.8296593186373 L 0.171821305841924 8.89178356713427 C 0.0572737686139748 8.77822311289245 0 8.64762859051436 0 8.5 C 0 8.35237140948564 0.0572737686139748 8.22177688710755 0.171821305841924 8.10821643286573 L 8.1786941580756 0.170340681362726 C 8.29324169530355 0.0567802271209079 8.4249713631157 0 8.57388316151203 0 C 8.72279495990836 0 8.8545246277205 0.0567802271209079 8.96907216494845 0.170340681362726 L 9.82817869415807 1.02204408817635 Z " fill-rule="nonzero" fill="#d7d7d7" stroke="none" transform="matrix(1 0 0 1 400 668 )" />
</g>
</svg>

View File

@ -11,7 +11,6 @@ import store from '@/store/index';
let showLoginModal = ref(false);
watch(() => store.state.showloginmodal, (newValue) => {
console.log("newValue", newValue);
// store.state.showloginmodal = false
if (newValue) init1()
});

View File

@ -29,9 +29,10 @@ axios.interceptors.response.use(
},
// 服务器状态码不是200的情况
error => {
tryHideFullScreenLoading()
if (error.response.status) {
switch (error.response.status) {
// 401: 未登录
// 401: 未登录
case 401:
// goTologin() // 跳转登录页面
store.state.showloginmodal = true

View File

@ -2,6 +2,7 @@ function setSeoTitle(title) {
document.title = '港校租房-' + title
}
// 跳转 url
function redirectToExternalWebsite(url) {
const link = document.createElement('a');
link.href = url;
@ -15,8 +16,21 @@ function goTologin() {
redirectToExternalWebsite(`https://passport.gter.net/?referer=${url}`);
}
// 复制方法
function copyToClipboard(text) {
return new Promise((resolve, reject) => {
navigator.clipboard.writeText(text).then(() => {
resolve()
}).catch((err) => {
reject()
});
});
}
module.exports = {
setSeoTitle,
redirectToExternalWebsite,
goTologin,
copyToClipboard,
}

File diff suppressed because it is too large Load Diff

View File

@ -161,7 +161,7 @@ const init = () => {
count.value = data.count
newmessagenum.value = data.newmessagenum
validityidentity.value = data.validityidentity
});
}).finally(()=>{})
}