hookehuyr

fix ie浏览器显示优化

<!--
* @Date: 2024-09-26 13:42:11
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-12-11 14:54:52
* @LastEditTime: 2024-12-11 17:11:01
* @FilePath: /hager/src/components/common/hagerHeader.vue
* @Description: 文件描述
-->
......@@ -363,11 +363,11 @@ export default {
this.show = false;
},
goTo (path) { // 跳转页面
// if (this.$route.path !== path) { // 不能重复点击当前页面
// this.$router.push({
// path,
// });
// }
if (this.$route.path !== path) { // 不能重复点击当前页面
this.$router.push({
path,
});
}
if (path.indexOf('/solution') === -1) { // 不统计解决方案页面
// TAG: 统计埋点
this.maEvent(`h5_${path.slice(1)}`);
......
<!--
* @Date: 2024-09-29 15:49:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-12-09 16:36:59
* @LastEditTime: 2024-12-11 17:21:35
* @FilePath: /hager/src/views/solution/detail.vue
* @Description: 文件描述
-->
......@@ -377,7 +377,7 @@ export default {
display: flex;
flex-wrap: wrap;
// justify-content: space-between; /* 确保子元素之间的空间被均匀分配 */
gap: 1vw;
// gap: 1vw;
&.xs {
display: block;
}
......@@ -391,6 +391,11 @@ export default {
background-color: #fff;
transition: transform 0.3s ease-in-out;
position: relative;
margin-right: 0.75rem;
margin-bottom: 0.75rem;
&:nth-child(3n) {
margin-right: 0;
}
&:hover {
transform: scale(1.05);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
......
<!--
* @Date: 2024-10-18 18:00:47
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-12-11 14:16:50
* @LastEditTime: 2024-12-11 17:36:43
* @FilePath: /hager/src/views/user/info.vue
* @Description: 文件描述
-->
......@@ -27,7 +27,7 @@
</div>
</div>
<el-dialog :title="privacyInfo.post_title" :visible.sync="dialogVisible" top="10vh" width="60%">
<privacy :content="privacyInfo.post_content" style="overflow: overlay; max-height: 70vh;"></privacy>
<privacy :content="privacyInfo.post_content" style="overflow-y: scroll; max-height: 70vh;"></privacy>
</el-dialog>
<el-drawer
......
<!--
* @Date: 2024-10-18 18:00:47
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-12-11 14:15:20
* @LastEditTime: 2024-12-11 17:36:10
* @FilePath: /hager/src/views/user/register.vue
* @Description: 文件描述
-->
......@@ -24,7 +24,7 @@
</div>
</div>
<el-dialog :title="privacyInfo.post_title" :visible.sync="dialogVisible" top="10vh" width="60%">
<privacy :content="privacyInfo.post_content" style="overflow: overlay; max-height: 70vh;"></privacy>
<privacy :content="privacyInfo.post_content" style="overflow-y: scroll; height: 70vh;"></privacy>
</el-dialog>
<el-drawer
......