From 31efd584fa2bd6cf83386722927ee5a1a7bcfb0c Mon Sep 17 00:00:00 2001 From: Penny <2500338766@qq.com> Date: Wed, 14 Dec 2022 07:32:48 +0800 Subject: [PATCH] =?UTF-8?q?feature:1.0:=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/index.js | 34 + pages-userInfo/contact/contact.vue | 4 +- pages-userInfo/extends/extends.vue | 241 +++---- pages-userInfo/inviteLog/inviteLog.vue | 81 +-- pages-userInfo/notice/notice.vue | 4 +- pages-userInfo/notice/noticeDetail.vue | 2 +- pages-userInfo/withdraw/withdraw.vue | 22 +- pages-userInfo/withdraw/withdrawDetail.vue | 16 +- pages.json | 35 +- pages/index/index.vue | 24 +- pages/index/material/imgDetail.vue | 695 ++++++++------------- pages/index/material/material.vue | 96 +-- pages/index/upload/upload.vue | 293 ++++++++- pages/profit/profit.vue | 156 +---- 14 files changed, 762 insertions(+), 941 deletions(-) diff --git a/api/index.js b/api/index.js index 53c0358..2176a0b 100644 --- a/api/index.js +++ b/api/index.js @@ -117,4 +117,38 @@ export function getYs(data) { }) } +// 获取艺术家当日上传次数 +export function queryUploadNum(data) { + return request({ + url: `${serviceTitle}${prefix}/getUploadNum`, + method: 'post', + data + }) +} + +// 查询图片详情 +export function getImgDetails(imgId) { + return request({ + url: `${serviceTitle}${prefix}/detailsTiktokImg/${imgId}`, + method: 'get' + }) +} + +// 置顶图片 +export function topImg(id) { + return request({ + url: `${serviceTitle}${prefix}/topImg/${id}`, + method: 'get' + }) +} + +// 修改艺术家图片标签 +export function modifySign(data) { + return request({ + url: `${serviceTitle}${prefix}/modifySign`, + method: 'post', + data + }) +} + diff --git a/pages-userInfo/contact/contact.vue b/pages-userInfo/contact/contact.vue index b6d1289..02ccc50 100644 --- a/pages-userInfo/contact/contact.vue +++ b/pages-userInfo/contact/contact.vue @@ -14,7 +14,7 @@ flex: 1; } .img{ - width: 100%; - height: 600px; + width: 750rpx; + height: 1200rpx; } diff --git a/pages-userInfo/extends/extends.vue b/pages-userInfo/extends/extends.vue index 4da1b69..9976b9e 100644 --- a/pages-userInfo/extends/extends.vue +++ b/pages-userInfo/extends/extends.vue @@ -1,180 +1,79 @@ - - diff --git a/pages-userInfo/inviteLog/inviteLog.vue b/pages-userInfo/inviteLog/inviteLog.vue index 5d6aac7..1f74c19 100644 --- a/pages-userInfo/inviteLog/inviteLog.vue +++ b/pages-userInfo/inviteLog/inviteLog.vue @@ -1,8 +1,8 @@ @@ -70,83 +70,12 @@ diff --git a/pages-userInfo/notice/notice.vue b/pages-userInfo/notice/notice.vue index b2f8913..ee70ec4 100644 --- a/pages-userInfo/notice/notice.vue +++ b/pages-userInfo/notice/notice.vue @@ -76,8 +76,8 @@ diff --git a/pages-userInfo/withdraw/withdraw.vue b/pages-userInfo/withdraw/withdraw.vue index 1c0f052..d8a5acf 100644 --- a/pages-userInfo/withdraw/withdraw.vue +++ b/pages-userInfo/withdraw/withdraw.vue @@ -123,19 +123,19 @@ diff --git a/pages.json b/pages.json index eeaa951..9f559b9 100644 --- a/pages.json +++ b/pages.json @@ -17,7 +17,7 @@ { "path": "pages/index/upload/upload", "style": { - "navigationBarTitleText": "", + "navigationBarTitleText": "上传图片", "enablePullDownRefresh": false } @@ -29,6 +29,13 @@ } }, { + "path": "pages/index/material/imgDetail", + "style": { + "navigationBarTitleText": "素材详情", + "enablePullDownRefresh": false + } + + },{ "path": "pages/login/login", "style": { "navigationBarTitleText": "登录", @@ -45,7 +52,7 @@ }, { "path": "pages/index/banner", "style": { - "navigationBarTitleText": "", + "navigationBarTitleText": "banner", "enablePullDownRefresh": false } @@ -96,12 +103,12 @@ "subPackages": [{ "root": "pages-userInfo", "pages": [{ - "path": "about/about", - "style": { - "navigationBarTitleText": "常见问题", - "enablePullDownRefresh": false - } - }, + "path": "about/about", + "style": { + "navigationBarTitleText": "常见问题", + "enablePullDownRefresh": false + } + }, { "path": "contact/contact", "style": { @@ -144,7 +151,7 @@ } - , { + , { "path": "withdraw/withdrawDetail", "style": { "navigationBarTitleText": "提现详情", @@ -168,11 +175,11 @@ "borderStyle": "black", "backgroundColor": "#F8F8F8", "list": [{ - "pagePath": "pages/index/index", - "iconPath": "static/index-default.png", - "selectedIconPath": "static/index-select.png", - "text": "首页" - }, + "pagePath": "pages/index/index", + "iconPath": "static/index-default.png", + "selectedIconPath": "static/index-select.png", + "text": "首页" + }, { "pagePath": "pages/profit/profit", "iconPath": "static/theme-default.png", diff --git a/pages/index/index.vue b/pages/index/index.vue index 50c0dc4..144c558 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -4,7 +4,7 @@ + :interval="interval" :duration="duration" circular> @@ -206,7 +206,7 @@ flex-direction: column; align-items: center; justify-content: center; - padding: 10px 0; + padding: 10rpx 0; } .grid-item-box-row { @@ -218,11 +218,11 @@ flex-direction: row; align-items: center; justify-content: center; - padding: 10px 0; + padding: 10rpx 0; } .swiper-box { - height: 150px; + height: 260rpx; } .swiper-item { @@ -232,7 +232,7 @@ flex-direction: column; justify-content: center; align-items: center; - height: 200px; + height: 290rpx; color: #fff; } @@ -263,11 +263,11 @@ /* #endif */ - @media screen and (min-width: 500px) { + @media screen and (min-width: 500rpx) { .uni-swiper-dot-box { - width: 400px; + width: 400rpx; margin: 0 auto; - margin-top: 8px; + margin-top: 8rpx; } .image { @@ -280,13 +280,13 @@ } .iconImage{ - width:3rem; - height:3rem; + width:90rpx; + height:90rpx; } .listIconImage{ - width:2rem; - height:2rem; + width:60rpx; + height:60rpx; } diff --git a/pages/index/material/imgDetail.vue b/pages/index/material/imgDetail.vue index 2cb7305..0e3a1f6 100644 --- a/pages/index/material/imgDetail.vue +++ b/pages/index/material/imgDetail.vue @@ -1,31 +1,24 @@ - @@ -170,137 +142,11 @@ - - - - - - @@ -576,7 +422,7 @@ export default { .back-con-bot { width: 100%; - height: 80px; + height: 150rpx; display: flex; justify-content: space-between; align-items: center;