feat(消息页面): 优化消息列表布局并添加动态高度计算
- 添加@tarojs/extend依赖用于DOM操作 - 为页面元素添加ID便于定位 - 重构消息列表布局,调整列宽和间距 - 实现动态计算滚动区域高度 - 增加更多模拟数据确保滚动效果 - 优化样式表结构和部分样式覆盖
Showing
3 changed files
with
6 additions
and
0 deletions
| ... | @@ -40,6 +40,7 @@ | ... | @@ -40,6 +40,7 @@ |
| 40 | "@nutui/icons-vue-taro": "^0.0.9", | 40 | "@nutui/icons-vue-taro": "^0.0.9", |
| 41 | "@nutui/nutui-taro": "^4.3.13", | 41 | "@nutui/nutui-taro": "^4.3.13", |
| 42 | "@tarojs/components": "4.1.2", | 42 | "@tarojs/components": "4.1.2", |
| 43 | + "@tarojs/extend": "^4.1.3", | ||
| 43 | "@tarojs/helper": "4.1.2", | 44 | "@tarojs/helper": "4.1.2", |
| 44 | "@tarojs/plugin-framework-vue3": "4.1.2", | 45 | "@tarojs/plugin-framework-vue3": "4.1.2", |
| 45 | "@tarojs/plugin-html": "4.1.2", | 46 | "@tarojs/plugin-html": "4.1.2", | ... | ... |
This diff is collapsed. Click to expand it.
| ... | @@ -2098,6 +2098,11 @@ | ... | @@ -2098,6 +2098,11 @@ |
| 2098 | swiper "11.1.15" | 2098 | swiper "11.1.15" |
| 2099 | tslib "^2.6.2" | 2099 | tslib "^2.6.2" |
| 2100 | 2100 | ||
| 2101 | +"@tarojs/extend@^4.1.3": | ||
| 2102 | + version "4.1.3" | ||
| 2103 | + resolved "https://registry.yarnpkg.com/@tarojs/extend/-/extend-4.1.3.tgz#544bfeca4e7e1c123903dbf4dbafbaaad3600a96" | ||
| 2104 | + integrity sha512-59FQgR36XqPGCwCZjaFHpk2BW5aNUbaf3uPOb8e2W8+yHqHJDWbQcGZtM26fb6xhzjb6tm0KS1DCK5T4V1Xtfw== | ||
| 2105 | + | ||
| 2101 | "@tarojs/helper@4.1.2": | 2106 | "@tarojs/helper@4.1.2": |
| 2102 | version "4.1.2" | 2107 | version "4.1.2" |
| 2103 | resolved "https://registry.yarnpkg.com/@tarojs/helper/-/helper-4.1.2.tgz#34d9d0b78be720b94b18ba71adf0622e930ed807" | 2108 | resolved "https://registry.yarnpkg.com/@tarojs/helper/-/helper-4.1.2.tgz#34d9d0b78be720b94b18ba71adf0622e930ed807" | ... | ... |
-
Please register or login to post a comment