xiaozhiyong 1 year ago
parent 99d4c7ed15
commit 23c2f5cf91
  1. 26
      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,23 +147,26 @@
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;
height: 96rpx;
font-size: 2em;
background-size: 100% 100%;
}
}
@ -187,22 +190,23 @@
.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 {
width: 20%;
padding: 10rpx 0;
line-height: 36rpx;
text-align: center;
color: #1890FF ;
color: #1890FF;
background: #1890FF30;
}
.content {
flex: 1;
padding: 10rpx 20rpx;

Loading…
Cancel
Save