look-detail.blade.php 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. @extends('layouts.base')
  2. @section('title', '查看详情')
  3. @section('content')
  4. <style>
  5. .panel{
  6. margin-bottom:10px!important;
  7. border-radius: 10px;
  8. padding-left: 20px;
  9. }
  10. .panel .active a {
  11. background-color: #29ba9c!important;
  12. border-radius: 18px!important;
  13. color:#fff;
  14. }
  15. .panel a{
  16. border:none!important;
  17. background-color:#fff!important;
  18. }
  19. .content{
  20. background: #eff3f6;
  21. padding: 10px!important;
  22. }
  23. .con{
  24. padding-bottom:20px;
  25. position:relative;
  26. border-radius: 8px;
  27. height:100vh;
  28. background-color:#fff;
  29. }
  30. .left{
  31. height:200px;
  32. display:flex;
  33. align-items:center;
  34. background:#fff;
  35. width:49%;
  36. border-radius: 8px;
  37. padding-left:50px;
  38. box-sizing:border-box;
  39. }
  40. .left .image{
  41. width: 90px;
  42. height: 90px;
  43. }
  44. .con .setting .block .title{
  45. display:flex;
  46. align-items:center;
  47. margin-bottom:15px;
  48. }
  49. .confirm-btn{
  50. width: calc(100% - 266px);
  51. position:fixed;
  52. bottom:0;
  53. right:0;
  54. margin-right:10px;
  55. line-height:63px;
  56. background-color: #ffffff;
  57. box-shadow: 0px 8px 23px 1px
  58. rgba(51, 51, 51, 0.3);
  59. background-color:#fff;
  60. text-align:center;
  61. }
  62. .right{
  63. height:200px;
  64. display:flex;
  65. align-items:center;
  66. background:#fff;
  67. width:49%;
  68. border-radius: 8px;
  69. }
  70. b{
  71. font-size:14px;
  72. }
  73. [v-cloak]{
  74. display: none;
  75. }
  76. </style>
  77. <div id='re_content' v-cloak>
  78. <div class="con">
  79. <div class="setting">
  80. <div class="block" style="display:flex;">
  81. <div class="left">
  82. <div style="display:flex;">
  83. <div class="image">
  84. <img :src='detailModel.member.avatar_image' style="width: 100%;height:100%;">
  85. </div>
  86. <div style="flex-direction:column;margin-left:20px;display: flex;justify-content: space-between;">
  87. <div>会员ID:[[detailModel.member.uid]]</div>
  88. <div>会员昵称:[[detailModel.member.realname]]</div>
  89. <div>会员手机:[[detailModel.member.mobile ]]</div>
  90. </div>
  91. </div>
  92. </div>
  93. <div style="width:2%;height:200px;background: #eff3f6;"></div>
  94. <div class="right">
  95. <div style="display:flex;justify-content:space-between;width:100%;">
  96. <div style="flex:1;display:flex;justify-content:center;align-items:center;">
  97. <div><i class="iconfont icon-fontclass-qian" style="font-size:37px;color:#DB1E06;height: 100%;display: flex;align-items: center;"></i></div>
  98. <div style="flex-direction:column;justify-content: space-between;margin-left:10px;display: flex;">
  99. <div>变动余额值</div>
  100. <div>[[detailModel.change_money]]</div>
  101. </div>
  102. </div>
  103. <div style="flex:1;display:flex;justify-content:center;align-items:center;">
  104. <div><i class="iconfont icon-fontclass-qian" style="font-size:37px;color:#DB1E06;height: 100%;display: flex;align-items: center;"></i></div>
  105. <div style="flex-direction:column;justify-content: space-between;margin-left:10px;display: flex;">
  106. <div>变动前余额</div>
  107. <div>[[detailModel.old_money]]</div>
  108. </div>
  109. </div>
  110. <div style="flex:1;display:flex;justify-content:center;align-items:center;">
  111. <div><i class="iconfont icon-fontclass-qian" style="font-size:37px;color:#DB1E06;height: 100%;display: flex;align-items: center;"></i></div>
  112. <div style="flex-direction:column;justify-content: space-between;margin-left:10px;display: flex;">
  113. <div>变动后余额</div>
  114. <div>[[detailModel.new_money ]]</div>
  115. </div>
  116. </div>
  117. </div>
  118. </div>
  119. </div>
  120. <div style="background: #eff3f6;width:100%;height:15px;"></div>
  121. <div class="block" style="height:300px;width:100%;background-color:#fff;padding:10px;">
  122. <div class="title"><span style="width: 4px;height: 18px;background-color: #29ba9c;margin-right:15px;display:inline-block;"></span><b>信息</b></div>
  123. <div class="info" style="padding-left:24px;">
  124. <div style="margin-top:20px;margin-bottom:20px;">
  125. <span style="display:inline-block;width:500px;">变动时间:[[detailModel.created_at ]]</span>
  126. <span>订单编号:[[detailModel.serial_number]]</span>
  127. </div>
  128. <div style="margin-top:20px;margin-bottom:20px;">
  129. <span style="display:inline-block;width:500px;">业务类型:[[detailModel.service_type_name ]]</span>
  130. <span>收入/支出:[[detailModel.type_name]]</span>
  131. </div>
  132. <div style="margin-top:20px;margin-bottom:20px;">
  133. <span style="display:inline-block;width:500px;">备注:[[detailModel.remark]]</span>
  134. </div>
  135. </div>
  136. </div>
  137. <div class="confirm-btn">
  138. <el-button type="primary" @click="submit">返回</el-button>
  139. </div>
  140. </div>
  141. </div>
  142. </div>
  143. <script>
  144. var vm = new Vue({
  145. el: "#re_content",
  146. delimiters: ['[[', ']]'],
  147. data() {
  148. let detailModel={!!$detailModel?:'{}' !!}
  149. return {
  150. detailModel:detailModel,
  151. }
  152. },
  153. mounted () {
  154. },
  155. methods: {
  156. submit(){
  157. window.location.href='{!! yzWebFullUrl('finance.balance-records.index') !!}';
  158. },
  159. }
  160. });
  161. </script>
  162. @endsection