123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300 |
- <template>
- <view class="content">
- <view class="banner">
- <image src="../../static/img/tc1.png" mode=""></image>
- </view>
- <view class="title">满园春养发店</view>
- <view class="tip flex">
- <view class="time">营业中 周一至周日 11:30-01:00</view>
- <view class="num">780人消费</view>
- </view>
- <view class="address-box flex">
- <view class="address-title">
- <view class="address">康平路星星村综合楼20号</view>
- <view class="ql">距您780m</view>
- </view>
- <view class="btn-box">
- <view class="btn-item">
- <image class="btn-image" src="../../static/icon/call.png" mode=""></image>
- <view class="btn-font">电话</view>
- </view>
- <view class="btn-item">
- <image class="btn-image" src="../../static/icon/dh.png" mode=""></image>
- <view class="btn-font">导航</view>
- </view>
- </view>
- </view>
- <view class="appointment flex" @click="navTo('/pages/shoping/booked')">
- <view class="appointment-left">
- <image class="appointment-icon" src="../../static/icon/dh.png" mode=""></image>
- <view class="appointment-title">预约到店</view>
- </view>
- <view class="appointment-right">
- <view class="appointment-tip">近半年到店200人</view>
- <image class="appointment-jt" src="../../static/user/right.png" mode=""></image>
- </view>
- </view>
- <view class="xian"></view>
- <view class="shop-box">
- <view class="shop-item" v-for="(item,index) in 10">
- <image class="shop-img" src="../../static/icon/hym.png" mode=""></image>
- <view class="shop-info flex">
- <view class="shop-main">
- <view class="shop-title">【舒缓神经】头皮护理I深层清洁</view>
- <view class="shop-tip">80分钟 I 足部 I 足疗</view>
- <view class="shop-pirce">¥189</view>
- </view>
- <view class="shop-right">
- <view class="btn">抢购</view>
- <view class="people">1425人已购买</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {};
- },
- onLoad() {},
- onShow() {},
- onReachBottom() {},
- onReady() {},
- methods: {
- navTo(url) {
- uni.navigateTo({
- url
- })
- }
- }
- };
- </script>
- <style lang="scss">
- page,
- .content {
- min-height: 100%;
- height: auto;
- background: #ffffff;
- }
- .banner {
- margin: 20rpx auto 0;
- width: 697rpx;
- height: 391rpx;
- background: #FF4C4C;
- border-radius: 20rpx;
- image {
- width: 100%;
- height: 100%;
- border-radius: 20rpx;
- }
- }
- .title {
- padding: 20rpx 26rpx 0;
- font-size: 34rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #101010;
- }
- .tip {
- margin: 0 26rpx;
- padding: 20rpx 0 24rpx;
- border-bottom: 1px solid #F1F1F1;
- .time {
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #101010;
- }
- .num {
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- }
- }
- .address-box {
- padding: 32rpx 0;
- margin: 0 26rpx;
- line-height: 1;
- border-bottom: 1px solid #F1F1F1;
- .address {
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #101010;
- }
- .ql {
- margin-top: 10rpx;
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- }
- .btn-box {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- .btn-item {
- margin-left: 50rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- .btn-image {
- width: 46rpx;
- height: 46rpx;
- }
- .btn-font {
- margin-top: 8rpx;
- font-size: 16rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- line-height: 24rpx;
- }
- }
- }
- }
- .appointment {
- padding: 24rpx 26rpx 32rpx;
- .appointment-left {
- display: flex;
- align-items: center;
- .appointment-icon {
- width: 36rpx;
- height: 36rpx;
- }
- .appointment-title {
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #101010;
- margin-left: 14rpx;
- }
- }
- .appointment-right {
- display: flex;
- align-items: center;
- .appointment-tip {
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- margin-right: 10rpx;
- }
- .appointment-jt {
- width: 13rpx;
- height: 23rpx;
- }
- }
- }
- .xian {
- height: 20rpx;
- width: 750rpx;
- background: #F5F5F5;
- }
- .shop-box {
- padding: 0 30rpx 50rpx 38rpx;
- .shop-item {
- border-bottom: 1px solid #EFEFEF;
- display: flex;
- align-items: center;
- padding: 20rpx 0;
- .shop-img {
- flex-shrink: 0;
- width: 120rpx;
- height: 120rpx;
- border-radius: 10rpx;
- }
- .shop-info {
- width: 100%;
- margin-left: 14rpx;
- align-items: flex-end;
- .shop-main {
- line-height: 1;
- .shop-title {
- font-size: 26rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #000000;
- }
- .shop-tip {
- margin-top: 20rpx;
- font-size: 20rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- }
- .shop-pirce {
- margin-top: 16rpx;
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #F65920;
- }
- }
- .shop-right {
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- align-items: flex-end;
- .btn {
- width: 105rpx;
- height: 47rpx;
- background: #FF4C4C;
- border-radius: 24rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #FFFFFF;
- }
- .people {
- margin-top: 22rpx;
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #999999;
- }
- }
- }
- }
- }
- </style>
|