OfficeApp/subpkg/otherTask/otherTask.vue
weipengfei efb1b7dd9e 更新
2023-08-28 18:24:47 +08:00

74 lines
1.8 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view style="padding-top: 28rpx;">
<view class="card">
<view class="title">任务名称: 入股任务</view>
<u-line style="margin: 14rpx 0;"></u-line>
<view class="text">阶段类型: 单次</view>
<view class="text" style="color: #FF7C32;">任务金额: 3000</view>
</view>
<view class="card">
<view class="title">任务描述</view>
<u-line style="margin: 14rpx 0;"></u-line>
<view class="text">完成公司分配入股任务时限30日内完成公司分配入股任务时限30日内完成公司分配入股任务时限30日内</view>
</view>
<view class="card">
<view class="title">完成任务</view>
<u-line style="margin: 14rpx 0;"></u-line>
<u--textarea v-model="formData.text" placeholder="请输入内容" style="font-size: 28rpx;" autoHeight></u--textarea>
</view>
<mybtn text="完成任务"></mybtn>
</view>
</template>
<script>
export default {
data() {
return {
task_id: -1,
formData: {
text: ''
}
};
},
onLoad(options) {
this.task_id = options.task_id;
},
methods:{
navTo (url) {
if(url){
uni.showLoading({
title: '加载中',
mask: true
});
uni.navigateTo({
url: url,
success() {
uni.hideLoading()
}
})
}else Toast('暂未开放')
},
}
}
</script>
<style lang="scss">
.card {
margin: 0 auto;
margin-bottom: 28rpx;
width: 694rpx;
background: #FFFFFF;
border-radius: 14rpx;
padding: 28rpx;
.title {
font-size: 32rpx;
font-weight: bold;
color: #333333;
}
.text {
line-height: 50rpx;
}
}
</style>