nvue直播间需要调整分享样式

This commit is contained in:
bobobobo
2026-02-03 00:45:33 +08:00
parent 10ceb6b476
commit ae36c4cf10
393 changed files with 753 additions and 147 deletions

View File

@@ -62,3 +62,35 @@ export const getFontSize = () => {
export const removeFontSize = () => {
return uni.removeStorageSync(STORAGE_KEYS.FONT_SIZE)
}
/** 保存好友列表 */
export const setFriendList = v => {
return uni.setStorageSync(STORAGE_KEYS.FRIEND_LIST, JSON.stringify(v))
}
/** 获取好友列表 */
export const getFriendList = () => {
const list = uni.getStorageSync(STORAGE_KEYS.FRIEND_LIST)
return list ? JSON.parse(list) : []
}
/** 删除好友列表 */
export const removeFriendList = () => {
return uni.removeStorageSync(STORAGE_KEYS.FRIEND_LIST)
}
/** 保存群列表 */
export const setGroupList = v => {
return uni.setStorageSync(STORAGE_KEYS.GROUP_LIST, JSON.stringify(v))
}
/** 获取群列表 */
export const getGroupList = () => {
const list = uni.getStorageSync(STORAGE_KEYS.GROUP_LIST)
return list ? JSON.parse(list) : []
}
/** 删除群列表 */
export const removeGroupList = () => {
return uni.removeStorageSync(STORAGE_KEYS.GROUP_LIST)
}