rose 5 years ago
parent
commit
226f820aeb
  1. 2
      .env
  2. 2
      .env.development
  3. 2
      .env.production
  4. 2
      src/components/HeadNav/HeadNav.vue
  5. 10
      src/components/PlatformList/Fruit.vue
  6. 21
      src/views/Activity/ActDetails.vue
  7. 8
      src/views/FirstPage/FirstPage.vue
  8. 16
      src/views/ItInformation/ItDetails.vue

2
.env

@ -1,3 +1,3 @@
VUE_APP_MODE=production VUE_APP_MODE=production
VUE_APP_PREVIEW=false VUE_APP_PREVIEW=false
VUE_APP_URL=http://www.sxgreenvalley.com/ VUE_APP_URL=http://www.sxgreenvalley.com/green-phone

2
.env.development

@ -1,7 +1,7 @@
VUE_APP_MODE=development VUE_APP_MODE=development
VUE_APP_NODE_ENV=development VUE_APP_NODE_ENV=development
VUE_APP_SCENE=greenvalley VUE_APP_SCENE=greenvalley
VUE_APP_BASE_URL=http://www.sxgreenvalley.com/ VUE_APP_BASE_URL=http://www.sxgreenvalley.com/green-phone
VUE_APP_API_URL=http://www.sxgreenvalley.com/gateway VUE_APP_API_URL=http://www.sxgreenvalley.com/gateway
VUE_APP_PROXY_URL=/gateway VUE_APP_PROXY_URL=/gateway
VUE_APP_PUBLIC_PATH=/ VUE_APP_PUBLIC_PATH=/

2
.env.production

@ -1,7 +1,7 @@
VUE_APP_MODE=production VUE_APP_MODE=production
VUE_APP_NODE_ENV=production VUE_APP_NODE_ENV=production
VUE_APP_SCENE=greenvalley VUE_APP_SCENE=greenvalley
VUE_APP_BASE_URL=http://www.sxgreenvalley.com/ VUE_APP_BASE_URL=http://www.sxgreenvalley.com/green-phone
VUE_APP_API_URL=http://www.sxgreenvalley.com/gateway VUE_APP_API_URL=http://www.sxgreenvalley.com/gateway
VUE_APP_PROXY_URL=/gateway VUE_APP_PROXY_URL=/gateway
VUE_APP_PUBLIC_PATH=/ VUE_APP_PUBLIC_PATH=/

2
src/components/HeadNav/HeadNav.vue

@ -2,7 +2,7 @@
<div> <div>
<div class="white d-flex justify-space-between flex-nowrap px-5 align-center mt-4"> <div class="white d-flex justify-space-between flex-nowrap px-5 align-center mt-4">
<a-icon class="pointer " style="font-size:1.4rem" type="unordered-list" v-show="!showNav" @click=" showNav =true" /> <a-icon class="pointer " style="font-size:1.4rem" type="unordered-list" v-show="!showNav" @click=" showNav =true" />
<a-icon type="close" :size="large" style="font-size:1.4rem" v-show="showNav" @click=" showNav =false" /> <a-icon type="close" style="font-size:1.4rem" v-show="showNav" @click=" showNav =false" />
<img <img

10
src/components/PlatformList/Fruit.vue

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<div class="inner d-flex flex-wrap"> <div class="d-flex flex-wrap">
<div <div
:class="(index + 1) % 4 === 0 ? 'margin-0' : ''" :class="(index + 1) % 4 === 0 ? 'margin-0' : ''"
:key="index" :key="index"
@ -118,13 +118,13 @@ export default {
.item-box { .item-box {
position: relative; position: relative;
width: 41%; width: 45%;
background: #fff; background: #fff;
margin-left: 6%; margin-left: 4%;
border-radius: 4px; border-radius: 4px;
margin-bottom: 40px; margin-bottom: 1rem;
padding: 10px; padding: 10px;
padding-bottom: 60px; padding-bottom: 0.5rem;
} }
.margin-0 { .margin-0 {

21
src/views/Activity/ActDetails.vue

@ -8,7 +8,7 @@
<div v-if="hdDetail !== null"> <div v-if="hdDetail !== null">
<div class="policy-info"> <div class="policy-info">
<div> <div>
<span> <div>
<a-icon <a-icon
class="baseColor" class="baseColor"
style="font-size: 14px; margin-right: 10px" style="font-size: 14px; margin-right: 10px"
@ -18,11 +18,11 @@
{{ hdDetail.releaseTime }} {{ hdDetail.releaseTime }}
<span v-if="hdDetail.closeTime">- {{ hdDetail.closeTime }}</span> <span v-if="hdDetail.closeTime">- {{ hdDetail.closeTime }}</span>
</span> </span>
</span> </div>
<span style="margin-left: 60px"> <div>
<a-icon class="baseColor" style="margin-right: 10px" type="environment" /> <a-icon class="baseColor" style="margin-right: 10px" type="environment" />
<span>{{ hdDetail.address }}</span> <span>{{ hdDetail.address }}</span>
</span> </div>
</div> </div>
<!-- </div> --> <!-- </div> -->
<!-- <div class="policy-info"> --> <!-- <div class="policy-info"> -->
@ -44,7 +44,7 @@
</div> </div>
<a-button <a-button
disabled disabled
style="margin: 50px 25px" style="margin: 50px 25px;width:88%"
v-if="hdDetail.releaseTime && Date.parse(hdDetail.releaseTime) < Date.parse(nowData)" v-if="hdDetail.releaseTime && Date.parse(hdDetail.releaseTime) < Date.parse(nowData)"
>报名已结束</a-button> >报名已结束</a-button>
<enroll <enroll
@ -145,13 +145,16 @@ export default {
} }
.policy-info { .policy-info {
height: 76px; // height: 76px;
line-height: 76px; line-height: 1.3rem;
text-align: center; text-align: left;
padding-left: 1rem
margin-bottom: 1rem
margin-top: 1rem
} }
.policy-content { .policy-content {
padding: 0 25px; padding: 0 1rem;
font-size: 16px; font-size: 16px;
color: rgba(0, 0, 0, 0.65); color: rgba(0, 0, 0, 0.65);
font-weight: 400; font-weight: 400;

8
src/views/FirstPage/FirstPage.vue

@ -16,7 +16,7 @@
</div> </div>
</a-col> --> </a-col> -->
<a-col> <a-col>
<el-carousel :autoplay="false" type="card" height="10rem"> <el-carousel trigger="mousemove" arrow="nerver" indicator-position="none" :autoplay="false" type="card" height="10rem">
<el-carousel-item v-for="server in services" :key="server.id"> <el-carousel-item v-for="server in services" :key="server.id">
<div @click="$router.push(server.path)"> <div @click="$router.push(server.path)">
<img :src="server.url" style="width:30rem;height:10rem" /> <img :src="server.url" style="width:30rem;height:10rem" />
@ -275,6 +275,12 @@ export default {
.hd-news { .hd-news {
background: white; background: white;
} }
/deep/ .el-carousel__arrow--right{
display: none!important
}
/deep/ .el-carousel__arrow--left{
display: none!important
}
</style> </style>

16
src/views/ItInformation/ItDetails.vue

@ -57,12 +57,11 @@ body {
.box { .box {
width: 100%; width: 100%;
position: relative; position: relative;
margin: 80px auto; margin: 0.3rem auto;
background: #fff; background: #fff;
min-height: 1037px;
overflow: hidden; overflow: hidden;
opacity: 1; opacity: 1;
padding-bottom: 480px; padding-bottom: 3rem;
} }
.back-btn { .back-btn {
@ -72,7 +71,7 @@ body {
} }
.policy-title { .policy-title {
height: 120px; height: 90px;
font-size: 24px; font-size: 24px;
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-weight: 400; font-weight: 400;
@ -87,9 +86,12 @@ body {
} }
.policy-info { .policy-info {
height: 76px; // height: 76px;
line-height: 76px; line-height: 1.3rem;
text-align: center; text-align: left;
padding-left: 1rem
margin-bottom: 1rem
margin-top: 1rem
} }
.policy-content { .policy-content {

Loading…
Cancel
Save