style: 调整微信小程序平台适配条件并优化魔方组件逻辑
1. 将MP-WEIXIN平台适配改为通用MP平台适配
2. 重构diy-rubik-cube组件的数据处理逻辑:
- 新增processedList存储处理后的列表数据
- 提取初始化列表逻辑为initList方法
- 新增对value属性的深度监听,动态更新列表
- 将原list计算属性改为直接返回processedList
This commit is contained in:
@@ -240,7 +240,7 @@ export default {
|
||||
right: 28rpx !important;
|
||||
bottom: 200rpx !important;
|
||||
/* #endif */
|
||||
/* #ifdef MP-WEIXIN */
|
||||
/* #ifdef MP */
|
||||
right: 27rpx !important;
|
||||
bottom: 180rpx !important;
|
||||
/* #endif */
|
||||
|
||||
Reference in New Issue
Block a user