首页样式调整
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user