123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <template>
- <view class="content">
- <view class="list">
- <block v-for="(item,index) in pageList" :key="index">
- <view class="list_item">
- <view class="hflex acenter jbetween">
- <view class="item_title">{{item.title}}</view>
- <view class="item_blue">{{item.salary}}</view>
- </view>
- <view class="hflex acenter" style="padding: 20rpx 0 24rpx;">
- <view class="item_box">{{item.city}}</view>
- <view class="item_box">{{item.education}}</view>
- <view class="item_box">{{item.experience}}</view>
- </view>
- <view class="item_name">{{item.company_name}}</view>
- <view class="hflex acenter jbetween" style="padding-top: 16rpx;">
- <view class="hflex acenter">
- <image class="item_avatar" mode="aspectFill" :src="item.user.avatar"></image>
- <view class="user_name">{{item.user.name}}·{{item.user.position}}</view>
- </view>
- <view class="user_right">{{item.date}}</view>
- </view>
- </view>
- </block>
- </view>
- </view>
- </template>
- <script>
- import $api from '@/static/js/api.js'
- var that = ''
- export default {
- data() {
- return {
- pageList: [
- {
- id: 0,
- title: '船舶设计师',
- salary: '13-15K',
- monthly: '13',
- city: '北京',
- education: '本科',
- experience: '经验不限',
- company_name: '北京文化旅游产业发展集团有限公司',
- date: '05月12日',
- user: {
- avatar: '/static/images/mine/avatar1.jpg',
- name: '江女士',
- position: '行政总监',
- }
- },
- {
- id: 1,
- title: '船舶设计师',
- salary: '13-15K',
- monthly: '13',
- city: '北京',
- education: '本科',
- experience: '经验不限',
- company_name: '北京文化旅游产业发展集团有限公司',
- date: '05月12日',
- user: {
- avatar: '/static/images/mine/avatar1.jpg',
- name: '江女士',
- position: '行政总监',
- }
- }
- ]
- }
- },
- onLoad() {
- that = this
- },
- methods: {
-
- },
- }
- </script>
- <style lang="scss" scoped>
- .content {
- padding: 0 30rpx;
- background: #F4F4F4;
- .list {
- .list_item {
- margin-top: 20rpx;
- width: 100%;
- background: #FFFFFF;
- border-radius: 20rpx;
- box-sizing: border-box;
- padding: 20rpx;
- .item_title {
- font-size: 32rpx;
- font-weight: 600;
- color: #222222;
- }
- .item_blue {
- font-size: 32rpx;
- font-weight: bold;
- color: #506DFF;
- }
- .item_box {
- height: 40rpx;
- background: #F0F2F6;
- border-radius: 2px;
- box-sizing: border-box;
- padding: 4rpx 18rpx;
- font-size: 22rpx;
- font-weight: 400;
- color: #444444;
- margin-right: 20rpx;
- }
- .item_name {
- font-size: 24rpx;
- font-weight: 400;
- color: #666666;
- }
- .item_avatar {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- margin-right: 12rpx;
- }
- .user_name {
- font-size: 20rpx;
- font-weight: 400;
- color: #333333;
- }
- .user_right {
- font-size: 20rpx;
- font-weight: 400;
- color: #A1A1A1;
- }
- }
- }
- }
- </style>
|