|
- <template>
-
- <view v-if="ready" class="box" style="padding-top: 0; overflow: hidden;">
- <l-button @click="action('start')" class="button">
- 开始评价
- </l-button>
- </view>
- </template>
-
-
- <script>
- /*
- * 版 本 Learun-ADMS V7.0.3 力软敏捷开发框架(http://www.learun.cn)
- * Copyright (c) 2013-2020 上海力软信息技术有限公司
- * 创建人:超级管理员
- * 日 期:2020-10-20 09:37
- * 描 述:班级工作记事
- */
-
- /**
- * 本段代码由移动端代码生成器输出,移动端须 2.2.0 版本及以上可以使用
- * 请在移动端 /pages.json 中的 pages 字段中添加一条记录:
- * { "path": "pages/partyevaluatzp/single", "style": { "navigationBarTitleText": "表单详情页" } }
- *
- * (navigationBarTitleText 字段为本页面的标题文本,可以修改)
- * (必须自行操作该步骤,力软代码生成器不会自动帮您修改 /pages.json 文件)
- */
-
- import get from 'lodash/get'
- import set from 'lodash/set'
- import moment from 'moment'
- import customPageMixins from '@/common/custompage.js'
-
- export default {
- mixins: [customPageMixins],
-
- data() {
- return {
- // 页面相关参数
- Id: null,
- ready: false,
-
- }
- },
-
- async onLoad({ Id }) {
- await this.init(Id)
- },
-
- methods: {
- // 页面初始化
- async init(Id) {
- this.LOADING('加载数据中...')
-
- this.Id = Id
-
- this.ready = true
- this.HIDE_LOADING()
- },
-
- // 点击 「开始评价」、 按钮
- async action(type) {
- switch (type) {
- case 'start':
- this.NAV_TO(`./PartyevaluateTopicXZ?Id=${this.Id}`)
- break
-
- default: break
- }
- },
-
- }
- }
- </script>
-
- <style lang="less">
- uni-page-body{
- height: 100%;
- }
- .box{
- height: 100%;
- width: 100%;
- background: url(../../common/images/partyHome.png);
- background-repeat: no-repeat;
- background-size: 100% 100%;
- position: relative;
- }
- .button{
- height: 90rpx;
- width: 72%;
- background: #FFFFFF;
- border-radius:100rpx;
- text-align: center;
- line-height: 90rpx;
- position: absolute;
- left: 50%;
- bottom: 165rpx;
- transform:translate(-50%,-50%);
- color: #921c1a;
- font-size: 36rpx;
- font-weight: 800;
- }
- </style>
|