修改
This commit is contained in:
parent
b4da4f6eb4
commit
8b249b4e28
@ -119,7 +119,7 @@
|
|||||||
.Healthknowledge {
|
.Healthknowledge {
|
||||||
width: 94%;
|
width: 94%;
|
||||||
margin: 20rpx auto;
|
margin: 20rpx auto;
|
||||||
padding: 0 50rpx 50rpx;
|
padding: 0 30rpx 50rpx;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
position: relative;
|
position: relative;
|
||||||
line-height: 46rpx;
|
line-height: 46rpx;
|
||||||
@ -156,11 +156,8 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 20rpx;
|
top: 20rpx;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 50%;
|
width: 60%;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="app">
|
<view class="app">
|
||||||
<!-- <u-swiper :list="swiperImgUrls" effect3d='true' height='400' interval='5000' duration='2000'></u-swiper> -->
|
<!-- <u-swiper :list="swiperImgUrls" effect3d='true' height='400' interval='5000' duration='2000'></u-swiper> -->
|
||||||
|
|
||||||
|
|
||||||
<!-- <swiper class="swiper-block" :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000"
|
<!-- <swiper class="swiper-block" :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000"
|
||||||
:circular='true' previous-margin='90rpx' next-margin='90rpx' current='0' @change="swiperChange">
|
:circular='true' previous-margin='90rpx' next-margin='90rpx' current='0' @change="swiperChange">
|
||||||
<swiper-item class="swiper-item" v-for="(item,index) in swiperImgUrls">
|
<swiper-item class="swiper-item" v-for="(item,index) in swiperImgUrls">
|
||||||
@ -12,8 +10,8 @@
|
|||||||
</swiper> -->
|
</swiper> -->
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<view>
|
<view>
|
||||||
<swiper :indicator-dots="true" :current="currentIndex" :circular="true" previous-margin="80rpx"
|
<swiper :indicator-dots="true" :current="currentIndex" :circular="true" previous-margin="55rpx"
|
||||||
next-margin="80rpx" :autoplay="autoplay" interval="3000" duration="1000" show-center-play-btn="true"
|
next-margin="55rpx" :autoplay="autoplay" interval="3000" duration="1000" show-center-play-btn="true"
|
||||||
class="swiper-block" circular='true' @change="swiperChange">
|
class="swiper-block" circular='true' @change="swiperChange">
|
||||||
<swiper-item v-for="(item ,index) in swiperImgUrls" :key="index" class="swiper-item">
|
<swiper-item v-for="(item ,index) in swiperImgUrls" :key="index" class="swiper-item">
|
||||||
<view v-show="!splits(item)" wx-if="{item}">
|
<view v-show="!splits(item)" wx-if="{item}">
|
||||||
@ -32,8 +30,6 @@
|
|||||||
</swiper>
|
</swiper>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
<view class="items">
|
<view class="items">
|
||||||
<view class="item" @tap="gosite">
|
<view class="item" @tap="gosite">
|
||||||
<image src="../../static/hlz.png" mode=""></image>
|
<image src="../../static/hlz.png" mode=""></image>
|
||||||
@ -188,19 +184,17 @@
|
|||||||
},
|
},
|
||||||
//专病管理
|
//专病管理
|
||||||
godiseasemanagement() {
|
godiseasemanagement() {
|
||||||
uni.navigateToMiniProgram({
|
// uni.navigateToMiniProgram({
|
||||||
appId: 'wxa690d053c34ceebd',
|
// appId: 'wxa690d053c34ceebd',
|
||||||
path: '/pages/index/index',
|
// path: '/pages/index/index',
|
||||||
extraData: {
|
// extraData: {
|
||||||
from: 'qy'
|
// from: 'qy'
|
||||||
},
|
// },
|
||||||
success(res) {
|
// success(res) {}
|
||||||
console.log(res)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
// uni.navigateTo({
|
|
||||||
// url: '/pages/diseasemanagement/diseasemanagement'
|
|
||||||
// })
|
// })
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/diseasemanagement/diseasemanagement'
|
||||||
|
})
|
||||||
},
|
},
|
||||||
//健康咨询
|
//健康咨询
|
||||||
gomedicine() {
|
gomedicine() {
|
||||||
@ -275,8 +269,14 @@
|
|||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.app {
|
.app {
|
||||||
padding: 100rpx 0 0 0;
|
padding: 0 0 0 0;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
|
|
||||||
|
.container {
|
||||||
|
padding-top: 70rpx;
|
||||||
|
background-color: #fff
|
||||||
|
}
|
||||||
|
|
||||||
.swiper-block {
|
.swiper-block {
|
||||||
height: 500rpx;
|
height: 500rpx;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -291,16 +291,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.slide-image {
|
.slide-image {
|
||||||
height: 300rpx;
|
height: 270rpx;
|
||||||
width: 520rpx;
|
width: 580rpx;
|
||||||
border-radius: 9rpx;
|
border-radius: 9rpx;
|
||||||
box-shadow: 0px 0px 30rpx rgba(0, 0, 0, 0.2);
|
box-shadow: 0px 0px 30rpx rgba(0, 0, 0, 0.2);
|
||||||
margin: 0rpx 30rpx;
|
margin: 0 0 0 30rpx;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
transform: scale(1.2);
|
transform: scale(1.10);
|
||||||
transition: all 0.2s ease-in 0s;
|
transition: all 0.2s ease-in 0s;
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
}
|
}
|
||||||
@ -380,6 +380,9 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
width: 65%;
|
width: 65%;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
|
// overflow: hidden;
|
||||||
|
// text-overflow: ellipsis;
|
||||||
|
// white-space: nowrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user