@ -8,11 +8,11 @@
< view class = "m-mapbox" >
< map class = "m-map" name = "" id = "map" :longitude ="longitude" :latitude ="latitude" :polygons ="polygons" enable -satellite = " true " > < / map >
< view class = "m-shadow" >
< view class = "m-mj" > { { blockData . blockArea || '0' } } 亩 < / view >
< view class = "m-type" > < dict -tag :type ="'land_type'" :value ="blockData.blockType" class = "m-dic-tag" / > < / view >
< view class = "m-mj" > 占地面积 : { { blockData . blockArea || '0' } } 亩 < / view >
< / view >
< / view >
< z -tabs :list ="tabList" @change ="tabChange" / >
< z -tabs active -color = " # 14C171 " :list ="tabList" @change ="tabChange" / >
< view class = "m-data-pick" v-if ="tabIndex == 2" >
< uni -datetime -picker class = "no-time-pick" @change ="searchData" v -model = " datetimerange " type = "datetimerange" rangeSeparator = "至" / >
< / view >
@ -27,9 +27,8 @@
< view class = "m-pro-name" >
{ { item . productName } }
< / view >
< view class = "m-pro-species" > 品种 : { { item . speciesName } } < / view >
< view class = "m-pro-Type" >
标准 :
< view class = "tag-box" >
< view class = "item-verity" v-if ="item.speciesName" > {{ item.speciesName }} < / view >
< dict -tag class = "m-dic-tag" :type ="'authentication_type'" :value ="item.authenticationType" / >
< / view >
< view class = "m-pro-Time" >
@ -39,8 +38,14 @@
< / view >
< / view >
< view class = "m-item-bottom" >
< view class = "m-note" @click.stop ="getNoteList(item)" > 农事记录 < / view >
< view class = "m-end-pro" @click.stop ="stopCropper(item)" > 种植结束 < / view >
< view class = "m-note" @click.stop ="getNoteList(item)" >
< uni -icons type = "compose" size = "16" > < / u n i - i c o n s >
农事记录
< / view >
< view class = "m-end-pro" @click.stop ="stopCropper(item)" >
< text class = "iconfont icon-end m-r-mini" > < / text >
种植结束
< / view >
< / view >
< / view >
< / template >
@ -52,16 +57,16 @@
< view class = "m-pro-name" >
{ { item . productName } }
< / view >
< view class = "m-pro-species" > 品种 : { { item . speciesName } } < / view >
< view class = "m-pro-Type" >
标准 :
< view class = "tag-box" >
< view class = "item-verity" v-if ="item.speciesName" > {{ item.speciesName }} < / view >
< dict -tag class = "m-dic-tag" :type ="'authentication_type'" :value ="item.authenticationType" / >
< / view >
< / view >
< / view >
< view class = "m-item-bottom noflex" >
< uni -steps
: active - color = "'#3f3f3f'"
class = "m-steps"
: active - color = "'#666'"
: options = " [
{ title : '种植时间' , desc : parseTime ( item . plantTime , '{y}-{m}-{d}' ) } ,
{ title : '结束时间' , desc : parseTime ( item . endTime , '{y}-{m}-{d}' ) }
@ -79,15 +84,14 @@
< view class = "m-pro-name" >
{ { item . productName } }
< / view >
< view class = "m-pro-species" > 品种 : { { item . speciesName } } < / view >
< view class = "m-pro-Type" >
标准 :
< view class = "tag-box" >
< view class = "item-verity" v-if ="item.speciesName" > {{ item.speciesName }} < / view >
< dict -tag class = "m-dic-tag" :type ="'authentication_type'" :value ="item.authenticationType" / >
< / view >
< view class = "m-pro-Time" > 采收时间 : { { parseTime ( item . jobTime , '{y}-{m}-{d}' ) } } < / view >
< / view >
< view class = "m-big-num" >
{ { item . production } }
< span class = "weight" > { { item . production } } < / span >
< br / >
公斤
< / view >
@ -366,6 +370,7 @@ export default {
height : 500 rpx ;
overflow : hidden ;
position : relative ;
border - radius : 10 rpx ;
. m - map {
width : 100 % ;
@ -375,27 +380,40 @@ export default {
. m - shadow {
display : flex ;
position : absolute ;
bottom : 0 ;
align - items : center ;
bottom : 22 rpx ;
left : 20 rpx ;
white - space : nowrap ;
background : rgba ( 0 , 0 , 0 , 0.5 ) ;
color : # eee ;
padding : 15 rpx 20 rpx ;
width : 100 % ;
justify - content : space - between ;
background : # ebfff5 ;
box - shadow : 0 rpx 6 rpx 14 rpx 0 rpx rgba ( 20 , 193 , 113 , 0.15 ) ;
border - radius : 28 rpx ;
border : 1 px solid # ffffff ;
padding : 10 rpx 15 rpx ;
width : fit - content ;
color : # 1 b1b1b ;
font - size : 24 rpx ;
/deep/ . m - dic - tag . v - dict - text {
font - size : 28 rpx ;
/deep/ . m - dic - tag {
margin - right : 16 rpx ;
color : # fff ;
background - color : # 14 c171 ;
border : 2 rpx solid # 14 c171 ;
padding : 2 rpx 20 rpx ;
border - radius : 8 rpx ;
font - size : 24 rpx ;
}
}
}
. item {
margin : 30 rpx 10 rpx ;
box - shadow : 0 0 7 px 1 px # a2a2a2 ;
padding : 20 rpx 15 rpx ;
margin : 30 rpx 20 rpx ;
box - shadow : 0 0 9 px 1 px # ddd ;
padding : 20 rpx 30 rpx ;
border - radius : 20 rpx ;
background : # fff ;
. m - item - box {
. m - item - top {
border - bottom : solid 1 rpx # 666 ;
border - bottom : solid 1 rpx # dedede ;
display : flex ;
padding - bottom : 20 rpx ;
align - items : center ;
@ -403,38 +421,73 @@ export default {
. m - item - img {
width : 150 rpx ;
height : 150 rpx ;
border - radius : 50 % ;
border - radius : 20 rpx ;
margin - right : 30 rpx ;
}
. m - pro - custrom {
flex : 1 ;
. m - pro - name {
font - size : 35 rpx ;
font - size : 34 rpx ;
font - weight : bold ;
padding - left : 20 rpx ;
position : relative ;
& : before {
content : '' ;
position : absolute ;
top : 20 % ;
left : 0 ;
width : 4 rpx ;
height : 60 % ;
border - radius : 8 rpx ;
background - color : # 14 c171 ;
}
}
. tag - box {
display : flex ;
align - items : center ;
margin - top : 10 rpx ;
margin - bottom : 10 rpx ;
. item - verity {
font - size : 24 rpx ;
color : # ffa800 ;
background - color : rgba ( 255 , 168 , 0 , 0.1 ) ;
border : 2 rpx solid rgba ( 255 , 168 , 0 , 0.1 ) ;
margin - right : 15 rpx ;
padding : 0 10 rpx ;
}
. m - dic - tag {
font - size : 24 rpx ;
color : # 14 c171 ;
background - color : rgba ( 20 , 193 , 113 , 0.1 ) ;
border : 2 rpx solid rgba ( 20 , 193 , 113 , 0.1 ) ;
padding : 0 10 rpx ;
}
}
. m - pro - Time {
display : flex ;
justify - content : space - between ;
width : 100 % ;
color : # 666 ;
. m - daysdiff {
color : # 00 af7f ;
}
}
/deep/ . m - dic - tag . v - dict - text {
font - size : 28 rpx ;
}
}
. m - big - num {
width : 20 % ;
font - size : 35 rpx ;
font - weight : bold ;
font - size : 28 rpx ;
white - space : nowrap ;
overflow : hidden ;
text - overflow : ellipsis ;
text - align : center ;
color : # 666 ;
. weight {
color : # 00 af7f ;
font - weight : bold ;
}
}
}
. m - item - bottom {
@ -446,6 +499,24 @@ export default {
. m - note {
margin - right : 20 rpx ;
background : # 14 c171 ;
padding : 4 rpx 10 rpx ;
color : # fff ;
border - radius : 10 rpx ;
display : flex ;
align - items : center ;
/deep/ . uni - icons {
color : # fff ! important ;
}
}
. m - end - pro {
background : # ffa800 ;
color : # fff ;
padding : 4 rpx 10 rpx ;
display : flex ;
align - items : center ;
border - radius : 10 rpx ;
}
}
. noflex {