wechat-see.blade.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. @extends('layouts.base')
  2. @section('content')
  3. <style>
  4. .panel{
  5. margin-bottom:10px!important;
  6. padding-left: 20px;
  7. border-radius: 10px;
  8. }
  9. .panel .active a {
  10. background-color: #29ba9c!important;
  11. border-radius: 18px!important;
  12. color:#fff;
  13. }
  14. .panel a{
  15. border:none!important;
  16. background-color:#fff!important;
  17. }
  18. .content{
  19. background: #eff3f6;
  20. padding: 10px!important;
  21. }
  22. .con{
  23. padding-bottom:20px;
  24. position:relative;
  25. min-height:100vh;
  26. background-color:#fff;
  27. border-radius: 8px;
  28. }
  29. .con .setting .block{
  30. padding:10px;
  31. background-color:#fff;
  32. border-radius: 8px;
  33. }
  34. .con .setting .block .title{
  35. display:flex;
  36. align-items:center;
  37. margin-bottom:15px;
  38. }
  39. .confirm-btn{
  40. width: calc(100% - 266px);
  41. position:fixed;
  42. bottom:0;
  43. right:0;
  44. margin-right:10px;
  45. line-height:63px;
  46. background-color: #ffffff;
  47. box-shadow: 0px 8px 23px 1px
  48. rgba(51, 51, 51, 0.3);
  49. background-color:#fff;
  50. text-align:center;
  51. }
  52. textarea{
  53. height:150px;
  54. }
  55. b{
  56. font-size:14px;
  57. }
  58. .vue-crumbs a {
  59. color: #333;
  60. }
  61. .vue-crumbs a:hover {
  62. color: #29ba9c;
  63. }
  64. .vue-crumbs {
  65. margin: 0 20px;
  66. font-size: 14px;
  67. color: #333;
  68. font-weight: 400;
  69. padding-bottom: 10px;
  70. line-height: 32px;
  71. }
  72. </style>
  73. <div id='re_content' >
  74. <div class="con">
  75. <div class="setting">
  76. <div class="block">
  77. <div class="title"><span style="width: 4px;height: 18px;background-color: #29ba9c;margin-right:15px;display:inline-block;"></span><b>基础设置</b></div>
  78. <el-form label-width="15%">
  79. <el-form-item label="模板ID">
  80. <div>[[template.priTmplId]]</div>
  81. </el-form-item>
  82. <el-form-item label="模板名称">
  83. <div>[[template.title]]</div>
  84. </el-form-item>
  85. <el-form-item label="所属行业">
  86. <div>[[template.primary_industry]]/[[template.deputy_industry]]</div>
  87. </el-form-item>
  88. <el-form-item label="模板格式">
  89. <el-input type="textarea" v-model="template.content" disabled style="width:70%;"></el-input>
  90. </el-form-item>
  91. <el-form-item label="模板示例">
  92. <el-input type="textarea" v-model="template.example" disabled style="width:70%;"></el-input>
  93. </el-form-item>
  94. </el-form>
  95. </div>
  96. </div>
  97. <div class="confirm-btn">
  98. <el-button type="primary" @click="back">返回列表</el-button>
  99. </div>
  100. </div>
  101. </div>
  102. <script>
  103. var vm = new Vue({
  104. el: "#re_content",
  105. delimiters: ['[[', ']]'],
  106. data() {
  107. let template = {!! json_encode($template) ?: '{}' !!}
  108. console.log(template)
  109. return {
  110. activeName: 'first',
  111. template:template
  112. }
  113. },
  114. mounted () {
  115. },
  116. methods: {
  117. back(){
  118. window.location.href = `{!! yzWebFullUrl('setting.wechat-notice.index') !!}`;
  119. },
  120. },
  121. });
  122. </script>
  123. @endsection