diff --git a/pages/home/index.vue b/pages/home/index.vue
index 543c6ba..582561d 100644
--- a/pages/home/index.vue
+++ b/pages/home/index.vue
@@ -65,6 +65,41 @@
}
}
.card{
+ &.area{
+ position:relative;
+ z-index: 20;
+ table{
+ width:100%;
+ border-bottom:2rpx solid rgba(216, 216, 216, 0.2);
+ tr{
+ &.title{
+ font-size:24rpx;
+ }
+ &.value{
+ color:#10C176;
+ font-size:32rpx;
+ font-weight: bold;
+ }
+ }
+ }
+ .article{
+ display:flex;
+ align-items: center;
+ padding-top:20rpx;
+ text{
+ &:before{
+ color:#31C888;
+ margin-right:14rpx;
+ }
+ &.line{
+ width:5rpx;
+ height: 52rpx;
+ background:rgba(216, 216, 216, 0.2);
+ margin:0 30rpx 0 auto;
+ }
+ }
+ }
+ }
&.mana{
width:calc(50% - 46rpx);
flex-shrink: 0;
@@ -272,7 +307,21 @@
-
+
+
+ 地块个数(个) | 地块面积(亩) | 在种品种(种) | 在种面积(亩) |
+ {{massif.plotNum}} | {{massif.totalArea}} | {{massif.plantArea}} | {{massif.productCount}} |
+
+
+
+
+
+ 库存
+ 采购
+
+
+
+
@@ -318,7 +367,7 @@
-
+
{{$store.state.baseInfo.name||'基地管理'}} 切换基地
@@ -362,7 +411,7 @@
\ No newline at end of file
diff --git a/router/massif.js b/router/massif.js
index 6051dba..76bcd91 100644
--- a/router/massif.js
+++ b/router/massif.js
@@ -143,4 +143,15 @@ module.exports=[
}
}
},
+ {
+ path:"pages/massif/myPlant",
+ style:{
+ navigationBarTitleText:"我的种植",
+ navigationBarBackgroundColor:"#10C176",
+ navigationBarTextStyle:"white",
+ "app-plus":{
+ titleNView:true,
+ }
+ }
+ },
]
\ No newline at end of file
diff --git a/store/index.js b/store/index.js
index 5f57f90..7de52c5 100644
--- a/store/index.js
+++ b/store/index.js
@@ -6,7 +6,6 @@ export default new Vuex.Store({
state:{
userInfo:{},
token:"",
- plantBaseInfoId:"",
baseInfo:{
id:"",
name:"",
diff --git a/uni.scss b/uni.scss
index 4e15ff2..00efe57 100644
--- a/uni.scss
+++ b/uni.scss
@@ -77,7 +77,7 @@ $uni-font-size-paragraph:15px;
@import '@/common/main.css';
@import 'uview-ui/theme.scss';
-@import url('https://at.alicdn.com/t/c/font_3852037_8frcz777lb4.css');
+@import url('https://at.alicdn.com/t/c/font_3852037_huussxt3ujw.css');
[class*=plant-]{
font-family: "plantMana" !important;
font-size: 16px;