A. Try using a different music app that allows background play while using other applications. Apps like Spotify or Apple Music often have settings to keep music playing in the background.
B. Consider preparing your posts in a separate note-taking app while listening to music, then copy and paste your content into 小红书 when you're ready to post.