From c3c27262a6e722d2a6153ff3de6d2f870adc1d45 Mon Sep 17 00:00:00 2001
From: yfx <1249361928@.com>
Date: Tue, 17 Mar 2026 14:20:10 +0800
Subject: [PATCH] 传接口参数
---
pages/quanyi/components/agreement/index.vue | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/pages/quanyi/components/agreement/index.vue b/pages/quanyi/components/agreement/index.vue
index 03a5fb8..983838f 100644
--- a/pages/quanyi/components/agreement/index.vue
+++ b/pages/quanyi/components/agreement/index.vue
@@ -12,9 +12,13 @@
const _this = this;
uni.request( {
url: _this.$webHost + "/api/v2/renpin/H5/getPlatformProtocolNew",
+ data: {
+ customerId: uni.getStorageSync('qxgLogin').customerId,
+ appId: uni.getStorageSync('qxgLogin').appId
+ },
method: 'GET',
success(res) {
- console.log(res.data.data);
+ console.log(111,res.data.data);
_this.list = res.data.data;
}
})
@@ -25,6 +29,7 @@
this.$refs.agreement.open();
},
toProtocol(e){
+ console.log(e);
let title = e.name;
let code = e.code;
uni.navigateTo({
@@ -51,7 +56,7 @@
>平台服务协议</view
>
</view>
- <view class="list" style="height: 50vh;">
+ <view class="list" style="height: 50vh;overflow: scroll;">
<view class="li" @click="toProtocol(item)" v-for="(item,index) in list" :key="index" >
<view style="font-size: 30rpx">{{item.name}}</view>
--
Gitblit v1.9.3