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 @@
-
- 我是邀请更多页面
+
+
+
+
+ 邀请码
+
+ {{userInfo.inviteCode}}
+
+
+
+
+ 邀请链接
+
+ http://AFJIASD?code={{userInfo.inviteCode}}
+
+
+
+
-
-
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 @@
-
-
-
-
-
-
-
-
-
- 下载
-
-
-
-
- 喜欢
-
-
-
-
- 收藏
-
-
-
+
+
+ 置顶
+
+ {{upOrDown}}架
+
+ 修改标签
+
+
+
+
+
+ 标签列表(最多选择3个)
+
+
+
+
+
+
@@ -33,29 +26,25 @@
-
diff --git a/pages/index/material/material.vue b/pages/index/material/material.vue
index b7ede18..de942e4 100644
--- a/pages/index/material/material.vue
+++ b/pages/index/material/material.vue
@@ -45,13 +45,8 @@
const userInfoSync = uni.getStorageSync("userInfo");
this.userInfo = userInfoSync;
this.queryListType();
- uni.getSystemInfo({
- success: res => {
- console.log(res)
- this.imgWidth = res.windowWidth - 130 + 'rpx'
- this.imgHeight = res.windowWidth - 130 + 'rpx'
- }
- })
+ this.imgWidth = 750/3-20 + 'rpx'
+ this.imgHeight = 750/3-20 + 'rpx'
},
// 下拉刷新
onPullDownRefresh(){
@@ -75,7 +70,7 @@
methods: {
// 前往详情页
targetDetail(item) {
- console.log('跳转', item)
+ //console.log('跳转', item)
if (item.id) {
uni.setStorage({
key: 'detailId',
@@ -83,7 +78,13 @@
success() {
console.log(111111)
uni.navigateTo({
- url: '../material/imgDetail'
+ url: '/pages/index/material/imgDetail',
+ success:function(){
+ console.log('跳转成功!')
+ },
+ fail:function(){
+ console.log('跳转失败!')
+ }
})
}
})
@@ -95,7 +96,7 @@
that.flag = false;
that.creatorImgList = [];
that.status = e1.currentIndex;
- console.log('status',that.status)
+ //console.log('status',that.status)
uni.showLoading({
title: "加载中",
mask: true,
@@ -105,7 +106,7 @@
creatorId: that.userInfo.id,
typeId: that.typeId,
pageSize: that.pageSize,
- pageNum: 1,
+ pageNum: that.pageNum,
status: that.status
};
listTiktokImgIn(param).then(res => {
@@ -113,7 +114,7 @@
console.log('that.status',that.status);
if(res.data.code === 200){
that.creatorImgList.push(...res.data.rows)
- console.log('调用成功1!', that.creatorImgList);
+ //console.log('调用成功1!', that.creatorImgList);
}else {
uni.showModal({
content: "艺术家图片列表数据加载失败!",
@@ -132,7 +133,7 @@
that.flag = false;
that.creatorImgList = [];
that.typeId = that.typeIdList[e2.currentIndex];
- console.log('typeId',that.typeId)
+ //console.log('typeId',that.typeId)
uni.showLoading({
title: "加载中",
mask: true,
@@ -142,7 +143,7 @@
creatorId: that.userInfo.id,
typeId: that.typeId,
pageSize: that.pageSize,
- pageNum: 1,
+ pageNum: that.pageNum,
status: that.status
};
listTiktokImgIn(param).then(res => {
@@ -150,7 +151,27 @@
console.log('that.status',that.status);
if(res.data.code === 200){
that.creatorImgList.push(...res.data.rows)
- console.log('调用成功2!', that.creatorImgList);
+ console.log(that.creatorImgList)
+ //console.log('调用成功2!', that.creatorImgList);
+ if(that.typeId === 1){
+ that.imgWidth = 750/3-20 + 'rpx'
+ that.imgHeight = 750/3-20 + 'rpx'
+ }else if(that.typeId === 2){
+ that.imgWidth = 750/3-30 + 'rpx'
+ that.imgHeight = 750/3+60 + 'rpx'
+ }else if(that.typeId === 3){
+ that.imgWidth = 750/3-30 + 'rpx'
+ that.imgHeight = 750/3+60 + 'rpx'
+ }else if(that.typeId === 4){
+ that.imgWidth = 750/3+100 + 'rpx'
+ that.imgHeight = 750/3 + 'rpx'
+ }else if(that.typeId === 5){
+ that.imgWidth = 750/3-20 + 'rpx'
+ that.imgHeight = 750/3-20 + 'rpx'
+ }else if(that.typeId === 6){
+ that.imgWidth = 750/3-20 + 'rpx'
+ that.imgHeight = 750/3-20 + 'rpx'
+ }
}else {
uni.showModal({
content: "艺术家图片列表数据加载失败!",
@@ -161,31 +182,7 @@
},
complete() {
uni.hideLoading();
- uni.getSystemInfo({
- success: res => {
- console.log(res)
- if(that.typeId === 1){
- that.imgWidth = res.windowWidth - 130 + 'rpx'
- that.imgHeight = res.windowWidth - 130 + 'rpx'
- }else if(that.typeId === 2){
- that.imgWidth = res.windowWidth - 130 + 'rpx'
- that.imgHeight = res.windowWidth + 20 + 'rpx'
- }else if(that.typeId === 3){
- that.imgWidth = res.windowWidth - 130 + 'rpx'
- that.imgHeight = res.windowWidth + 20 + 'rpx'
- }else if(that.typeId === 4){
- that.imgWidth = res.windowWidth - 60 + 'rpx'
- that.imgHeight = res.windowWidth - 130 + 'rpx'
- }else if(that.typeId === 5){
- that.imgWidth = res.windowWidth - 130 + 'rpx'
- that.imgHeight = res.windowWidth - 130 + 'rpx'
- }else if(that.typeId === 6){
- that.imgWidth = res.windowWidth - 130 + 'rpx'
- that.imgHeight = res.windowWidth - 130 + 'rpx'
- }
-
- }
- })
+
},
});
},
@@ -238,30 +235,35 @@
}
-
diff --git a/pages/profit/profit.vue b/pages/profit/profit.vue
index 186321f..cf3f295 100644
--- a/pages/profit/profit.vue
+++ b/pages/profit/profit.vue
@@ -52,15 +52,6 @@
-
@@ -130,25 +121,6 @@
-
@@ -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;