Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
rs-pc
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
翟畅
rs-pc
Commits
f2bccce0
提交
f2bccce0
authored
8月 24, 2022
作者:
翟畅
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zc更换域名以及修改bug
上级
2bbbd8c2
隐藏空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
268 行增加
和
14 行删除
+268
-14
.env.development
.env.development
+1
-1
.env.production
.env.production
+1
-1
index.html
public/index.html
+1
-1
sta-join.0.1.0.js
public/sta-join.0.1.0.js
+1
-1
common.js
src/api/common.js
+1
-1
ico-bianji.png
src/assets/index/ico-bianji.png
+0
-0
levitate.vue
src/components/index/levitate.vue
+2
-1
main.js
src/main.js
+2
-2
index.js
src/router/index.js
+6
-0
index.vue
src/views/feedback/index.vue
+226
-0
index.vue
src/views/home/index.vue
+1
-1
index.vue
src/views/marketingService/index.vue
+1
-1
index.vue
src/views/mine/index.vue
+12
-1
index.vue
src/views/pressCenter/index.vue
+8
-1
index.vue
src/views/productsWorld/index.vue
+5
-2
没有找到文件。
.env.development
浏览文件 @
f2bccce0
VUE_APP_URL = "http://
test23.zhongdianyun.com
"
VUE_APP_URL = "http://
117.78.43.107
"
.env.production
浏览文件 @
f2bccce0
VUE_APP_URL = "http://
test23.zhongdianyun.com
"
VUE_APP_URL = "http://
117.78.43.107
"
public/index.html
浏览文件 @
f2bccce0
...
...
@@ -21,7 +21,7 @@
<script
type=
"text/javascript"
src=
"http://api.map.baidu.com/library/SearchInfoWindow/1.5/src/SearchInfoWindow_min.js"
></script>
<script
type=
"text/javascript"
src=
"http://lbsyun.baidu.com/custom/stylelist.js"
></script>
<script
type=
"text/javascript"
>
(
function
()
{
var
sUserAgent
=
navigator
.
userAgent
;
if
(
sUserAgent
.
indexOf
(
'Android'
)
>
-
1
||
sUserAgent
.
indexOf
(
'iPhone'
)
>
-
1
||
sUserAgent
.
indexOf
(
'iPad'
)
>
-
1
||
sUserAgent
.
indexOf
(
'iPod'
)
>
-
1
||
sUserAgent
.
indexOf
(
'Symbian'
)
>
-
1
)
{
location
.
href
=
'http://
test23.zhongdianyun.com
/h5'
;}
else
{}})();
(
function
()
{
var
sUserAgent
=
navigator
.
userAgent
;
if
(
sUserAgent
.
indexOf
(
'Android'
)
>
-
1
||
sUserAgent
.
indexOf
(
'iPhone'
)
>
-
1
||
sUserAgent
.
indexOf
(
'iPad'
)
>
-
1
||
sUserAgent
.
indexOf
(
'iPod'
)
>
-
1
||
sUserAgent
.
indexOf
(
'Symbian'
)
>
-
1
)
{
location
.
href
=
'http://
117.78.43.107
/h5'
;}
else
{}})();
</script>
<style>
...
...
public/sta-join.0.1.0.js
浏览文件 @
f2bccce0
...
...
@@ -28,7 +28,7 @@
let
paySuccess
=
false
window
.
StaClass
=
function
(
params
)
{
let
_this
=
this
;
this
.
basePath
=
"http://
test23.zhongdianyun.com
/statistics/api/"
;
this
.
basePath
=
"http://
117.78.43.107
/statistics/api/"
;
this
.
debug
=
true
;
this
.
explorer
=
getBrowser
();
this
.
etype
=
getEquipment
();
...
...
src/api/common.js
浏览文件 @
f2bccce0
...
...
@@ -125,7 +125,7 @@ export function collectDelAPI(data) { //取消收藏
export
function
saveAgreeAPI
(
data
)
{
//提交意见反馈
return
request
({
url
:
`
${
requestPath
.
commo
n
}
/message/save`
,
url
:
`
${
requestPath
.
admi
n
}
/message/save`
,
method
:
'post'
,
data
})
...
...
src/assets/index/ico-bianji.png
0 → 100644
浏览文件 @
f2bccce0
577 Bytes
src/components/index/levitate.vue
浏览文件 @
f2bccce0
...
...
@@ -28,7 +28,8 @@ export default {
document
.
querySelector
(
".login_case"
).
scrollIntoView
({
behavior
:
"smooth"
,
block
:
"start"
,
inline
:
"start"
})
},
feedback
(){
window
.
open
(
this
.
resourceLink
+
'/fg/index.html#/feedback'
)
this
.
$router
.
push
({
path
:
'/feedback'
})
// window.open(this.resourceLink + '/fg/index.html#/feedback')
}
}
}
...
...
src/main.js
浏览文件 @
f2bccce0
...
...
@@ -23,9 +23,9 @@ Vue.config.productionTip = false;
Vue
.
use
(
ElementUI
);
Vue
.
component
(
"v-distpicker"
,
VDistpicker
);
Vue
.
prototype
.
$filePath
=
"http://
test23.zhongdianyun.com
/file/file/?fileName="
;
Vue
.
prototype
.
$filePath
=
"http://
117.78.43.107
/file/file/?fileName="
;
Vue
.
prototype
.
$linkToRsResource
=
(
path
)
=>
{
window
.
open
(
'http://
test23.zhongdianyun.com
/fg/#'
+
path
,
'_blank'
)
//资源库地址
window
.
open
(
'http://
117.78.43.107
/fg/#'
+
path
,
'_blank'
)
//资源库地址
};
import
Bus
from
"@/utils/bus"
;
Vue
.
use
(
Bus
);
...
...
src/router/index.js
浏览文件 @
f2bccce0
...
...
@@ -92,6 +92,12 @@ const routes = [
meta
:
{
title
:
"与我同行-中国劳动社会保障出版社有限公司"
,
name
:
"mine"
,
shopBg
:
true
,
},
component
:
()
=>
import
(
"@/views/mine/index"
),
},
{
path
:
"/feedback"
,
name
:
"feedback"
,
meta
:
{
title
:
"意见反馈-中国劳动社会保障出版社有限公司"
,
name
:
"feedback"
,
shopBg
:
true
,
},
component
:
()
=>
import
(
"@/views/feedback/index"
),
},
];
const
router
=
new
VueRouter
({
...
...
src/views/feedback/index.vue
0 → 100644
浏览文件 @
f2bccce0
<
template
>
<div>
<!-- 头部 -->
<com-head></com-head>
<!-- banner -->
<div
class=
"bannerContent1"
>
<img
src=
"@/assets/productsWorld/chanpin-banner.png"
alt=
""
>
</div>
<div
class=
"box"
>
<div
class=
"main"
>
<div
class=
"title"
>
意见反馈
</div>
<div
class=
"tip"
>
<img
src=
"@/assets/index/ico-bianji.png"
>
<span>
请留下您的宝贵意见,我们会努力改进。
</span>
</div>
<div
class=
"form_box"
>
<el-form
ref=
"feedback"
:rules=
"rules"
:model=
"feedback"
label-width=
"170px"
>
<!--
<el-form-item
label=
"选择反馈类型:"
class=
"name_item"
>
<el-select
v-model=
"feedback.type"
placeholder=
"请选择"
class=
"sel"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
-->
<el-form-item
prop=
"content"
label=
"反馈内容:"
>
<el-input
type=
"textarea"
style=
"height:200px;width: 930px;"
resize=
"none"
v-model=
"feedback.content"
maxlength=
"300"
show-word-limit
></el-input>
</el-form-item>
<!--
<el-form-item
prop=
"imgList"
label=
"上传截图(选填):"
>
<el-upload
:class=
"
{hidePlay:feedback.imgList.length>2}" :action="`${fileUrl}upload`" list-type="picture-card" :file-list="playFileList" :on-success="handlePlaySuccess" :before-upload="beforeStoreCoverUpload" :on-remove="handlPlayRemove">
<i
class=
"el-icon-plus"
></i>
</el-upload>
</el-form-item>
-->
<el-form-item
prop=
"contactInformation"
label=
"联系方式(选填):"
>
<el-input
v-model
.
trim=
"feedback.contactInformation"
style=
"width:350px"
class=
"feedback_inp"
placeholder=
"请输入手机号或QQ号"
></el-input>
</el-form-item>
<el-form-item
class=
"btn_box"
>
<el-button
class=
"btn save"
@
click=
"feedbackSave"
:loading=
'sending'
>
提交
</el-button>
</el-form-item>
</el-form>
</div>
</div>
</div>
<com-foot></com-foot>
</div>
</
template
>
<
script
>
import
comHeader
from
"@/components/comHeader.vue"
import
comFooter
from
"@/components/comFooter.vue"
import
{
saveAgreeAPI
}
from
'@/api/common'
import
{
fileUrl
}
from
'@/utils/global'
export
default
{
name
:
'feedback'
,
components
:
{
comHead
:
comHeader
,
comFoot
:
comFooter
,
},
data
()
{
return
{
fileUrl
,
sending
:
false
,
feedback
:{
source
:
0
,
type
:
0
,
imgList
:[]
},
playFileList
:[],
options
:[
{
label
:
'功能问题'
,
value
:
0
},
{
label
:
'内容问题'
,
value
:
1
},
{
label
:
'需求建议'
,
value
:
2
},
{
label
:
'其他'
,
value
:
3
},
],
rules
:{
contactInformation
:
[
{
pattern
:
/^
[
0-9
]
*$/
,
message
:
'请输入正确的联系方式'
}
],
content
:[
{
required
:
true
,
max
:
300
,
min
:
5
,
message
:
'请输入5-300字的反馈内容'
}
]
}
}
},
methods
:
{
feedbackSave
(){
this
.
sending
=
true
this
.
$refs
[
'feedback'
].
validate
((
valid
)
=>
{
if
(
valid
){
saveAgreeAPI
(
this
.
feedback
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
){
this
.
$message
.
success
(
'提交成功'
)
this
.
sending
=
false
this
.
playFileList
=
[]
this
.
feedback
=
{
source
:
0
,
type
:
0
,
imgList
:[]
}
this
.
$refs
.
feedback
.
resetFields
()
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
)
this
.
sending
=
false
}
})
}
else
{
this
.
$message
.
warning
(
"有未通过的验证"
);
this
.
sending
=
false
}
})
},
handlePlaySuccess
(
response
,
file
,
fileList
){
this
.
feedback
.
imgList
=
[];
fileList
.
map
((
item
)
=>
{
this
.
feedback
.
imgList
.
push
(
item
.
response
)
})
},
beforeStoreCoverUpload
(
file
){
const
isFile
=
file
.
type
==
'image/jpeg'
||
file
.
type
==
'image/jpg'
||
file
.
type
==
'image/png'
||
file
.
type
==
'image/bmp'
||
file
.
type
==
'image/gif'
const
isLimit
=
file
.
size
/
1024
/
1024
<
2
;
const
imgLength
=
this
.
feedback
.
imgList
.
length
<
3
if
(
!
imgLength
){
this
.
$message
.
error
(
'图片最多可上传3张'
);
}
else
if
(
!
isFile
)
{
this
.
$message
.
error
(
'上传图片仅支持jpg、jpeg、png、gif、bmp格式!'
);
}
else
if
(
!
isLimit
)
{
this
.
$message
.
error
(
'上传图片大小不能超过2MB!'
);
}
return
imgLength
&&
isFile
&&
isLimit
;
},
handlPlayRemove
(
file
,
fileList
){
// 图片集删除
this
.
feedback
.
imgList
=
[];
fileList
.
map
((
item
)
=>
{
this
.
feedback
.
imgList
.
push
(
item
.
response
)
})
},
},
};
</
script
>
<
style
lang=
"less"
scoped
>
.bannerContent1{
width: 100%;
height: 260px;
img{
width: 100%;
height: 100%;
}
}
.sel{
width: 380px;
}
.btn_box{
width: 970px;
text-align: center;
}
.save{
cursor: pointer;
width: 120px;
height: 42px;
display: inline-block;
margin: 60px auto 0;
line-height: 42px;
background: #1C52B7;
border-radius: 5px;
font-size: 16px;
font-family: Microsoft YaHei;
font-weight: bold;
color: #FFFFFF;
text-align: center;
padding: 0;
}
.hidePlay{
/deep/.el-upload--picture-card{
display: none;
}
}
/deep/.el-textarea__inner{
height: 200px;
width: 930px;
}
.form_box{
margin-top: 30px;
}
.box{
width: 100%;
height: 737px;
position: relative;
.main{
width: 1200px;
height: 867px;
background: #FFFFFF;
box-shadow: 0px 0px 22px 0px rgba(31, 31, 30, 0.12);
border-radius: 10px;
position: absolute;
top: -200px;
left: 50%;
transform: translateX(-50%);
box-sizing: border-box;
padding: 38px 30px;
.title{
padding-bottom: 24px;
font-size: 18px;
font-weight: bold;
color: #333333;
border-bottom: 1px solid #F2F2F2;
}
.tip{
display: flex;
justify-content: flex-start;
align-items: center;
font-size: 16px;
font-family: Microsoft YaHei;
font-weight: bold;
color: #333333;
padding-left: 52px;
margin-top: 74px;
img{
margin-right: 10px;
}
}
}
}
</
style
>
src/views/home/index.vue
浏览文件 @
f2bccce0
...
...
@@ -440,8 +440,8 @@ export default {
this
.
bookProduceList
=
res
.
data
.
data
[
0
].
list
.
slice
(
0
,
6
).
reverse
()
this
.
bookProduceList
.
map
((
item
,
index
)
=>
{
this
.
$set
(
item
,
'isShowLabel'
,
false
)
item
.
list
=
item
.
list
.
reverse
()
if
(
item
.
showName
==
'数字产品'
){
item
.
list
=
item
.
list
.
reverse
()
this
.
digitalClassList
=
item
.
list
}
})
...
...
src/views/marketingService/index.vue
浏览文件 @
f2bccce0
...
...
@@ -170,7 +170,7 @@
</el-table-column>
</el-table>
<el-table
:data=
"tableData4"
style=
"width: 100%"
cell-class-name=
"cellNameShow"
:header-cell-style=
"{'background-color': '#4C4D51', 'color': '#fff', 'text-align':'center'}"
v-if=
"currentTabName == '盗版举报'"
>
<el-table-column
label=
"盗版举报信息"
>
<el-table-column
label=
"盗版举报信息"
width=
"600"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
information
}}
</span>
</
template
>
...
...
src/views/mine/index.vue
浏览文件 @
f2bccce0
...
...
@@ -43,7 +43,7 @@
</div>
</div>
</div>
<div
class=
"digitalProduceBottom"
>
<div
class=
"digitalProduceBottom"
v-if=
"recruitmentList && recruitmentList.length>0"
>
<div
class=
"recruitmentCell"
v-for=
"(item,index) in recruitmentList"
:key=
"'re'+index"
@
click=
"toDetailPress(item)"
>
<div
class=
"cellLeft"
>
<span
class=
"bot"
></span>
...
...
@@ -54,6 +54,9 @@
</div>
</div>
</div>
<div
class=
"digitalProduceBottom"
v-else
>
<p
class=
"noneMessage"
>
暂无数据
</p>
</div>
</div>
</div>
...
...
@@ -345,6 +348,14 @@ export default {
</
script
>
<
style
lang=
"less"
scoped
>
.noneMessage{
width: 100%;
height: auto;
color: #fff;
font-size: 16px;
text-align: center;
line-height: 50px;
}
.levitate{
position: fixed;
right: 30px;
...
...
src/views/pressCenter/index.vue
浏览文件 @
f2bccce0
...
...
@@ -111,10 +111,17 @@ export default {
};
},
watch
:{
'$route'
:
'getPath'
// '$route': 'getPath',
'$route.query'
(){
this
.
currentType
=
this
.
$route
.
query
.
clickNum
?
this
.
$route
.
query
.
clickNum
:
1
this
.
listQuery
.
name
=
this
.
$route
.
query
.
name
?
this
.
$route
.
query
.
name
:
null
this
.
listQuery
.
bulletinColumnName
=
this
.
$route
.
query
.
bulletinColumnName
?
this
.
$route
.
query
.
bulletinColumnName
:
'人社要闻'
this
.
getPressNewsList
()
},
},
created
(){
this
.
currentType
=
this
.
$route
.
query
.
clickNum
?
this
.
$route
.
query
.
clickNum
:
1
this
.
listQuery
.
name
=
this
.
$route
.
query
.
name
?
this
.
$route
.
query
.
name
:
null
this
.
listQuery
.
bulletinColumnName
=
this
.
$route
.
query
.
bulletinColumnName
?
this
.
$route
.
query
.
bulletinColumnName
:
'人社要闻'
let
self
=
this
;
window
.
onscroll
=
function
(){
...
...
src/views/productsWorld/index.vue
浏览文件 @
f2bccce0
...
...
@@ -149,10 +149,10 @@
</div>
<div
class=
"itemBottom1"
>
点击进入验证
</div>
</div>
<div
class=
"bannerItem"
@
click=
"openUrl('/fg/
mallIndex/
index.html')"
>
<div
class=
"bannerItem"
@
click=
"openUrl('/fg/index.html')"
>
<div
class=
"itemTop"
>
<img
src=
"@/assets/productsWorld/ico-search.png"
alt=
""
>
<span>
产品检索
</span>
<span>
直通书城
</span>
</div>
<div
class=
"itemBottom2"
>
点击进入
</div>
</div>
...
...
@@ -423,6 +423,9 @@ export default {
homeBookClassListAPI
({
name
:
'电子书分类'
}).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
0
){
this
.
classAllList
=
res
.
data
.
data
[
0
].
list
.
slice
(
0
,
6
).
reverse
()
this
.
classAllList
.
map
((
item
,
index
)
=>
{
item
.
list
=
item
.
list
.
reverse
()
})
}
})
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论