Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xiaojie
fns_backend
Commits
3a0f005e
Commit
3a0f005e
authored
Oct 27, 2021
by
Zhang Xiaojie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of gitlab.33.cn:CassiniatSaturn/fns_backend into dev
parents
65a2af12
50495fea
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
51 additions
and
17 deletions
+51
-17
.env.normal
.env.normal
+3
-2
.env.platform
.env.platform
+3
-2
package.json
package.json
+2
-2
index.html
public/index.html
+1
-1
App.vue
src/App.vue
+24
-0
adminLogin_bg.jpeg
src/assets/adminLogin_bg.jpeg
+0
-0
adminLogin_bg.png
src/assets/adminLogin_bg.png
+0
-0
login_background.png
src/assets/login_background.png
+0
-0
editor.scss
src/assets/sass/editor.scss
+2
-2
index.vue
src/components/Editor/index.vue
+1
-1
index.vue
src/views/Login/index.vue
+2
-1
detail.vue
src/views/Root/Activity/detail.vue
+1
-1
const.ts
src/views/Root/Home/const.ts
+2
-1
index.vue
src/views/Root/Home/index.vue
+4
-1
detail.vue
src/views/Root/News/detail.vue
+1
-2
tailwind.config.js
tailwind.config.js
+5
-1
No files found.
.env.normal
View file @
3a0f005e
VUE_APP_MODE=normal
\ No newline at end of file
VUE_APP_MODE=normal
NODE_ENV=production
\ No newline at end of file
.env.platform
View file @
3a0f005e
VUE_APP_MODE=platform
\ No newline at end of file
VUE_APP_MODE=platform
NODE_ENV=production
\ No newline at end of file
package.json
View file @
3a0f005e
...
...
@@ -6,8 +6,8 @@
"serve"
:
"vue-cli-service serve"
,
"platform"
:
"vue-cli-service serve --mode platform"
,
"normal"
:
"vue-cli-service serve --mode normal"
,
"buildPlatform"
:
"vue-cli-service build --mode platform"
,
"buildNormal"
:
"vue-cli-service build --mode normal"
,
"buildPlatform"
:
"vue-cli-service build --mode platform
--report
"
,
"buildNormal"
:
"vue-cli-service build --mode normal
--report
"
,
"buildLive"
:
"vue-cli-service build --mode live"
,
"bdPlatform"
:
"npm run buildPlatform & bash deployPlatform.sh"
,
"bdNormal"
:
"npm run buildNormal & bash deployNormal.sh"
,
...
...
public/index.html
View file @
3a0f005e
...
...
@@ -13,7 +13,7 @@
</noscript>
<div
id=
"app"
></div>
<script>
console
.
log
(
'v.0.1.
2
'
);
console
.
log
(
'v.0.1.
6
'
);
</script>
<!-- built files will be auto injected -->
</body>
...
...
src/App.vue
View file @
3a0f005e
...
...
@@ -54,3 +54,26 @@ export default Vue.extend({
},
})
</
script
>
<
style
lang=
"less"
>
.vhtml{
h1 {
font-size: 1.4rem !important;
font-weight: 300 !important;
line-height: 1.5rem !important;
letter-spacing: -0.01562em !important;
}
h2 {
font-size: 1.2rem !important;
font-weight: 300 !important;
line-height: 1.5rem !important;
letter-spacing: -0.01562em !important;
}
h3 {
font-size: 1rem !important;
font-weight: 300 !important;
line-height: 1.5rem !important;
letter-spacing: -0.01562em !important;
}
}
</
style
>
\ No newline at end of file
src/assets/adminLogin_bg.jpeg
0 → 100644
View file @
3a0f005e
285 KB
src/assets/adminLogin_bg.png
deleted
100644 → 0
View file @
65a2af12
This diff is collapsed.
Click to expand it.
src/assets/login_background.png
View replaced file @
65a2af12
View file @
3a0f005e
This image diff could not be displayed because it is too large. You can
view the blob
instead.
src/assets/sass/editor.scss
View file @
3a0f005e
.editor
{
.ProseMirror
{
min-height
:
400px
;
...
...
@@ -6,8 +8,6 @@
outline
:
3px
solid
#68cef8
;
}
position
:
relative
;
max-width
:
70%
;
margin
:
0
auto
5rem
auto
;
&
__content
{
overflow-wrap
:
break-word
;
...
...
src/components/Editor/index.vue
View file @
3a0f005e
<
template
>
<div
class=
"border border-gray-300 p-3 rounded"
>
<EditorMenuBar
:editor=
"editor"
/>
<editor-content
:editor=
"editor"
class=
"editor__content"
/>
<editor-content
:editor=
"editor"
class=
"editor__content
vhtml
"
/>
</div>
</
template
>
...
...
src/views/Login/index.vue
View file @
3a0f005e
...
...
@@ -325,6 +325,6 @@ export default Vue.extend({
background-image
:
url(../../assets/login_background.png)
;
}
.adminlogin_background
{
background-image
:
url(../../assets/adminLogin_bg.
pn
g)
;
background-image
:
url(../../assets/adminLogin_bg.
jpe
g)
;
}
</
style
>
\ No newline at end of file
src/views/Root/Activity/detail.vue
View file @
3a0f005e
...
...
@@ -4,7 +4,7 @@
{{
$route
.
query
.
id
}}
<p
class=
"text-gray-400"
>
操作时间:
{{
time
|
formatDate
}}
</p>
<img
v-if=
"imageUrl"
:src=
"imageUrl"
class=
"mx-auto my-5"
/>
<
p
class=
"text-left p-5"
v-html=
"content"
>
{{
content
}}
</p
>
<
div
class=
"text-left p-5 vhtml"
v-html=
"content"
>
{{
content
}}
</div
>
</div>
</
template
>
...
...
src/views/Root/Home/const.ts
View file @
3a0f005e
export
enum
eBarChart
{
login_dau
=
"login_dau"
,
not_login_dau
=
"total_dau
"
not_login_dau
=
"total_dau"
}
\ No newline at end of file
src/views/Root/Home/index.vue
View file @
3a0f005e
...
...
@@ -131,6 +131,9 @@ export default Vue.extend({
this
.
initEchart
();
this
.
queryRealtime
();
},
beforeDestroy
(){
this
.
myChart
&&
echarts
.
dispose
(
this
.
myChart
)
},
methods
:
{
handleChangeTimeRange
(
e
:
any
)
{
this
.
timeRange
=
e
.
target
!
.
value
;
...
...
@@ -170,7 +173,7 @@ export default Vue.extend({
ret
.
data
.
map
((
data
)
=>
{
// 真实数据
this
.
option
.
series
[
0
].
data
.
push
(
data
.
value
);
this
.
option
.
xAxis
.
data
.
push
(
formatDate
(
data
.
time
));
this
.
option
.
xAxis
.
data
.
push
(
formatDate
(
data
.
time
*
1000
));
});
console
.
log
(
'y'
,
this
.
option
.
series
[
0
].
data
,
'x'
,
this
.
option
.
xAxis
.
data
);
...
...
src/views/Root/News/detail.vue
View file @
3a0f005e
...
...
@@ -2,8 +2,7 @@
<div>
<p
class=
" text-2xl font-bold mb-5 "
>
{{
title
}}
</p>
<p
class=
" text-gray-400"
>
新增时间:
{{
time
|
format
}}
<span
class=
" ml-2"
>
作者:
{{
name
}}
</span></p>
<div
class=
"text-left p-5"
v-html=
"content"
></div>
<!--
<p
class=
"text-left p-5"
>
{{
content
}}
</p>
-->
<div
class=
"text-left p-5 vhtml"
v-html=
"content"
></div>
</div>
</
template
>
...
...
tailwind.config.js
View file @
3a0f005e
const
colors
=
require
(
'tailwindcss/colors'
)
module
.
exports
=
{
purge
:
[],
purge
:
[
'./src/**/*.html'
,
'./src/**/*.js'
,
'./src/**/*.vue'
,
],
presets
:
[],
darkMode
:
false
,
// or 'media' or 'class'
theme
:
{
...
...
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