diff --git a/README.md b/README.md index 9d84c55..3b67e0f 100644 --- a/README.md +++ b/README.md @@ -17,4 +17,11 @@ unaipp多端im+会议+积分商城 ### TUILiveKit 文档地址 -```https://trtc.io/zh/document/60034?platform=ios&product=live``` \ No newline at end of file +```https://trtc.io/zh/document/60034?platform=ios&product=live``` + +### 直播与语音 文档 + +```https://cloud.tencent.com/document/product/647/111859``` + +### 聊天列表 +```https://cloud.tencent.com/document/product/269/105582``` \ No newline at end of file diff --git a/api/index.js b/api/index.js index 9b9642f..018efa1 100644 --- a/api/index.js +++ b/api/index.js @@ -95,3 +95,36 @@ export const getUserIntegralRank = data => { data }) } + +/** 签到列表 */ +export const getSignList = data => { + return http({ + url: '/api/system/signRecord/list', + method: 'get', + data + }) +} + +/** 签到 */ +export const signIn = () => { + return http({ + url: '/api/system/signRecord', + method: 'post' + }) +} + +/** 根据id获取文章详细信息 */ +export const getArticleDetail = id => { + return http({ + url: `/api/service/articleContent/type/${id}`, + method: 'get' + }) +} + +/** 获取腾讯usersig */ +export const getTencentUserSig = () => { + return http({ + url: '/api/user/usersig', + method: 'get' + }) +} diff --git a/api/my-index.js b/api/my-index.js new file mode 100644 index 0000000..585c4cd --- /dev/null +++ b/api/my-index.js @@ -0,0 +1,52 @@ +import http from '@/utils/request' + +/** 添加银行卡 */ +export const addUserAddress = data => { + return http({ + url: '/api/service/userCard', + method: 'post', + data + }) +} + +/** 修改银行卡 */ +export const updateUserAddress = data => { + return http({ + url: '/api/service/userCard', + method: 'put', + data + }) +} + +/** 获取用户银行卡列表 */ +export const getUserAddress = data => { + return http({ + url: '/api/service/userCard/list', + method: 'get', + data + }) +} + +/** 删除银行卡 */ +export const deleteUserAddress = id => { + return http({ + url: `/api/service/userCard/${id}`, + method: 'delete' + }) +} + +/** 获取用户银行卡详情 */ +export const getUserAddressDetail = id => { + return http({ + url: `/api/service/userCard/details/${id}`, + method: 'get' + }) +} + +/** 获取用户支付密码详细信息 */ +export const getUserPayPwd = () => { + return http({ + url: '/api/service/userPassword/details', + method: 'get' + }) +} diff --git a/components/agreement-checkbox/agreement-checkbox.vue b/components/agreement-checkbox/agreement-checkbox.vue index dc4c8e2..5af9c6b 100644 --- a/components/agreement-checkbox/agreement-checkbox.vue +++ b/components/agreement-checkbox/agreement-checkbox.vue @@ -1,4 +1,6 @@ + + + + diff --git a/components/cb-search/cb-search.vue b/components/cb-search/cb-search.vue index d226799..e5783b3 100644 --- a/components/cb-search/cb-search.vue +++ b/components/cb-search/cb-search.vue @@ -1,5 +1,10 @@ + diff --git a/pages/discover/dynamic/release.vue b/pages/discover/dynamic/release.vue index 4d37a7f..a4b16a7 100644 --- a/pages/discover/dynamic/release.vue +++ b/pages/discover/dynamic/release.vue @@ -23,7 +23,9 @@ text-transform: none;` @@ -46,18 +48,6 @@ text-transform: none;` diff --git a/pages/login/regime.vue b/pages/login/regime.vue new file mode 100644 index 0000000..fde4920 --- /dev/null +++ b/pages/login/regime.vue @@ -0,0 +1,9 @@ + + + + + diff --git a/pages/mall/detail.vue b/pages/mall/detail.vue index 411699a..cfcadf8 100644 --- a/pages/mall/detail.vue +++ b/pages/mall/detail.vue @@ -138,7 +138,10 @@ 商品详情 - + diff --git a/pages/my-index/wallet/bank-card/card-details.vue b/pages/my-index/wallet/bank-card/card-details.vue index 341a90a..5857636 100644 --- a/pages/my-index/wallet/bank-card/card-details.vue +++ b/pages/my-index/wallet/bank-card/card-details.vue @@ -20,6 +20,16 @@ // 图片链接 img: '' }) + + const onAdd = () => { + console.log(formData) + const data = { + bankName: formData.name, + cardNumber: formData.cardNum, + bankName: formData.khName + } + } + onLoad(e => { const titltData = { 0: '添加银行卡', @@ -33,7 +43,11 @@