diff --git a/api/api.js b/api/api.js
index 971e4a0..d7d6dba 100644
--- a/api/api.js
+++ b/api/api.js
@@ -18,6 +18,11 @@ const config = {
url: '/api/index/getBanner',
method: 'GET'
},
+ //获取演员集详情接口
+ indexGetActorDetail: {
+ url: '/api/index/getActorDetail',
+ method: 'GET'
+ },
//获取认证演员
indexGetActorList: {
url: '/api/index/getActorList',
@@ -43,6 +48,11 @@ const config = {
url: '/api/index/getComplaintReason',
method: 'GET'
},
+ //获取投诉原因
+ indexGetGetWorkPage: {
+ url: '/api/index/getWorkPage',
+ method: 'GET'
+ },
@@ -54,6 +64,12 @@ const config = {
method: 'GET',
auth: true
},
+ //获取用户平台数据
+ infoGetInfoMoney: {
+ url: '/api/info/getInfoMoney',
+ method: 'GET',
+ auth: true
+ },
//获取银行卡列表带分页
infoGetBankCardPage: {
url: '/api/info/getBankCardPage',
diff --git a/components/config/showPrivacyAgreement.vue b/components/config/showPrivacyAgreement.vue
index 99b6bb4..3166553 100644
--- a/components/config/showPrivacyAgreement.vue
+++ b/components/config/showPrivacyAgreement.vue
@@ -1,118 +1,148 @@
-
+
-
-
-
+
\ No newline at end of file
diff --git a/components/post/actorList.vue b/components/post/actorList.vue
index bfdd00f..6950d0d 100644
--- a/components/post/actorList.vue
+++ b/components/post/actorList.vue
@@ -1,7 +1,7 @@
- (介绍:介绍内容介内容介绍内容介内容介绍内容介内容介绍内容介内容)
+ {{ item.photographerContent }}
- ¥1240,045
+ ¥{{ money.money }}
可提现金额
今日收益
- ¥1234
+ ¥{{ money.todayMoney }}
累计收益
- ¥1234
+ ¥{{ money.userSumMoney }}
已提现
- ¥1234
+ ¥{{ money.userMoney }}
@@ -34,16 +34,16 @@
卡片记录
-
+
- 6222021000000000018
+ {{ item.bankId }}
- 工商银行
+ {{ item.bankAddress }}
@@ -72,8 +72,27 @@ import '../../common.css'; // 引入公共 CSS 文件
export default {
data() {
- return {};
+ return {
+ queryParams: {
+ pageNo: 1,
+ pageSize: 10
+ },
+ total : 0,
+ list : [],
+ money : {}
+ };
},
+ onShow() {
+ this.getData()
+ this.infoGetInfoMoney()
+ },
+ //滚动到屏幕底部
+ onReachBottom() {
+ if(this.queryParams.pageSize < this.total){
+ this.queryParams.pageSize += 10
+ this.getData()
+ }
+ },
methods: {
// 跳转到收益记录页面
gotoIncomeRecordPage() {
@@ -82,7 +101,22 @@ export default {
// 跳转到提现页面
gotoWithdrawPage() {
this.$utils.navigateTo('/mine/withdraw');
- }
+ },
+ getData(){
+ this.$api('infoGetBankCardPage', this.queryParams, res => {
+ if(res.code == 200){
+ this.list = res.result.records
+ this.total = res.result.total
+ }
+ })
+ },
+ infoGetInfoMoney(){
+ this.$api('infoGetInfoMoney', res => {
+ if(res.code == 200){
+ this.money = res.result
+ }
+ })
+ },
}
}
diff --git a/pages/publish/actorDetail.vue b/pages/publish/actorDetail.vue
index 141c609..1a9c534 100644
--- a/pages/publish/actorDetail.vue
+++ b/pages/publish/actorDetail.vue
@@ -14,7 +14,7 @@
- {{ item.title }}
+ {{ item.name }}
@@ -34,18 +34,18 @@
-
+
- 代表作品夏
+ {{ item.title }}
-
+
@@ -62,22 +62,30 @@
},
data() {
return {
- item: {
- title: "这是一条动态",
- createTime: '2024-08-22 09:00:00',
- createBy: "小飞",
- content: '这是一条动态这是一条动态这是一条动态这是一条动态这是一条动态这是一条动态这是一条动态这是一条动态这是一条动态这是一条动态这是一条动态',
+ item: {},
+ list : [],
+ queryParams: {
+ pageNo: 1,
+ pageSize: 10
},
+ total : 0,
}
},
onLoad(options) {
// this.$route.query的参数
- console.log(options)
- // this.getData(options.id)
+ this.getData(options.id)
+ this.getList()
+ },
+ //滚动到屏幕底部
+ onReachBottom() {
+ if(this.queryParams.pageSize < this.total){
+ this.queryParams.pageSize += 10
+ this.indexGetTrendsPage()
+ }
},
methods: {
getData(id){
- this.$api('indexGetTrendsDetail', {
+ this.$api('indexGetActorDetail', {
id
}, res => {
if(res.code == 200){
@@ -85,6 +93,16 @@
}
})
},
+ getList(){
+ this.$api('indexGetGetWorkPage', {
+ token : uni.getStorageSync('token')
+ }, res => {
+ if(res.code == 200){
+ this.list = res.result.records
+ this.total = res.result.total
+ }
+ })
+ }
}
}