huangxw 4 veckor sedan
förälder
incheckning
e8923af11b

+ 1 - 1
src/components/ut-tabar/ut-tabar.vue

@@ -20,7 +20,7 @@
                     <image  v-else class="w-80 h-80" src="https://ta.zycpzs.cn/oss-file/smart-trace/szyy/images-plt/plant/bottomWarehouse.png" mode="widthFix" style="position: absolute; top: -40rpx" />
                 </view>
                 <view class="d-flex a-c flex1 j-sa">
-                    <view class="c-#999 f-s-24 d-flex flex-cln j-c a-c">
+                    <view class="c-#999 f-s-24 d-flex flex-cln j-c a-c" @click="$u.route({ type: 'switchTab', url: '/pages/plant/processing/index' })">
                         <image v-if="activeTab === 'processing'" class="w-80 h-80" src="https://ta.zycpzs.cn/oss-file/smart-trace/szyy/images-plt/plant/bottomProcessingPackagingActive.png" mode="widthFix" />
                         <image v-else class="w-80 h-80" src="https://ta.zycpzs.cn/oss-file/smart-trace/szyy/images-plt/plant/bottomProcessingPackaging.png" mode="widthFix" />
                         <view class="text-center" :class="activeTab === 'processing' ? 'c-primary f-w-5' : ''">加工包装</view>

+ 11 - 1
src/pages.json

@@ -24,6 +24,13 @@
                 "navigationBarTitleText": "种植端仓储与放行"
             }
         },
+        // 种植端加工与包装
+        {
+            "path": "pages/plant/processing/index",
+            "style": {
+                "navigationBarTitleText": "种植端加工与包装"
+            }
+        },
         // 种植端更多
         {
             "path": "pages/plant/more/index",
@@ -31,7 +38,7 @@
                 "navigationBarTitleText": "种植端更多"
             }
         },
-        //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+        // pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
         {
             "path": "pages/index/index",
             "style": {
@@ -488,6 +495,9 @@
             {
                 "pagePath": "pages/plant/storage/index"
             },
+            {
+                "pagePath": "pages/plant/processing/index"
+            },
             {
                 "pagePath": "pages/plant/more/index"
             }

+ 3 - 0
src/pages/plant/processing/index.vue

@@ -0,0 +1,3 @@
+<template>
+    <view>加工与包装</view>
+</template>

+ 3 - 3
src/tools/por-torganism/index.vue

@@ -25,15 +25,15 @@
         </view>
         <view class="pd-24" v-if="showSearch">
             <view class="f-s-32 c-#333 f-w-5 mb-20">搜索结果</view>
-            <view class="pd-30 d-flex bg-#FBFDFB border-#37A954 b-radius mb-20" v-for="(item, index) in list" :key="index">
+            <view class="pd-24 d-flex bg-#FBFDFB border-#37A954 b-radius mb-20" v-for="(item, index) in list" :key="index">
                 <up-radio-group v-model="radiovalue1">
                     <view @click="radiovalue1 = item?.id" class="d-flex w-100%">
                         <view class="">
-                            <view class="mb-20 ov-hd tx-ov">
+                            <view class="mb-16 ov-hd tx-ov">
                                 <text class="c-#333 f-s-34 f-w-5 mr-5">{{ item?.varietyName }}</text>
                                 <text class="c-#666 f-s-24 tx-ov ov-hd">{{ item?.latinName }}</text>
                             </view>
-                            <view class="mb-20">
+                            <view class="mb-16">
                                 <text class="c-#333 f-s-28 f-w-5 mr-5">{{ item?.genusName }}</text>
                                 <text class="c-#666 f-s-24 tx-ov ov-hd">{{ item?.genusLatinName }}</text>
                             </view>