diaocha.vue 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <template>
  2. <div id="diaocha">
  3. <el-col class="swfl">
  4. <el-image style="width:240px;height:60px;" :src="src"></el-image>
  5. <!-- <span>{{ title }}</span> -->
  6. </el-col>
  7. <el-col :span="24" class="tu">
  8. <el-image :src="pic"></el-image>
  9. </el-col>
  10. <el-col :span="24" class="wenZi">
  11. <el-col :span="24"> 您是否愿意继续关注本平台 </el-col>
  12. <el-col :span="24">
  13. <el-radio-group v-model="form.resource">
  14. <el-col :span="24" class="anniu"><el-radio :label="3"> 同意</el-radio></el-col>
  15. <el-col :span="24" class="anniu"> <el-radio :label="6">不同意</el-radio></el-col>
  16. <el-col :span="24" class="anniu"> <el-button type="primary" @click="onSubmit">立即创建</el-button></el-col>
  17. </el-radio-group>
  18. </el-col>
  19. </el-col>
  20. </div>
  21. </template>
  22. <script>
  23. export default {
  24. name: 'diaocha',
  25. props: {},
  26. components: {},
  27. data: () => ({
  28. src: require('@/assets/diaocha.gif'),
  29. pic: require('@/assets/cha.png'),
  30. form: {
  31. resource: '',
  32. },
  33. }),
  34. created() {},
  35. computed: {},
  36. methods: {
  37. handleOpen(key, keyPath) {
  38. console.log(key, keyPath);
  39. },
  40. handleClose(key, keyPath) {
  41. console.log(key, keyPath);
  42. },
  43. onSubmit() {
  44. console.log('submit!');
  45. },
  46. },
  47. };
  48. </script>
  49. <style lang="less" scoped>
  50. .swfl {
  51. text-align: center;
  52. }
  53. .swfl span {
  54. font-size: 22px;
  55. color: #ffffff;
  56. }
  57. /deep/.el-menu-item {
  58. height: 60px;
  59. text-align: center;
  60. line-height: 60px;
  61. border-bottom: 1px dashed;
  62. font-size: 22px;
  63. }
  64. /deep/.el-menu-item:last-child {
  65. border-bottom: none;
  66. }
  67. .tu {
  68. width: 150px;
  69. margin: 20px 0 0 70px;
  70. height: 100px;
  71. }
  72. .wenZi {
  73. width: 220px;
  74. padding-left: 28px;
  75. font-size: 14px;
  76. padding-right: 10px;
  77. line-height: 30px;
  78. padding-bottom: 15px;
  79. }
  80. .anniu {
  81. padding: 10px 0 0 10px;
  82. }
  83. </style>