Browse Source

分成4个模块

master
mk 1 year ago
parent
commit
cdae3f9870
  1. 1
      yifengdian-company-report/src/router/index.js
  2. 59
      yifengdian-company-report/src/views/home.vue
  3. 1
      yifengdian-company-report/yifengdian-company-report/css/513.e9c34058.css
  4. 1
      yifengdian-company-report/yifengdian-company-report/css/about.db809f71.css
  5. 1
      yifengdian-company-report/yifengdian-company-report/css/app.719aad32.css
  6. 1
      yifengdian-company-report/yifengdian-company-report/css/chunk-vendors.fda3ab26.css
  7. BIN
      yifengdian-company-report/yifengdian-company-report/favicon.ico
  8. BIN
      yifengdian-company-report/yifengdian-company-report/fonts/FZZhengHeiS-B-GB.6a8450ab.ttf
  9. BIN
      yifengdian-company-report/yifengdian-company-report/fonts/Impact.32438d38.ttf
  10. BIN
      yifengdian-company-report/yifengdian-company-report/fonts/pingfang-bold.fb41d2e5.ttf
  11. BIN
      yifengdian-company-report/yifengdian-company-report/fonts/pingfang-ordinary.2268eadc.ttf
  12. BIN
      yifengdian-company-report/yifengdian-company-report/img/header.842403ba.png
  13. BIN
      yifengdian-company-report/yifengdian-company-report/img/loginBg.81e89f9d.png
  14. BIN
      yifengdian-company-report/yifengdian-company-report/img/table_header.216e77b1.png
  15. 1
      yifengdian-company-report/yifengdian-company-report/index.html
  16. 2
      yifengdian-company-report/yifengdian-company-report/js/513.6e30ac74.js
  17. 1
      yifengdian-company-report/yifengdian-company-report/js/513.6e30ac74.js.map
  18. 2
      yifengdian-company-report/yifengdian-company-report/js/about.02ae9282.js
  19. 1
      yifengdian-company-report/yifengdian-company-report/js/about.02ae9282.js.map
  20. 2
      yifengdian-company-report/yifengdian-company-report/js/app.b6610b85.js
  21. 1
      yifengdian-company-report/yifengdian-company-report/js/app.b6610b85.js.map
  22. 284
      yifengdian-company-report/yifengdian-company-report/js/chunk-vendors.2782d621.js
  23. 1
      yifengdian-company-report/yifengdian-company-report/js/chunk-vendors.2782d621.js.map

1
yifengdian-company-report/src/router/index.js

@ -14,7 +14,6 @@ const router = new VueRouter({
router.beforeEach((to,from,next)=>{
if(to.fullPath=="/vegetableDetails"){
if(from.fullPath=="/login"){
console.log("155");
next()
}
else(

59
yifengdian-company-report/src/views/home.vue

@ -8,7 +8,7 @@
</div>
</div>
<section class="container">
<div class="card">
<div class="card" v-if="pageType === 'vegetable'">
<div class="title">
<span>移风菜篮子 <span>单位</span></span>
<div @click="$router.push('/vegetable')">
@ -38,7 +38,7 @@
</section>
</div>
</div>
<div class="card m-top10">
<div class="card m-top10" v-if="pageType === 'bazaar'">
<div class="title">
<span>今日市场 <span>单位/公斤</span></span>
<div @click="$router.push('/bazaar')">
@ -54,7 +54,7 @@
<section style="overflow: hidden;">
<vue-seamless-scroll :class-option="optionHover" :data="priceList">
<div class="scroll-content">
<div class="flex flex-mean item" v-for="(item, index) in priceList" :key="'price' + index">
<div class="flex flex-mean item" v-for="(item,index ) in priceList" :key="'price' + index">
<div class="flex1 van-ellipsis">{{ item.Name }} </div>
<div class="flex1 van-ellipsis">{{ item.price }} </div>
<div class="vegetable-item-row2 flex1 van-ellipsis">{{ item.jzrPrice }}
@ -63,7 +63,6 @@
<img v-if="item.jzrPrice < 0 && item.jzrPrice != '暂无'" src="@/assets/down.png" alt=""
style="width: 11px;height: 15px;">
</div>
</div>
</div>
@ -71,7 +70,7 @@
</section>
</div>
</div>
<div class="card m-top10">
<div class="card m-top10" v-if="pageType === 'news'">
<div class="title">
<span>政策资讯</span>
<span @click="$router.push('/policy')">更多 <img class="img-12" src="@/assets/images/home/right.png"
@ -90,13 +89,13 @@
</div>
</div>
</section>
<div class="container1">
<!-- <div class="container1">
<div class="movable-area" @touchstart="onMovableStart" @touchmove="onMovableMove" @touchend="onMovableEnd" >
<div class="movable-view" :style="{ left: x + 'px', top: y + 'px' }">
<img @click="$router.push('/login')" src="@/assets/images/home/shangbao.gif" class="draggable" alt="draggable image">
</div>
</div>
</div>
</div> -->
</div>
</template>
<script>
@ -124,23 +123,20 @@ export default {
times: this.$moment().subtract(1, 'days').format('yyyy-MM-DD'),
optionHover: {
step: 1, //
limitMoveNum: 5, // this.dataList.length
limitMoveNum: 20, // this.dataList.length
hoverStop: true, // stop
direction: 1, // 0 1 2 3
openWatch: true, // dom
openWatch: false, // dom
singleHeight: 0, // (0) direction => 0/1
singleWidth: 0, // (0) direction => 2/3
waitTime: 2000, // (1000ms)
},
vegetableList: [
],
vegetableList: [],
policyList:[],
priceList: [
],
priceList: [],
dayList: [],
tDayList: [],
pageType:null,
dragging: false,
startX: 0,
startY: 0,
@ -149,13 +145,33 @@ export default {
};
},
created() {
if(this.$route.query.type){
this.pageType = this.$route.query.type;
}
this.getDayScData()
this.seedNewsScreenList()
},
mounted(){
setTimeout(()=>{
console.log(this.priceList);
},5000)
},
watch:{
$route: {
handler: function (newVal, oldVal) {
if(newVal.query.type){
this.pageType = this.$route.query.type;
}
},
deep: true,
immediate: true,
},
},
methods: {
seedNewsScreenList(){
seedNewsScreenList({}).then((res) => {
this.policyList = res.data.data.slice(0,2)
this.policyList = res.data.data
console.log(this.policyList,"564698");
})
},
@ -265,11 +281,11 @@ export default {
...this.params,
FEndDate: this.times,
FStartDate: this.times
}).then((res1) => {
}).then( (res1) => {
console.log(res1.data, "15216516516");
if (res1.data.priceslist.length > 0) {
this.priceList = this.getScData(this.dayList, res1.data.priceslist)
console.log(this.priceList);
this.priceList = this.getScData(this.dayList, res1.data.priceslist)
console.log(this.priceList,'seeeeee');
} else {
this.times = this.$moment(this.times)
.subtract(1, 'days')
@ -356,9 +372,9 @@ export default {
}
.scroll-box {
height: 225px;
max-height: calc(100vh - 210px);
min-height: calc(100vh - 200px);
overflow: hidden;
.scroll-title {
height: 45px;
background: url('@/assets/images/home/table_header.png') no-repeat;
@ -369,7 +385,6 @@ export default {
}
.scroll-content {
height: 225px;
overflow: hidden;
.item {

1
yifengdian-company-report/yifengdian-company-report/css/513.e9c34058.css

@ -0,0 +1 @@
.login-container[data-v-2fd36564]{width:100%;height:100vh}.form-box[data-v-2fd36564]{height:calc(100vh - 380px);background:#fff;position:relative;border-radius:24px 24px 0 0;padding:60px 0 60px 30px;top:-120px}.input-icon[data-v-2fd36564]{position:relative;top:12px;left:18px;width:24px;height:24px;z-index:10}.input-field[data-v-2fd36564]{height:46px;width:calc(100% + 46px);left:-28px;line-height:46px;background:#e8f0fe;font-size:18px;border-radius:23px;padding:0 18px 0 58px;border:0}.input-box[data-v-2fd36564]{display:flex;width:100%;margin-bottom:48px}.header[data-v-2fd36564]{position:relative;top:-28px;height:190px;padding:119px 0 0 30px;background:url(/yifengdian-company-report/img/loginBg.81e89f9d.png) no-repeat;background-size:100% 100%;font-family:PingFang SC;font-weight:700;font-size:22px;color:#fff;line-height:30px}.login-btn[data-v-2fd36564]{width:calc(100% - 30px);padding:10px;height:42px;background:#0089f0;border-radius:21px;font-size:16px;background-color:#007bff;color:#fff;border:none;cursor:pointer}.register-btn[data-v-2fd36564]{background-color:#6c757d;text-decoration:none;margin-top:16px}

1
yifengdian-company-report/yifengdian-company-report/css/about.db809f71.css

File diff suppressed because one or more lines are too long

1
yifengdian-company-report/yifengdian-company-report/css/app.719aad32.css

@ -0,0 +1 @@
blockquote,body,button,dd,dl,dt,fieldset,h1,h2,h3,h4,h5,h6,hr,input,lengend,li,ol,p,pre,td,textarea,th,ul{margin:0;padding:0}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50;background:hsla(0,0%,76%,.16)}@font-face{font-family:pingfang-bold;src:url(/yifengdian-company-report/fonts/pingfang-bold.fb41d2e5.ttf);src:url(/yifengdian-company-report/fonts/pingfang-bold.fb41d2e5.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:pingfang-ordinary;src:url(/yifengdian-company-report/fonts/pingfang-ordinary.2268eadc.ttf);src:url(/yifengdian-company-report/fonts/pingfang-ordinary.2268eadc.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:fangzheng-bold;src:url(/yifengdian-company-report/fonts/FZZhengHeiS-B-GB.6a8450ab.ttf);src:url(/yifengdian-company-report/fonts/FZZhengHeiS-B-GB.6a8450ab.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Impact;src:url(/yifengdian-company-report/fonts/Impact.32438d38.ttf);src:url(/yifengdian-company-report/fonts/Impact.32438d38.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}body #app,html{color:#333;background-color:#f7f7f7;font-family:pingfang-ordinary}#app{font-size:16px;background-size:100% auto}.mr10{margin-right:10px}.jcsb{justify-content:space-between}.aic{align-items:center}.container{padding:10px}.gray{color:#aaa}.blue{color:#2984c9}.yellow{color:#ff9805}.border-btn{border-top:1px solid #e0e9f5}.border-btn-yellow{border-bottom:1px solid #e0e9f5}.card{background-color:#fff;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.3);padding:13px;box-sizing:border-box;width:auto}.card .title{display:flex;justify-content:space-between;align-items:center;position:relative}.card .title:after{content:"";width:3px;height:15px;background:#0089f0;border-radius:2px;position:absolute;left:-13px;top:5px}.card .title :first-child{font-family:pingfang-bold;font-size:17px}.card .title :first-child :first-child{font-size:14px;color:#666;font-family:pingfang-ordinary}.card .title :nth-child(2){color:#b4b4b4;font-size:14px}.flex{display:flex}.flex1{flex:1}.flex-x{flex-direction:row}.flex-y{flex-direction:column}.flex-center1{justify-content:center}.flex-center2{align-items:center}.flex-center3{align-items:flex-start}.flex-mean{justify-content:space-around}.flex-end{justify-content:space-between}.flex-fend{justify-content:flex-end}.m-left12{margin-left:12px}.m-left18{margin-left:18px}.m-left25{margin-left:25px}.m-right12{margin-right:12px}.m-right7{margin-right:7px}.m-top12{margin-top:12px}.m-top5{margin-top:5px}.m-bot5{margin-bottom:5px}.m-bot12{margin-bottom:12px}.m-top18{margin-top:18px}.m-top10{margin-top:10px}.m-bot10{margin-bottom:10px}.m-right4{margin-right:4px}.m-right15{margin-right:15px}.p-18{padding:0 18px}.font-size13{font-size:13px}.font-size14{font-size:14px}.font-size17{font-size:17px}.font-size24{font-size:24px}.tag-date{margin:0 10px}.text-blue{color:#3e92ff}.pages{width:100%;background-color:#f7f7f7;height:100vh;overflow-y:scroll}.rounded-corner{border-radius:20px}.opacity5{opacity:.5}.text-anign-center{text-align:center}.text-anign-left{text-align:left}.text-anign-right{text-align:right}.small_img{width:15px;height:17px}.bto_btn{position:fixed;bottom:5px;left:0;background:#fff;width:100%;padding:6px 26px;box-sizing:border-box;text-align:right}.font-bold{font-weight:700}.font-pingfangB{font-family:pingfang-bold}.img-12{width:12px;height:12px}.img-13{width:13px;height:13px}.img-15{width:15px;height:15px}.img-20{width:20px;height:20px}.required{position:relative}.required:after{content:"*";position:absolute;left:-10px;top:0;color:red}.text-center{text-align:center}.footer{position:fixed;bottom:0;left:0;width:100%}.bg-fff,.footer{background-color:#fff}

1
yifengdian-company-report/yifengdian-company-report/css/chunk-vendors.fda3ab26.css

File diff suppressed because one or more lines are too long

BIN
yifengdian-company-report/yifengdian-company-report/favicon.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
yifengdian-company-report/yifengdian-company-report/fonts/FZZhengHeiS-B-GB.6a8450ab.ttf

Binary file not shown.

BIN
yifengdian-company-report/yifengdian-company-report/fonts/Impact.32438d38.ttf

Binary file not shown.

BIN
yifengdian-company-report/yifengdian-company-report/fonts/pingfang-bold.fb41d2e5.ttf

Binary file not shown.

BIN
yifengdian-company-report/yifengdian-company-report/fonts/pingfang-ordinary.2268eadc.ttf

Binary file not shown.

BIN
yifengdian-company-report/yifengdian-company-report/img/header.842403ba.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 KiB

BIN
yifengdian-company-report/yifengdian-company-report/img/loginBg.81e89f9d.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

BIN
yifengdian-company-report/yifengdian-company-report/img/table_header.216e77b1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

1
yifengdian-company-report/yifengdian-company-report/index.html

@ -0,0 +1 @@
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/yifengdian-company-report/favicon.ico"><title>数字移风</title><script defer="defer" src="/yifengdian-company-report/js/chunk-vendors.2782d621.js"></script><script defer="defer" src="/yifengdian-company-report/js/app.b6610b85.js"></script><link href="/yifengdian-company-report/css/chunk-vendors.fda3ab26.css" rel="stylesheet"><link href="/yifengdian-company-report/css/app.719aad32.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but company_report doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

2
yifengdian-company-report/yifengdian-company-report/js/513.6e30ac74.js

File diff suppressed because one or more lines are too long

1
yifengdian-company-report/yifengdian-company-report/js/513.6e30ac74.js.map

File diff suppressed because one or more lines are too long

2
yifengdian-company-report/yifengdian-company-report/js/about.02ae9282.js

File diff suppressed because one or more lines are too long

1
yifengdian-company-report/yifengdian-company-report/js/about.02ae9282.js.map

File diff suppressed because one or more lines are too long

2
yifengdian-company-report/yifengdian-company-report/js/app.b6610b85.js

File diff suppressed because one or more lines are too long

1
yifengdian-company-report/yifengdian-company-report/js/app.b6610b85.js.map

File diff suppressed because one or more lines are too long

284
yifengdian-company-report/yifengdian-company-report/js/chunk-vendors.2782d621.js

File diff suppressed because one or more lines are too long

1
yifengdian-company-report/yifengdian-company-report/js/chunk-vendors.2782d621.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save