Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vue-ssr-mobile
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lixy
vue-ssr-mobile
Commits
6edfed9a
Commit
6edfed9a
authored
Sep 07, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
旅游详情
parent
a7db54df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
index.vue
pages/tourDetail/index.vue
+4
-1
No files found.
pages/tourDetail/index.vue
View file @
6edfed9a
...
...
@@ -65,7 +65,7 @@
</ul>
</div>
</div>
<div
id=
"segmentedControlContents"
>
<div>
<!--详细内容-->
<div
id=
"activityIntro"
...
...
@@ -164,12 +164,15 @@
var
weekday
=
[
"周日"
,
"周一"
,
"周二"
,
"周三"
,
"周四"
,
"周五"
,
"周六"
]
user
.
time
.
weekStart
=
weekday
[
user
.
time
.
startWeek
];
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
)
{
return
error
({
message
:
'User not found'
,
statusCode
:
404
})
}
let
noticeData
=
await
axios
.
get
(
'/api/app/cofig/app/unauth/types?types=14'
);
let
notice
=
noticeData
.
data
.
data
;
notice
[
0
].
value
=
notice
[
0
].
value
.
replace
(
/<ul/g
,
"<ul style='width:100% !important;'"
);
return
{
detail
:
user
,
notice
:
notice
}
},
created
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment