zhengyiming
2025-06-09 dcc3e4fca692b416d74c8e431caa5b26cd11fff6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<template>
  <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>
    </PageFooter>
  </PageLayout>
</template>
 
<script setup lang="ts">
import { PageLayout } from '@/components';
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({
    url: promoterIdNumber
      ? `${RouterPath.applyAgent}?promoterIdNumber=${promoterIdNumber}`
      : RouterPath.applyAgent,
  });
}
</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>