4月29日提交

master
rosehan 2 years ago
parent 94a8374d76
commit 127b633e11
  1. 109
      pages/index.vue

@ -35,56 +35,52 @@
<!-- 首页 导航 -->
<view class="v-index-nav v-container row m-t-small">
<view class="v-index-nav-item col-8" @click="GoToPage('addCrops')">
<navigator url="/sunPages/addCrops/addCrops">
<view class="icon">
<image class="v-index-bg"
src="https://sy.hbcjy.com/prod-api/admin-api/infra/file/23/get/1d1c59ba8721e4ed64637dc54ceea85453ff907a2a8668e2ae43927e28e89540.png">
</image>
</view>
<view class="text">开始种植</view>
</navigator>
<view class="icon">
<image class="v-index-bg"
src="https://sy.hbcjy.com/prod-api/admin-api/infra/file/23/get/1d1c59ba8721e4ed64637dc54ceea85453ff907a2a8668e2ae43927e28e89540.png">
</image>
</view>
<view class="text">开始种植</view>
</view>
<view class="v-index-nav-item col-8" @click="GoToPage('addNoteJob')">
<view class="icon">
<image class="v-index-bg"
src="https://sy.hbcjy.com/prod-api/admin-api/infra/file/23/get/64c3e31ec9526832f18c22cf2657448c4e2075a7b991a5605e15a670034dee40.png">
</image>
</view>
<view class="text">农事操作</view>
<view class="v-index-nav-item col-8" @click="GoToPage('addNoteJob')">
<view class="icon">
<image class="v-index-bg"
src="https://sy.hbcjy.com/prod-api/admin-api/infra/file/23/get/64c3e31ec9526832f18c22cf2657448c4e2075a7b991a5605e15a670034dee40.png">
</image>
</view>
<view class="text">农事操作</view>
</view>
<view class="v-index-nav-item col-8" @click="GoToPage('machiningIndex')">
<navigator url="/sunPages/traceability-product/machining/index">
<view class="icon">
<image class="v-index-bg"
src="https://sy.hbcjy.com/prod-api/admin-api/infra/file/23/get/f7735fc972de7a1e73fd315e38639b054b79a969830f0aa6c42e974f54579fed.png">
</image>
</view>
<view class="text">产品加工</view>
</navigator>
<view class="icon">
<image class="v-index-bg"
src="https://sy.hbcjy.com/prod-api/admin-api/infra/file/23/get/f7735fc972de7a1e73fd315e38639b054b79a969830f0aa6c42e974f54579fed.png">
</image>
</view>
<view class="text">产品加工</view>
</view>
<view class="v-index-nav-item col-8" @click="GoToPage('deliveryIndex')">
<view class="icon">
<image class="v-index-bg"
src="https://sy.hbcjy.com/prod-api/admin-api/infra/file/23/get/80bb27e0cedca02c88d3b226b169a5b57fe1b6c2505743ceda40ae328e161287.png">
</image>
</view>
<view class="text">配送记录</view>
<view class="v-index-nav-item col-8" @click="GoToPage('deliveryIndex')">
<view class="icon">
<image class="v-index-bg"
src="https://sy.hbcjy.com/prod-api/admin-api/infra/file/23/get/80bb27e0cedca02c88d3b226b169a5b57fe1b6c2505743ceda40ae328e161287.png">
</image>
</view>
<view class="text">配送记录</view>
</view>
<view class="v-index-nav-item col-8" @click="GoToPage('salesIndex')">
<view class="icon">
<image class="v-index-bg"
src="https://sy.hbcjy.com/prod-api/admin-api/infra/file/23/get/42746f3ff8e9bda732e8821fa80b791e21b725053eb95de95a595b91b737594d.png">
</image>
</view>
<view class="text">销售记录</view>
<view class="v-index-nav-item col-8" @click="GoToPage('salesIndex')">
<view class="icon">
<image class="v-index-bg"
src="https://sy.hbcjy.com/prod-api/admin-api/infra/file/23/get/42746f3ff8e9bda732e8821fa80b791e21b725053eb95de95a595b91b737594d.png">
</image>
</view>
<view class="text">销售记录</view>
</view>
<view class="v-index-nav-item col-8" @click="GoToPage('lossIndex')">
<view class="icon">
<image class="v-index-bg"
src="https://sy.hbcjy.com/prod-api/admin-api/infra/file/23/get/5cc5e5c663df1f7bb8acf73219a60bc9b14ed13482f8df294349acc503163f1b.png">
</image>
</view>
<view class="text">报损记录</view>
<view class="v-index-nav-item col-8" @click="GoToPage('lossIndex')">
<view class="icon">
<image class="v-index-bg"
src="https://sy.hbcjy.com/prod-api/admin-api/infra/file/23/get/5cc5e5c663df1f7bb8acf73219a60bc9b14ed13482f8df294349acc503163f1b.png">
</image>
</view>
<view class="text">报损记录</view>
</view>
</view>
@ -209,6 +205,31 @@
url: '/sunPages/traceability-code/inventory'
});
break;
case "addCrops":
uni.navigateTo({
url: '/sunPages/addCrops/addCrops'
});
break;
case "machiningIndex":
uni.navigateTo({
url: '/sunPages/traceability-product/machining/index'
});
break;
case "deliveryIndex":
uni.navigateTo({
url: '/sunPages/traceability-product/delivery/index'
});
break;
case "salesIndex":
uni.navigateTo({
url: '/sunPages/traceability-product/sales/index'
});
break;
case "lossIndex":
uni.navigateTo({
url: '/sunPages/traceability-product/loss/index'
});
break;
}
},

Loading…
Cancel
Save