mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-09-22 12:52:03 +08:00
feat: 优化组件导入与样式调整
- 在多个组件中将 require 替换为 import,提升代码可读性和一致性。 - 在 App.vue 中添加分类树的 API 请求,优化分类数据的加载逻辑。 - 更新样式以适配 Element Plus 组件,确保界面一致性。 - 删除不再使用的样式文件,简化项目结构。
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<h4>Hi,<span style="margin-left: 5px">{{ userData.nickName }}</span></h4>
|
||||
<img
|
||||
class="shop-logo"
|
||||
:src="userData.storeLogo || require('@/assets/logo1.png')"
|
||||
:src="userData.storeLogo || defaultLogo"
|
||||
alt=""
|
||||
/>
|
||||
</div>
|
||||
@@ -199,6 +199,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import defaultLogo from "@/assets/logo1.png";
|
||||
import { Picture, CreditCard, List, User } from "@element-plus/icons-vue";
|
||||
import { getSellerHomeData, getHomeNotice } from "@/api/index";
|
||||
import { getIMDetail } from "@/api/common";
|
||||
@@ -216,6 +217,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
defaultLogo,
|
||||
noticeFlage: false,
|
||||
homeData: {},
|
||||
userData: "",
|
||||
|
||||
Reference in New Issue
Block a user