yujialong 5 months ago
parent 5e551daa19
commit 657ac91051
  1. 4
      src/pages/index/list/index.vue
  2. 4
      src/pages/index/show/index.vue
  3. 6
      src/pages/member/index.vue
  4. 170
      src/pages/publish/index.vue
  5. 2
      src/setting.js

@ -1,5 +1,5 @@
<template>
<div class="wrap">
<div v-if="modules.length" class="wrap">
<el-carousel class="carousel fadeInUp" :interval="6000" height="354px"
:arrow="(modules[0] && modules[0].list.filter(e => e.isEnable).length > 1) ? 'hover' : 'never'"
:indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'">
@ -8,7 +8,7 @@
<div class="pic" :style="{ backgroundImage: 'url(' + item.pic + ')' }"></div>
<div class="text-wrap">
<div v-if="!GTA && !i" class="qrcode-wrap">
<img class="qrcode" src="https://www.occupationlab.com/images/mini-program.jpg" alt="">
<img class="qrcode" src="https://occupationlab.com/images/mini-program.jpg" alt="">
<p class="text">扫小程序下单</p>
</div>
<div class="texts">

@ -58,7 +58,7 @@
<li v-for="(tab, i) in tabs" :key="i" :class="{ active: curTab === tab.id }" @click="tabChange(tab)">{{
tab.name }}</li>
</ul>
<div class="courses fadeInUp">
<div class="courses">
<div class="des" v-html="form.mall.detailedIntroduction"></div>
<div class="chapter" id="part1" v-for="(item, i) in chapterList" :key="i">
<div class="chapterName">{{ item.name }}</div>
@ -623,7 +623,7 @@ export default {
margin-left: 24px;
&>h6 {
font-size: 14px;
font-size: 16px;
color: #0b1d30;
}
}

@ -148,7 +148,7 @@ export default {
.reg {
padding-bottom: 50px;
background: url(https://www.occupationlab.com/images/member/1.jpg) 0 0/100% 605px no-repeat;
background: url(https://occupationlab.com/images/member/1.jpg) 0 0/100% 605px no-repeat;
.equity-wrap {
width: 1000px;
@ -161,7 +161,7 @@ export default {
}
.equity {
background: url(https://www.occupationlab.com/images/member/2.jpg) 0 0/100% 100% no-repeat;
background: url(https://occupationlab.com/images/member/2.jpg) 0 0/100% 100% no-repeat;
background-color: #111d42;
border-radius: 24px 18px 18px 18px;
box-shadow: 0 0 20px 4px rgba(0, 16, 42, 0.3);
@ -211,7 +211,7 @@ export default {
left: -34px;
width: 24px;
height: 24px;
background: url(https://www.occupationlab.com/images/member/3.png) 0 0/100% 100% no-repeat;
background: url(https://occupationlab.com/images/member/3.png) 0 0/100% 100% no-repeat;
}
}
}

@ -1,11 +1,7 @@
<template>
<div class="wrap">
<div v-if="info.columnBanner"
class="banner">
<img width="100%"
height="280"
:src="info.columnBanner"
alt="">
<div v-if="info.columnBanner" class="banner">
<img width="100%" height="280" :src="info.columnBanner" alt="">
<div class="texts">
<p class="text">{{ info.columnName }}</p>
<p class="sub">{{ info.subtitle }}</p>
@ -14,23 +10,15 @@
<div class="inner">
<ul class="tabs">
<li v-for="(item, i) in tabs"
:key="i"
:class="{active: active === i}"
@click="tabChange(i)">{{ item }}</li>
<li v-for="(item, i) in tabs" :key="i" :class="{ active: active === i }" @click="tabChange(i)">{{ item }}</li>
</ul>
<ul class="list">
<li v-for="(item, i) in list"
:key="i"
@click="toArtice(item)">
<img class="pic"
:src="item.titleImg"
alt="">
<li v-for="(item, i) in list" :key="i" @click="toArtice(item)">
<img class="pic" :src="item.titleImg" alt="">
<div class="texts">
<h6>{{ item.title }}</h6>
<div v-html="item.quote"
class="des"></div>
<div v-html="item.quote" class="des"></div>
</div>
</li>
</ul>
@ -87,81 +75,95 @@ export default {
<style lang="scss" scoped>
.wrap {
background: #f8f9fb;
background: #f8f9fb;
}
.banner {
position: relative;
height: 280px;
color: #fff;
.texts {
position: absolute;
top: 80px;
left: 243px;
}
.text {
font-size: 48px;
font-weight: 600;
@include ellipsis;
}
.sub {
margin-top: 10px;
font-size: 28px;
}
position: relative;
height: 280px;
color: #fff;
.texts {
position: absolute;
top: 80px;
left: 243px;
}
.text {
font-size: 48px;
font-weight: 600;
@include ellipsis;
}
.sub {
margin-top: 10px;
font-size: 28px;
}
}
.inner {
width: 1200px;
margin: 0 auto;
width: 1200px;
margin: 0 auto;
}
.tabs {
position: relative;
display: flex;
margin-top: -64px;
li {
width: 174px;
line-height: 64px;
text-align: center;
font-size: 18px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
background-color: #fff;
cursor: pointer;
&.active {
color: #fff;
background-color: #1583ff;
}
position: relative;
display: flex;
margin-top: -64px;
li {
width: 174px;
line-height: 64px;
text-align: center;
font-size: 18px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
background-color: #fff;
cursor: pointer;
&.active {
color: #fff;
background-color: #1583ff;
}
}
}
.list {
padding: 0 30px 50px;
background: #fff;
li {
display: flex;
align-items: center;
padding: 28px 0;
border-bottom: 1px solid #ddd;
cursor: pointer;
&:last-child {
border-bottom: 0;
}
}
.pic {
width: 90px;
height: 122px;
margin-right: 20px;
}
h6 {
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #1583ff;
cursor: pointer;
}
.des {
margin-top: 15px;
font-size: 16px;
color: #666;
line-height: 26px;
padding: 0 30px 50px;
background: #fff;
li {
display: flex;
align-items: center;
padding: 28px 0;
border-bottom: 1px solid #ddd;
cursor: pointer;
&:last-child {
border-bottom: 0;
}
}
.pic {
width: 90px;
height: 122px;
margin-right: 20px;
}
h6 {
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #1583ff;
cursor: pointer;
}
.des {
margin-top: 15px;
font-size: 16px;
color: #666;
line-height: 26px;
}
}
</style>

@ -18,7 +18,7 @@ const Setting = {
titleSuffix: '深圳或然科技官网', // 网页标题的后缀
routerMode: "hash", // 路由模式,可选值为 history 或 hash
apiBaseURL: host, // 接口请求地址
huoranApi: `https://www.occupationlab.com`,
huoranApi: `https://occupationlab.com`,
autoLogoutTime: 3600000, // 长时间未操作,自动退出登录时间
modalDuration: 3, // 接口请求返回错误时,弹窗的持续时间,单位:秒
errorModalType: "Message", // 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice

Loading…
Cancel
Save