Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quasar-web-base
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
Nguyễn Hải Sơn
quasar-web-base
Commits
4b6797a7
Commit
4b6797a7
authored
May 13, 2021
by
Võ Quang Thành Đạt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
6f70d087
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
6 deletions
+33
-6
type.ts
src/assets/type.ts
+17
-5
CategoryPost.ts
src/pages/danh-muc-bai-viet/CategoryPost.ts
+4
-0
index.vue
src/pages/danh-muc-bai-viet/index.vue
+5
-0
index.vue
src/pages/nghe-sy/index.vue
+1
-1
routes.ts
src/router/routes.ts
+6
-0
No files found.
src/assets/type.ts
View file @
4b6797a7
...
@@ -318,12 +318,12 @@ export type Post = {
...
@@ -318,12 +318,12 @@ export type Post = {
id
:
number
;
id
:
number
;
name
:
string
;
name
:
string
;
image
:
string
;
image
:
string
;
category
:
string
;
createBy
:
string
;
createTime
:
string
;
updateBy
:
string
;
updateTime
:
string
;
status
:
number
;
status
:
number
;
category
:
string
;
createBy
?:
string
;
createTime
?:
string
;
updateBy
?:
string
;
updateTime
?:
string
;
};
};
export
type
LanguageType
=
{
export
type
LanguageType
=
{
...
@@ -361,3 +361,15 @@ export type PostDetailType = {
...
@@ -361,3 +361,15 @@ export type PostDetailType = {
updateBy
?:
string
;
updateBy
?:
string
;
updateTime
?:
string
;
updateTime
?:
string
;
};
};
export
type
PostCategoryDetailType
=
{
id
:
number
;
image
:
string
;
status
:
number
;
langs
:
LangType
[];
posts
:
Post
[];
createBy
?:
string
;
createTime
?:
string
;
updateBy
?:
string
;
updateTime
?:
string
;
};
src/pages/danh-muc-bai-viet/CategoryPost.ts
0 → 100644
View file @
4b6797a7
import
{
defineComponent
}
from
'vue'
export
default
defineComponent
({
// name: 'PageName'
})
\ No newline at end of file
src/pages/danh-muc-bai-viet/index.vue
0 → 100644
View file @
4b6797a7
<
template
>
<div>
CategoryPost
</div>
</
template
>
<
script
lang=
"ts"
src=
"./CategoryPost.ts"
></
script
>
src/pages/nghe-sy/index.vue
View file @
4b6797a7
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
<
template
v-slot:body-cell-avatar=
"avatar"
>
<
template
v-slot:body-cell-avatar=
"avatar"
>
<q-td
style=
"padding: 0; height: 100%"
class=
"flex flex-center"
>
<q-td
style=
"padding: 0; height: 100%"
class=
"flex flex-center"
>
<q-img
<q-img
style=
"width: 7rem"
style=
"width: 7rem
; height: 5rem
"
fit=
"contain"
fit=
"contain"
:ratio=
"16 / 9"
:ratio=
"16 / 9"
:src=
"`http://cms.vab.xteldev.com/file/upload/$
{avatar.row.avatar}`"
:src=
"`http://cms.vab.xteldev.com/file/upload/$
{avatar.row.avatar}`"
...
...
src/router/routes.ts
View file @
4b6797a7
...
@@ -13,6 +13,7 @@ export enum Pages {
...
@@ -13,6 +13,7 @@ export enum Pages {
customerRank
=
'xep-hang-khach-hang'
,
customerRank
=
'xep-hang-khach-hang'
,
field
=
'linh-vuc-hoat-dong'
,
field
=
'linh-vuc-hoat-dong'
,
post
=
'bai-viet'
,
post
=
'bai-viet'
,
postCategory
=
'danh-muc-bai-viet'
,
}
}
const
routes
:
RouteRecordRaw
[]
=
[
const
routes
:
RouteRecordRaw
[]
=
[
...
@@ -80,6 +81,11 @@ const routes: RouteRecordRaw[] = [
...
@@ -80,6 +81,11 @@ const routes: RouteRecordRaw[] = [
component
:
()
=>
import
(
'pages/bai-viet/index.vue'
),
component
:
()
=>
import
(
'pages/bai-viet/index.vue'
),
name
:
Pages
.
post
,
name
:
Pages
.
post
,
},
},
{
path
:
'danh-muc-bai-viet'
,
component
:
()
=>
import
(
'pages/danh-muc-bai-viet/index.vue'
),
name
:
Pages
.
postCategory
,
},
],
],
},
},
...
...
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