hookehuyr

feat: 添加默认头像常量

...@@ -122,11 +122,13 @@ ...@@ -122,11 +122,13 @@
122 122
123 <script setup> 123 <script setup>
124 import { ref, computed, onMounted, markRaw } from 'vue' 124 import { ref, computed, onMounted, markRaw } from 'vue'
125 -
126 import { Search2, Notice, Message } from '@nutui/icons-vue-taro' 125 import { Search2, Notice, Message } from '@nutui/icons-vue-taro'
127 import TabBar from '@/components/TabBar.vue' 126 import TabBar from '@/components/TabBar.vue'
128 import { $ } from '@tarojs/extend' 127 import { $ } from '@tarojs/extend'
129 128
129 +// 默认头像
130 +const defaultAvatar = 'https://cdn.ipadbiz.cn/mlaj/images/icon_1.jpeg'
131 +
130 const scrollStyle = ref({ 132 const scrollStyle = ref({
131 height: 'calc(100vh - 500rpx)' 133 height: 'calc(100vh - 500rpx)'
132 }) 134 })
......