Commit de05ba3e authored by lijiongliang's avatar lijiongliang

首页修改

parent 025b7eb1
<template> <template>
<view class="appCotent" v-if="show"> <view class="appCotent" v-if="show">
<view class="index-content"> <view class="index-content">
<view class="head">
<image src="http://jdnc-oss.uzosp.com/2022/06/15/99131cbc49c2444ea09083abdd2f2750.png"></image>
<view class="swiper"> <view class="swiper">
<u-swiper radius="20rpx" :height="130" :list="list5" circular @change="e => current = e.current" <image src="../static/index/banner.png"></image>
<view>
<u-swiper radius="16rpx" :height="130" :list="list5" circular @change="e => current = e.current"
:autoplay="true" keyName="imageUrl" @click="goOtherLink"> :autoplay="true" keyName="imageUrl" @click="goOtherLink">
<view slot="indicator" class="indicator"> <view slot="indicator" class="indicator">
<view class="indicator__dot" v-for="(item, index) in list5" :key="index" <view class="indicator__dot" v-for="(item, index) in list5" :key="index"
...@@ -11,11 +15,11 @@ ...@@ -11,11 +15,11 @@
</view> </view>
</u-swiper> </u-swiper>
</view> </view>
<u-gap bgColor="transparent" height="20"></u-gap> </view>
<view class="banner"> <view class="banner">
<view class="banner-img"> <view class="banner-img">
<image src="http://jdnc-oss.uzosp.com/2022/06/13/f70fc82ad7ef4c1bb653c77abe396e6d.png"></image> <image src="http://jdnc-oss.uzosp.com/2022/06/15/e7dec07c0dbe4e2faa42530e3a0b2218.png"></image>
<view class="left" @click="goJdShop(1)"> <view class="left" @click="goJdShop(1)">
<view class="banner-btn"> <view class="banner-btn">
<image src="../static/index/ban-btn.png"></image> <image src="../static/index/ban-btn.png"></image>
...@@ -30,16 +34,15 @@ ...@@ -30,16 +34,15 @@
</view> </view>
</view> </view>
<u-gap bgColor="transparent" height="20"></u-gap> <u-gap bgColor="transparent" height="20"></u-gap>
<!-- <view class="banner-btn">
<image src="../static/index/ban-btn.png"></image>
<text>限时领取</text>
</view> -->
</view> </view>
<u-gap bgColor="transparent" height="15"></u-gap> </view>
<view class="bg-img"> <view class="bg-img">
<image src="http://jdnc-oss.uzosp.com/2022/05/31/ecfc20fad7ad483994c524c77647797d.png"></image> <image src="http://jdnc-oss.uzosp.com/2022/06/15/079440f5eea541bba67ea3d5f8097162.png"></image>
</view> </view>
...@@ -329,8 +332,27 @@ ...@@ -329,8 +332,27 @@
<style lang="scss"> <style lang="scss">
.index-content { .index-content {
.head{
width:100%;height:1477rpx;
padding:530rpx 20rpx;
box-sizing: border-box;
position: relative;
>image{
position: absolute;
top:0;left:0;
width:100%;height:100%;
}
.swiper{ .swiper{
padding:30rpx; box-sizing: border-box;
padding:0 16rpx;
position: relative;
border-radius:16rpx;
>image{
position: absolute;
top:-12px;left:-17rpx;
width:744rpx;height:161px;
}
}
} }
background-color: #f9f9f9; background-color: #f9f9f9;
...@@ -376,6 +398,7 @@ ...@@ -376,6 +398,7 @@
.banner{ .banner{
width:100%; width:100%;
margin-top:70rpx;
.banner-img, .banner-img,
.banner-btn{ .banner-btn{
margin: 0 auto; margin: 0 auto;
...@@ -387,30 +410,29 @@ ...@@ -387,30 +410,29 @@
} }
view,text{ view,text{
position: relative; position: relative;
z-index:100;
} }
} }
.banner-img{ .banner-img{
width: 690rpx ;height:344rpx; width: 710rpx ;height:542rpx;
box-sizing: border-box; box-sizing: border-box;
padding:0 110rpx; padding:100rpx 80rpx 0;
display:flex; display:flex;
justify-content: space-between; justify-content: space-between;
.left{ .left{
width: 220rpx;height:220rpx; width: 260rpx;height:360rpx;
} }
.right{ .right{
width: 220rpx;height:220rpx; width: 260rpx;height:360rpx;
} }
>view{ >view{
.banner-btn{ .banner-btn{
width:100%;height:62rpx; width:200rpx;height:66rpx;
font-weight: bold; font-weight: bold;
color: #1F335A; color: #674600;
top:240rpx; top:280rpx;left:-2rpx;
font-size: 30rpx; font-size: 30rpx;
text-align: center; text-align: center;
line-height:62rpx; line-height:66rpx;
} }
} }
} }
...@@ -420,7 +442,7 @@ ...@@ -420,7 +442,7 @@
.bg-img{ .bg-img{
width:100%; width:100%;
image{ image{
width:100%;height:4296rpx; width:100%;height:4420rpx;
} }
} }
......
static/index/ban-btn.png

3.08 KB | W: | H:

static/index/ban-btn.png

1.8 KB | W: | H:

static/index/ban-btn.png
static/index/ban-btn.png
static/index/ban-btn.png
static/index/ban-btn.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment