|
@@ -1,324 +1,422 @@
|
|
|
-<template>
|
|
|
- <view class="service">
|
|
|
- <view class="service-top">
|
|
|
- <view class="item-flex">
|
|
|
- <view class="title"
|
|
|
- >【养车】标题标题标标题标题标题标题标题标题标题标题……</view
|
|
|
- >
|
|
|
- <u-icon name="share-square" size="24" />
|
|
|
- </view>
|
|
|
- <Image src="https://cdn.uviewui.com/uview/album/1.jpg"></Image>
|
|
|
- </view>
|
|
|
- <view class="service-center">
|
|
|
- <view class="price">
|
|
|
- <view>
|
|
|
- <view class="price-item">
|
|
|
- <text class="price-text">¥</text>199
|
|
|
- </view>
|
|
|
- <view>门市价 ¥489</view>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <view class="favorable">优惠推荐</view>
|
|
|
- <view>还剩 49 天 02 时</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <!-- 优惠券 -->
|
|
|
- <view class="coupon">
|
|
|
- <view class="coupon-flex">
|
|
|
- <view class="coupon-item"> <text class="text">¥</text>5 </view>
|
|
|
- <view class="keep">
|
|
|
- <view>养车/用车品类新用户专享</view>
|
|
|
- <view>养车用车服务通用</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <view>有效期仅剩</view>
|
|
|
- <view>23:59:53</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="coupon">
|
|
|
- <view class="coupon-flex">
|
|
|
- <view class="coupon-item"> <text class="text">¥</text>5 </view>
|
|
|
- <view class="keep">
|
|
|
- <view>养车/用车品类新用户专享</view>
|
|
|
- <view>养车用车服务通用</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <view class="claimable">可领取</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-
|
|
|
- <!-- 服务详情 -->
|
|
|
- <view class="detail">
|
|
|
- <text class="detail-text">服务详情</text>
|
|
|
- </view>
|
|
|
-
|
|
|
- <!-- 评价内容 -->
|
|
|
- <view class="Evaluate-content">
|
|
|
- <view class="album__avatar">
|
|
|
- <view class="album-img">
|
|
|
- <image
|
|
|
- src="https://cdn.uviewui.com/uview/album/1.jpg"
|
|
|
- mode=""
|
|
|
- style="width: 40px; height: 40px"
|
|
|
- />
|
|
|
- <view>
|
|
|
- <view class="album-text">王***青</view>
|
|
|
- <u-rate :value="3.7" readonly :size="14" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view>2023.06.18</view>
|
|
|
- </view>
|
|
|
- <view class="album__content">
|
|
|
- <u--text
|
|
|
- margin="0 0 8px 0"
|
|
|
- text="全面的组件和便捷的工具会让您信手拈来面的组件和便捷的工具会让您信手拈来面的组件和便捷的工具会让您信手拈来,如鱼得水"
|
|
|
- />
|
|
|
- <u-album :urls="urls2"></u-album>
|
|
|
- </view>
|
|
|
- <view class="album__avatar">
|
|
|
- <view class="album-img">
|
|
|
- <image
|
|
|
- src="https://cdn.uviewui.com/uview/album/1.jpg"
|
|
|
- mode=""
|
|
|
- style="width: 40px; height: 40px"
|
|
|
- />
|
|
|
- <view>
|
|
|
- <view class="album-text">王***青</view>
|
|
|
- <u-rate :value="3.7" readonly :size="14" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view>2023.06.18</view>
|
|
|
- </view>
|
|
|
- <view class="album__content">
|
|
|
- <u--text
|
|
|
- margin="0 0 8px 0"
|
|
|
- text="全面的组件和便捷的工具会让您信手拈来面的组件和便捷的工具会让您信手拈来面的组件和便捷的工具会让您信手拈来,如鱼得水"
|
|
|
- />
|
|
|
- <u-album :urls="urls2"></u-album>
|
|
|
- </view>
|
|
|
- <view class="album__avatar">
|
|
|
- <view class="album-img">
|
|
|
- <image
|
|
|
- src="https://cdn.uviewui.com/uview/album/1.jpg"
|
|
|
- mode=""
|
|
|
- style="width: 40px; height: 40px"
|
|
|
- />
|
|
|
- <view>
|
|
|
- <view class="album-text">王***青</view>
|
|
|
- <u-rate :value="3.7" readonly :size="14" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view>2023.06.18</view>
|
|
|
- </view>
|
|
|
- <view class="album__content">
|
|
|
- <u--text
|
|
|
- margin="0 0 8px 0"
|
|
|
- text="全面的组件和便捷的工具会让您信手拈来面的组件和便捷的工具会让您信手拈来面的组件和便捷的工具会让您信手拈来,如鱼得水"
|
|
|
- />
|
|
|
- <u-album :urls="urls2"></u-album>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-
|
|
|
- <!-- 底部 -->
|
|
|
- <view class="service-footer">
|
|
|
- <view class="service-item">
|
|
|
- <view class="service-text">
|
|
|
- <u-icon name="file-text" size="24" />
|
|
|
- <text>店铺</text>
|
|
|
- </view>
|
|
|
- <view class="service-text">
|
|
|
- <u-icon name="chat" size="24" class="chat" />
|
|
|
- <text>立即咨询</text>
|
|
|
- </view>
|
|
|
- <view class="service-text">
|
|
|
- <u-icon name="heart-fill" size="24" />
|
|
|
- <text>收藏</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="buyNow">立即购买</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-</template>
|
|
|
-
|
|
|
-<script>
|
|
|
-export default {
|
|
|
- data() {
|
|
|
- return {
|
|
|
- albumWidth: 0,
|
|
|
- urls2: [
|
|
|
- 'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
|
- 'https://cdn.uviewui.com/uview/album/2.jpg',
|
|
|
- 'https://cdn.uviewui.com/uview/album/3.jpg',
|
|
|
- 'https://cdn.uviewui.com/uview/album/4.jpg',
|
|
|
- 'https://cdn.uviewui.com/uview/album/5.jpg',
|
|
|
- 'https://cdn.uviewui.com/uview/album/6.jpg',
|
|
|
- 'https://cdn.uviewui.com/uview/album/7.jpg',
|
|
|
- 'https://cdn.uviewui.com/uview/album/8.jpg',
|
|
|
- 'https://cdn.uviewui.com/uview/album/9.jpg',
|
|
|
- 'https://cdn.uviewui.com/uview/album/10.jpg',
|
|
|
- ],
|
|
|
- };
|
|
|
- },
|
|
|
-};
|
|
|
-</script>
|
|
|
-
|
|
|
-<style lang="scss" scoped>
|
|
|
-.service {
|
|
|
- min-height: 100vh;
|
|
|
-}
|
|
|
-
|
|
|
-.service-top {
|
|
|
- margin: 20rpx;
|
|
|
-
|
|
|
- .item-flex {
|
|
|
- display: flex;
|
|
|
-
|
|
|
- .title {
|
|
|
- font-size: 18px;
|
|
|
- font-weight: bold;
|
|
|
- margin: 20rpx;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- Image {
|
|
|
- width: 100%;
|
|
|
- height: 200px;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.service-center {
|
|
|
- margin: 20rpx;
|
|
|
-
|
|
|
- .price {
|
|
|
- height: 120rpx;
|
|
|
- padding: 15rpx 30rpx;
|
|
|
- display: flex;
|
|
|
- margin: 20rpx 0;
|
|
|
- color: #fff;
|
|
|
- font-size: 24rpx;
|
|
|
- font-weight: normal;
|
|
|
- box-sizing: border-box;
|
|
|
- border-radius: 20rpx 20rpx 0 0;
|
|
|
- background-color: #6c9fc3;
|
|
|
- justify-content: space-between;
|
|
|
-
|
|
|
- .price-item {
|
|
|
- font-size: 44rpx;
|
|
|
- margin-bottom: 6rpx;
|
|
|
-
|
|
|
- .price-text {
|
|
|
- font-size: 24rpx;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .favorable {
|
|
|
- font-size: 22px;
|
|
|
- margin-bottom: 6rpx;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-// 优惠券
|
|
|
-.coupon {
|
|
|
- height: 140rpx;
|
|
|
- display: flex;
|
|
|
- font-size: 32rpx;
|
|
|
- color: #f2110d;
|
|
|
- line-height: 1.5;
|
|
|
- border-radius: 10rpx;
|
|
|
- margin: 30rpx 0 20rpx 0;
|
|
|
- padding: 20rpx 10rpx;
|
|
|
- box-sizing: border-box;
|
|
|
- background-color: #faeaea;
|
|
|
- border: 2rpx solid #eb8b8b;
|
|
|
- justify-content: space-between;
|
|
|
-
|
|
|
- .coupon-flex {
|
|
|
- display: flex;
|
|
|
- .coupon-item {
|
|
|
- font-size: 36px;
|
|
|
- margin-right: 20rpx;
|
|
|
- .text {
|
|
|
- font-size: 36rpx;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- .claimable {
|
|
|
- width: 160rpx;
|
|
|
- height: 70rpx;
|
|
|
- color: #fff;
|
|
|
- text-align: center;
|
|
|
- line-height: 70rpx;
|
|
|
- margin-top: 15rpx;
|
|
|
- border-radius: 70rpx;
|
|
|
- background-color: #eda180;
|
|
|
- }
|
|
|
-}
|
|
|
-// 服务详情
|
|
|
-.detail {
|
|
|
- margin: 20rpx;
|
|
|
- .detail-text {
|
|
|
- font-size: 16px;
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-// 评价内容
|
|
|
-.Evaluate-content {
|
|
|
- margin: 20rpx;
|
|
|
- .album__avatar {
|
|
|
- margin: 40rpx 0;
|
|
|
- display: flex;
|
|
|
- font-size: 28rpx;
|
|
|
- color: rgb(127, 129, 130);
|
|
|
- margin-bottom: 20rpx;
|
|
|
- justify-content: space-between;
|
|
|
- .album-img {
|
|
|
- display: flex;
|
|
|
- .album-text {
|
|
|
- color: #333;
|
|
|
- margin-bottom: 12rpx;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-// 底部
|
|
|
-.service-footer {
|
|
|
- height: 60px;
|
|
|
- padding: 10rpx;
|
|
|
- position: fixed;
|
|
|
- left: 0;
|
|
|
- bottom: 0;
|
|
|
- right: 0;
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- background-color: #fff;
|
|
|
- border-top: 1px solid #eb8b8b;
|
|
|
- box-sizing: border-box;
|
|
|
- .service-item {
|
|
|
- display: flex;
|
|
|
- margin-top: 10rpx;
|
|
|
- margin-left: 20rpx;
|
|
|
- font-size: 14px;
|
|
|
- .service-text {
|
|
|
- margin-right: 30rpx;
|
|
|
- .chat {
|
|
|
- margin-left: 70rpx;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- .buyNow {
|
|
|
- width: 200px;
|
|
|
- height: 40px;
|
|
|
- text-align: center;
|
|
|
- line-height: 40px;
|
|
|
- border-radius: 40px;
|
|
|
- margin-top: 12rpx;
|
|
|
- margin-right: 16rpx;
|
|
|
- background-color: #f0d318;
|
|
|
- }
|
|
|
-}
|
|
|
-</style>
|
|
|
+<template>
|
|
|
+ <view class="service">
|
|
|
+ <view class="service-top">
|
|
|
+ <view class="item-flex">
|
|
|
+ <view class="title">【养车】标题标题标标题标题标题标题标题标题标题标题……</view>
|
|
|
+ <u-icon name="share-square" size="24" />
|
|
|
+ </view>
|
|
|
+ <Image src="https://cdn.uviewui.com/uview/album/1.jpg"></Image>
|
|
|
+ </view>
|
|
|
+ <view class="service-center">
|
|
|
+ <view class="price">
|
|
|
+ <view>
|
|
|
+ <view class="price-item">
|
|
|
+ <text class="price-text">¥</text>199
|
|
|
+ </view>
|
|
|
+ <view class="bottom-text">门市价 ¥489</view>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <view class="favorable">优惠推荐</view>
|
|
|
+ <view class="bottom-text">还剩 49 天 02 时</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- 优惠券 -->
|
|
|
+ <view class="coupon flex" v-for="(item,index) in couponList" :key="index">
|
|
|
+ <view class="coupon-left flex">
|
|
|
+ <span class="coupon-left-mark">¥</span>
|
|
|
+ <span class="coupon-left-price">5</span>
|
|
|
+ </view>
|
|
|
+ <view class="coupon-middle flex">
|
|
|
+ <view class="coupon-middle-user over-hide">养车/用车品类新用户专享</view>
|
|
|
+ <view class="coupon-middle-type over-hide">养车用车服务通用</view>
|
|
|
+ </view>
|
|
|
+ <view class="coupon-right flex">
|
|
|
+ <view v-if="false" class="coupon-right-time flex">
|
|
|
+ <view class="tip">有效期仅剩</view>
|
|
|
+ <view class="time">{{resetTime}}</view>
|
|
|
+ </view>
|
|
|
+ <view v-else class="coupon-right-get">可领取</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <!-- 服务详情 -->
|
|
|
+ <view class="detail">
|
|
|
+ <view class="detail-text">服务详情</view>
|
|
|
+ <view class="detail-des">
|
|
|
+ 为您提供汽车基本保养服务,包括机油更换、滤芯 更换、轮胎气压检查等.
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <!-- 评价内容 -->
|
|
|
+ <view class="Evaluate-content">
|
|
|
+ <view v-for="(item,index) in userCommentList" :key="index">
|
|
|
+ <view class="commnet-user flex">
|
|
|
+ <image :src="item.user.pic" style="width: 40px; height: 40px; border-radius: 50%" />
|
|
|
+ <view class="commnet-user-middle flex">
|
|
|
+ <view class="name flex">{{item.user.userName}}</view>
|
|
|
+ <u-rate class="rate" :value="item.user.rate" readonly :size="12" gutter="1"
|
|
|
+ active-color="#ffa500" />
|
|
|
+ </view>
|
|
|
+ <view class="time">{{item.user.time}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="commnet-text">{{item.comment}}</view>
|
|
|
+ <view class="commnet-img">
|
|
|
+ <image class="img" v-for="(img,index) in item.imgList" :key="index" :src="img" mode="widthFix" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <!-- 底部 -->
|
|
|
+ <view class="service-footer">
|
|
|
+ <view class="user-operate" v-for="(item,index) in userOperate" :key="index" @tap="collect(index)">
|
|
|
+ <u-icon class="user-operate-icon" :name="hascollect?item.fill?item.fill:item.icon:item.icon"
|
|
|
+ size="24" />
|
|
|
+ <text class="user-operate-text">{{item.name}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="buyNow">立即购买</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+ export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ albumWidth: 0,
|
|
|
+ urls2: [
|
|
|
+ 'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/2.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/3.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/4.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/5.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/6.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/7.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/8.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/9.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/10.jpg',
|
|
|
+ ],
|
|
|
+ couponList: [{}, {}],
|
|
|
+ resetTime: '23:59:59',
|
|
|
+ userOperate: [{
|
|
|
+ name: '店铺',
|
|
|
+ icon: "file-text"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '立即咨询',
|
|
|
+ icon: 'chat'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '收藏',
|
|
|
+ icon: 'heart',
|
|
|
+ fill: 'heart-fill'
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ hascollect: false, // 当前店铺是否被收藏
|
|
|
+ userCommentList: [{
|
|
|
+ user: {
|
|
|
+ userName: '李****阳',
|
|
|
+ pic: 'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
|
+ rate: 3.8,
|
|
|
+ time: '2023.06.18'
|
|
|
+ },
|
|
|
+ comment: '评论内容评论内容评论内容评论内容评论内容评论内容评论内容评论内容评论内容评论内容',
|
|
|
+ imgList: [
|
|
|
+ 'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ user: {
|
|
|
+ userName: '李****阳',
|
|
|
+ pic: 'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
|
+ rate: 3.8,
|
|
|
+ time: '2023.06.18'
|
|
|
+ },
|
|
|
+ comment: '评论内容评论内容评论内容评论内容评论内容评论内容评论内容评论内容评论内容评论内容',
|
|
|
+ imgList: [
|
|
|
+ 'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ user: {
|
|
|
+ userName: '李****阳',
|
|
|
+ pic: 'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
|
+ rate: 3.8,
|
|
|
+ time: '2023.06.18'
|
|
|
+ },
|
|
|
+ comment: '评论内容评论内容评论内容评论内容评论内容评论内容评论内容评论内容评论内容评论内容',
|
|
|
+ imgList: [
|
|
|
+ 'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
|
+ 'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ };
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ collect(index) {
|
|
|
+ if (index === 2) {
|
|
|
+ this.hascollect = !this.hascollect
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ };
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+ .service {
|
|
|
+ min-height: 100vh;
|
|
|
+ }
|
|
|
+
|
|
|
+ .service-top {
|
|
|
+ margin: 20rpx;
|
|
|
+
|
|
|
+ .item-flex {
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ .title {
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: bold;
|
|
|
+ margin: 20rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ Image {
|
|
|
+ width: 100%;
|
|
|
+ height: 200px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .service-center {
|
|
|
+ margin: 20rpx;
|
|
|
+
|
|
|
+ .price {
|
|
|
+ height: 110rpx;
|
|
|
+ padding: 10rpx 30rpx;
|
|
|
+ display: flex;
|
|
|
+ margin: 30rpx 0;
|
|
|
+ color: #fff;
|
|
|
+ font-size: 24rpx;
|
|
|
+ font-weight: lighter;
|
|
|
+ font-weight: normal;
|
|
|
+ box-sizing: border-box;
|
|
|
+ border-radius: 20rpx 20rpx 0 0;
|
|
|
+ background-color: #6c9fc3;
|
|
|
+ justify-content: space-between;
|
|
|
+
|
|
|
+ .price-item {
|
|
|
+ font-size: 35rpx;
|
|
|
+ margin-bottom: 6rpx;
|
|
|
+ font-weight: 600;
|
|
|
+
|
|
|
+ .price-text {
|
|
|
+ font-size: 24rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .favorable {
|
|
|
+ font-size: 34rpx;
|
|
|
+ font-weight: 600;
|
|
|
+ margin-bottom: 6rpx;
|
|
|
+ letter-spacing: 4rpx;
|
|
|
+ text-align: right;
|
|
|
+ }
|
|
|
+
|
|
|
+ .bottom-text {
|
|
|
+ font-size: 24rpx;
|
|
|
+ font-weight: 100;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 优惠券
|
|
|
+ .flex {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ .over-hide {
|
|
|
+ white-space: nowrap;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+
|
|
|
+ .coupon {
|
|
|
+ height: 130rpx;
|
|
|
+ display: flex;
|
|
|
+ font-size: 32rpx;
|
|
|
+ color: #f2110d;
|
|
|
+ border-radius: 10rpx;
|
|
|
+ margin-bottom: 25rpx;
|
|
|
+ padding: 20rpx 25rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
+ background-color: #faeaea;
|
|
|
+ border: 2rpx solid #eb8b8b;
|
|
|
+
|
|
|
+ .coupon-left {
|
|
|
+ width: 10%;
|
|
|
+ height: 100%;
|
|
|
+
|
|
|
+ .coupon-left-price {
|
|
|
+ font-size: 65rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .coupon-middle {
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: flex-start;
|
|
|
+ width: 60%;
|
|
|
+ height: 100%;
|
|
|
+
|
|
|
+ .coupon-middle-user {
|
|
|
+ width: 100%;
|
|
|
+ font-size: 30rpx;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+
|
|
|
+ .coupon-middle-type {
|
|
|
+ width: 100%;
|
|
|
+ font-size: 24rpx;
|
|
|
+ font-weight: 600;
|
|
|
+ opacity: 0.8;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .coupon-right {
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: flex-start;
|
|
|
+ width: 25%;
|
|
|
+ height: 100%;
|
|
|
+
|
|
|
+ .coupon-right-time {
|
|
|
+ height: 100%;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .tip {
|
|
|
+ font-size: 30rpx;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+
|
|
|
+ .time {
|
|
|
+ font-size: 24rpx;
|
|
|
+ font-weight: 600;
|
|
|
+ opacity: 0.8;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .coupon-right-get {
|
|
|
+ width: 80%;
|
|
|
+ background-color: #E8A87C;
|
|
|
+ height: 55rpx;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 1.5;
|
|
|
+ margin-top: 15rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 服务详情
|
|
|
+ .detail {
|
|
|
+ margin: 40rpx 20rpx 20rpx 20rpx;
|
|
|
+
|
|
|
+ .detail-text {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: bold;
|
|
|
+ margin-bottom: 10rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .detail-des {
|
|
|
+ margin-left: 15rpx;
|
|
|
+ font-size: 25rpx;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 评价内容
|
|
|
+ .Evaluate-content {
|
|
|
+ margin: 20rpx;
|
|
|
+ padding-bottom: 120rpx;
|
|
|
+
|
|
|
+ .commnet-user {
|
|
|
+ height: 90rpx;
|
|
|
+
|
|
|
+ .commnet-user-middle {
|
|
|
+ height: 100%;
|
|
|
+ width: 60%;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-evenly;
|
|
|
+ align-items: flex-start;
|
|
|
+
|
|
|
+ .name {
|
|
|
+ font-size: 28rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .rate {
|
|
|
+ width: 30%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .time {
|
|
|
+ align-self: flex-end;
|
|
|
+ font-size: 24rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .commnet-text {
|
|
|
+ margin-bottom: 20rpx;
|
|
|
+ font-size: 24rpx;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+
|
|
|
+ .commnet-img .img {
|
|
|
+ width: 225rpx;
|
|
|
+ margin-right: 10rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 底部
|
|
|
+ .service-footer {
|
|
|
+ height: 60px;
|
|
|
+ padding: 10rpx 20rpx;
|
|
|
+ position: fixed;
|
|
|
+ left: 0;
|
|
|
+ bottom: 0;
|
|
|
+ right: 0;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ background-color: #fff;
|
|
|
+ border-top: 1px solid #eb8b8b;
|
|
|
+ box-sizing: border-box;
|
|
|
+
|
|
|
+ .u-icon {
|
|
|
+ justify-content: center !important;
|
|
|
+ }
|
|
|
+
|
|
|
+ .user-operate-text {
|
|
|
+ font-size: 24rpx;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+
|
|
|
+ .buyNow {
|
|
|
+ width: 200px;
|
|
|
+ height: 40px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 40px;
|
|
|
+ border-radius: 40px;
|
|
|
+ background-color: #f0d318;
|
|
|
+ }
|
|
|
+ }
|
|
|
+</style>
|