fix: 调整开发环境API配置并修复活动描述HTML渲染问题
- 更新service.config.ts,启用内网测试API地址并注释外网测试地址
- 修改ActivityInfo.vue组件,使用v-html渲染活动描述以支持HTML内容展示
| | |
| | | export const serviceConfig: Record<ServiceEnvType, Record<string, string>> = { |
| | | dev: { |
| | | // url: 'http://localhost:3000', |
| | | // url: 'http://221.182.45.100:8000', |
| | | url: 'http://221.182.45.100:8000', |
| | | // url: 'http://rt-admin.test.xiaopeng.local', |
| | | url: 'https://rt-api.deploy-test.xiaopeng.com', |
| | | // url: 'https://rt-api.deploy-test.xiaopeng.com', |
| | | }, |
| | | production: { |
| | | url: 'https://rt-admin.deploy-test.xiaopeng.com', |
| | |
| | | </div> |
| | | <div class="info-item col-span-3 items-start"> |
| | | <span class="label shrink-0">活动说明:</span> |
| | | <span class="value">{{ basicInfo.desc }}</span> |
| | | <span class="value"> |
| | | <div v-html="basicInfo.desc" /> |
| | | </span> |
| | | </div> |
| | | <div class="info-item col-span-3 items-start"> |
| | | <span class="label shrink-0">活动封面图:</span> |