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

View File

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

View File

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

View File

@ -84,8 +84,10 @@
</view> --> </view> -->
</view> </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>
</view> </view>
</template> </template>
@ -163,6 +165,16 @@
} }
</script> </script>
<style scoped> <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{ .lab-view{
width:100%; width:100%;
display: flex; display: flex;
@ -306,16 +318,16 @@
color: #fff; color: #fff;
} }
.detail-btn{ .detail-btn{
width:95%; display: inline-block;
height: 92rpx; width: 92%;
line-height: 92rpx;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
border-radius: 46rpx;
margin: 0 auto;
text-align: center; text-align: center;
font-weight: 400; background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
font-size: 42rpx; height: 40px;
color: #FFFFFF; border-radius: 28px;
color: #ffffff;
line-height: 40px;
margin-top: 4px;
font-size: 34rpx;
} }
.detail-foot-mian-txet span:nth-child(1){ .detail-foot-mian-txet span:nth-child(1){
color: #777777; color: #777777;

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB