售后弹框

master
yujialong 2 years ago
parent 463b34d399
commit a15a923975
  1. 4
      public/index.html
  2. 26
      src/api/index.js
  3. BIN
      src/assets/img/index/customer.jpg
  4. BIN
      src/assets/img/index/index0.png
  5. BIN
      src/assets/img/index/sug.png
  6. BIN
      src/assets/img/index/tel-1.png
  7. BIN
      src/assets/img/index/tel-2.png
  8. BIN
      src/assets/img/index/tel.png
  9. BIN
      src/assets/img/index/top-1.png
  10. BIN
      src/assets/img/index/top.png
  11. BIN
      src/assets/img/index/wechat-1.png
  12. BIN
      src/assets/img/index/wechat.png
  13. 13
      src/pages/account/login/index.vue
  14. 151
      src/pages/index/list/index.vue
  15. 15
      src/setting.js

@ -3,9 +3,11 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="keywords" content="数据前瞻,数据平台,金融数据,宏观数据,行业经济数据">
<meta name="description" content="数据前瞻涵盖股票数据,期货数据,债券数据,期权数据,利率数据,公募数据和宏观数据,拥有超40年的历史数据,可为您解读、预测、分析,模拟市场趋势、经济周期和世界事件影响提供必要的数据支持。我们的数据均来源于各大专业财经权威网站和数据官方发布平台,并经过专业的数据分类和整理,可让用户轻松便捷地搜索并批量下载到自己研究所需的数据,极大地减轻自己搜索整理数据的时间,提高研究效率, 从而高效的输出研究成果。"/>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<link rel="stylesheet" href="//at.alicdn.com/t/font_830376_qzecyukz0s.css"> <link rel="stylesheet" href="//at.alicdn.com/t/font_830376_qzecyukz0s.css">
<title>数据前瞻</title> <title>数据前瞻——海量,真实,易用,动态更新的财经数据库</title>
</head> </head>
<body> <body>
<noscript> <noscript>

@ -14,8 +14,8 @@ export default {
market: `/topic/market`, market: `/topic/market`,
getTopList: `${Setting.cryptoBaseURL}currency/market/getTopList`, getTopList: `${Setting.cryptoBaseURL}currency/market/getTopList`,
platformLogList: `nakadai/log/platformLogList`, platformLogList: `nakadai/nakadai/log/platformLogList`,
logNotification: `nakadai/log/logNotification`, logNotification: `nakadai/nakadai/log/logNotification`,
// 公用接口 // 公用接口
queryProvince: `nakadai/nakadai/province/queryProvince`, queryProvince: `nakadai/nakadai/province/queryProvince`,
queryCity: `nakadai/nakadai/city/queryCity`, queryCity: `nakadai/nakadai/city/queryCity`,
@ -36,10 +36,10 @@ export default {
// 用户管理 // 用户管理
saveUser: `users/users/data/user/save`, saveUser: `users/users/data/user/save`,
getDetailByAccount: `occupationlab/architecture/getDetailByAccount`, getDetailByAccount: `occupationlab/occupationlab/architecture/getDetailByAccount`,
getUserList: `users/users/data/user/getUserList`, getUserList: `users/users/data/user/getUserList`,
getUserTotalBySchoolId: `users/users/data/user/getUserTotalBySchoolId`, getUserTotalBySchoolId: `users/users/data/user/getUserTotalBySchoolId`,
checkAccount:`occupationlab/architecture/checkWorkNumOrAccount`, checkAccount:`occupationlab/occupationlab/architecture/checkWorkNumOrAccount`,
getDetail:`users/users/data/user/getDetail`, getDetail:`users/users/data/user/getDetail`,
modifyUser:`users/users/data/user/modify`, modifyUser:`users/users/data/user/modify`,
export_failure:`${host}users/users/data/user/export_failure`, export_failure:`${host}users/users/data/user/export_failure`,
@ -52,23 +52,23 @@ export default {
examinePassword: `users/users/userAccount/examinePassword`, examinePassword: `users/users/userAccount/examinePassword`,
isClient: `${host}users/users/user/isClient`, isClient: `${host}users/users/user/isClient`,
deleteProfile: `users/users/userInfo/deleteProfile`, deleteProfile: `users/users/userInfo/deleteProfile`,
checkEmailOrPhone: `occupationlab/architecture/checkEmailOrPhone`, checkEmailOrPhone: `occupationlab/occupationlab/architecture/checkEmailOrPhone`,
accountIsDisabled: `users/users/user/accountIsDisabled`, accountIsDisabled: `users/users/user/accountIsDisabled`,
userTemplate: `http://39.108.250.202/template/%E6%95%B0%E6%8D%AE%E5%B9%B3%E5%8F%B0%E7%94%A8%E6%88%B7%E5%AF%BC%E5%85%A5%E6%A8%A1%E6%9D%BF.xlsx`, userTemplate: `http://121.37.12.51/template/%E6%95%B0%E6%8D%AE%E5%B9%B3%E5%8F%B0%E7%94%A8%E6%88%B7%E5%AF%BC%E5%85%A5%E6%A8%A1%E6%9D%BF.xlsx`,
// 角色管理 // 角色管理
batchRemove:`users/role/batchRemove`, batchRemove:`users/users/role/batchRemove`,
getRole:`users/role/obtainDetails`, getRole:`users/users/role/obtainDetails`,
getName:`data/data/role/getName`, getName:`data/data/role/getName`,
listRole:`users/role/list`, listRole:`users/users/role/list`,
removeRole:`data/data/role/remove`, removeRole:`data/data/role/remove`,
saveOrUpdate:`users/role/saveOrUpdate`, saveOrUpdate:`users/users/role/saveOrUpdate`,
getPermissions:`users/user-role/getUserRolesPermissionMenu`, getPermissions:`users/users/user-role/getUserRolesPermissionMenu`,
// 权限菜单管理 // 权限菜单管理
doAssign:`data/data/permission/doAssign`, doAssign:`data/data/permission/doAssign`,
queryAllMenus:`users/users/permission/queryAllMenus`, queryAllMenus:`users/users/permission/queryAllMenus`,
savePer:`users/user-role/rolePermissionService`, savePer:`users/users/user-role/rolePermissionService`,
toAssign:`data/data/permission/toAssign`, toAssign:`data/data/permission/toAssign`,
// 表展示 // 表展示
@ -83,7 +83,7 @@ export default {
downloadAgain:`data/data/downloadAgain`, downloadAgain:`data/data/downloadAgain`,
isDownload:`data/data/product/isDownload`, isDownload:`data/data/product/isDownload`,
getTableTime:`data/data/tableTime/getTableTime`, getTableTime:`data/data/tableTime/getTableTime`,
getLevel: `data/category/getLevel`, getLevel: `data/data/category/getLevel`,
multipleTablePreview: `data/data/multipleTablePreview`, multipleTablePreview: `data/data/multipleTablePreview`,
// 数据操作记录 // 数据操作记录

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 919 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 543 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 977 B

@ -207,18 +207,18 @@ export default {
}, },
// //
getSchool() { getSchool() {
const schoolList = util.local.get('schoolList') // const schoolList = util.local.get('schoolList')
if (schoolList && schoolList.length) { // if (schoolList && schoolList.length) {
this.setSchool(schoolList) // this.setSchool(schoolList)
} else { // } else {
this.$get(this.api.querySchool, { this.$get(this.api.querySchool, {
provinceId: '', provinceId: '',
cityId: '' cityId: ''
}).then(({ list }) => { }).then(({ list }) => {
this.setSchool(list) this.setSchool(list)
util.local.set('schoolList', list) // util.local.set('schoolList', list)
}).catch(res => {}) }).catch(res => {})
} // }
}, },
// //
typeClick(tab) { typeClick(tab) {
@ -457,6 +457,7 @@ export default {
const { workNumber, schoolId } = this.form const { workNumber, schoolId } = this.form
if (this.binding) { if (this.binding) {
this.$post(this.api.bindPhoneOrEmail, { this.$post(this.api.bindPhoneOrEmail, {
mark: 2,
phone, phone,
types: 2, types: 2,
code: phoneCode, code: phoneCode,

@ -1,12 +1,13 @@
<template> <template>
<div class="wrap" :class="{index: !keyword, result: keyword}"> <div class="wrap" :class="{index: !keyword, result: keyword}">
<img class="screen" src="@/assets/img/index/index0.png" alt="首页">
<div class="banner"> <div class="banner">
<video class="video" ref="video" autoplay muted loop> <video class="video" ref="video" autoplay muted loop>
<source src="@/assets/video/sky.mp4" type="video/mp4"> <source src="@/assets/video/sky.mp4" type="video/mp4">
您的浏览器不支持 video 标签 您的浏览器不支持 video 标签
</video> </video>
<div class="banner-inner"> <div class="banner-inner">
<div class="title" v-if="!keyword">准确多元海量数据</div> <div class="banner-title" v-if="!keyword">准确多元海量数据</div>
<div class="search-wrap"> <div class="search-wrap">
<div class="search"> <div class="search">
<input ref="keyword" v-model="keyword" type="text" placeholder="请输入关键词"> <input ref="keyword" v-model="keyword" type="text" placeholder="请输入关键词">
@ -231,6 +232,40 @@
<el-button size="small" type="primary" @click="confirmDown">确定</el-button> <el-button size="small" type="primary" @click="confirmDown">确定</el-button>
</span> </span>
</el-dialog> </el-dialog>
<div class="tool">
<div class="item wechat"></div>
<div class="popup wechat-popup">
<p class="tips">微信扫码添加职站售前咨询</p>
<p class="des">提供付费咨询及解决方案</p>
<img width="150" src="@/assets/img/index/customer.jpg" alt="">
</div>
<div class="item tel"></div>
<div class="popup tel-popup">
<div class="tel-inner">
<div class="line">
<div>
<img class="icon" src="@/assets/img/index/tel-2.png" alt="">
</div>
<div class="text">
<p class="title">售前咨询</p>
<p class="tel-num" style="margin-bottom: 5px">刘兰</p>
<p class="tel-num">18019930142</p>
</div>
</div>
<div class="line">
<div>
<img class="icon" src="@/assets/img/index/sug.png" alt="">
</div>
<div class="text">
<p class="title" @click="toQues">咨询建议与反馈</p>
<p class="des">您的每一条建议声音我们都认真对待</p>
</div>
</div>
</div>
</div>
<div class="item topping" @click="topping"></div>
</div>
</div> </div>
</template> </template>
@ -390,6 +425,15 @@ export default {
this.active = i this.active = i
document.querySelector(`#part${i}`).scrollIntoView() document.querySelector(`#part${i}`).scrollIntoView()
}, },
//
topping() {
document.documentElement.scrollTop = 0
document.body.scrollTop = 0
},
//
toQues() {
window.open('https://www.wjx.cn/vm/wB0RcMm.aspx')
},
preview(row) { preview(row) {
// //
if(this.token){ if(this.token){
@ -572,6 +616,10 @@ export default {
.wrap{ .wrap{
position: relative; position: relative;
background-color: #F3F6FA; background-color: #F3F6FA;
.screen {
position: absolute;
top: -1000px;
}
.banner{ .banner{
position: relative; position: relative;
height: 518px; height: 518px;
@ -586,7 +634,7 @@ export default {
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
} }
.title{ .banner-title{
margin-bottom: 37px; margin-bottom: 37px;
font-size: 45px; font-size: 45px;
color: #fff; color: #fff;
@ -998,4 +1046,103 @@ export default {
overflow: auto; overflow: auto;
} }
} }
.tool {
z-index: 10;
position: fixed;
bottom: 100px;
right: 30px;
.item {
width: 45px;
height: 45px;
margin-bottom: 10px;
border: 1px solid #e5e5e5;
cursor: pointer;
}
.wechat {
background: #fff url(../../../assets/img/index/wechat.png) center center/auto no-repeat;
&:hover {
background-image: url(../../../assets/img/index/wechat-1.png);
background-color: #006EFF;
& + .popup {
display: block;
}
}
}
.tel {
background: #fff url(../../../assets/img/index/tel.png) center center/auto no-repeat;
&:hover {
background-image: url(../../../assets/img/index/tel-1.png);
background-color: #006EFF;
& + .popup {
display: block;
}
}
}
.topping {
background: #fff url(../../../assets/img/index/top.png) center center/auto no-repeat;
&:hover {
background-image: url(../../../assets/img/index/top-1.png);
background-color: #006EFF;
}
}
.popup {
position: absolute;
display: none;
}
.wechat-popup {
top: -100px;
left: -230px;
padding: 20px;
text-align: center;
background-color: #fff;
box-shadow: 0px 0px 7px 0px rgba(203, 203, 203, 0.55);
.tips {
font-size: 14px;
}
.des {
margin: 5px 0 15px;
font-size: 12px;
color: #333;
}
}
.tel-popup {
top: -10px;
left: -250px;
width: 250px;
border-right: 20px solid transparent;
&:hover {
display: block;
}
.tel-inner {
padding: 20px;
background-color: #fff;
box-shadow: 0px 0px 7px 0px rgba(203, 203, 203, 0.55);
}
.line {
display: flex;
&:first-child {
margin-bottom: 20px;
}
}
.text {
margin-left: 15px;
}
.title {
margin-bottom: 5px;
font-size: 14px;
cursor: pointer;
&:hover {
color: #006EFF;
}
}
.tel-num {
font-size: 12px;
color: #006EFF;
}
.des {
font-size: 12px;
color: #686868;
}
}
}
</style> </style>

@ -7,7 +7,12 @@
* 业务配置 * 业务配置
* */ * */
const env = process.env.NODE_ENV; const url = location.host
const dev = process.env.NODE_ENV === 'development' // 本地
let host = `${location.origin}/`
if (dev) {
host = 'http://121.37.12.51/'
}
const Setting = { const Setting = {
/** /**
@ -21,11 +26,11 @@ const Setting = {
showProgressBar: true, showProgressBar: true,
/** /**
* 接口地址 * 接口地址
* 测试http://39.108.250.202:9000 * 测试http://121.37.12.51
* 正式http://www.dataforward.cn:9000 * 正式https://www.dataforward.cn
* */ * */
// apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://39.108.250.202:9000', // apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://121.37.12.51',
apiBaseURL: env === 'development' ? 'http://39.108.250.202:9000/' : `${location.origin}:9000/`, apiBaseURL: host,
// 加密货币接口地址 // 加密货币接口地址
cryptoBaseURL: `http://159.138.53.111/`, cryptoBaseURL: `http://159.138.53.111/`,
// 接口请求返回错误时,弹窗的持续时间,单位:秒 // 接口请求返回错误时,弹窗的持续时间,单位:秒

Loading…
Cancel
Save