@@ -1,5 +1,5 @@
<template>
- <view class="bounty">
+ <view class="bounty" @click="goDetail">
<view class="head">
<image class="image" src="/static/image/index/default_avatar.png" mode="scaleToFill" />
</view>
@@ -38,13 +38,23 @@ export default {
showTags:{
type:Boolean,
default:true
- }
+ },
+ info:{
+ type:Object,
+ defalut:{},// 后续接收单条详情
+ }
},
data() {
return {};
onLoad() {},
- methods: {},
+ methods: {
+ goDetail(){
+ uni.navigateTo({
+ url:'/pages/index/taskDetails'
+ })
};
</script>