Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage-go
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
Tracing
source-trace-manage-go
Commits
36641b18
Commit
36641b18
authored
Jan 03, 2023
by
salitedfish
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 国裕需求更新
parent
e0b87d44
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
64 deletions
+64
-64
Home.vue
src/entry/sy/views/Home.vue
+32
-33
vue.config.js
vue.config.js
+32
-31
No files found.
src/entry/sy/views/Home.vue
View file @
36641b18
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</header>
</header>
<div
class=
"bg-layout"
>
<div
class=
"bg-layout"
>
<div
class=
"bg-content"
>
<div
class=
"bg-content"
>
<span
class=
"bg-content-title"
>
33
复杂美
</span>
<span
class=
"bg-content-title"
>
国裕集团 |
复杂美
</span>
<span
class=
"bg-content-text"
<span
class=
"bg-content-text"
>
核心技术CHAIN33区块链底层开源,构建数字一体化生态体系
</span
>
核心技术CHAIN33区块链底层开源,构建数字一体化生态体系
</span
>
>
...
@@ -194,24 +194,24 @@
...
@@ -194,24 +194,24 @@
<div
class=
"footer-block-in"
>
<div
class=
"footer-block-in"
>
<div
class=
"content-title"
>
公司电话
</div>
<div
class=
"content-title"
>
公司电话
</div>
<div
class=
"content-title-line"
></div>
<div
class=
"content-title-line"
></div>
<div
class=
"content-text"
>
0571-81671360
</div>
<div
class=
"content-text"
>
400-847-8678
</div>
</div>
</div>
</div>
</div>
<div
class=
"footer-block footer-email"
>
<div
class=
"footer-block footer-email"
>
<div
class=
"footer-block-in"
>
<div
class=
"footer-block-in"
>
<div
class=
"content-title"
>
联系邮箱
</div>
<div
class=
"content-title"
>
联系邮箱
</div>
<div
class=
"content-title-line"
></div>
<div
class=
"content-title-line"
></div>
<div
class=
"content-text"
>
support@33.cn
</div>
<div
class=
"content-text"
>
wangximeng@gophagroup.com
</div>
</div>
</div>
</div>
</div>
<div
class=
"footer-block footer-addr"
>
<div
class=
"footer-block footer-addr"
>
<div
class=
"footer-block-in"
>
<div
class=
"footer-block-in"
>
<div
class=
"content-title"
>
联系地址
</div>
<div
class=
"content-title"
>
联系地址
</div>
<div
class=
"content-title-line"
></div>
<div
class=
"content-title-line"
></div>
<div
class=
"content-text"
>
杭州市西湖区东部软件园6号楼702
</div>
<div
class=
"content-text"
>
哈尔滨市平房区松花路九号国裕大厦
</div>
</div>
</div>
</div>
</div>
<div
class=
"footer-block footer-qs"
>
<
!--
<
div
class=
"footer-block footer-qs"
>
<div
class=
"footer-block-in"
>
<div
class=
"footer-block-in"
>
<div
class=
"content-title"
>
商业合作
</div>
<div
class=
"content-title"
>
商业合作
</div>
<div
class=
"content-title-line"
></div>
<div
class=
"content-title-line"
></div>
...
@@ -224,15 +224,15 @@
...
@@ -224,15 +224,15 @@
客服二维码
客服二维码
</div>
</div>
</div>
</div>
</div>
</div>
-->
</div>
</div>
</footer>
</footer>
</div>
</div>
</
template
>
</
template
>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
}
from
"vue-property-decorator"
;
import
{
Component
,
Vue
}
from
"vue-property-decorator"
let
UrlPrefixObj
=
require
(
"@/config/UrlPrefix"
)
;
let
UrlPrefixObj
=
require
(
"@/config/UrlPrefix"
)
@
Component
({})
@
Component
({})
export
default
class
Home
extends
Vue
{
export
default
class
Home
extends
Vue
{
public
featuresContent
=
[
public
featuresContent
=
[
...
@@ -242,8 +242,8 @@ export default class Home extends Vue {
...
@@ -242,8 +242,8 @@ export default class Home extends Vue {
{
text
:
`专业技术支持`
},
{
text
:
`专业技术支持`
},
{
text
:
`全程自定义`
},
{
text
:
`全程自定义`
},
{
text
:
`全程协同合作`
},
{
text
:
`全程协同合作`
},
]
;
]
public
hashText
=
``
;
public
hashText
=
``
// 我们的优势
// 我们的优势
public
ourAdvantages
=
[
public
ourAdvantages
=
[
{
{
...
@@ -282,7 +282,7 @@ export default class Home extends Vue {
...
@@ -282,7 +282,7 @@ export default class Home extends Vue {
title
:
`高安全防护体系`
,
title
:
`高安全防护体系`
,
text
:
`多维度、多层防护确保系统技术安全,保障产品及服务的无系统性风险运作。`
,
text
:
`多维度、多层防护确保系统技术安全,保障产品及服务的无系统性风险运作。`
,
},
},
]
;
]
// 企业独立部署
// 企业独立部署
public
deploys
=
[
public
deploys
=
[
{
{
...
@@ -297,9 +297,9 @@ export default class Home extends Vue {
...
@@ -297,9 +297,9 @@ export default class Home extends Vue {
title
:
`权限交接`
,
title
:
`权限交接`
,
text
:
`现有工作信息一键移交,尽在掌握,操作更简单。`
,
text
:
`现有工作信息一键移交,尽在掌握,操作更简单。`
,
},
},
]
;
]
public
currentDeploy
=
0
;
// 当前选中的企业部署
public
currentDeploy
=
0
// 当前选中的企业部署
public
industryStyle
=
{
public
industryStyle
=
{
style
:
{},
// transform移动
style
:
{},
// transform移动
...
@@ -308,7 +308,7 @@ export default class Home extends Vue {
...
@@ -308,7 +308,7 @@ export default class Home extends Vue {
currentNum
:
0
,
// 当前移动了多少
currentNum
:
0
,
// 当前移动了多少
currentIndex
:
0
,
// 当前显示的最左边是哪个
currentIndex
:
0
,
// 当前显示的最左边是哪个
box
:
3
,
// 一次显示几个盒子
box
:
3
,
// 一次显示几个盒子
}
;
}
// 使用行业
// 使用行业
public
industrys
=
[
public
industrys
=
[
{
{
...
@@ -335,63 +335,63 @@ export default class Home extends Vue {
...
@@ -335,63 +335,63 @@ export default class Home extends Vue {
title
:
`古董字画存证`
,
title
:
`古董字画存证`
,
text
:
`上链后赋予每一件艺术品独一无二的身份信息,即便在交易流转过程中也可进行信息追加,让赝品、仿品无可乘之机,有效保障艺术品交易双方利益。`
,
text
:
`上链后赋予每一件艺术品独一无二的身份信息,即便在交易流转过程中也可进行信息追加,让赝品、仿品无可乘之机,有效保障艺术品交易双方利益。`
,
},
},
]
;
]
public
mounted
()
{
public
mounted
()
{
this
.
industryStyle
.
currentIndex
=
1
;
this
.
industryStyle
.
currentIndex
=
1
}
}
// 左边按钮是否可已点击
// 左边按钮是否可已点击
get
industryLeft
()
{
get
industryLeft
()
{
const
isFlag
=
const
isFlag
=
this
.
industryStyle
.
currentIndex
>=
this
.
industryStyle
.
currentIndex
>=
this
.
industrys
.
length
-
this
.
industryStyle
.
box
+
1
;
this
.
industrys
.
length
-
this
.
industryStyle
.
box
+
1
return
{
return
{
icon
:
!
isFlag
?
``
:
``
,
icon
:
!
isFlag
?
``
:
``
,
style
:
{
color
:
!
isFlag
?
`#EFEFEF`
:
`#9DA0D6`
},
style
:
{
color
:
!
isFlag
?
`#EFEFEF`
:
`#9DA0D6`
},
isFlag
:
isFlag
,
isFlag
:
isFlag
,
}
;
}
}
}
// 右边按钮是否可以点击
// 右边按钮是否可以点击
get
industryRight
()
{
get
industryRight
()
{
const
isFlag
=
this
.
industryStyle
.
currentIndex
<=
1
;
const
isFlag
=
this
.
industryStyle
.
currentIndex
<=
1
return
{
return
{
icon
:
!
isFlag
?
``
:
``
,
icon
:
!
isFlag
?
``
:
``
,
style
:
{
color
:
!
isFlag
?
`#EFEFEF`
:
`#9DA0D6`
},
style
:
{
color
:
!
isFlag
?
`#EFEFEF`
:
`#9DA0D6`
},
isFlag
:
isFlag
,
isFlag
:
isFlag
,
}
;
}
}
}
// 点击轮播切换
// 点击轮播切换
public
nextIndustry
(
type
:
string
)
{
public
nextIndustry
(
type
:
string
)
{
const
industryStyle
=
this
.
industryStyle
;
const
industryStyle
=
this
.
industryStyle
if
(
type
===
`left`
)
{
if
(
type
===
`left`
)
{
if
(
this
.
industryLeft
.
isFlag
)
return
;
if
(
this
.
industryLeft
.
isFlag
)
return
industryStyle
.
currentNum
=
industryStyle
.
currentNum
=
industryStyle
.
currentNum
-
(
industryStyle
.
width
+
industryStyle
.
margin
)
;
industryStyle
.
currentNum
-
(
industryStyle
.
width
+
industryStyle
.
margin
)
industryStyle
.
currentIndex
++
;
industryStyle
.
currentIndex
++
}
else
{
}
else
{
if
(
this
.
industryRight
.
isFlag
)
return
;
if
(
this
.
industryRight
.
isFlag
)
return
industryStyle
.
currentNum
=
industryStyle
.
currentNum
=
industryStyle
.
currentNum
+
(
industryStyle
.
width
+
industryStyle
.
margin
)
;
industryStyle
.
currentNum
+
(
industryStyle
.
width
+
industryStyle
.
margin
)
industryStyle
.
currentIndex
--
;
industryStyle
.
currentIndex
--
}
}
industryStyle
.
style
=
{
industryStyle
.
style
=
{
transform
:
`translateX(
${
industryStyle
.
currentNum
}
px)`
,
transform
:
`translateX(
${
industryStyle
.
currentNum
}
px)`
,
}
;
}
}
}
toLoginPanel
(
isRegister
:
boolean
)
{
toLoginPanel
(
isRegister
:
boolean
)
{
this
.
$router
.
push
(
`/signIn`
)
;
this
.
$router
.
push
(
`/signIn`
)
}
}
public
searchHash
()
{
public
searchHash
()
{
if
(
this
.
hashText
.
trim
()
===
""
)
{
if
(
this
.
hashText
.
trim
()
===
""
)
{
window
.
open
(
UrlPrefixObj
.
model
.
CHAIN_BROWSER_URL_PREFIX
)
;
window
.
open
(
UrlPrefixObj
.
model
.
CHAIN_BROWSER_URL_PREFIX
)
}
else
{
}
else
{
window
.
open
(
window
.
open
(
UrlPrefixObj
.
model
.
CHAIN_BROWSER_URL_PREFIX
+
UrlPrefixObj
.
model
.
CHAIN_BROWSER_URL_PREFIX
+
"product?hash="
+
"product?hash="
+
this
.
hashText
this
.
hashText
)
;
)
}
}
}
}
}
}
...
@@ -968,7 +968,7 @@ export default class Home extends Vue {
...
@@ -968,7 +968,7 @@ export default class Home extends Vue {
}
}
.footer-block {
.footer-block {
color: white;
color: white;
width:
265
px;
width:
310
px;
height: 92px;
height: 92px;
line-height: 92px;
line-height: 92px;
text-align: left;
text-align: left;
...
@@ -1052,4 +1052,3 @@ export default class Home extends Vue {
...
@@ -1052,4 +1052,3 @@ export default class Home extends Vue {
}
}
}
}
</
style
>
</
style
>
vue.config.js
View file @
36641b18
let
UrlPrefixObj
=
require
(
'./src/config/UrlPrefix.js'
)
let
UrlPrefixObj
=
require
(
"./src/config/UrlPrefix.js"
)
module
.
exports
=
{
module
.
exports
=
{
publicPath
:
"./"
,
//相对路径
publicPath
:
"./"
,
//相对路径
outputDir
:
'sy'
,
outputDir
:
"sy"
,
configureWebpack
:
{
configureWebpack
:
{
performance
:
{
performance
:
{
hints
:
'warning'
,
hints
:
"warning"
,
// 入口起点的最大体积
// 入口起点的最大体积
maxEntrypointSize
:
50000000
,
maxEntrypointSize
:
50000000
,
// 生成文件的最大体积
// 生成文件的最大体积
maxAssetSize
:
30000000
,
maxAssetSize
:
30000000
,
// 只给出 js 文件的性能提示
// 只给出 js 文件的性能提示
assetFilter
:
function
(
assetFilename
)
{
assetFilter
:
function
(
assetFilename
)
{
return
assetFilename
.
endsWith
(
'.js'
)
return
assetFilename
.
endsWith
(
".js"
)
}
},
},
},
},
devServer
:
{
},
// port: port,
devServer
:
{
open
:
true
,
// port: port
,
proxy
:
{
open
:
true
,
'^/api'
:
{
proxy
:
{
target
:
'http://172.16.101.87:46790/'
,
"^/api"
:
{
pathRewrite
:
{
// target: 'http://172.16.101.87:46790/',
'^/api'
:
''
,
target
:
"http://183.134.99.140:46790/"
,
},
changeOrigin
:
true
,
pathRewrite
:
{
}
,
"^/api"
:
""
,
},
},
changeOrigin
:
true
,
},
},
},
},
pages
:
{
pages
:
{
index
:
UrlPrefixObj
.
model
.
INDEX
index
:
UrlPrefixObj
.
model
.
INDEX
,
}
},
};
}
\ No newline at end of file
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