<script setup lang="ts">
    // 洽谈合作
    function onCooperationClick() {
        Message.alert('洽谈合作功能暂不可用，敬请期待~', '温馨提示')
    }
</script>

<template>
    <view class="codefun-flex-col page">
        <view class="codefun-flex-col section">
            <view class="codefun-flex-row codefun-justify-between codefun-items-center codefun-self-stretch group">
                <view class="image" />
                <view class="codefun-flex-row group_2" />
            </view>
            <view class="codefun-self-start image_5 mt-17" />
        </view>
        <view class="codefun-flex-col codefun-relative group_3">
            <view class="codefun-flex-col section_2">
                <text class="codefun-self-start text">菜鲜宜</text>
                <view class="codefun-mt-22 codefun-flex-col codefun-self-stretch group_4">
                    <view class="codefun-flex-col codefun-justify-start codefun-items-start text-wrapper">
                        <text class="font text_2">主营：精品蔬菜、有机食品、净菜套餐、家庭食材</text>
                    </view>
                    <text class="font_2 text_3 mt-11 indent-md">
                        菜鲜宜定位“都市家庭健康食材管家”，主打高品质、有机、无公害蔬菜与净菜组合。通过产地合作与标准化加工，为忙碌都市家庭提供便捷、健康、美味的食材解决方案。
                        <br />
                    </text>
                </view>
                <view class="codefun-flex-col codefun-self-stretch">
                    <text class="font_2 text_4" />
                    <text class="codefun-self-stretch font_2 text_5 indent-md">
                        品牌优势:
                        专注有机与无公害蔬菜，品质标准高、净菜加工，节省烹饪时间、家庭套餐定制，满足多样化需求、线上线下融合，支持预定与配送。
                    </text>
                </view>
            </view>
            <view class="codefun-flex-col section_3">
                <view class="codefun-flex-col codefun-items-start">
                    <text class="font_3">市场服务</text>
                    <view class="codefun-mt-12 section_4" />
                </view>
                <view class="codefun-mt-16 codefun-flex-row">
                    <view class="codefun-flex-col codefun-items-center equal-division-item section_5">
                        <image class="image_6" src="/static/images/codefun/1c894d991cb2f0bc70d7b3800e700423.png" />
                        <text class="codefun-mt-8 font text_6">有机蔬菜订购</text>
                    </view>
                    <view class="codefun-ml-10 codefun-flex-col codefun-items-center equal-division-item section_6">
                        <image class="image_6" src="/static/images/codefun/212321b9eeef951ae3416a2924062377.png" />
                        <text class="codefun-mt-8 font">净菜配送</text>
                    </view>
                    <view class="codefun-ml-10 codefun-flex-col codefun-items-center equal-division-item section_7">
                        <image class="image_6" src="/static/images/codefun/4c062022080fd91d26f0e788b0c7bcc3.png" />
                        <text class="codefun-mt-8 font_2 text_7">家庭/企业定制</text>
                    </view>
                </view>
            </view>
            <view class="codefun-flex-col section_8">
                <view class="codefun-flex-col codefun-items-start">
                    <text class="font_3 text_8">合作伙伴</text>
                    <view class="codefun-mt-12 section_4" />
                </view>
                <view class="codefun-mt-8 grid">
                    <image class="grid-item" src="/static/images/codefun/39cf09f6722bc903396eda5bdbc7f8b2.png" />
                    <image class="grid-item" src="/static/images/codefun/0a73fd42bdd7ca51839a8a9ed16cc472.png" />
                    <image class="grid-item" src="/static/images/codefun/42e8f57fc73b93e596d1b912c08589c6.png" />
                    <image class="grid-item" src="/static/images/codefun/f9df6203eb43ec929d8a68b5ee5d1680.png" />
                </view>
            </view>
            <view
                class="codefun-flex-row codefun-justify-center codefun-items-center section_9"
                @click="onCooperationClick"
            >
                <image class="image_7" src="/static/images/codefun/3e23931a51dff8d555bc053a33133be1.png" />
                <text class="text_9 ml-9">洽谈合作</text>
            </view>
        </view>
    </view>
</template>

<style scoped lang="scss">
    .ml-5 {
        margin-left: 10rpx;
    }
    .mt-17 {
        margin-top: 34rpx;
    }
    .mt-11 {
        margin-top: 22rpx;
    }
    .ml-9 {
        margin-left: 18rpx;
    }
    page {
        background-color: #e6f5e8;
    }
    .page {
        padding-bottom: 140rpx;
        background-color: #e6f5e8;
        mix-blend-mode: NOTTHROUGH;
        height: 100%;
        width: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        .section {
            padding: 28rpx 38rpx 382rpx;
            background-image: url('/static/images/codefun/05019411cdb9383e51ab8923569568df.png');
            background-size: 100% 100%;
            background-repeat: no-repeat;
            .group {
                padding: 0 2rpx;
                .image {
                    border-radius: 64rpx;
                    width: 108rpx;
                    height: 42rpx;
                }
                .group_2 {
                    margin-right: 16rpx;
                    .image_2 {
                        mix-blend-mode: NOTTHROUGH;
                        width: 34rpx;
                        height: 22rpx;
                    }
                    .image_3 {
                        mix-blend-mode: NOTTHROUGH;
                        width: 30rpx;
                        height: 22rpx;
                    }
                    .image_4 {
                        width: 48rpx;
                        height: 22rpx;
                    }
                }
            }
            .image_5 {
                mix-blend-mode: NOTTHROUGH;
                width: 14rpx;
                height: 26rpx;
            }
        }
        .group_3 {
            margin-top: -188rpx;
            padding: 0 24rpx;
            .section_2 {
                margin-right: 8rpx;
                padding: 44rpx 20rpx 28rpx 28rpx;
                background-color: #ffffff;
                border-radius: 16rpx;
                mix-blend-mode: NOTTHROUGH;
                .text {
                    color: #023d0e;
                    font-size: 48rpx;
                    font-family: SourceHanSerifCN;
                    font-weight: 700;
                    line-height: 45.08rpx;
                }
                .group_4 {
                    margin-right: 8rpx;
                    .text-wrapper {
                        padding: 16rpx 0;
                        background-image: linear-gradient(273.7deg, #217a33 0.1%, #43cf7c 99.9%);
                        border-radius: 8rpx;
                        .text_2 {
                            margin-left: 20rpx;
                            color: #ffffff;
                            line-height: 22.6rpx;
                        }
                    }
                    .text_3 {
                        text-align: justify;
                    }
                }
                .text_4 {
                    margin-right: 28rpx;
                }
                .text_5 {
                    text-align: justify;
                }
            }
            .section_3 {
                margin-right: 8rpx;
                margin-top: 24rpx;
                padding: 24rpx 28rpx;
                background-color: #ffffff;
                border-radius: 16rpx;
                mix-blend-mode: NOTTHROUGH;
                .equal-division-item {
                    flex: 1 1 200rpx;
                    .image_6 {
                        width: 32rpx;
                        height: 32rpx;
                    }
                    .text_6 {
                        line-height: 22.3rpx;
                    }
                    .text_7 {
                        line-height: 24.84rpx;
                    }
                }
                .section_5 {
                    padding: 28rpx 0;
                    background-color: #eefaeb;
                    border-radius: 8rpx;
                    height: 128rpx;
                }
                .section_6 {
                    padding: 28rpx 0;
                    background-color: #e8f7f7;
                    border-radius: 8rpx;
                    height: 128rpx;
                }
                .section_7 {
                    padding: 28rpx 0;
                    background-color: #fff3f1;
                    border-radius: 8rpx;
                    height: 128rpx;
                }
            }
            .font {
                font-size: 24rpx;
                font-family: SourceHanSansCN;
                line-height: 22.42rpx;
                color: #333333;
            }
            .font_2 {
                font-size: 24rpx;
                font-family: SourceHanSansCN;
                line-height: 40rpx;
                color: #333333;
            }
            .section_8 {
                margin-right: 8rpx;
                margin-top: 24rpx;
                padding: 28rpx;
                background-color: #ffffff;
                border-radius: 16.14rpx;
                mix-blend-mode: NOTTHROUGH;
                .text_8 {
                    line-height: 29.82rpx;
                }
                .grid {
                    margin-left: 30rpx;
                    margin-right: 20rpx;
                    height: 158rpx;
                    display: grid;
                    grid-template-rows: repeat(2, minmax(0, 1fr));
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                    row-gap: 32rpx;
                    column-gap: 18rpx;
                    .grid-item {
                        filter: drop-shadow(0rpx 4rpx 4rpx #0e421829);
                        width: 242rpx;
                        height: 64rpx;
                    }
                }
            }
            .font_3 {
                font-size: 32rpx;
                font-family: SourceHanSansCN;
                line-height: 30.04rpx;
                color: #333333;
            }
            .section_4 {
                background-image: linear-gradient(272deg, #5cb56e 0%, #64d63e 100%);
                width: 128rpx;
                height: 6rpx;
            }
            .section_9 {
                position: fixed;
                left: 40rpx;
                right: 40rpx;
                bottom: 40rpx;
                z-index: 1;
                padding: 20rpx 0;
                background-color: #ff9800;
                border-radius: 198rpx;
                .image_7 {
                    width: 30rpx;
                    height: 30rpx;
                }
                .text_9 {
                    color: #ffffff;
                    font-size: 28rpx;
                    font-family: SourceHanSansCN;
                    line-height: 25.92rpx;
                }
            }
        }
    }
</style>
