|
|
@@ -5,26 +5,24 @@
|
|
|
<template #left><view class=""></view></template>
|
|
|
</ut-navbar>
|
|
|
</template>
|
|
|
- <up-sticky :offset-top="0">
|
|
|
- <view class="d-flex a-c pd-26 pb-0 bg-#f7f7f7">
|
|
|
- <view class="min-w-170 flex1">
|
|
|
- <ut-action-sheet v-model="form.queryType" :tabs="[{ label: '全部', value: '' }]" @change="onRefresh" title="选择原料类型">
|
|
|
- <view class="d-flex search-select-item a-c">
|
|
|
- <view class="flex1 ov-hd f-s-28 c-333 text-center f-w-5 w-s-no">{{ '全部' }} </view>
|
|
|
- <up-icon size="24rpx" color="#333" name="arrow-down-fill" class="mr-5"></up-icon>
|
|
|
- </view>
|
|
|
- </ut-action-sheet>
|
|
|
- </view>
|
|
|
- <view class="h-86 pl-20 w-100%">
|
|
|
- <ut-search ref="searchRef" v-model="form.keyword" @search="changeSeach" margin="0" :border="false" placeholder="搜批次号、品种名、基地名" bgColor="#fff" height="86rpx" borderRadius="10rpx"></ut-search>
|
|
|
- </view>
|
|
|
+ <view class="d-flex a-c pd-24 pb-0 bg-#f7f7f7">
|
|
|
+ <view class="min-w-170 flex1">
|
|
|
+ <ut-action-sheet v-model="form.queryType" :tabs="[{ label: '全部', value: '' }]" @change="onRefresh" title="选择原料类型">
|
|
|
+ <view class="d-flex search-select-item a-c">
|
|
|
+ <view class="flex1 ov-hd f-s-28 c-333 text-center f-w-5 w-s-no">{{ '全部' }} </view>
|
|
|
+ <up-icon size="24rpx" color="#333" name="arrow-down-fill" class="mr-5"></up-icon>
|
|
|
+ </view>
|
|
|
+ </ut-action-sheet>
|
|
|
</view>
|
|
|
- <view class="pd-26 bg-#f7f7f7" :style="{ width: windowInfo ? windowInfo.screenWidth - 26 + 'px' : '100%' }">
|
|
|
- <up-subsection :list="subList" :current="subCurrent" @change="sectionChange" style="width: 100%; height: 100rpx; background-color: #fff" inactive-color="#999" active-color="#37A954" fontSize="36rpx" mode="subsection"></up-subsection>
|
|
|
+ <view class="h-86 pl-20 w-100%">
|
|
|
+ <ut-search ref="searchRef" v-model="form.keyword" @search="changeSeach" margin="0" :border="false" placeholder="搜批次号、品种名、基地名" bgColor="#fff" height="86rpx" borderRadius="10rpx"></ut-search>
|
|
|
</view>
|
|
|
- </up-sticky>
|
|
|
+ </view>
|
|
|
+ <view class="pd-24 bg-#f7f7f7" :style="{ width: windowInfo ? windowInfo.screenWidth - 26 + 'px' : '100%' }">
|
|
|
+ <up-subsection :list="subList" :current="subCurrent" @change="sectionChange" style="width: 100%; height: 100rpx; background-color: #fff" inactive-color="#999" active-color="#37A954" fontSize="36rpx" mode="subsection"></up-subsection>
|
|
|
+ </view>
|
|
|
<!-- 养殖 -->
|
|
|
- <view class="pd-26 pt-0">
|
|
|
+ <view class="pd-24 pt-0">
|
|
|
<view class="b-radius bg-#fff pd-10">
|
|
|
<view class="d-flex j-ed f-s-22 c-#666"> 2025-12-25 </view>
|
|
|
<view class="d-flex a-ed pd-16 pt-8 pb-8">
|
|
|
@@ -65,7 +63,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 种苗繁育 -->
|
|
|
- <view class="pd-26 pt-0">
|
|
|
+ <view class="pd-24 pt-0">
|
|
|
<view class="b-radius bg-#fff pd-10">
|
|
|
<view class="d-flex j-ed f-s-22 c-#666"> 2025-12-25 </view>
|
|
|
<view class="d-flex a-ed pd-16 pt-8 pb-8">
|
|
|
@@ -106,7 +104,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 种植 -->
|
|
|
- <view class="pd-26 pt-0">
|
|
|
+ <view class="pd-24 pt-0">
|
|
|
<view class="b-radius bg-#fff pd-10">
|
|
|
<view class="d-flex j-ed f-s-22 c-#666"> 2025-12-25 </view>
|
|
|
<view class="d-flex a-ed pd-16 pt-8 pb-8">
|
|
|
@@ -147,7 +145,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 种畜繁育 -->
|
|
|
- <view class="pd-26 pt-0">
|
|
|
+ <view class="pd-24 pt-0">
|
|
|
<view class="b-radius bg-#fff pd-10">
|
|
|
<view class="d-flex j-ed f-s-22 c-#666"> 2025-12-25 </view>
|
|
|
<view class="d-flex a-ed pd-16 pt-8 pb-8">
|
|
|
@@ -187,10 +185,6 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <up-button open-type="share" :customStyle="{ borderColor: 'rgba(0,0,0,0)', padding: '0 10rpx', height: '36rpx' }">
|
|
|
- <image class="small-icon mr-5" style="width: 28rpx" src="https://ta.zycpzs.cn/oss-file/smart-trace/szyy/images/common/share_icon.png" mode="widthFix" />
|
|
|
- <span class="f-s-24">分享</span>
|
|
|
- </up-button>
|
|
|
<view class="h-210" v-if="list?.length"></view>
|
|
|
<view v-if="list?.length" :style="{ height: `${safeAreaBottom}px` }"></view>
|
|
|
<template #empty>
|
|
|
@@ -273,6 +267,7 @@ const customStyle1 = reactive({
|
|
|
background: '#ECFFF1',
|
|
|
border: '2rpx solid #9BD4A9',
|
|
|
borderRadius: '10rpx',
|
|
|
+ height: '76rpx',
|
|
|
});
|
|
|
const customStyle2 = reactive({
|
|
|
color: '#18BECA',
|
|
|
@@ -280,6 +275,7 @@ const customStyle2 = reactive({
|
|
|
background: '#E5FDFF',
|
|
|
border: '2rpx solid #93E8EE',
|
|
|
borderRadius: '10rpx',
|
|
|
+ height: '76rpx',
|
|
|
});
|
|
|
const customStyle3 = reactive({
|
|
|
color: '#FC8834',
|
|
|
@@ -287,6 +283,7 @@ const customStyle3 = reactive({
|
|
|
background: '#FFFAF3',
|
|
|
border: '2rpx solid #FFD499',
|
|
|
borderRadius: '10rpx',
|
|
|
+ height: '76rpx',
|
|
|
});
|
|
|
const onRefresh = () => {
|
|
|
paging.value.reload();
|
|
|
@@ -303,7 +300,7 @@ const handleDeleteCancel = () => {
|
|
|
basetype.value = null;
|
|
|
};
|
|
|
const handlechoseConfirm = () => {
|
|
|
- uni.$u.route({ type: 'navigateTo', url: '/plant/port/port-create/index', params: { baseType: basetype.value } });
|
|
|
+ uni.$u.route({ type: 'navigateTo', url: '/plant/port/port-create/index', params: { taskType: basetype.value } });
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|