feat: 修复 Redis 超时问题、固定小程序端口、新增人生事件模块及优化多个页面
- 修复 Redis 超时:添加 commons-pool2 依赖,启用 Lettuce 连接池,超时提升至 15s - 固定 mini-program H5 端口为 5175,避免与 web 项目端口冲突 - 新增人生事件(life-event)模块:表单和详情页面 - 新增 EpicScript 灵感接口(Controller/Service/DTO) - 优化登录、引导、主页、记录、剧本详情等多个页面 - 优化服务管理脚本和 Nginx 配置 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
@click="toggleMusic"
|
||||
>
|
||||
<view class="music-disc" :class="{ spinning: isPlaying }"></view>
|
||||
<text class="music-icon">🎵</text>
|
||||
<view class="music-note"></view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -127,8 +127,33 @@ defineExpose({
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.music-icon {
|
||||
font-size: 36rpx;
|
||||
.music-note {
|
||||
position: relative;
|
||||
width: 26rpx;
|
||||
height: 38rpx;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.music-note::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 2rpx;
|
||||
bottom: 0;
|
||||
width: 18rpx;
|
||||
height: 14rpx;
|
||||
border: 5rpx solid rgba(196, 181, 253, 0.86);
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.music-note::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 9rpx;
|
||||
height: 34rpx;
|
||||
border-radius: 6rpx;
|
||||
background: rgba(196, 181, 253, 0.86);
|
||||
box-shadow: 8rpx 3rpx 0 rgba(196, 181, 253, 0.42);
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user