|
|
@@ -1,7 +1,11 @@
|
|
|
import { defineComponent } from 'vue';
|
|
|
import CloseIcon from '@/assets/images/wsyd/sidebar-close-min.png';
|
|
|
+import MobileCloseIcon from '@/assets/images/wsyd/close.png';
|
|
|
+import { judgeIsMobile } from '@/utils';
|
|
|
import './index.wsyd.scss';
|
|
|
|
|
|
+const isMobile = judgeIsMobile();
|
|
|
+
|
|
|
export default defineComponent({
|
|
|
name: 'HomeHotSpotList',
|
|
|
render() {
|
|
|
@@ -16,7 +20,7 @@ export default defineComponent({
|
|
|
<ul></ul>
|
|
|
</div>
|
|
|
<div id="hotListBottom">
|
|
|
- <img id="hotListClose" src={CloseIcon} alt="" />
|
|
|
+ <img id="hotListClose" src={isMobile ? MobileCloseIcon : CloseIcon} alt="" />
|
|
|
</div>
|
|
|
</div>
|
|
|
);
|