25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

103 lines
2.3 KiB

  1. <template>
  2. <view v-if="ready" class="box" style="padding-top: 0; overflow: hidden;">
  3. <l-button @click="action('start')" class="button">
  4. 开始评价
  5. </l-button>
  6. </view>
  7. </template>
  8. <script>
  9. /*
  10. * 版 本 Learun-ADMS V7.0.3 力软敏捷开发框架(http://www.learun.cn)
  11. * Copyright (c) 2013-2020 上海力软信息技术有限公司
  12. * 创建人:超级管理员
  13. * 日 期:2020-10-20 09:37
  14. * 描 述:班级工作记事
  15. */
  16. /**
  17. * 本段代码由移动端代码生成器输出,移动端须 2.2.0 版本及以上可以使用
  18. * 请在移动端 /pages.json 中的 pages 字段中添加一条记录:
  19. * { "path": "pages/partyevaluatzp/single", "style": { "navigationBarTitleText": "表单详情页" } }
  20. *
  21. * (navigationBarTitleText 字段为本页面的标题文本,可以修改)
  22. * (必须自行操作该步骤,力软代码生成器不会自动帮您修改 /pages.json 文件)
  23. */
  24. import get from 'lodash/get'
  25. import set from 'lodash/set'
  26. import moment from 'moment'
  27. import customPageMixins from '@/common/custompage.js'
  28. export default {
  29. mixins: [customPageMixins],
  30. data() {
  31. return {
  32. // 页面相关参数
  33. Id: null,
  34. ready: false,
  35. }
  36. },
  37. async onLoad({ Id }) {
  38. await this.init(Id)
  39. },
  40. methods: {
  41. // 页面初始化
  42. async init(Id) {
  43. this.LOADING('加载数据中...')
  44. this.Id = Id
  45. this.ready = true
  46. this.HIDE_LOADING()
  47. },
  48. // 点击 「开始评价」、 按钮
  49. async action(type) {
  50. switch (type) {
  51. case 'start':
  52. this.NAV_TO(`./PartyevaluateTopicXZ?Id=${this.Id}`)
  53. break
  54. default: break
  55. }
  56. },
  57. }
  58. }
  59. </script>
  60. <style lang="less">
  61. uni-page-body{
  62. height: 100%;
  63. }
  64. .box{
  65. height: 100%;
  66. width: 100%;
  67. background: url(../../common/images/partyHome.png);
  68. background-repeat: no-repeat;
  69. background-size: 100% 100%;
  70. position: relative;
  71. }
  72. .button{
  73. height: 90rpx;
  74. width: 72%;
  75. background: #FFFFFF;
  76. border-radius:100rpx;
  77. text-align: center;
  78. line-height: 90rpx;
  79. position: absolute;
  80. left: 50%;
  81. bottom: 165rpx;
  82. transform:translate(-50%,-50%);
  83. color: #921c1a;
  84. font-size: 36rpx;
  85. font-weight: 800;
  86. }
  87. </style>