diff --git a/components/colorui/components/cu-navbar.vue b/components/cu-navbar.vue
similarity index 63%
rename from components/colorui/components/cu-navbar.vue
rename to components/cu-navbar.vue
index def8557..07b988c 100644
--- a/components/colorui/components/cu-navbar.vue
+++ b/components/cu-navbar.vue
@@ -7,12 +7,32 @@
top:0;
left:0;
width:100%;
- height:calc(var(--status-bar-height) + 100rpx);
+ box-sizing: content-box;
+ padding-top:var(--status-bar-height);
+ height:100rpx;
background-color:var(--bg);
color:var(--c);
&>.left{
transform: rotate(180deg);
padding:10rpx;
+ text.plant-youbian{
+ font-size:45rpx;
+ }
+ }
+ &>.content{
+ top:var(--status-bar-height);
+ }
+ &>.action /deep/{
+ &>button{
+ background:rgba(255, 255, 255, 0.1);
+ width:96rpx;
+ height:48rpx;
+ line-height: 48rpx;
+ text-align: center;
+ font-size:30rpx;
+ padding:0;
+ color:#fff;
+ }
}
}
}
@@ -24,7 +44,7 @@
- {{text||$root.$holder.navigationBarTitleText}}
+ {{text}}
@@ -34,7 +54,6 @@
\ No newline at end of file
diff --git a/main.js b/main.js
index 2ab4fb6..33d2112 100644
--- a/main.js
+++ b/main.js
@@ -2,11 +2,16 @@ import Vue from 'vue'
import App from './App'
import store from './store'
import uView from 'uview-ui';
-import colorUI from '@/components'
+import cuNavbar from './components/cu-navbar.vue'
+import dSearch from './components/search.vue'
+import dForm from './components/form.vue'
import {defineObj} from 'black-knight/lib/config/custom'
Vue.use(uView)
-Vue.use(colorUI)
+Vue.component("cuNavbar", cuNavbar)
+Vue.component("dSearch", dSearch)
+Vue.component("dForm", dForm)
+
Vue.prototype.$store=store
Vue.config.productionTip = false
App.mpType = 'app'
diff --git a/pages.js b/pages.js
index fb3ff53..456f679 100644
--- a/pages.js
+++ b/pages.js
@@ -11,14 +11,14 @@ module.exports = hot((pagesJson)=>{
...require('./router/stock.js'),
],
tabBar:{
- iconfontSrc:"https://at.alicdn.com/t/c/font_3852037_qesfnqbc6t.ttf",
color:"#999",
selectedColor:"#10C176",
backgroundColor:"#fff",
+ // iconWidth:"35rpx",
list:[
- {pagePath:"pages/home/index",text:"首页",iconfont:{text:"\ue602",selectedText:"\ue602",fontSize:"30rpx",color:"#999",selectedColor:"#10C176"}},
- {pagePath:"pages/massif/index",text:"地块管理",iconfont:{text:"\ue866",selectedText:"\ue866",fontSize:"30rpx",color:"#999",selectedColor:"#10C176"}},
- {pagePath:"pages/home/my",text:"我的",iconfont:{text:"\ue941",selectedText:"\ue941",fontSize:"30rpx",color:"#999",selectedColor:"#10C176"}},
+ {pagePath:"pages/home/index",text:"首页",iconPath: "/static/tab_home.png",selectedIconPath: "/static/tab_home_active.png"},
+ {pagePath:"pages/massif/index",text:"地块管理",iconPath: "/static/tab_massif.png",selectedIconPath: "/static/tab_massif_active.png"},
+ {pagePath:"pages/home/my",text:"我的",iconPath: "/static/tab_my.png",selectedIconPath: "/static/tab_my_active.png"},
]
},
}
diff --git a/pages.json b/pages.json
index 79c6a26..db5269b 100644
--- a/pages.json
+++ b/pages.json
@@ -12,6 +12,7 @@
"condition" : { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [
+ {"name": "登录","path": "pages/home/login","query": ""},
{"name": "首页","path": "pages/home/index","query": ""},
{"name": "仓库管理","path": "pages/warehouse/mana","query": ""},
{"name": "仓库基本信息","path": "pages/warehouse/info","query": ""},
diff --git a/pages/home/index.vue b/pages/home/index.vue
index 2c8f741..3766c30 100644
--- a/pages/home/index.vue
+++ b/pages/home/index.vue
@@ -1,5 +1,5 @@
-
+
diff --git a/pages/home/login.vue b/pages/home/login.vue
index 115cd41..912b263 100644
--- a/pages/home/login.vue
+++ b/pages/home/login.vue
@@ -1,8 +1,10 @@
-
+
登录
@@ -44,7 +53,9 @@
-
+
+
+ 还没有账号?立即注册
\ No newline at end of file
diff --git a/pages/massif/collectList.vue b/pages/massif/collectList.vue
new file mode 100644
index 0000000..8d0d7a2
--- /dev/null
+++ b/pages/massif/collectList.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+ 化肥 中量元素水溶肥
+
+
+ 微量元素肥 云南云天化股份有限公司
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/massif/detail.vue b/pages/massif/detail.vue
index c331d9a..2901601 100644
--- a/pages/massif/detail.vue
+++ b/pages/massif/detail.vue
@@ -1,5 +1,5 @@
-
+
基本信息
diff --git a/pages/massif/index.vue b/pages/massif/index.vue
index 8a4713a..058e099 100644
--- a/pages/massif/index.vue
+++ b/pages/massif/index.vue
@@ -1,34 +1,13 @@
-
+
-
-
-
-
-
+
diff --git a/pages/massif/info.vue b/pages/massif/info.vue
index 47ac794..48e3174 100644
--- a/pages/massif/info.vue
+++ b/pages/massif/info.vue
@@ -1,5 +1,5 @@
-
+
- .content{
+ .container{
min-height: 100%;
background:#F6F6F6;
&>map{
height:348rpx;
width:100%;
+ margin-bottom:-9rpx;
}
&>.u-tabs{
background:#fff;
@@ -14,7 +15,7 @@
}
-
+
diff --git a/pages/massif/mana/plantPlan.vue b/pages/massif/mana/plantPlan.vue
index 73d672c..f64a822 100644
--- a/pages/massif/mana/plantPlan.vue
+++ b/pages/massif/mana/plantPlan.vue
@@ -38,7 +38,7 @@
width:80rpx;
line-height: 40rpx;
text-align: center;
- border-radius: 4rpx;
+ border-radius: 6rpx;
margin-right:12rpx;
}
&:nth-child(2){
@@ -85,13 +85,6 @@
}
}
}
- button{
- margin:auto;
- display: flex;
- width:80%;
- margin-top:90rpx;
- background:#10C176;
- }
}
@@ -114,7 +107,7 @@
-
+