浏览代码

feat: 1.调整流量充值被选中网页兼容
2.流量开通记录网页加载更多数据加载

Damon 1 年之前
父节点
当前提交
6207a28f38
共有 2 个文件被更改,包括 7 次插入4 次删除
  1. 2 2
      src/pages/pay/detail.vue
  2. 5 2
      src/pages/pay/index.vue

+ 2 - 2
src/pages/pay/detail.vue

@@ -19,7 +19,7 @@
 </template>
 
 <script>
-import { list } from "@/api/pay.js"
+import { list } from "@/api/pay.js";
 export default {
   data() {
     return {
@@ -43,7 +43,7 @@ export default {
     getList() {
       list(this.form).then(res => {
         if (res.code === 0) {
-          this.tableData = res.data.records
+          this.tableData=this.tableData.concat(res.data.records); 
           this.hasMore = res.data.hasMore
         }
       })

+ 5 - 2
src/pages/pay/index.vue

@@ -78,7 +78,7 @@
 </template>
 
 <script>
-import { openId, wechatPay, detail, options, order } from "@/api/pay"
+import { detail, openId, options, order, wechatPay } from "@/api/pay";
 export default {
   data() {
     return {
@@ -102,6 +102,7 @@ export default {
   },
   onLoad(e) {
     this.state = e.state
+    console.log("ddddddddd===="+this.state);
     this.getOpenId(e)
     this.getDetail()
     this.getOptions()
@@ -289,12 +290,14 @@ export default {
 
   .active {
     background-color: rgba(199, 170, 134, 0.12);
+    border: 2px solid #A4D099 !important;
+    // background-color: #A4D099;
   }
 
   .list {
     width: calc(100% / 3 - 10px);
     height: 268rpx;
-    border: 1px solid #C7AA86;
+    border: 1px solid #ffffff26;
     border-radius: 16rpx;
     padding: 48rpx 10px;
     color: #FFD5A0;