| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <template>
- <view class="content">
- <view class="page-section-spacing" style="width: 100%;">
- <swiper class="swiper"
- indicator-dots="true"
- autoplay="true"
- duration="500" >
- <swiper-item v-for="(item , index) in swiperList" :key="index">
- <image :src="item.img" mode="aspectFill" style="width: 100%;height: 100%;"></image>
- </swiper-item>
- </swiper>
- </view>
-
- <view class="page-nav-box">
-
- <navigator v-for="(item , index) in navList" :key="index" :url="item.path" open-type="navigate" class="nav-content">
- <image :src="item.url" mode="aspectFit" style="width: 38px;height: 38px;"></image>
- <view>{{item.content}}</view>
- </navigator>
-
- </view>
-
-
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- swiperList:[
- {
- img:'https://f.xazhima.com/userfiles/upload/indexpic/202005251007104506.jpg'
- },
- {
- img:'https://f.xazhima.com/userfiles/upload/indexpic/202005251007104506.jpg'
- },
- ],
- navList:[
- {
- url:'/static/navList/7.png',
- path:'/pages/appeal/index',
- content:'提诉求'
- },
- {
- url:'/static/navList/7.png',
- path:'/pages/policy/index',
- content:'搜政策'
- },
- {
- url:'/static/navList/7.png',
- path:'/pages/park/index',
- content:'找园区'
- },
- {
- url:'/static/navList/7.png',
- path:'/pages/activity/index',
- content:'找活动'
- },
- {
- url:'/static/navList/7.png',
- path:'/pages/supply/index',
- content:'发供需'
- },
- {
- url:'/static/navList/7.png',
- path:'/pages/enterprise/index',
- content:'查企业'
- },
- {
- url:'/static/navList/7.png',
- path:'/pages/service/index',
- content:'找服务'
- },
-
-
- ]
- }
- },
- onLoad() {
- },
- methods: {
- }
- }
- </script>
- <style>
- .content {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .logo {
- height: 200rpx;
- width: 200rpx;
- margin-top: 200rpx;
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 50rpx;
- }
- .text-area {
- display: flex;
- justify-content: center;
- }
- .title {
- font-size: 36rpx;
- color: #8f8f94;
- }
-
- .page-nav-box {
- width: 100%;
- display: flex;
- flex-wrap: wrap;
- padding: 10rpx 10rpx 30rpx 10rpx;
- border-bottom: 10rpx solid #e9e9e9;
- }
- .nav-content {
-
- width: 25%;
- height: 150rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-top: 20rpx;
- font-size: 26rpx;
- justify-content: space-around;
- }
-
- </style>
|