diff --git a/common/request.js b/common/request.js index c3e7e5b..42aafc8 100644 --- a/common/request.js +++ b/common/request.js @@ -4,7 +4,7 @@ export function host(host='default',suffix='/plant_manage'){ return( process.env.NODE_ENV === 'development'?{ // default:`http://10.0.0.217${suffix}` //陈 - default:`http://nrmmg7.natappfree.cc${suffix}` //马 + default:`http://mq3s8b.natappfree.cc${suffix}` //马 }:{ default:`http://qv6mj8.natappfree.cc${suffix}` } diff --git a/main.js b/main.js index 5d5ab87..34c3620 100644 --- a/main.js +++ b/main.js @@ -2,13 +2,11 @@ import Vue from 'vue' import App from './App' import store from './store' import uView from 'uview-ui'; -import cuNavbar from './components/cu-navbar.vue' -import dForm from './components/form.vue' +// import cuNavbar from './components/cu-navbar.vue' import {defineObj} from 'black-knight/lib/config/custom' Vue.use(uView) -Vue.component("cuNavbar", cuNavbar) -Vue.component("dForm", dForm) +// Vue.component("cuNavbar", cuNavbar) Vue.prototype.$store=store Vue.config.productionTip = false diff --git a/pages/home/index.vue b/pages/home/index.vue index 776178a..9dbf84a 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -249,13 +249,13 @@ - 422.25 + {{massif.plantArea}} - 12 + {{massif.productCount}} diff --git a/pages/home/login.vue b/pages/home/login.vue index af6d11f..10a0857 100644 --- a/pages/home/login.vue +++ b/pages/home/login.vue @@ -54,7 +54,7 @@ - + 还没有账号?立即注册 @@ -64,6 +64,7 @@ export default { data(){ return{ demo:[], + formData:{ password:"", username:"", diff --git a/pages/massif/add_farming.vue b/pages/massif/add_farming.vue index 3eda4b6..182383f 100644 --- a/pages/massif/add_farming.vue +++ b/pages/massif/add_farming.vue @@ -88,9 +88,9 @@