Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
traceSourceMb
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
yanyanhong
traceSourceMb
Commits
b08bddac
Commit
b08bddac
authored
Feb 07, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
链查查文案以及banner图修改
parent
0290082e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
47 additions
and
0 deletions
+47
-0
.env.devHL
.env.devHL
+6
-0
.env.prodHL
.env.prodHL
+7
-0
deployHl.sh
deployHl.sh
+20
-0
package.json
package.json
+2
-0
bannerChainSearch.png
src/assets/bannerChainSearch.png
+0
-0
Index-sy.vue
src/views/index/Index-sy.vue
+12
-0
No files found.
.env.devHL
0 → 100644
View file @
b08bddac
VUE_APP_SERVER=/api
VUE_APP_BROWSER=http://120.26.174.69:9032
VUE_APP_NAME=链查查溯源平台
VUE_APP_CATEGORY=sy
VUE_APP_BANNER=bannerChainSearch
\ No newline at end of file
.env.prodHL
0 → 100644
View file @
b08bddac
NODE_ENV=production
VUE_APP_SERVER=/api
VUE_APP_BROWSER=https://cx.chain33.pro
VUE_APP_NAME=链查查溯源平台
VUE_APP_CATEGORY=sy
VUE_APP_BANNER=bannerChainSearch
\ No newline at end of file
deployHl.sh
0 → 100644
View file @
b08bddac
# 1.需要(git )bash
# 2.如没有没pub文件,使用bash本地生成公私钥对: ssh-keygen;
# 3.ssh-copy-id上传公钥到服务器: ssh-copy-id -i C:/Users/dell/.ssh/id_rsa.pub root@47.99.88.168
# 4.测试: test with 'ssh root@47.99.88.168'
# 如果依然需要密码
# vim /etc/ssh/ssh_config
# 修改
# Host *
# RSAAuthentication yes
# PubkeyAuthentication yes
# GSSAPIAuthentication yes
# 其中,RSAAuthentication yes 与 PubkeyAuthentication yes 是本文件的新增内容。
mv
dist tracesourcemb
tar
-czf
tracesourcemb.tar tracesourcemb
rm
-rf
tracesourcemb
scp tracesourcemb.tar root@124.70.129.56:/usr/share/nginx/html/tracesourcemb.tar
rm
-rf
tracesourcemb.tar
ssh root@124.70.129.56
'cd /usr/share/nginx/html && rm -rf tracesourcemb && tar -xzf tracesourcemb.tar && rm -rf tracesourcemb.tar'
echo
'done. 👉 http://124.70.129.56:8994'
\ No newline at end of file
package.json
View file @
b08bddac
...
...
@@ -5,6 +5,8 @@
"scripts"
:
{
"serve:sy"
:
"vue-cli-service serve --mode developmentsy"
,
"serve:cs"
:
"vue-cli-service serve --mode developmentcs"
,
"serve:hl"
:
"vue-cli-service serve --mode devHL"
,
"build:hl"
:
"vue-cli-service build --mode devHL"
,
"build:sytest"
:
"vue-cli-service build --mode testsy"
,
"build:cstest"
:
"vue-cli-service build --mode testcs"
,
"build"
:
"vue-cli-service build --mode productionsy"
,
...
...
src/assets/bannerChainSearch.png
0 → 100644
View file @
b08bddac
57.1 KB
src/views/index/Index-sy.vue
View file @
b08bddac
<
template
>
<div
class=
"index"
>
<van-image
v-if=
"banner === 'bannerChainSearch'"
class=
"banner"
src=
"@/assets/bannerChainSearch.png"
fit=
"contain"
width=
"100%"
></van-image>
<van-image
v-else
class=
"banner"
src=
"@/assets/indexbanner.png"
fit=
"contain"
...
...
@@ -170,6 +178,10 @@ export default class IndexSy extends Mixins(IndexMixin) {
this
.
show
=
true
;
}
private
get
banner
(){
return
process
.
env
.
VUE_APP_BANNER
}
private
async
addFolder
({
folderName
}:
any
)
{
this
.
showAddFolder
=
false
;
await
this
.
$api
.
template
.
addFolder
(
folderName
);
...
...
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