Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
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
marketing-web
marketing
Commits
d31c6892
Commit
d31c6892
authored
May 11, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
60a6d7d3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
81 additions
and
0 deletions
+81
-0
game.js
src/router/modules/game.js
+29
-0
form.vue
src/views/game/cmh/form.vue
+35
-0
index.vue
src/views/game/cmh/index.vue
+17
-0
info.vue
src/views/game/cmh/info.vue
+0
-0
No files found.
src/router/modules/game.js
View file @
d31c6892
...
...
@@ -219,6 +219,35 @@ export default {
meta
:
{
path
:
'/game/klfl'
}
},
{
path
:
'cmh'
,
name
:
'拆盲盒列表'
,
component
:
()
=>
import
(
/* webpackChunkName: "game" */
'../../views/game/cmh/index.vue'
)
},
{
path
:
'cmh/add'
,
name
:
'新建拆盲盒'
,
component
:
()
=>
import
(
/* webpackChunkName: "game" */
'../../views/game/cmh/form.vue'
),
meta
:
{
type
:
'add'
}
},
{
path
:
'cmh/edit/:id'
,
name
:
'编辑拆盲盒'
,
component
:
()
=>
import
(
/* webpackChunkName: "game" */
'../../views/game/cmh/form.vue'
),
meta
:
{
type
:
'edit'
}
},
{
path
:
'cmh/info/:id'
,
name
:
'查看拆盲盒'
,
component
:
()
=>
import
(
/* webpackChunkName: "game" */
'../../views/game/cmh/info.vue'
),
meta
:
{
type
:
'info'
}
}
]
};
src/views/game/cmh/form.vue
0 → 100644
View file @
d31c6892
<
template
>
<swiper
:slides-per-view=
"3"
:space-between=
"50"
@
swiper=
"onSwiper"
@
slideChange=
"onSlideChange"
>
<swiper-slide>
Slide 1
</swiper-slide>
<swiper-slide>
Slide 2
</swiper-slide>
<swiper-slide>
Slide 3
</swiper-slide>
...
</swiper>
</
template
>
<
script
>
// Import Swiper Vue.js components
import
{
Swiper
,
SwiperSlide
}
from
'swiper/vue/swiper-vue.js'
;
// Import Swiper styles
// import 'swiper/swiper-bundle.min.css';
import
'swiper/swiper.min.css'
;
export
default
{
components
:
{
Swiper
,
SwiperSlide
},
setup
()
{
const
onSwiper
=
swiper
=>
{
console
.
log
(
swiper
);
};
const
onSlideChange
=
()
=>
{
console
.
log
(
'slide change'
);
};
return
{
onSwiper
,
onSlideChange
};
}
};
</
script
>
src/views/game/cmh/index.vue
0 → 100644
View file @
d31c6892
<
template
>
<section
class=
"dm-wrap"
v-loading=
"loading"
>
<div
class=
"gameIntro"
></div>
</section>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
loading
:
false
};
}
};
</
script
>
<
style
></
style
>
src/views/game/cmh/info.vue
0 → 100644
View file @
d31c6892
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