This commit is contained in:
曹辉 2023-02-22 16:32:07 +08:00
parent cee60b0756
commit c79dc45fe7
5 changed files with 109 additions and 87 deletions

View File

@ -2,7 +2,12 @@
font-size: 34rpx;
padding-top: 10rpx;
height: 100%;
-webkit-overflow-scrolling: touch;
.scroll-Y {
height: 100vh;
overflow: scroll;
position: relative;
}
.mask {
.Agreement {
width: 100%;
@ -100,6 +105,7 @@
.timeyear{
.bottomtext{
-webkit-overflow-scrolling: touch;
width: 96%;
margin: 0 auto;
.items{
@ -129,6 +135,7 @@
}
}
.toptext{
-webkit-overflow-scrolling: touch;
padding-top: 10rpx;
display: flex;
justify-content:space-around;

View File

@ -1,5 +1,8 @@
<template>
<view class="app">
<scroll-view :scroll-top="scrollTop" scroll-y="true" class="scroll-Y" @scrolltoupper="upper"
@scrolltolower="lower" @scroll="scroll">
<view class="user">
<view class="item">
<span>姓名</span>
@ -91,6 +94,8 @@
<view class="xiugai" @tap='goaddress'>修改信息</view>
<view class="queren" @tap='updata'>确认预约</view>
</view>
</scroll-view>
<u-toast ref="uToast" />
<!-- // -->
<u-mask :show="maskshow" class='mask' @click='maskshow=false'>
@ -128,6 +133,10 @@
},
data() {
return {
scrollTop: 0,
old: {
scrollTop: 0
},
Soonerorlater: 'morning',
timecurrent: 0, //
openid: '',
@ -187,6 +196,11 @@
this.userinfo();
},
methods: {
upper: function(e) {},
lower: function(e) {},
scroll: function(e) {
this.old.scrollTop = e.detail.scrollTop
},
//
tapSoonerorlater(item) {
this.Soonerorlater = item

View File

@ -10,8 +10,6 @@
</image>
</swiper-item>
</swiper> -->
<view class="container">
<view>
<swiper :indicator-dots="true" :current="currentIndex" :circular="true" previous-margin="80rpx"
@ -40,7 +38,7 @@
<view class="item" @tap="gosite">
<image src="../../static/hlz.png" mode=""></image>
<view class="title">
护理
护理机构
</view>
</view>
<view class="item" @tap="gomedicine">
@ -265,7 +263,7 @@
<style lang="scss">
.app {
padding: 100rpx 0 0 0;
-webkit-overflow-scrolling: touch;
.swiper-block {
height: 500rpx;
width: 100%;

View File

@ -1,5 +1,6 @@
.app{
padding:10rpx 0 0 0;
-webkit-overflow-scrolling: touch;
}
.swiper-box {
width: 100%;
@ -182,7 +183,7 @@
padding: 3%;
position: relative;
transition: all 0.2s linear;
font-size: 36rpx;
font-size: 34rpx;
&::after {
transition: all 0.2s linear;
transform: translateX(-50%) scaleX(0);
@ -281,6 +282,7 @@
.title {
padding-top: 40rpx;
margin:0 0 0 30rpx;
font-size: 38rpx;
line-height: 59rpx;
overflow: hidden;
text-overflow: ellipsis;

View File

@ -318,6 +318,7 @@
.u-tabs {
padding: 20rpx 0;
-webkit-overflow-scrolling: touch;
}
view,