You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

128 lines
3.8 KiB

4 years ago
<template>
<view class="content">
  <view class="orderCol">
<view class="title">
<view>孕期保健Q&A<text class="free">免费</text></view>
</view>
<view class="infoList">
<view class="infoCol"><view class="date"><image mode="heightFix" src="../../static/icon_shijian@2x.png"></image>2有效期至:2018年11月25日</view><view class="price"><text>¥</text>100</view></view>
<view class="infoCol"><view class="bulid"><image mode="heightFix" src="../../static/icon_dianpu@2x.png"></image>时光印记孕妈妈摄影机构</view></view>
</view>
<view class="evaluateBox">
<view class="discuss">
<view class="dis_l">评分</view>
<view class="starBox">
<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png"></image>
<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png"></image>
<image mode="heightFix" src="../../static/icon_detail_star_pre@2x.png"></image>
<image mode="heightFix" src="../../static/icon_detail_star_nor@2x.png"></image>
<image mode="heightFix" src="../../static/icon_detail_star_nor@2x.png"></image>
</view>
</view>
<view class="ev_title">形式生动有趣</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
onLoad() {
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.orderCol{
background: #fff;
border-radius: 16rpx;
width:710rpx;
margin:20rpx auto 0 auto;
padding: 0 30rpx;
box-sizing: border-box;
.title{
padding:30rpx 0;
display: flex;
justify-content: space-between;
align-content: center;
align-items: center;
font-size:32rpx;
font-weight: 500;
color:#333;
.free{display:inline-block;width: 58rpx;height: 32rpx;background: #FF753E;border-radius: 6rpx;font-size: 20rpx;font-weight: 400;color: #FFFFFF;text-align: center;line-height:32rpx;margin-left:10rpx;}
.status{font-size: 28rpx;font-weight: 400;color: #666666;}
}
.btn{
display: flex;
justify-content: flex-end;
padding:30rpx 0;
text{
display: block;
width: 160rpx;
height: 64rpx;
border-radius: 8rpx;
border: 2rpx solid #DEDEDE;
font-size: 28rpx;
font-weight: 400;
color: #333333;
text-align:center;
line-height:64rpx;
}
}
.infoList{
padding-bottom:30rpx;
.infoCol{
display: flex;
justify-content: space-between;
color:#666;
font-size: 28rpx;
line-height:40rpx;
.date image{width:26rpx;height:26rpx;display: inline-block;margin-right:12rpx;}
.bulid{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.bulid image{width:25rpx;height:26rpx;display: inline-block;margin-right:12rpx;}
.address{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.address image{width:24rpx;height:26rpx;display: inline-block;margin-right:12rpx;}
.price{
font-size: 36rpx;
font-weight: 500;
color: #FF578A;
text{font-size: 28rpx;margin-right:5rpx;}
}
}
}
}
.evaluateBox{
width:100%;
box-sizing: border-box;
border-top:1rpx solid #f4f4f4;
padding-bottom:30rpx;
.ev_title{font-size:32rpx;font-weight: 500;color:#333;margin-top:25rpx;}
.discuss{
display: flex;justify-content: flex-start;margin-top:25rpx;position: relative;align-items: center;align-content: center;
.dis_l{font-size:28rpx;color:#333;font-weight: 500;padding-top:5rpx;}
.starBox{
display: flex;
justify-content: flex-start;
margin-left: 32rpx;
image{display: block;width:26rpx;height:26rpx;margin-right:8rpx;}
}
}
}
</style>