| | |
| | | </view> --> |
| | | <view class="chuany-flex chuany-justify-between"> |
| | | <view class="chuany-width100"> |
| | | <view class="chuany-flex chuany-justify-between chuany-align-center chuany-width100 chuany-box c-p-18"> |
| | | <view |
| | | class="chuany-flex chuany-justify-between chuany-align-center chuany-width100 chuany-box c-p-18"> |
| | | <view class=" chuany-font34"> |
| | | {{orderObj.orderName}} |
| | | </view> |
| | |
| | | <text class="colorgray ">任务日期</text> |
| | | </view> |
| | | <view class="chuany-flex chuany-flex-direction"> |
| | | <text>{{$util.formatDate(orderObj.wordStartTime)}} 至 {{$util.formatDate(orderObj.wordEndTime)}}</text> |
| | | <text>{{$util.formatDate(orderObj.wordStartTime)}} 至 |
| | | {{$util.formatDate(orderObj.wordEndTime)}}</text> |
| | | </view> |
| | | </view> |
| | | <view class="chuany-flex c-p-l-20 c-p-r-20 c-p-b-20"> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="tabbtns"> |
| | | <up-button color='#fece01' :loading='isLoading' loadingText="报名中" class="text-69" text="报名" @click="enroll"></up-button> |
| | | <up-button color='#fece01' :loading='isLoading' loadingText="报名中" class="text-69" text="报名" |
| | | @click="enroll"></up-button> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | | mapActions, |
| | | mapGetters, |
| | | mapMutations |
| | | } from 'vuex' |
| | | export default { |
| | | onLoad(option) { |
| | | let { |
| | |
| | | } = option |
| | | this.getOrder(orderid) |
| | | }, |
| | | onShow(){ |
| | | console.log('执行-----’'); |
| | | this.userInfo = this.$db.get('userInfo') ? JSON.parse(this.$db.get('userInfo')) : {} |
| | | }, |
| | | |
| | | data() { |
| | | return { |
| | | orderObj: {}, |
| | | tags: ['4小时', '可无经验', '手脚麻利', '计时'], |
| | | isLoading:false |
| | | isLoading: false |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapGetters(['userInfo']) |
| | | }, |
| | | methods: { |
| | | getOrder(orderid) { |
| | |
| | | width: 50rpx; |
| | | height: 50rpx; |
| | | } |
| | | |
| | | |
| | | </style> |