123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- <template>
- <view class="center">
- <view class="img">
- <image src="../../static/img/logo.png" mode=""></image>
- </view>
- <view class="test_title">
- 关于我们
- </view>
- <view class="aboutBox">
- <view class="aboutBox-title" @click="qiehuan(0)">
- 公司介绍
- </view>
- <view class="aboutBox-title" @click="qiehuan(1)">
- 产品介绍
- </view>
- <view class="aboutBox-title" @click="qiehuan(2)">
- 联系我们
- </view>
- </view>
- <swiper :current="currentIndex" :duration="500">
- <swiper-item>
- <view class="swiper-item">
- 000000
- </view>
- </swiper-item>
- <swiper-item>
- <view class="swiper-item">
- 11111111111
- </view>
- </swiper-item>
- <swiper-item>
- <view class="swiper-item swiperRight">
- <view class="swiperRight-img">
- <image src="../../static/img/introduce.png" mode=""></image>
- <text>咨询电话:xxxxxxxx</text>
- <text>报修电话:xxxxxxxx</text>
- </view>
- </view>
- </swiper-item>
- </swiper>
- <aboutUs></aboutUs>
- </view>
- </template>
- <script>
- import {
- changeTaber
- } from '@/utils/tarberChange.js'
- import aboutUs from '@/components/introduce/introduce.vue'
- export default {
- components: {
- aboutUs
- },
- data() {
- return {
- indexList: [],
- topNavWidth: '12%', //设置导航默认宽度
- classIndex: 0, //当前进行中的活动
- itemWidht: 0, //顶部分类宽度
- loadingType: 'more', //加载更多状态
- actionClassInd: 0,
- page: 1,
- limit: 10,
- currentIndex: 0,
- }
- },
- onLoad() {
- // this.loadData();
- changeTaber(1)
- },
- methods: {
- async loadData() {
- const obj = this;
- },
- tabClass(item, index) {
- this.classIndex = index;
- this.actionClassId = index;
- let ls = this.indexList[this.actionClassInd]
- },
- qiehuan(index) {
- console.log(index)
- this.currentIndex = index * 1;
- }
- }
- }
- </script>
- <style lang="scss">
- .img {
- margin: 17rpx 0 17rpx 41rpx;
- width: 208rpx;
- height: 52rpx;
- image {
- width: 100%;
- height: 100%;
- }
- }
- .test_title {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 100%;
- height: 60rpx;
- font-size: 22rpx;
- font-family: Adobe Heiti Std;
- font-weight: normal;
- color: #FFFFFF;
- background-color: #0165B5;
- }
- .class-box {
- background: #FFFFFF;
- white-space: nowrap;
- height: 78rpx;
- .item {
- text-align: center;
- display: inline-block;
- color: $font-color-base;
- margin: 26rpx 34rpx 15rpx 29rpx;
- background-color: #ffffff;
- line-height: 1;
- .time {
- font-family: PingFang SC;
- font-weight: bold;
- font-size: 30rpx;
- padding-bottom: 19rpx;
- &.action {
- color: #ff0000;
- border-bottom: 4rpx solid #FF0000;
- }
- }
- }
- }
- .aboutBox {
- display: flex;
- justify-content: space-between;
- width: 100%;
- height: 60rpx;
- .aboutBox-title {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 33.3%;
- background: #127FD5;
- font-size: 22rpx;
- font-family: Adobe Heiti Std;
- font-weight: normal;
- color: #FFFFFF;
- line-height: 67rpx;
- }
- }
- .swiperRight{
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- .swiperRight-img{
- margin-top:40rpx ;
- width: 560rpx;
- height: 270rpx;
- image{
- width: 100%;
- height: 100%;
- }
- }
- text{
- font-size: 10rpx;
- font-family: Adobe Heiti Std;
- font-weight: normal;
- color: #000000;
- line-height: 40rpx;
- }
- }
-
- </style>
|