98 lines
1.6 KiB
Vue
98 lines
1.6 KiB
Vue
<template>
|
|
<view>
|
|
<view class="icon">
|
|
<img src="http://8.155.21.176:9000/yonggong/images/task/u23.png"/>
|
|
</view>
|
|
<view class="line">
|
|
<view class="text">报名成功</view>
|
|
</view>
|
|
<view class="line">
|
|
<view class="btn1" @click="backTask(true)">查看我的任务</view>
|
|
</view>
|
|
<view class="line">
|
|
<view class="btn2" @click="backTask(false)">返回任务列表</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
<script>
|
|
import { baoming } from "@/api/employee/task";
|
|
// import { getCodeImg } from '@/api/employee/login'
|
|
export default {
|
|
data() {
|
|
return {
|
|
param: {
|
|
|
|
}
|
|
};
|
|
},
|
|
onLoad: function(options) {
|
|
|
|
},
|
|
methods:{
|
|
backTask(self){
|
|
// uni.navigateTo({
|
|
// url: "index?self=" + self
|
|
// })
|
|
console.log(self)
|
|
uni.reLaunch({ url: "index?self=" + self })
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang='scss'>
|
|
html, body {
|
|
background-color: #ffffff;
|
|
}
|
|
.icon{
|
|
margin-top: 150rpx;
|
|
width: 100%;
|
|
display: grid;
|
|
place-items: center;
|
|
img{
|
|
width: 250rpx;
|
|
height: 250rpx;
|
|
}
|
|
}
|
|
.line{
|
|
margin-top: 30rpx;
|
|
width: 100%;
|
|
display: grid;
|
|
place-items: center;
|
|
.text{
|
|
|
|
}
|
|
.btn1{
|
|
left: 0;
|
|
display: grid;
|
|
width: 80%;
|
|
background-color: #107ff6;
|
|
color: #ffffff;
|
|
font-weight: 650;
|
|
font-size: 30rpx;
|
|
border-radius: 7rpx;
|
|
height: 85rpx;
|
|
text-align: center;
|
|
place-items: center;
|
|
}
|
|
.btn2{
|
|
left: 0;
|
|
display: grid;
|
|
width: 80%;
|
|
color: #107ff6;
|
|
border: 1rpx solid #107ff6;
|
|
font-weight: 650;
|
|
font-size: 30rpx;
|
|
border-radius: 7rpx;
|
|
height: 85rpx;
|
|
text-align: center;
|
|
place-items: center;
|
|
}
|
|
}
|
|
|
|
</style>
|
|
|