首页修改

dev_2022-04-07 V1.2
yujialong 3 years ago
parent 86640155e7
commit 33b353bd86
  1. 8
      src/pages/data/list/index.vue
  2. 6
      src/pages/index/list/index.vue
  3. 17
      src/setting.js

@ -403,9 +403,11 @@ export default {
let endTime = new Date(this.endTime) let endTime = new Date(this.endTime)
let frequency = this.frequency let frequency = this.frequency
// , /**
// ,,1~5, * 只要选择的不是日频,则要判断选择的日期区间有没有包含这段频率对应的完整交易日段
// ,,30; * 比如选的是周频,则判断选择的时间区间有没有包含一段完整的星期交易日,即星期1~5,
* 选的是月频的话,则判断选择的时间区间有没有包含一个完整的月份,即30天;年份同理
*/
if (frequency == 2) { if (frequency == 2) {
let week = [] let week = []
while (startTime <= endTime) { while (startTime <= endTime) {

@ -55,21 +55,21 @@
<img src="@/assets/img/index/index1.png" alt=""> <img src="@/assets/img/index/index1.png" alt="">
<div class="text"> <div class="text">
<h6>平台概览</h6> <h6>平台概览</h6>
<p class="desc">了解数据平台一句话简介</p> <p class="desc">值得信赖的财经数据平台</p>
</div> </div>
</li> </li>
<li :class="{active: active === 2}" @click="toPart(2)"> <li :class="{active: active === 2}" @click="toPart(2)">
<img src="@/assets/img/index/index2.png" alt=""> <img src="@/assets/img/index/index2.png" alt="">
<div class="text"> <div class="text">
<h6>平台特色与优势</h6> <h6>平台特色与优势</h6>
<p class="desc">了解数据平台一句话简介</p> <p class="desc">海量数据轻松下载</p>
</div> </div>
</li> </li>
<li :class="{active: active === 3}" @click="toPart(3)"> <li :class="{active: active === 3}" @click="toPart(3)">
<img src="@/assets/img/index/index20.png" alt=""> <img src="@/assets/img/index/index20.png" alt="">
<div class="text"> <div class="text">
<h6>平台产品介绍</h6> <h6>平台产品介绍</h6>
<p class="desc">了解数据平台一句话简介</p> <p class="desc">便捷操作高效做科研</p>
</div> </div>
</li> </li>
</ul> </ul>

@ -1,10 +1,7 @@
/* /*
* @Author: your name * @Author: Yujialong
* @Date: 2021-11-03 14:33:21 * @Date: 2021-11-03 14:33:21
* @LastEditTime: 2021-12-09 16:18:20 * @LastEditTime: 2021-12-22 09:41:33
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \questionnaired:\code\FE_huoran_data\src\setting.js
*/ */
/** /**
* 业务配置 * 业务配置
@ -22,9 +19,13 @@ const Setting = {
routerMode: 'hash', routerMode: 'hash',
// 页面切换时,是否显示模拟的进度条 // 页面切换时,是否显示模拟的进度条
showProgressBar: true, showProgressBar: true,
// 接口请求地址 /**
// apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://39.108.250.202:9000',// 佳坤 * 接口地址
apiBaseURL: env === 'development' ? 'http://www.dataforward.cn:9000' : 'http://www.dataforward.cn:9000', * 测试http://39.108.250.202:9000
* 正式http://www.dataforward.cn:9000
* */
// apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://39.108.250.202:9000',
apiBaseURL: env === 'development' ? 'http://39.108.250.202:9000' : `${location.origin}:9000`,
// 接口请求返回错误时,弹窗的持续时间,单位:秒 // 接口请求返回错误时,弹窗的持续时间,单位:秒
modalDuration: 3, modalDuration: 3,
// 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice // 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice

Loading…
Cancel
Save