You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

104 lines
1.9 KiB

  1. <template>
  2. <view class="page">
  3. <!--标题-->
  4. <view class="noticeT"><text id="AcademicYearNo">{{ data.AcademicYearNo }}</text>学年第<text id="Semester">{{ data.Semester }}</text>学期收费标准</view>
  5. <!--简介-->
  6. <view class="noticeBox">
  7. <view class="noticeTitle">费用明细</view>
  8. <view id="list">
  9. <view class="noticeTxt" v-for="(item, i) in data.FinaChargesStandardList" :key="item.ChargeItemID">
  10. <text> {{ item.ChargeItemName }} :</text><text> {{ item.Standard }} 元</text>
  11. </view>
  12. </view>
  13. <view class="noticeTxt">
  14. <text>合计:</text><text><text id="total">{{ data.PayFeeTotal }}</text>元</text>
  15. </view>
  16. </view>
  17. </view>
  18. </template>
  19. <script>
  20. export default{
  21. data() {
  22. return {
  23. data: null
  24. }
  25. },
  26. methods:{
  27. init() {
  28. //数据绑定
  29. let _this = this;
  30. _this.LOADING('加载数据中…')
  31. _this.HTTP_GET('StuInfoFresh/payFeeDetail', {}, '加载数据时出错').then(res => {
  32. _this.HIDE_LOADING();
  33. console.log(res);
  34. _this.data = res;
  35. });
  36. }
  37. },
  38. created() {
  39. this.init()
  40. }
  41. }
  42. </script>
  43. <style scoped lang="less">
  44. /deep/ uni-page{
  45. background-color: #fff;
  46. }
  47. .f-page-body {
  48. background: #fff;
  49. }
  50. .page {
  51. padding: 10px 12px;
  52. background: #fff;
  53. }
  54. .noticeT {
  55. font-size: 20px;
  56. line-height: 26px;
  57. text-align: center;
  58. }
  59. .noticeTitle {
  60. font-size: 16px;
  61. /* border-top: 10px #f9f9f9 solid; */
  62. /* margin: 0 -12px; */
  63. margin: 15px 0 10px;
  64. }
  65. .noticeBox {
  66. margin: 10px 0;
  67. padding: 12px;
  68. background: #f9f9f9;
  69. border-radius: 14px;
  70. }
  71. .noticeBox .noticeTitle:first-child {
  72. margin-top: 0;
  73. }
  74. .noticeTxt,
  75. .noticeText {
  76. font-size: 14px;
  77. line-height: 24px;
  78. overflow: hidden;
  79. margin: 5px 0;
  80. }
  81. .noticeText {
  82. text-align: right;
  83. }
  84. .noticeTxt > *:last-child {
  85. float: right;
  86. }
  87. .noticeLine {
  88. height: 1px;
  89. margin: 10px 0;
  90. background: #e4e4e4;
  91. }
  92. </style>