123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <template>
- <view class="main">
- <!--搜索-->
- <view class="search">
- <u-search placeholder="请输入职位名称" bgColor="white" :showAction="false"></u-search>
- </view>
- <!--找工作-->
- <view class="tab">
- <u-tabs :list="tab" :current="current"></u-tabs>
- </view>
- <view class="jobs">
- <view class="full_time" v-for="(item, index) in jobs" :key="index" @click="detail(item)">
- <view class="out">
- <view class="int">
- <image :src="item.url" mode="aspectFill"></image>
- <view class="title omit">{{ item.name }}</view>
- <view class="desc">{{ item.job }}</view>
- <view class="price">{{ item.price }}元/日</view>
- <view class="address">
- <text class="icon"></text>
- <text>南宁青秀山</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- ip: this.http.ip,
- current: 0,
- tab: [{ name: '推荐职位' }, { name: '服务员' }, { name: '建筑泥工' }, { name: '网管' }],
- jobs: [{
- name: '广西龙坚贸易有限公司',
- job: '装卸搬运工',
- price: '4000',
- url: 'https://chenglantimes.com/prod-api/profile/upload/2024/04/29/1714401904451.jpg'
- },
- {
- name: '韵达速递',
- job: '快递装卸工',
- price: '4700',
- url: 'https://chenglantimes.com/prod-api/profile/upload/2024/04/29/1714401871968.jpg'
- },
- {
- name: '北京滴滴有限公司',
- job: '滴滴快车专车司机',
- price: '4200',
- url: 'https://chenglantimes.com/prod-api/profile/upload/2024/04/29/1714401886712.jpg'
- },
- {
- name: '北京美团外卖有限公司',
- job: '美团骑手送餐员',
- price: '3700',
- url: 'https://chenglantimes.com/prod-api/profile/upload/2024/04/29/1714401895824.jpg'
- },
- {
- name: '字节跳动有限公司',
- job: '女主播',
- price: '5500',
- url: 'https://chenglantimes.com/prod-api/profile/upload/2024/04/29/1714402008141.jpg'
- },
- {
- name: '广西龙坚贸易有限公司',
- job: '装卸搬运工',
- price: '4000',
- url: 'https://chenglantimes.com/prod-api/profile/upload/2024/04/29/1714402008141.jpg'
- }
- ]
- };
- },
- onShow() {},
- onLoad() {},
- methods: {
- detail() {
- uni.navigateTo({
- url: '/pages/clsd/job/detail'
- })
- },
- go(url) {
- if (this.hasLogin()) {} else {
- uni.navigateTo({ url: '/pages/user/login' });
- }
- }
- }
- };
- </script>
- <style lang="scss">
- .jobs {
- margin-top: 0px;
- }
- </style>
|