12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274 |
- <template>
- <view>
- <!-- 头部图片 -->
- <view class="banner">
- <img src="/static/img/banner1.jpg" alt="">
- </view>
- <!-- 选项列表 -->
- <view class="option-list">
- <view class="list-item" @click="scanCode">
- <view class="icon iconfont" style="background-color:#59d96e;">
- 
- </view>
- <view class="text">
- 扫码充电
- </view>
- </view>
- <view class="list-item" @click="fastRecharge">
- <view class="icon iconfont" style="background-color:#4BD2C0;">
- 
- </view>
- <view class="text">
- 快速充值
- </view>
- </view>
- <view class="list-item" @click="chargingRecord">
- <view class="icon iconfont" style="background-color: #6FA5FF;">
- 
- </view>
- <view class="text">
- 充电记录
- </view>
- </view>
- <view class="list-item">
- <view class="icon iconfont" style="background-color: #9D9FFF;">
- 
- </view>
- <view class="text">
- 附近站点
- </view>
- </view>
- </view>
- <!-- 站点 -->
- <!-- <view class="station">
- <view class="img-box">
- <img src="/static/img/Frame 198 (1).png" alt="">
- </view>
- <view class="text">
-
- <view class="station-title">
- <text class="title-left">快充</text>
- <text class="title-right">荆沙大道救助站充电站</text>
- </view>
-
- <view class="station-price">
- <view class="price-left">1.25</view>
- <view class="price-right">
- 起 元/度
- </view>
- </view>
-
- <view class="park">
- <text class="park-p">p</text>
- <text class="park-text">2小时免费停车</text>
- </view>
- <view class="count">
- <view class="count-left">空闲10/总数10</view>
- <view class="count-right"><text class="iconfont"></text>10公里</view>
- </view>
- </view>
- </view> -->
- <!-- 定位 -->
- <view class="location-box">
- <view class="location">
- <view class="location-text">
- <view class="text-1">
- 定位中...
- </view>
- <view class="text-2">
- 授权定位后可查询附近充电站
- </view>
- <view class="text-3" @click="getPoint()">
- 重新定位
- </view>
- </view>
- <view class="img-box">
- <img src="/static/img/暂无网络信号-缺省页 1.png">
- </view>
- </view>
- </view>
- <!-- 充电状态 -->
- <!-- <view class="state1 state">
- <view class="state-text">
- <view class="text-1">
- 排队中
- </view>
- <view class="text-2">
- 前方等待两位
- </view>
- <view class="text-3">
- 荆鹏软件园充电站/1号有序充电桩
- </view>
- </view>
- <view class="img-box">
- <img src="/static/img/等待中-缺省页.png">
- </view>
- </view> -->
- <!-- <view class="state2 state">
- <view class="state-text">
- <view class="text-1" style="color: green">
- 充电中
- </view>
- <view class="text-2">
- 前方等待两位
- </view>
- <view class="text-3">
- 荆鹏软件园充电站/1号有序充电桩
- </view>
- </view>
- <view class="img-box">
- <img src="/static/img/充电中-缺省页.png">
- </view>
- </view> -->
- <!-- <view class="state3 state">
- <view class="state-text">
- <view class="text-1" style="color: red;">
- 已充满
- </view>
- <view class="text-2" style="color: red;">
- 超出时间将收取占位费
- </view>
- <view class="text-3">
- 荆鹏软件园充电站/1号有序充电桩
- </view>
- </view>
- <view class="img-box">
- <img src="/static/img/已充满-缺省页.png">
- </view>
- </view> -->
- <!-- 充值活动 -->
- <view class=" top-up">
- <view class="top-up-title"><text class="line"></text>充值活动</view>
- <view class="img-box">
- <view class="img-1" @click="rechargeActivity">
- <img src="/static/img/瓷片区1.png" alt="">
- <view class="img-text">
- 充100送20
- <view class="img-text2">即充即赠 立享优惠</view>
- </view>
- </view>
- <view class="img-1">
- <img src="/static/img/瓷片区2.png" alt="">
- <view class="img-text" style="color: #FF7C00;">
- 邀请有礼
- <view class="img-text2 color">最高可得500元</view>
- </view>
- </view>
- </view>
- </view>
- <!-- 新闻 -->
- <view class="news-title">
- <view class="news-title-left">
- <view class="line" style="margin-top:4px;"></view>新闻公告
- </view>
- <view class="more" @click="toNewsNotice">更多<view class="more-icon iconfont"> </view>
- </view>
- </view>
- <view class="news">
- <view class="news-content" @click="gotoUrl('pages/article/articleDetails?id=')">
- <view class="content-text">
- 日印计划联手开发低成本充电桩 推动新兴市场电动车发展
- <view class="news-time">05-01 09:00</view>
- </view>
- <view class="content-img">
- <img src="/static/img/11091323191.jpg" alt="">
- </view>
- </view>
- <view class="news-content">
- <view class="content-text">
- 我国新能源汽车市场腾飞在即,充换电何时能够不再“拖后腿”?
- <view class="news-time">05-01 09:00</view>
- </view>
- <view class="content-img">
- <img src="/static/img/103613441.jpg" alt="">
- </view>
- </view>
- <view class="news-content">
- <view class="content-text">
- 新疆建成首个充电桩实验室
- <view class="news-time">05-01 09:00</view>
- </view>
- <view class="content-img">
- <img src="/static/img/180023631.jpg" alt="">
- </view>
- </view>
- </view>
- <view class="bottom" v-if="newsList.length == recordsTotal">
- <view class="bot">
- <view class="bot-line"></view>
- <view class="bot-text">已经到底了</view>
- <view class="bot-line"></view>
- </view>
- </view>
- <!-- 导航栏 -->
- <view class="navigation">
- <!-- <view class="nav-items">
- <view class="nav-icon iconfont ">
- 
- </view>
- <view class="nav-text">主页</view>
- </view>
- <view class="nav-items">
- <view class="nav-icon iconfont"></view>
- <view class="nav-text">找桩</view>
- </view>
- <view class="nav-items">
- <view class="nav-icon iconfont"></view>
- <view class="nav-text">我的</view>
- </view> -->
- <!-- 登录提示 -->
- <view class="login-prompt" v-if="userId.length == 0">
- 登录显示更多会员服务
- <text class="button" @click="toLogin">登录/注册</text>
- </view>
- <Tabbar :current="0"></Tabbar>
- </view>
-
- </view>
- </template>
- <script>
- import * as Api from '@/apis/index.js'
- import * as newsApi from '@/apis/news.js'
- import * as WxJsApi from '@/utils/wxJsApi.js'
- import MapLoader from '@/utils/AMap'
- import Tabbar from '@/components/Tabbar.vue'
- export default {
- components: {
- Tabbar
- },
- data() {
- return {
- activityList: [],
- userId: '',
- newsList: [],
- pageIndex: 1,
- recordsTotal: 0,
- longitude: '',
- latitude: '',
- message: '',
- }
- },
- onReachBottom() {
- if (this.newsList.length < this.recordsTotal) {
- this.myLoadmore();
- }
- },
- onReady() {
- if (this.carhelp.getPersonInfo().id != null) {
- this.userId = this.carhelp.getPersonInfo().id;
- }
- WxJsApi.getWxConfig(['getLocation', 'addEventListener', 'scanQRCode']).then((res) => {
- // console.log(res)
- }).catch(error => {
- console.log(res)
- })
- this.getPoint();
- this.getNewsList();
- this.getActivityInfoList();
- },
- methods: {
- toLogin() {
- uni.redirectTo({
- url: '/pages/login/login'
- })
- },
- toNewsNotice() {
- uni.navigateTo({
- url: '/pages/article/newsNotice'
- })
- },
- //微信扫二维码
- scanCode() {
- if (this.userId != '') {
- WxJsApi.scanQRCode(1).then(res => {
- }).catch(error => {
- })
- } else {
- uni.redirectTo({
- url: '/pages/login/login'
- })
- }
- },
- fastRecharge() {
- if (this.userId != '') {
- this.gotoUrl('pages/user/finance/recharge?id=' + this.userId)
- } else {
- uni.redirectTo({
- url: '/pages/login/login'
- })
- }
- },
- chargingRecord() {
- if (this.userId != '') {
- this.gotoUrl('pages/user/finance/rechargeList?id=' + this.userId)
- } else {
- uni.redirectTo({
- url: '/pages/login/login'
- })
- }
- },
- rechargeActivity() {
- if (this.userId != '') {
- this.gotoUrl('pages/user/finance/recharge?id=' + this.userId)
- } else {
- uni.redirectTo({
- url: '/pages/login/login'
- })
- }
- },
- getActivityInfoList() {
- },
- getPoint() {
- WxJsApi.getLocation().then((res) => {
- this.latitude = parseFloat(res.latitude);
- this.longitude = parseFloat(res.longitude);
- this.message = res.errMsg;
- if (res.errMsg != 'getLocation:ok') {
- uni.showToast({
- title: JSON.stringify(res)
- })
- }
- }).catch(error => {
- uni.showToast({
- title: JSON.stringify(error)
- })
- })
- },
- getNewsList(bl) {
- uni.showLoading({
- title: "加载中",
- mask: true,
- })
- if (bl) {
- this.newsList = [];
- this.pageIndex = 1;
- }
- uni.hideLoading();
- },
- myLoadmore() {
- this.pageIndex += 1;
- this.getNewsList()
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- // 头部图片
- img {
- width: 100%;
- height: 100%;
- }
- .banner {
- width: 100%;
- height: 300px;
- }
- // 选项列表
- .option-list {
- padding-top: 18px;
- width: 343px;
- height: 100px;
- line-height: 20px;
- border-radius: 8px;
- text-align: center;
- background-color: #fff;
- position: absolute;
- top: 260px;
- left: 0;
- right: 0;
- margin: auto;
- display: flex;
- justify-content: space-around;
- .list-item {
- // 图标
- .icon {
- width: 40px;
- height: 40px;
- border-radius: 99px;
- line-height: 40px;
- font-size: 24px;
- text-align: center;
- margin: auto;
- color: #ffffff;
- }
- }
- }
- // 站点
- .station {
- // width: 343px;
- height: 120px;
- margin-top: 70px;
- padding-top: 20px;
- padding: 0 12px;
- position: relative;
- .img-box {
- width: 100%;
- height: 100%;
- border-radius: 8px;
- overflow: hidden;
- }
- img {
- width: 100%;
- height: 100%;
- }
- .text {
- position: absolute;
- top: 0;
- left: 20px;
- // 头部
- .station-title {
- display: flex;
- margin-top: 12px;
- .title-left {
- display: inline-block;
- height: 20px;
- width: 44px;
- // margin-left: 12px;
- line-height: 20px;
- border-radius: 50px;
- background-color: rgba(133, 140, 255, 100);
- color: rgba(255, 255, 255, 100);
- font-size: 12px;
- text-align: center;
- font-family: Arial;
- }
- .title-right {
- display: inline-block;
- margin-left: 4px;
- margin-top: 2px;
- width: 271px;
- height: 16px;
- line-height: 16px;
- color: rgba(16, 16, 16, 100);
- font-size: 16px;
- text-align: left;
- font-family: AlibabaPuHui-regular;
- }
- }
- // 价格
- .station-price {
- margin-top: 4px;
- display: flex;
- .price-left {
- width: 40px;
- height: 20px;
- color: rgba(255, 98, 0, 100);
- font-size: 20px;
- text-align: left;
- font-family: Roboto-medium;
- }
- .price-right {
- height: 20px;
- line-height: 20px;
- margin-left: 2px;
- margin-top: 3px;
- color: rgba(102, 102, 102, 100);
- font-size: 14px;
- text-align: left;
- font-family: AlibabaPuHui-regular;
- }
- }
- // park
- .park {
- margin-top: 4px;
- display: flex;
- .park-p {
- display: inline-block;
- width: 20px;
- height: 18px;
- line-height: 12px;
- text-align: center;
- background-color: rgba(125, 177, 255, 100);
- color: #fff;
- }
- .park-text {
- display: inline-block;
- width: 300px;
- height: 17px;
- color: rgba(102, 102, 102, 100);
- font-size: 12px;
- text-align: left;
- margin-left: 2px;
- margin-top: 2px;
- }
- }
- // 数量
- .count {
- margin-top: 12px !important;
- width: 96%;
- display: flex;
- justify-content: space-between;
- }
- }
- }
- //定位
- .location {
- background-color: #ffffff;
- height: 120px;
- display: flex;
- margin: 70px auto 0;
- border-radius: 8px;
- border: #F2F4F4 1px;
- .location-text {
- padding: 24px 28px;
- .text-1 {
- height: 16px;
- line-height: 16px;
- color: rgba(16, 16, 16, 100);
- font-size: 16px;
- text-align: left;
- }
- .text-2 {
- height: 17px;
- line-height: 17px;
- color: rgba(102, 102, 102, 100);
- font-size: 12px;
- text-align: left;
- margin-top: 4px;
- }
- .text-3 {
- width: 80px;
- height: 24px;
- border-radius: 50px;
- color: rgba(0, 185, 98, 100);
- font-size: 12px;
- text-align: center;
- font-family: Microsoft Yahei;
- border: 1px solid rgba(0, 185, 98, 100);
- margin-top: 11px;
- }
- }
- .img-box {
- width: 120px;
- height: 120px;
- float: right;
- }
- }
- .state{
- // width: 343px;
- width: 91.4%;
- background-color: #ffffff;
- height: 120px;
- display: flex;
- margin: 70px auto 0;
- border-radius: 8px;
- border: #F2F4F4 1px;
- .state-text{
- width: 61.8%;
- padding: 24px 0 0 28px;
- .text-1 {
- height: 16px;
- line-height: 16px;
- color: blueviolet;
- font-size: 16px;
- text-align: left;
- }
- .text-2 {
- height: 17px;
- line-height: 17px;
- color: #101010;
- text-align: left;
- margin-top: 12px;
- }
-
- .text-3 {
- font-size: 12px;
- text-align: center;
- margin-top: 6px;
- color: #999999;
- }
-
- }
- .img-box {
- width: 120px;
- height: 120px;
- float: right;
- }
- }
- //充值
- .top-up {
- margin-left: 16px;
- margin-top: 17px;
- .top-up-title {
- color: rgba(16, 16, 16, 100);
- font-size: 16px;
- }
- .img-box {
- margin-top: 12px;
- width: 345px;
- height: 146px;
- display: flex;
- justify-content: space-between;
- .img-1 {
- width: 166px;
- height: 146px;
- position: relative;
- .img-text {
- position: absolute;
- top: 12px;
- left: 12px;
- height: 33px;
- color: #ff4444;
- font-size: 24px;
- text-align: left;
- margin-left: 12px;
- .img-text2 {
- font-size: 14px
- }
- }
- }
- img {
- width: 100%;
- height: 100%;
- }
- }
- }
- // 小竖线
- .line {
- display: inline-block;
- width: 3px;
- height: 12px;
- margin-right: 7px;
- background-color: rgba(0, 145, 67, 100);
- }
- // 新闻公告
- .news-title {
- padding: 0 16px;
- margin-top: 12px;
- color: rgba(16, 16, 16, 100);
- font-size: 16px;
- display: flex;
- justify-content: space-between;
- background-color: #F2F4F4;
- .news-title-left {
- display: flex;
- }
- .more {
- font-size: 14px;
- color: #777777;
- display: flex;
- line-height: 20px;
- .more-icon {
- font-size: 24px
- }
- }
- }
- .news {
- background-color: #fff;
- margin: 12px 16px 20px;
- border-radius: 8px;
- .news-content {
- display: flex;
- justify-content: space-between;
- padding: 12px;
- .content-text {
- width: 211px;
- height: 42px;
- line-height: 21px;
- color: #101010;
- text-align: left;
- font-size: 14px
- }
- ;
- .content-img {
- width: 100px;
- height: 80px;
- background-color: #777777;
- border-radius: 4px;
- overflow: hidden;
- img {
- width: 100%;
- height: 100%;
- }
- }
- .news-time {
- margin-top: 12px;
- color: #999999;
- width: 80px;
- height: 20px;
- font-size: 14px;
- }
- }
- }
- .bottom {
- width: 100%;
- height: 150px;
- .bot {
- width: 100%;
- padding-left: 66px;
- display: flex;
- .bot-line {
- margin-top: 20px;
- width: 80px;
- height: 0px;
- border: 1px solid rgba(207, 210, 213, 100);
- }
- .bot-text {
- width: 60px;
- height: 17px;
- margin-top: 13px;
- margin-left: 12px;
- margin-right: 12px;
- font-size: 12px;
- text-align: center;
- color: rgba(182, 189, 195, 100);
- }
- }
- }
- // 导航栏
- .navigation {
- width: 100%;
- // height: 40px;
- padding: 10px 0;
- background-color: #fff;
- position: fixed;
- bottom: 0;
- left: 0;
- display: flex;
- justify-content: space-around;
- text-align: center;
- color: #999999;
- .nav-icon {
- width: 54px;
- font-size: 24px
- }
- .nav-text {
- font-size: 14px;
- }
- }
- img {
- width: 100%;
- height: 100%;
- }
- .banner {
- width: 100%;
- height: 300px;
- }
- // 选项列表
- .option-list {
- padding-top: 18px;
- width: 343px;
- height: 100px;
- line-height: 20px;
- border-radius: 8px;
- text-align: center;
- background-color: #fff;
- position: absolute;
- top: 260px;
- left: 0;
- right: 0;
- margin: auto;
- display: flex;
- justify-content: space-around;
- .list-item {
- // 图标
- .icon {
- width: 40px;
- height: 40px;
- border-radius: 99px;
- line-height: 40px;
- font-size: 24px;
- text-align: center;
- margin: auto;
- color: #ffffff;
- }
- }
- }
- // 站点
- .station {
- // width: 343px;
- height: 120px;
- margin-top: 70px;
- padding-top: 20px;
- padding: 0 12px;
- position: relative;
- .img-box {
- width: 100%;
- height: 100%;
- border-radius: 8px;
- overflow: hidden;
- }
- img {
- width: 100%;
- height: 100%;
- }
- .text {
- position: absolute;
- top: 0;
- left: 20px;
- // 头部
- .station-title {
- display: flex;
- margin-top: 12px;
- .title-left {
- display: inline-block;
- height: 20px;
- width: 44px;
- // margin-left: 12px;
- line-height: 20px;
- border-radius: 50px;
- background-color: rgba(133, 140, 255, 100);
- color: rgba(255, 255, 255, 100);
- font-size: 12px;
- text-align: center;
- font-family: Arial;
- }
- .title-right {
- display: inline-block;
- margin-left: 4px;
- margin-top: 2px;
- width: 271px;
- height: 16px;
- line-height: 16px;
- color: rgba(16, 16, 16, 100);
- font-size: 16px;
- text-align: left;
- font-family: AlibabaPuHui-regular;
- }
- }
- // 价格
- .station-price {
- margin-top: 4px;
- display: flex;
- .price-left {
- width: 40px;
- height: 20px;
- color: rgba(255, 98, 0, 100);
- font-size: 20px;
- text-align: left;
- font-family: Roboto-medium;
- }
- .price-right {
- height: 20px;
- line-height: 20px;
- margin-left: 2px;
- margin-top: 3px;
- color: rgba(102, 102, 102, 100);
- font-size: 14px;
- text-align: left;
- font-family: AlibabaPuHui-regular;
- }
- }
- // park
- .park {
- margin-top: 4px;
- display: flex;
- .park-p {
- display: inline-block;
- width: 20px;
- height: 18px;
- line-height: 12px;
- text-align: center;
- background-color: rgba(125, 177, 255, 100);
- color: #fff;
- }
- .park-text {
- display: inline-block;
- width: 300px;
- height: 17px;
- color: rgba(102, 102, 102, 100);
- font-size: 12px;
- text-align: left;
- margin-left: 2px;
- margin-top: 2px;
- }
- }
- // 数量
- .count {
- margin-top: 8px;
- width: 96%;
- display: flex;
- justify-content: space-between;
- }
- }
- }
- //定位
- .location {
- width: 343px;
- background-color: #ffffff;
- height: 120px;
- display: flex;
- margin: 70px auto 0;
- border-radius: 8px;
- border: #F2F4F4 1px;
- .location-text {
- padding: 24px 28px;
- .text-1 {
- height: 16px;
- color: rgba(16, 16, 16, 100);
- font-size: 16px;
- text-align: left;
- }
- .text-2 {
- height: 17px;
- color: rgba(102, 102, 102, 100);
- font-size: 12px;
- text-align: left;
- margin-top: 4px;
- }
- .text-3 {
- width: 80px;
- height: 24px;
- border-radius: 50px;
- color: rgba(0, 185, 98, 100);
- font-size: 12px;
- text-align: center;
- font-family: Microsoft Yahei;
- border: 1px solid rgba(0, 185, 98, 100);
- margin-top: 11px;
- }
- }
- .img-box {
- width: 120px;
- height: 120px;
- float: right;
- }
- }
- // 状态
- .state{
- width: 91.4%;
- background-color: #ffffff;
- height: 120px;
- display: flex;
- margin: 70px auto 0;
- border-radius: 8px;
- border: #F2F4F4 1px;
- .img-box {
- width: 120px;
- height: 120px;
- float: right;
- }
- }
- //充值
- .top-up {
- margin-left: 16px;
- margin-top: 17px;
- .top-up-title {
- color: rgba(16, 16, 16, 100);
- font-size: 16px;
- }
- .img-box {
- margin-top: 12px;
- width: 345px;
- height: 146px;
- display: flex;
- justify-content: space-between;
- .img-1 {
- width: 166px;
- height: 146px;
- position: relative;
- .img-text {
- position: absolute;
- top: 0;
- left: 0;
- height: 33px;
- color: #ff4444;
- font-size: 24px;
- text-align: left;
- margin-left: 12px;
- .img-text2 {
- font-size: 12px
- }
- }
- }
- img {
- width: 100%;
- height: 100%;
- }
- }
- }
- // 小竖线
- .line {
- display: inline-block;
- width: 3px;
- height: 12px;
- margin-right: 7px;
- background-color: rgba(0, 145, 67, 100);
- }
- // 新闻公告
- .news-title {
- padding: 0 16px;
- margin-top: 12px;
- color: rgba(16, 16, 16, 100);
- font-size: 16px;
- display: flex;
- justify-content: space-between;
- background-color: #F2F4F4;
- .news-title-left {
- display: flex;
- }
- .more {
- font-size: 14px;
- color: #777777;
- display: flex;
- line-height: 20px;
- .more-icon {
- font-size: 24px
- }
- }
- }
- .news {
- background-color: #fff;
- margin: 17px 16px 0;
- .news-content {
- display: flex;
- justify-content: space-between;
- padding: 12px;
- .content-text {
- width: 211px;
- height: 42px;
- line-height: 21px;
- color: #101010;
- text-align: left;
- font-size: 14px
- }
- ;
- .content-img {
- width: 100px;
- height: 80px;
- border-radius: 4px;
- img {
- width: 100%;
- height: 100%;
- }
- }
- .news-time {
- margin-top: 12px;
- color: #999999;
- width: 80px;
- height: 20px;
- font-size: 14px;
- }
- }
- }
- .bottom {
- width: 100%;
- height: 150px;
- .bot {
- width: 100%;
- padding-left: 66px;
- display: flex;
- .bot-line {
- margin-top: 20px;
- width: 80px;
- height: 0px;
- border: 1px solid rgba(207, 210, 213, 100);
- }
- .bot-text {
- width: 60px;
- height: 17px;
- margin-top: 13px;
- margin-left: 12px;
- margin-right: 12px;
- font-size: 12px;
- text-align: center;
- }
- }
- }
- // 导航栏
- .navigation {
- width: 100%;
- height: 60px;
- padding: 10px 0;
- background-color: #fff;
- position: fixed;
- bottom: 0;
- left: 0;
- display: flex;
- justify-content: space-around;
- text-align: center;
- color: #999999;
- .nav-icon {
- width: 54px;
- font-size: 24px
- }
- .nav-text {
- font-size: 14px;
- }
- }
- // 登录提示
- .login-prompt {
- width: 91.4%;
- height: 40px;
- line-height: 40px;
- border-radius: 50px;
- text-align: left;
- padding-left: 16px;
- padding-right: 4px;
- background-color: rgba(0, 0, 0, 0.6);
- position: fixed;
- bottom: 75px;
- color: #ffffff;
- .button {
- width: 88px;
- height: 32px;
- line-height: 32px;
- border-radius: 50px;
- background-color: rgba(0, 185, 98, 100);
- text-align: center;
- float: right;
- margin-top: 4px;
- }
- }
- </style>
|