xiaozhiyong 1 year ago
parent 99d4c7ed15
commit 23c2f5cf91
  1. 20
      components/site-item/site-item.vue

@ -10,7 +10,7 @@
<!-- <my-icon iconName="sy-der-icon.png" class="padding-right-xs text-sm"></my-icon> -->
<!-- {{siteItem.juli|distanceFilter}} -->
<text v-if="!location">暂无信息</text>
<text v-else >{{siteInfo.juli|distanceFilter}}</text>
<text v-else>{{siteItem.juli|distanceFilter}}</text>
</view>
</view>
<view>
@ -72,9 +72,9 @@
<script>
export default {
props: {
location:{
type:Object,
default:()=>null
location: {
type: Object,
default: () => null
},
siteItem: {
type: Object,
@ -147,16 +147,19 @@
align-items: flex-start !important;
padding: 25rpx;
// margin-bottom: 1.8rem;
line-height:1.5rem;
line-height: 1.5rem;
.content {
flex:1;
flex: 1;
overflow: hidden;
.action {
position: absolute;
right: 35rpx;
top: 24rpx;
}
}
>.radius {
margin-right: 30rpx;
width: 96rpx;
@ -187,11 +190,12 @@
.text-xl {
font-size: 30rpx;
}
.activity {
display: flex;
width: 85%;
// padding: 10rpx 20rpx;
border:2rpx solid #1890FF ;
border: 2rpx solid #1890FF;
border-radius: 10rpx;
.title {
@ -199,7 +203,7 @@
padding: 10rpx 0;
line-height: 36rpx;
text-align: center;
color: #1890FF ;
color: #1890FF;
background: #1890FF30;
}

Loading…
Cancel
Save