Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
wseedrfy committed Jul 31, 2022
1 parent 583719a commit 1d31af8
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 23 deletions.
54 changes: 37 additions & 17 deletions miniprogram/pages/index/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,54 +23,74 @@ Page({
{name:'推荐',data:[
{
title:'重庆/5天/12月02日从福建出发',
text:'队友男女不限,有2人,预计组队4人,最好同一个地方去,也可以到了福建福州市集合。队友男女不限,有2人,预计组队4人,最好同一个地方去,也可以到了福建福州市集合。队友男女不限,有2人,预计组队4人,最好同一个地方去,也可以到了福建福州市集合。队友男女不限,有2人,预计组队4人,最好同一个地方去,也可以到了福建福州市集合。',
tapArr:['打卡','拍照','好说话','社牛'],
touxiangUrl:'./image/touxiang.png',
name:'用户名',
sex:'男',
time:'10分钟前'
time:'10分钟前',
where:'线上/不限',
require:'熟练掌握ps、AI等工具',
phoneNum:'12345678',
hot:'1000',
money:'150',
showTime:'2022.6.1'
},
{
title:'重庆/5天/12月02日从福建出发',
text:'队友男女不限,有2人,预计组队4人,最好同一个地方去也可以到了福建福州市集合。',
tapArr:['打卡','拍照','好说话','社牛'],
touxiangUrl:'./image/touxiang.png',
name:'用户名',
sex:'女',
time:'昨天 10:40'
sex:'男',
time:'10分钟前',
where:'线上/不限',
require:'熟练掌握ps、AI等工具',
phoneNum:'12345678',
hot:'1000',
money:'150',
showTime:'2022.6.1'
}
]},
{name:'最新',data:[
{
title:'重庆/5天/12月02日从福建出发',
text:'队友男女不限,有2人,预计组队4人,最好同一个地方去也可以到了福建福州市集合。',
tapArr:['打卡','拍照','好说话','社牛'],
touxiangUrl:'./image/touxiang.png',
name:'用户名',
sex:'女',
time:'昨天 10:40'
sex:'男',
time:'10分钟前',
where:'线上/不限',
require:'熟练掌握ps、AI等工具',
phoneNum:'12345678',
hot:'1000',
money:'150',
showTime:'2022.6.1'
}
]},
{name:'企业',data:[
{
title:'重庆/5天/12月02日从福建出发',
text:'队友男女不限,有2人,预计组队4人,最好同一个地方去,也可以到了福建福州市集合。队友男女不限,有2人,预计组队4人,最好同一个地方去,也可以到了福建福州市集合。队友男女不限,有2人,预计组队4人,最好同一个地方去,也可以到了福建福州市集合。队友男女不限,有2人,预计组队4人,最好同一个地方去,也可以到了福建福州市集合。',
tapArr:['打卡','拍照','好说话','社牛'],
touxiangUrl:'./image/touxiang.png',
name:'用户名',
sex:'男',
time:'10分钟前'
time:'10分钟前',
where:'线上/不限',
require:'熟练掌握ps、AI等工具',
phoneNum:'12345678',
hot:'1000',
money:'150',
showTime:'2022.6.1'
},
]},
{name:'急需',data:[
{
title:'重庆/5天/12月02日从福建出发',
text:'队友男女不限,有2人,预计组队4人,最好同一个地方去,也可以到了福建福州市集合。队友男女不限,有2人,预计组队4人,最好同一个地方去,也可以到了福建福州市集合。',
tapArr:['打卡','拍照','好说话','社牛'],
touxiangUrl:'./image/touxiang.png',
name:'用户名',
sex:'男',
time:'10分钟前'
time:'10分钟前',
where:'线上/不限',
require:'熟练掌握ps、AI等工具',
phoneNum:'12345678',
hot:'1000',
money:'150',
showTime:'2022.6.1'
},
]},
],
Expand Down
12 changes: 6 additions & 6 deletions miniprogram/pages/index/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
<van-tab title="{{item.name}}" wx:for="{{tabArr}}">
<!-- 卡片数据 -->
<view class="dataBox" wx:for="{{item.data}}">
<view class="dataBox_time">时间:2022.6.1</view>
<view class="dataBox_time">时间:{{item.showTime}}</view>
<view class="dataBox_title">
<view style="width: 78%;overflow: hidden;">{{item.title}}</view>
</view>
<view class="dataBox_text">
<view>地点:线上/不限</view>
<view>业务要求:熟练掌握ps、AI等工具</view>
<view>联系电话:12345678</view>
<view>地点:{{item.where}}</view>
<view>业务要求:{{item.require}}</view>
<view>联系电话:{{item.phoneNum}}</view>
</view>
<view class="dataBox_usermsg">
<image class="dataBox_usermsg_touxiangImage" src="{{item.touxiangUrl}}"></image>
Expand All @@ -50,11 +50,11 @@
<view class="dataBox_money">
<view class="dataBox_money_top">
<image class="dataBox_money_top_image" src="./image/huo.png"></image>
<view class="dataBox_money_top_num">1000</view>
<view class="dataBox_money_top_num">{{item.hot}}</view>
</view>
<view class="dataBox_money_bottom">
<view class="dataBox_money_bottom_left">悬赏金</view>
<view class="dataBox_money_bottom_num">150</view>
<view class="dataBox_money_bottom_num">{{item.money}}</view>
</view>
</view>

Expand Down

0 comments on commit 1d31af8

Please sign in to comment.