Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
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
front-end-dev
techbook
Commits
7f6a2c13
Commit
7f6a2c13
authored
Nov 19, 2019
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
翻译修改
parent
90860681
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
19 deletions
+21
-19
viewproject.vue
src/views/innovatecompany/lreleaseproject/viewproject.vue
+3
-3
projectdetails.vue
src/views/mobile/projectment/projectdetails.vue
+18
-16
No files found.
src/views/innovatecompany/lreleaseproject/viewproject.vue
View file @
7f6a2c13
...
...
@@ -731,6 +731,9 @@
}
else
{
this
.
isbtn
=
false
;
}
if
(
!
this
.
diven_zh
){
this
.
translate
();
}
}
else
{
this
.
$message
.
error
(
response
.
msgCode
);
}
...
...
@@ -1245,9 +1248,6 @@
console
.
log
(
"提交出错"
);
return
false
;
});
if
(
!
this
.
diven_zh
){
this
.
translate
();
}
},
}
</
script
>
...
...
src/views/mobile/projectment/projectdetails.vue
View file @
7f6a2c13
...
...
@@ -2,21 +2,23 @@
<div
class=
"overfolowWrapper"
>
<breadTop
:title=
"title"
:isSearch=
"false"
:isColor=
"true"
:isReturn=
"true"
:isTranslate=
"true"
></breadTop>
<div
style=
"margin-top: 1rem;background: #5d78ff;text-align: center;color: #FFFFFF;padding-bottom: 0.2rem"
>
<p
style=
"padding: 0.7rem 0 0.4rem;"
>
<img
:src=
"companyInfo.companyLogoUrl?companyInfo.companyLogoUrl:require('../../../assets/img/bigBusiness@2x.png')"
alt=
""
style=
"width: 1.8rem;height: 1.8rem;border-radius: 3px"
>
</p>
<p
style=
"margin-bottom: 0.3rem"
>
{{
companyInfo
.
companyName
}}
</p>
<p
style=
"margin-bottom: 0.3rem"
><span
v-if=
"companyInfo.isTechcodeProject==1"
style=
"padding: 2px 10px;font-size: 12px; border-radius: 10px;background:#FF9E29;"
><i
style=
"font-size: 12px"
class=
"iconfont icon-v"
></i>
{{
$t
(
"listproject.techcertification"
)
}}
</span></p>
<p
style=
"margin-bottom: 0.3rem"
>
<div
style=
"margin: 0 auto;width: 90%"
>
<p
style=
"padding: 0.7rem 0 0.4rem;"
>
<img
:src=
"companyInfo.companyLogoUrl?companyInfo.companyLogoUrl:require('../../../assets/img/bigBusiness@2x.png')"
alt=
""
style=
"width: 1.8rem;height: 1.8rem;border-radius: 3px"
>
</p>
<p
style=
"margin-bottom: 0.3rem"
>
{{
companyInfo
.
companyName
}}
</p>
<p
style=
"margin-bottom: 0.3rem"
><span
v-if=
"companyInfo.isTechcodeProject==1"
style=
"padding: 2px 10px;font-size: 12px; border-radius: 10px;background:#FF9E29;"
><i
style=
"font-size: 12px"
class=
"iconfont icon-v"
></i>
{{
$t
(
"listproject.techcertification"
)
}}
</span></p>
<p
style=
"margin-bottom: 0.3rem"
>
<span
style=
"display: inline-block;"
>
<i
v-if=
"companyInfo.companyNation"
>
{{
companyInfo
.
companyNation
}}
</i>
<i
v-if=
"companyInfo.companyProvince"
>
-
{{
companyInfo
.
companyProvince
}}
</i>
<i
v-if=
"companyInfo.companyCity"
>
-
{{
companyInfo
.
companyCity
}}
</i>
</span>
</p>
<p
style=
"margin-bottom: 0.3rem"
>
{{
companyInfo
.
companyIntroduction
}}
</p>
<p><span
v-for=
"(itemed,index) in companyInfo.companyLabelList"
:key=
"index"
style=
"display: inline-block;"
><i
style=
"background:#4C65E3;padding: 4px 8px;margin-right: 5px;border-radius: 3px;font-size: 12px;line-height: 0.6rem"
>
{{
itemed
}}
</i></span></p>
</p>
<p
style=
"margin-bottom: 0.3rem"
>
{{
companyInfo
.
companyIntroduction
}}
</p>
<p><span
v-for=
"(itemed,index) in companyInfo.companyLabelList"
:key=
"index"
style=
"display: inline-block;"
><i
style=
"background:#4C65E3;padding: 4px 8px;margin-right: 5px;border-radius: 3px;font-size: 12px;line-height: 0.6rem"
>
{{
itemed
}}
</i></span></p>
</div>
</div>
<div
class=
"contentclassed"
>
<div
v-if=
"companyInfo.projectSource!=1"
>
...
...
@@ -127,7 +129,8 @@
title
:
this
.
$t
(
"Otherjson.projectdetails"
),
companyInfo
:
{},
tableData
:[],
isbtntype
:
true
isbtntype
:
true
,
isshow
:
false
}
},
...
...
@@ -138,6 +141,9 @@
api
.
selectProjectById
(
id
).
then
((
res
)
=>
{
if
(
res
.
code
==
0
)
{
this
.
companyInfo
=
res
.
result
;
if
(
this
.
isshow
){
this
.
gettransAxios
();
}
}
else
{
this
.
$toast
(
res
.
msg
);
}
...
...
@@ -196,11 +202,7 @@
globalMsg
.
$on
(
"translateFunc"
,(
data
)
=>
{
this
.
handleTransSBusinessList
(
data
);
})
let
isshow
=
this
.
$i18n
.
locale
==
"zh-CN"
?
false
:
true
;
console
.
log
(
isshow
)
if
(
isshow
){
this
.
gettransAxios
();
}
this
.
isshow
=
this
.
$i18n
.
locale
==
"zh-CN"
?
false
:
true
;
}
}
</
script
>
...
...
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