首页样式调整

This commit is contained in:
zxy
2024-02-19 23:17:06 +08:00
parent 1296cee72a
commit 8bb63dcffc
5 changed files with 585 additions and 12 deletions

View File

@@ -6,7 +6,7 @@
<image src="../../static/img/search.svg" style="width: 32rpx;height: 32rpx;" mode=""></image>
<input type="text" confirm-type="搜索" v-model="keywords" @confirm="getNewList('search')"
placeholder="请输入任务名称或公司名称" />
<view style="width: 80rpx;height: 50rpx;color:#fff;background-color: #0091ff;font-size:24rpx;text-align: center;line-height: 50rpx;border-radius: 25rpx;;">搜索</view>
<view @click="getNewList('search')" style="width: 80rpx;height: 50rpx;color:#fff;background-color: #0091ff;font-size:24rpx;text-align: center;line-height: 50rpx;border-radius: 25rpx;;">搜索</view>
</view>
<!-- <view class="close" @click="closeBack">
取消
@@ -220,9 +220,21 @@ export default {
toDetail(item) {
const no = item.id
uni.navigateTo({
url: `/pages/projectInfo/projectInfo?missionNo=${encodeURIComponent(no)}&isCan=1`
})
// 判断是岗位还是任务 0任务1岗位2政策
if(item.type == 0) {
uni.navigateTo({
url: `/pages/projectInfo/projectInfo?missionNo=${encodeURIComponent(no)}&isCan=1`
})
} else if(item.type == 1) {
uni.navigateTo({
url: `/pages/projectInfo/workInfo?workId=${encodeURIComponent(no)}&isCan=1`
})
} else if(item.type == 2) {
uni.navigateTo({
url:`/pages/user/policyContent?id=${no}`
})
}
},
changeTab: function (e) {