Commit 6edfed9a authored by lixy's avatar lixy

旅游详情

parent a7db54df
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</ul> </ul>
</div> </div>
</div> </div>
<div id="segmentedControlContents"> <div>
<!--详细内容--> <!--详细内容-->
<div <div
id="activityIntro" id="activityIntro"
...@@ -164,12 +164,15 @@ ...@@ -164,12 +164,15 @@
var weekday=["周日","周一","周二","周三","周四","周五","周六"] var weekday=["周日","周一","周二","周三","周四","周五","周六"]
user.time.weekStart = weekday[user.time.startWeek]; user.time.weekStart = weekday[user.time.startWeek];
user.time.weekEnd = weekday[user.time.endWeek]; user.time.weekEnd = weekday[user.time.endWeek];
user.introduce = user.introduce.replace(/<img/g,"<img style='width:100%'");
user.content = user.content.replace(/<img/g,"<img style='width:100%'");
if (!user) { if (!user) {
return error({ message: 'User not found', statusCode: 404 }) return error({ message: 'User not found', statusCode: 404 })
} }
let noticeData = await axios.get('/api/app/cofig/app/unauth/types?types=14'); let noticeData = await axios.get('/api/app/cofig/app/unauth/types?types=14');
let notice = noticeData.data.data; let notice = noticeData.data.data;
notice[0].value = notice[0].value.replace(/<ul/g,"<ul style='width:100% !important;'");
return {detail: user, notice: notice} return {detail: user, notice: notice}
}, },
created() { created() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment