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.
 
 
 
 
 

100 lines
2.3 KiB

<style lang="scss" scoped>
.container{
padding:30rpx;
background:#F6F6F6;
min-height: 100%;
.card{
margin:0;
.item{
border-top:2rpx solid rgba(216,216,216,0.4);
height:80rpx;
display:flex;
align-items: center;
justify-content: space-between;
color:#777;
font-size:28rpx;
text{
&:first-child{
flex-shrink: 0;
}
}
&.inline{
flex-direction: column;
align-items: flex-start;
height:auto;
padding-bottom:20rpx;
text:first-child{
margin:20rpx 0;
}
}
.imgs{
margin:0 -20rpx -20rpx 0;
width:100%;
display:flex;
flex-wrap: wrap;
image{
height:160rpx;
margin:0 20rpx 20rpx 0;
width:calc((100% - 40rpx)/3);
border-radius: 8rpx;
&:nth-child(3n){
margin-right:0;
}
}
}
.detail{
background:#F7F7F7;
border-radius: 24rpx;
padding:30rpx;
color:#999;
font-size:28rpx;
}
}
}
}
</style>
<template>
<view class="container">
<view class="card">
<view class="title">基本信息</view>
<view class="item">
<text>基地名称</text> <text>A122323</text>
</view>
<view class="item">
<text>地块编号</text> <text>东方红壹号基地</text>
</view>
<view class="item">
<text>地块面积</text> <text>45</text>
</view>
<view class="item">
<text>实际面积</text> <text>44</text>
</view>
<view class="item inline">
<text>地块图片</text>
<view class="imgs">
<image src="https://tse2-mm.cn.bing.net/th/id/OIP-C.0lguFbeN1p3XPMcmThvShwHaEO?w=281&h=180&c=7&r=0&o=5&pid=1.7"/>
<image src="https://tse2-mm.cn.bing.net/th/id/OIP-C.0lguFbeN1p3XPMcmThvShwHaEO?w=281&h=180&c=7&r=0&o=5&pid=1.7"/>
<image src="https://tse2-mm.cn.bing.net/th/id/OIP-C.0lguFbeN1p3XPMcmThvShwHaEO?w=281&h=180&c=7&r=0&o=5&pid=1.7"/>
</view>
</view>
<view class="item">
<text>使用日期</text> <text>2021-10-15 2026-12-23</text>
</view>
<view class="item">
<text>经纬度</text> <text>东经97°31,北纬21°8</text>
</view>
<view class="item inline">
<text>详细地址</text>
<view class="detail">
这里是地址信息这里是地址信息这里是地址信息这里是地址信息
</view>
</view>
</view>
</view>
</template>
<script>
export default{
}
</script>