Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
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
youjj
cloud-platform-ui
Commits
6d4950a1
Commit
6d4950a1
authored
Jun 28, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
banner地址更换
parent
7b2ac44e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
tourManage.js
src/api/tourManage.js
+6
-5
bannerSetting.vue
src/views/baseInfo/bannerSetting.vue
+1
-0
No files found.
src/api/tourManage.js
View file @
6d4950a1
...
...
@@ -31,20 +31,21 @@ export function getOneGoodsById(query) {
}
/**
* 获取bannerList
// url: '/api/tour/admin/tourBanner/page',
*/
export
function
getBannerList
(
query
)
{
return
fetch
({
url
:
'/api/
tour/admin/tourB
anner/page'
,
url
:
'/api/
app/admin/b
anner/page'
,
method
:
'get'
,
params
:
query
});
}
/**
* 添加banner
* 添加banner
'/api/tour/admin/tourBanner',
*/
export
function
addBanner
(
params
)
{
return
fetch
({
url
:
'/api/
tour/admin/tourBanner
'
,
url
:
'/api/
app/admin/banner/page
'
,
method
:
'post'
,
data
:
params
});
...
...
@@ -54,7 +55,7 @@ export function addBanner(params) {
*/
export
function
editBanner
(
params
)
{
return
fetch
({
url
:
'/api/
tour/admin/tourB
anner'
,
url
:
'/api/
app/admin/b
anner'
,
method
:
'put'
,
data
:
params
});
...
...
@@ -66,7 +67,7 @@ export function editBanner(params) {
*/
export
function
delBanner
(
id
)
{
return
fetch
({
url
:
'/api/
tour/admin/tourBanner/
'
+
id
,
url
:
'/api/
app/admin/banner
'
+
id
,
method
:
'delete'
});
}
...
...
src/views/baseInfo/bannerSetting.vue
View file @
6d4950a1
...
...
@@ -66,6 +66,7 @@
<el-radio
class=
"radio"
v-model=
"form.type"
label=
"0"
>
app首页
</el-radio>
<el-radio
class=
"radio"
v-model=
"form.type"
label=
"1"
>
app旅游页
</el-radio>
<el-radio
class=
"radio"
v-model=
"form.type"
label=
"2"
>
租车
</el-radio>
<el-radio
class=
"radio"
v-model=
"form.type"
label=
"3"
>
会员
</el-radio>
</el-form-item>
<!--BASE_API + -->
<el-form-item
label=
"banner图"
prop=
"cover"
:style=
"{display:'block'}"
>
...
...
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