zhengyiming
2025-06-09 c2a09ea654fddac041ea151d570675f1188ce803
apps/taro/src/subpackages/my/AgentRecruitment/AgentRecruitment.vue
@@ -1,7 +1,33 @@
<template>
  <PageLayout title="代理招募" class="applyAgent-page-wrapper" hasBgColor :needAuth="false">
    <ContentScrollView hasPaddingTop style="background-color: transparent">
      <div>AgentRecruitment</div>
  <PageLayout title="代理招募" class="agentRecruitment-page-wrapper" hasBgColor :needAuth="false">
    <ContentScrollView :paddingH="false">
      <div class="agentRecruitment-page-content">
        <Image
          :src="OssAssets.mine.AgentRecruitmentBg"
          class="agentRecruitment-page-bg"
          mode="widthFix"
        />
        <div class="agentRecruitment-page-main">
          <Image
            class="agentRecruitment-page-img-item retail"
            :src="OssAssets.mine.AgentRecruitmentRetail"
            alt=""
            mode="widthFix"
          />
          <Image
            class="agentRecruitment-page-img-item brand"
            :src="OssAssets.mine.AgentRecruitmentBrand"
            alt=""
            mode="widthFix"
          />
          <Image
            class="agentRecruitment-page-img-item"
            :src="OssAssets.mine.AgentRecruitmentArea"
            alt=""
            mode="widthFix"
          />
        </div>
      </div>
    </ContentScrollView>
    <PageFooter>
      <PageFooterBtn type="primary" @click="submit">立即申请</PageFooterBtn>
@@ -11,11 +37,17 @@
<script setup lang="ts">
import { PageLayout } from '@/components';
import { RouterPath } from '@/constants';
import { RouterPath, OssAssets } from '@/constants';
import { Image } from '@tarojs/components';
import Taro from '@tarojs/taro';
defineOptions({
  name: 'AgentRecruitment',
});
const router = Taro.useRouter();
const promoterIdNumber = router.params?.promoterIdNumber ?? '';
function submit() {
  RouteHelper.navigateTo({
@@ -23,3 +55,38 @@
  });
}
</script>
<style lang="scss">
@import '@/styles/common.scss';
.agentRecruitment-page-content {
  width: 100%;
  position: relative;
  .agentRecruitment-page-bg {
    width: 100%;
    object-fit: cover;
  }
  .agentRecruitment-page-main {
    position: absolute;
    top: 930px;
    left: 0;
    width: 100%;
    .agentRecruitment-page-img-item {
      width: 100%;
      height: auto;
      object-fit: cover;
      &.retail {
        margin-bottom: 32px;
      }
      &.brand {
        margin-bottom: 20px;
      }
    }
  }
}
</style>