This commit is contained in:
kbing1981 2024-07-22 17:38:48 +08:00
parent de1be498b7
commit 69a7c9b7ac
6 changed files with 108 additions and 64 deletions

View File

@ -86,9 +86,9 @@
</view>
</view>
</view>
<view class="pay_btn" style="margin-top: 30px;" @click="openpay()">去支付</view>
<view class="push-button">
<view class="pay_btn" @click="openpay()">去支付</view>
</view>
</view>
<!-- <u-skeleton :loading="loading" :animation="true" bgColor="#FFF"></u-skeleton> -->
<u-popup v-model="showorder" mode="bottom" :closeable="closeable">
@ -1248,6 +1248,16 @@
</script>
<style lang="scss" scoped>
.push-button{
width: 100%;
height: 48px;
position: fixed;
bottom: 0px;
display: flex;
flex-direction: column;
align-items: center;
margin: 0 auto;
}
.header-bottom-money{
width: 100%;
display: flex;
@ -2017,15 +2027,16 @@
}
.pay_btn {
width: 90%;
margin: 0 auto;
text-align: center;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
height:80rpx;
border-radius: 80rpx;
color: #ffffff;
line-height: 80rpx;
font-size: 32rpx;
display: inline-block;
width: 92%;
text-align: center;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
height: 40px;
border-radius: 28px;
color: #ffffff;
line-height: 40px;
margin-top: 4px;
font-size: 34rpx;
}
.serverAddress {
display: flex;

View File

@ -110,9 +110,10 @@
</view>
</view>
<view class="detail-btn btn" v-if="dataList.name=='index'" @click="openpay(mainData)">
立即购买
<view class="push-button">
<view class="detail-btn" v-if="dataList.name=='index'" @click="openpay(mainData)">
立即预约
</view>
</view>
<!-- 支付方式 -->
<u-popup v-model="showpay" mode="bottom" :closeable="closeable">
@ -688,6 +689,16 @@
}
</script>
<style scoped>
.push-button{
width: 100%;
height: 48px;
position: fixed;
bottom: 0px;
display: flex;
flex-direction: column;
align-items: center;
margin: 0 auto;
}
.lab-view{
width:100%;
display: flex;
@ -947,16 +958,16 @@
color: #fff;
}
.detail-btn{
width:95%;
height: 92rpx;
line-height: 92rpx;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
border-radius: 46rpx;
margin: 0 auto;
display: inline-block;
width: 92%;
text-align: center;
font-weight: 400;
font-size: 42rpx;
color: #FFFFFF;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
height: 40px;
border-radius: 28px;
color: #ffffff;
line-height: 40px;
margin-top: 4px;
font-size: 34rpx;
}
.detail-foot-mian-txet span:nth-child(1){
color: #777777;

View File

@ -160,8 +160,8 @@
.shop_label span{
background: #e5e5e5;
border-radius: 8rpx;
padding: 2rpx 8rpx;
font-size: 20rpx;
padding: 3rpx 10rpx;
font-size: 22rpx;
margin-right: 8rpx;
margin-bottom: 8rpx;
}
@ -280,9 +280,9 @@
}
.item-view-title-text{
display: inline-block;
width: 100px;
width: 120px;
font-weight: bold;
font-size: 30rpx;
font-size: 31rpx;
color: #333333;
overflow: hidden;
white-space: nowrap;
@ -300,6 +300,8 @@
display: flex;
flex-direction: column;
justify-content: center;
justify-content: space-between;
padding: 10rpx 0;
}
.item-img{
width: 285rpx;
@ -326,16 +328,17 @@
border-radius: 14rpx;
}
.item {
width: 96%;
margin: 12px auto;
width:96%;
margin:0 auto ;
display: flex;
flex-direction: row;
justify-content: space-between;
height: 140px;
background: #FFFFFF;
border-radius: 21rpx;
margin-top:10px;
align-items: center;
padding: 12px;
padding:12px;
}
.item-detail {

View File

@ -84,8 +84,10 @@
</view> -->
</view>
</view>
<view class="detail-btn btn" @click="goumai(getList)">
立即预约
<view class="push-button">
<view class="detail-btn" @click="goumai(getList)">
立即预约
</view>
</view>
</view>
</template>
@ -163,6 +165,16 @@
}
</script>
<style scoped>
.push-button{
width: 100%;
height: 48px;
position: fixed;
bottom: 0px;
display: flex;
flex-direction: column;
align-items: center;
margin: 0 auto;
}
.lab-view{
width:100%;
display: flex;
@ -306,16 +318,16 @@
color: #fff;
}
.detail-btn{
width:95%;
height: 92rpx;
line-height: 92rpx;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
border-radius: 46rpx;
margin: 0 auto;
display: inline-block;
width: 92%;
text-align: center;
font-weight: 400;
font-size: 42rpx;
color: #FFFFFF;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
height: 40px;
border-radius: 28px;
color: #ffffff;
line-height: 40px;
margin-top: 4px;
font-size: 34rpx;
}
.detail-foot-mian-txet span:nth-child(1){
color: #777777;

View File

@ -7,8 +7,8 @@
<template #top>
<view class="service-head-top">
<view class="service-head-top-left">
<image @click="backImg" src="../../static/fanhui.png" mode="widthFix"></image>
<image style="width: 136rpx; height:40rpx ;" src="../../static/seckill.png"></image>
<image class="service-fh" @click="backImg" src="../../static/fanhui.png" mode="widthFix"></image>
<image class="service-img" src="../../static/seckill.png"></image>
</view>
<view>
<uni-search-bar @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue" @input="input"
@ -409,7 +409,8 @@
border-radius: 14rpx;
}
.item {
width: 100%;
width: 96%;
margin: 0 auto;
display: flex;
flex-direction: row;
justify-content: space-between;
@ -418,7 +419,7 @@
border-radius: 21rpx;
margin-top:10px;
align-items: center;
padding: 0px 10px;
padding: 12px;
}
.item-detail {
@ -442,7 +443,7 @@
width:100%;
}
/deep/.zp-paging-container-content{
width: 95%;
width: 100%;
margin: 50px auto 0px auto;
}
.fenlei{
@ -476,41 +477,45 @@
}
.search-btn{
text-align: center;
line-height: 31px;
line-height: 28px;
color: #fff;
position: absolute;
right: 0;
top: 0;
margin-top:9.4px;
margin-right: 11px;
height: 32px !important;
right:14rpx;
top: 25rpx;
height: 29px !important;
}
/deep/.uni-searchbar__box-icon-search,.search-btn{
width: 150rpx;
height: 60rpx;
width: 110rpx;
height: 50rpx;
background: #18A689;
border-radius: 31rpx;
}
/deep/.uni-searchbar__box{
height: 31px;
border-radius: 15px !important;
height: 30px;
border-radius: 30px !important;
background-color: #fff !important;
border: 1px solid #E5E5E5;
border: 1px solid #09a28a;
padding: 0px;
display: flex;
flex-direction: row;
flex-flow: row-reverse;
position: relative;
margin-top: 4rpx;
}
/deep/.uni-searchbar{
width: 240px;
width: 230px;
border-radius: 31rpx;
}
.service-head-top-left image{
width: 25px;
height: 30rpx;
margin-right: 10px;
.service-fh{
width: 20px;
height: 20rpx;
margin-right:5px;
margin-left: 10rpx;
}
.service-img{
width: 172rpx;
height: 40rpx;
}
.service-head-top-left span{
font-weight: bold;
@ -529,9 +534,11 @@
flex-direction: row;
align-items: center;
justify-content: space-between;
background-color: #fff;
background: linear-gradient(60deg,rgba(115, 212, 183, 0.2),rgba(227, 251, 244, 0.1),rgba(193, 236, 223, 0.35));
border-bottom:1rpx solid #c4ede1;
position: fixed;
z-index: 999;
padding-top: 6rpx;
}
.view-cata{
display: flex;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB