Browse Source

艺术家列表接口逻辑补全,详情页接口交互实现,部分icon替换

feature-1.0
gao1021514 4 years ago
parent
commit
2edd0a7317
  1. 51
      api/creator.js
  2. 9
      api/index.js
  3. 14
      pages.json
  4. 54
      pages/index/index.vue
  5. BIN
      static/collect-select.png
  6. BIN
      static/collect.png
  7. BIN
      static/collectLength.png
  8. BIN
      static/download-select.png
  9. BIN
      static/download.png
  10. BIN
      static/hot-not.png
  11. BIN
      static/hot-yes.png
  12. BIN
      static/imgLength.png
  13. BIN
      static/index-default.png
  14. 2
      static/index-default.svg
  15. BIN
      static/index-select.png
  16. 2
      static/index-select.svg
  17. BIN
      static/jiantou-right.png
  18. BIN
      static/like-select.png
  19. BIN
      static/like.png
  20. BIN
      static/likeLength.png
  21. BIN
      static/mine-default.png
  22. 2
      static/mine-default.svg
  23. BIN
      static/mine-select.png
  24. 2
      static/mine-select.svg
  25. BIN
      static/share.png
  26. BIN
      static/theme-default.png
  27. 2
      static/theme-default.svg
  28. BIN
      static/theme-select.png
  29. 2
      static/theme-select.svg
  30. 14
      unpackage/dist/dev/mp-toutiao/app.json
  31. 2
      unpackage/dist/dev/mp-toutiao/common/main.js
  32. 176
      unpackage/dist/dev/mp-toutiao/common/vendor.js
  33. 41
      unpackage/dist/dev/mp-toutiao/pages/creator/creator.js
  34. 2
      unpackage/dist/dev/mp-toutiao/pages/creator/creator.ttml
  35. 41
      unpackage/dist/dev/mp-toutiao/pages/creator/creator.ttss
  36. 174
      unpackage/dist/dev/mp-toutiao/pages/creator/imgDetail.js
  37. 2
      unpackage/dist/dev/mp-toutiao/pages/creator/imgDetail.ttml
  38. 14
      unpackage/dist/dev/mp-toutiao/pages/creator/imgDetail.ttss
  39. 4
      unpackage/dist/dev/mp-toutiao/pages/creator/userDetail.js
  40. 4
      unpackage/dist/dev/mp-toutiao/pages/index/choiceness.js
  41. 48
      unpackage/dist/dev/mp-toutiao/pages/index/index.js
  42. 24
      unpackage/dist/dev/mp-toutiao/pages/userInfo/contactUs/contactUs.js
  43. 120
      unpackage/dist/dev/mp-toutiao/pages/userInfo/myCollection/myCollection.js
  44. 24
      unpackage/dist/dev/mp-toutiao/pages/userInfo/question/question.js
  45. 24
      unpackage/dist/dev/mp-toutiao/pages/userInfo/setting/setting.js
  46. 170
      unpackage/dist/dev/mp-toutiao/pages/userInfo/userInfo.js
  47. BIN
      unpackage/dist/dev/mp-toutiao/static/collect-select.png
  48. BIN
      unpackage/dist/dev/mp-toutiao/static/collect.png
  49. BIN
      unpackage/dist/dev/mp-toutiao/static/collectLength.png
  50. BIN
      unpackage/dist/dev/mp-toutiao/static/download-select.png
  51. BIN
      unpackage/dist/dev/mp-toutiao/static/download.png
  52. BIN
      unpackage/dist/dev/mp-toutiao/static/hot-not.png
  53. BIN
      unpackage/dist/dev/mp-toutiao/static/hot-yes.png
  54. BIN
      unpackage/dist/dev/mp-toutiao/static/imgLength.png
  55. BIN
      unpackage/dist/dev/mp-toutiao/static/index-default.png
  56. 2
      unpackage/dist/dev/mp-toutiao/static/index-default.svg
  57. BIN
      unpackage/dist/dev/mp-toutiao/static/index-select.png
  58. 2
      unpackage/dist/dev/mp-toutiao/static/index-select.svg
  59. BIN
      unpackage/dist/dev/mp-toutiao/static/jiantou-right.png
  60. BIN
      unpackage/dist/dev/mp-toutiao/static/like-select.png
  61. BIN
      unpackage/dist/dev/mp-toutiao/static/like.png
  62. BIN
      unpackage/dist/dev/mp-toutiao/static/likeLength.png
  63. BIN
      unpackage/dist/dev/mp-toutiao/static/mine-default.png
  64. 2
      unpackage/dist/dev/mp-toutiao/static/mine-default.svg
  65. BIN
      unpackage/dist/dev/mp-toutiao/static/mine-select.png
  66. 2
      unpackage/dist/dev/mp-toutiao/static/mine-select.svg
  67. BIN
      unpackage/dist/dev/mp-toutiao/static/share.png
  68. BIN
      unpackage/dist/dev/mp-toutiao/static/theme-default.png
  69. 2
      unpackage/dist/dev/mp-toutiao/static/theme-default.svg
  70. BIN
      unpackage/dist/dev/mp-toutiao/static/theme-select.png
  71. 2
      unpackage/dist/dev/mp-toutiao/static/theme-select.svg
  72. BIN
      unpackage/dist/dev/mp-toutiao/static/收藏.png
  73. BIN
      unpackage/dist/dev/mp-toutiao/static/收藏选中.png
  74. 30
      unpackage/dist/dev/mp-toutiao/uni_modules/uni-badge/components/uni-badge/uni-badge.js
  75. 32
      unpackage/dist/dev/mp-toutiao/uni_modules/uni-icons/components/uni-icons/uni-icons.js
  76. 34
      unpackage/dist/dev/mp-toutiao/uni_modules/uni-list/components/uni-list-item/uni-list-item.js
  77. 30
      unpackage/dist/dev/mp-toutiao/uni_modules/uni-list/components/uni-list/uni-list.js
  78. 34
      unpackage/dist/dev/mp-toutiao/uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar.js
  79. 30
      unpackage/dist/dev/mp-toutiao/uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control.js
  80. 4
      utils/request.js

51
api/creator.js

@ -8,7 +8,6 @@ export function getBannerList() {
return request({ return request({
url: `${serviceTitle}/img/mini/tiktok/listBanner`, url: `${serviceTitle}/img/mini/tiktok/listBanner`,
method: 'get' method: 'get'
}) })
} }
//获取小程序用户图片列表 //获取小程序用户图片列表
@ -18,10 +17,58 @@ export function getUserImgList() {
method: 'get' method: 'get'
}) })
} }
//获取图片详情 // 获取图片详情
export function detailsTiktokImg(data) { export function detailsTiktokImg(data) {
return request({ return request({
url: `${serviceTitle}/img/mini/tiktok/detailsTiktokImg/${data}`, url: `${serviceTitle}/img/mini/tiktok/detailsTiktokImg/${data}`,
method: 'get' method: 'get'
}) })
} }
// 查询是否点赞过
export function judgeTiktokLike(data) {
return request({
url: `${serviceTitle}/img/mini/tiktok/judgeTiktokLike`,
method: 'post',
data
})
}
// 查询是否收藏过
export function judgeTiktokCollect(data) {
return request({
url: `${serviceTitle}/img/mini/tiktok/judgeTiktokCollect`,
method: 'post',
data
})
}
// 点赞
export function tiktokLike(data) {
return request({
url: `${serviceTitle}/img/mini/tiktok/tiktokLike`,
method: 'post',
data
})
}
// 取消点赞
export function tiktokUnLike(data) {
return request({
url: `${serviceTitle}/img/mini/tiktok/tiktokUnLike`,
method: 'post',
data
})
}
// 收藏
export function tiktokCollect(data) {
return request({
url: `${serviceTitle}/img/mini/tiktok/tiktokCollect`,
method: 'post',
data
})
}
// 取消收藏
export function tiktokUnCollect(data) {
return request({
url: `${serviceTitle}/img/mini/tiktok/tiktokUnCollect`,
method: 'post',
data
})
}

9
api/index.js

@ -27,3 +27,12 @@ export function tiktokUserDetails(data) {
}) })
} }
// 用户授权登录
export function loginTiktok(data) {
return request({
url: `${serviceTitle}/img/mini/tiktok/loginTiktok`,
method: 'post',
data
})
}

14
pages.json

@ -79,25 +79,25 @@
//tab //tab
"tabBar": { "tabBar": {
"color": "#7A7E83", "color": "#7A7E83",
"selectedColor": "#007AFF", "selectedColor": "#1296DB",
"borderStyle": "black", "borderStyle": "black",
"backgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8",
"list": [{ "list": [{
"pagePath": "pages/index/index", "pagePath": "pages/index/index",
"iconPath": "static/index-default.svg", "iconPath": "static/index-default.png",
"selectedIconPath": "static/index-select.svg", "selectedIconPath": "static/index-select.png",
"text": "首页" "text": "首页"
}, },
{ {
"pagePath": "pages/creator/creator", "pagePath": "pages/creator/creator",
"iconPath": "static/theme-default.svg", "iconPath": "static/theme-default.png",
"selectedIconPath": "static/theme-select.svg", "selectedIconPath": "static/theme-select.png",
"text": "艺术家" "text": "艺术家"
}, },
{ {
"pagePath": "pages/userInfo/userInfo", "pagePath": "pages/userInfo/userInfo",
"iconPath": "static/mine-default.svg", "iconPath": "static/mine-default.png",
"selectedIconPath": "static/mine-select.svg", "selectedIconPath": "static/mine-select.png",
"text": "我的" "text": "我的"
} }
] ]

54
pages/index/index.vue

@ -32,7 +32,9 @@
<script> <script>
import { import {
tiktokUserImgs,tiktokUserDetails tiktokUserImgs,
tiktokUserDetails,
loginTiktok
} from '@/api/index.js' } from '@/api/index.js'
export default { export default {
data() { data() {
@ -40,7 +42,8 @@
userList: [] userList: []
} }
}, },
created() { created() {
this.getUserInfo()
this.getUserList() this.getUserList()
}, },
onPageScroll(e) { onPageScroll(e) {
@ -53,9 +56,10 @@
} }
}, },
methods: { methods: {
//
search(res) { search(res) {
if (res.value) { if (res.value) {
console.log('search',res.value) console.log('search', res.value)
this.goUserDetail(res.value) this.goUserDetail(res.value)
} else { } else {
uni.showToast({ uni.showToast({
@ -64,6 +68,46 @@
}) })
} }
},
//
getUserInfo() {
tt.login({
force: true,
success: res => {
tt.getUserInfo({
withCredentials: true,
success: userInfo => {
const params = {
code: res.code,
encryptedData: userInfo.encryptedData,
iv: userInfo.iv
}
//
loginTiktok(params).then(res => {
if (res.data.code === 200) {
uni.setStorage({
key: 'userInfo',
data: res.data.data.userInfo,
})
} else {
uni.showToast({
title: res.data.msg,
icon: 'error'
})
}
}).catch(res => {})
console.log(`getUserInfo 调用成功`, userInfo);
},
fail(userInfo) {
console.log(`getUserInfo 调用失败`);
},
});
},
fail(res) {
console.log(`login 调用失败`);
},
});
}, },
// //
async getUserList() { async getUserList() {
@ -84,7 +128,7 @@
const res = await tiktokUserDetails({ const res = await tiktokUserDetails({
scanCode scanCode
}) })
console.log('tiktokUserDetails',res) console.log('tiktokUserDetails', res)
if (res.data.code === 200) { if (res.data.code === 200) {
uni.setStorage({ uni.setStorage({
key: 'userDetail', key: 'userDetail',
@ -101,7 +145,7 @@
icon: 'error' icon: 'error'
}) })
} }
} else { } else {
uni.showToast({ uni.showToast({
title: '搜索码不能为空', title: '搜索码不能为空',

BIN
static/collect-select.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

BIN
static/collect.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
static/collectLength.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

BIN
static/download-select.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
static/download.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
static/hot-not.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

BIN
static/hot-yes.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
static/imgLength.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
static/index-default.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

2
static/index-default.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1652509906552" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="36297" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path d="M98.033 480.211c-10.115 0-20.065-4.783-26.285-13.712-10.102-14.501-6.536-34.446 7.966-44.548l414.033-288.425a32.003 32.003 0 0 1 37.505 0.667l384.137 288.424c14.133 10.612 16.987 30.671 6.376 44.804s-30.67 16.988-44.804 6.375L511.335 199.272l-395.04 275.193a31.845 31.845 0 0 1-18.262 5.746zM831.241 927.64H608.515c-17.673 0-32-14.327-32-32V671.965H448.118V895.64c0 17.673-14.327 32-32 32H188.589c-17.673 0-32-14.327-32-32V513.167c0-17.673 14.327-32 32-32s32 14.327 32 32V863.64h163.529V639.965c0-17.673 14.327-32 32-32h192.397c17.673 0 32 14.327 32 32V863.64h158.727V513.167c0-17.673 14.327-32 32-32s32 14.327 32 32V895.64c-0.001 17.672-14.328 32-32.001 32z" fill="#11A8FD" p-id="36298"></path></svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

BIN
static/index-select.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

2
static/index-select.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1652509895825" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="36094" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path d="M919.2 419.2L531.2 141.6c-11.2-8-26.4-8-36.8 0L104 419.2c-12.8 8.8-6.4 28.8 9.6 28.8H192v432c0 8.8 7.2 16 16 16h192c8.8 0 16-7.2 16-16V640h192v240c0 8.8 7.2 16 16 16h192c8.8 0 16-7.2 16-16V448h78.4c15.2 0 21.6-20 8.8-28.8z" p-id="36095" fill="#11A8FD"></path></svg>

Before

Width:  |  Height:  |  Size: 958 B

BIN
static/jiantou-right.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
static/like-select.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

BIN
static/like.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

BIN
static/likeLength.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

BIN
static/mine-default.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

2
static/mine-default.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1652510791414" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="48946" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path d="M845.01888 732.43136c-18.20544-43.04128-44.2624-81.69088-77.44896-114.87872-33.18656-33.18656-71.83744-59.24224-114.87872-77.44768-12.15104-5.14048-24.512-9.56288-37.04576-13.31456 65.31712-36.48384 109.58848-106.3104 109.58848-186.2912 0-117.57696-95.65568-213.23264-213.23392-213.23264-117.57568 0-213.23264 95.65568-213.23264 213.23264 0 79.98208 44.27136 149.80736 109.58976 186.2912-12.53504 3.75296-24.89728 8.17664-37.04576 13.31456-43.04128 18.20544-81.69216 44.26112-114.88 77.44768-33.18528 33.18784-59.24352 71.83744-77.44768 114.87872-18.85312 44.57216-28.41216 91.90784-28.41216 140.6912 0 11.60832 9.41056 21.01888 21.01888 21.01888 11.6096 0 21.01888-9.41056 21.01888-21.01888 0-176.11264 143.27808-319.38944 319.38944-319.38944 176.11264 0 319.39072 143.27808 319.39072 319.38944 0 11.60832 9.40928 21.01888 21.01888 21.01888 11.60832 0 21.02016-9.41056 21.02016-21.01888C873.42976 824.3392 863.86944 777.00352 845.01888 732.43136zM340.8064 340.4992c0-94.39744 76.79744-171.19488 171.19488-171.19488 94.39872 0 171.19616 76.79744 171.19616 171.19488 0 94.39744-76.79744 171.19488-171.19616 171.19488C417.60256 511.6928 340.8064 434.89536 340.8064 340.4992z" p-id="48947" fill="#11A8FD"></path></svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

BIN
static/mine-select.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

2
static/mine-select.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1652510113545" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="46538" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path d="M900.985804 931.652755c-5.54018 0-10.033517-4.493338-10.033517-10.033517 0-109.346407-48.546669-211.866339-133.191488-281.267988-4.285606-3.515057-4.910846-9.834996-1.39886-14.121626 3.515057-4.285606 9.834996-4.91187 14.123672-1.397836 89.310072 73.230861 140.534733 181.403536 140.534733 296.78745C911.019321 927.159418 906.525983 931.652755 900.985804 931.652755zM154.054143 931.652755c-5.542226 0-10.033517-4.493338-10.033517-10.033517 0-51.77827 10.140964-102.011348 30.140461-149.305491 19.315928-45.676295 46.965661-86.695524 82.183767-121.918747 35.217083-35.223223 76.229149-62.878073 121.898281-82.198094 47.285956-20.00359 97.511871-30.146601 149.280932-30.146601 6.185886 0 12.435217 0.148379 18.579147 0.437975 5.53404 0.264013 9.809413 4.964058 9.547447 10.499122-0.261966 5.533017-4.952802 9.785877-10.497075 9.547447-5.827729-0.277316-11.759835-0.415462-17.630542-0.415462-200.398146 0-363.43436 163.065889-363.43436 363.501898C164.087661 927.159418 159.595346 931.652755 154.054143 931.652755z" p-id="46539" fill="#11A8FD"></path><path d="M533.824563 559.554062c-66.812685 0-129.624243-26.037003-176.86722-73.317843-47.239907-47.27777-73.256444-110.137423-73.256444-176.998203 0-66.86078 26.016537-129.71941 73.256444-176.998203 47.242977-47.279816 110.054535-73.317843 176.86722-73.317843s129.624243 26.038026 176.866197 73.317843c47.239907 47.278793 73.256444 110.137423 73.256444 176.998203 0 66.86078-26.016537 129.720434-73.256444 176.998203C663.448806 533.516036 600.637248 559.554062 533.824563 559.554062z" p-id="46540" fill="#11A8FD"></path></svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

BIN
static/share.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

BIN
static/theme-default.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

2
static/theme-default.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1652510034529" class="icon" viewBox="0 0 1025 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="41705" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path d="M419.182 146.263h-254.38c-12.108 0-21.924 9.815-21.924 21.923v254.382c0 36.577 29.759 66.333 66.335 66.333h254.38c12.108 0 21.923-9.815 21.923-21.923V212.596c0-36.576-29.757-66.333-66.334-66.333z m22.488 298.793H209.213c-12.4 0-22.488-10.088-22.488-22.487V190.11h232.46c12.397 0 22.486 10.088 22.486 22.487v232.46zM855.797 224.928c-12.108 0-21.922 9.815-21.922 21.923v175.717c0 12.4-10.09 22.487-22.49 22.487H578.928V212.597c0-12.399 10.087-22.487 22.488-22.487h174.346c12.108 0 21.922-9.815 21.922-21.923 0-12.108-9.815-21.923-21.922-21.923H601.415c-36.577 0-66.333 29.757-66.333 66.334V466.98c0 12.108 9.815 21.923 21.922 21.923h254.38c36.579 0 66.335-29.757 66.335-66.333V246.852c0-12.11-9.814-21.924-21.922-21.924zM811.033 538.503H556.651c-12.108 0-21.922 9.815-21.922 21.923v254.382c0 36.576 29.757 66.333 66.335 66.333h254.38c12.108 0 21.923-9.815 21.923-21.923V604.836c0-36.576-29.757-66.333-66.334-66.333z m22.487 298.791H601.064c-12.4 0-22.49-10.088-22.49-22.486V582.349h232.46c12.398 0 22.485 10.088 22.485 22.487v232.458zM463.593 538.503h-254.38c-36.577 0-66.335 29.757-66.335 66.334v254.381c0 12.109 9.817 21.923 21.924 21.923h254.382c36.575 0 66.332-29.757 66.332-66.333V560.426c0-12.108-9.815-21.923-21.923-21.923zM441.67 814.808c0 12.4-10.089 22.486-22.486 22.486h-232.46V604.836c0-12.399 10.089-22.487 22.488-22.487H441.67v232.459zM855.797 193.513c13.965 0 25.326-11.361 25.326-25.327 0-13.965-11.361-25.327-25.326-25.327s-25.328 11.362-25.328 25.327c0 13.965 11.363 25.327 25.328 25.327z" p-id="41706" fill="#11A8FD"></path></svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

BIN
static/theme-select.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

2
static/theme-select.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1652510045111" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="41908" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path d="M0 128.115398C0 57.359217 57.372907 0 128.115398 0L310.741745 0C381.497926 0 438.857143 57.372907 438.857143 128.115398L438.857143 310.741745C438.857143 381.497926 381.484236 438.857143 310.741745 438.857143L128.115398 438.857143C57.359217 438.857143 0 381.484236 0 310.741745L0 128.115398ZM0 713.258253C0 642.502074 57.372907 585.142857 128.115398 585.142857L310.741745 585.142857C381.497926 585.142857 438.857143 642.515763 438.857143 713.258253L438.857143 895.884602C438.857143 966.640781 381.484236 1024 310.741745 1024L128.115398 1024C57.359217 1024 0 966.627091 0 895.884602L0 713.258253ZM585.142857 128.115398C585.142857 57.359217 642.515763 0 713.258253 0L895.884602 0C966.640781 0 1024 57.372907 1024 128.115398L1024 310.741745C1024 381.497926 966.627091 438.857143 895.884602 438.857143L713.258253 438.857143C642.502074 438.857143 585.142857 381.484236 585.142857 310.741745L585.142857 128.115398ZM585.142857 713.258253C585.142857 642.502074 642.515763 585.142857 713.258253 585.142857L895.884602 585.142857C966.640781 585.142857 1024 642.515763 1024 713.258253L1024 895.884602C1024 966.640781 966.627091 1024 895.884602 1024L713.258253 1024C642.502074 1024 585.142857 966.627091 585.142857 895.884602L585.142857 713.258253Z" p-id="41909" fill="#11A8FD"></path></svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

14
unpackage/dist/dev/mp-toutiao/app.json

@ -20,26 +20,26 @@
}, },
"tabBar": { "tabBar": {
"color": "#7A7E83", "color": "#7A7E83",
"selectedColor": "#007AFF", "selectedColor": "#1296DB",
"borderStyle": "black", "borderStyle": "black",
"backgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8",
"list": [ "list": [
{ {
"pagePath": "pages/index/index", "pagePath": "pages/index/index",
"iconPath": "static/index-default.svg", "iconPath": "static/index-default.png",
"selectedIconPath": "static/index-select.svg", "selectedIconPath": "static/index-select.png",
"text": "首页" "text": "首页"
}, },
{ {
"pagePath": "pages/creator/creator", "pagePath": "pages/creator/creator",
"iconPath": "static/theme-default.svg", "iconPath": "static/theme-default.png",
"selectedIconPath": "static/theme-select.svg", "selectedIconPath": "static/theme-select.png",
"text": "艺术家" "text": "艺术家"
}, },
{ {
"pagePath": "pages/userInfo/userInfo", "pagePath": "pages/userInfo/userInfo",
"iconPath": "static/mine-default.svg", "iconPath": "static/mine-default.png",
"selectedIconPath": "static/mine-select.svg", "selectedIconPath": "static/mine-select.png",
"text": "我的" "text": "我的"
} }
] ]

2
unpackage/dist/dev/mp-toutiao/common/main.js

File diff suppressed because one or more lines are too long

176
unpackage/dist/dev/mp-toutiao/common/vendor.js

File diff suppressed because one or more lines are too long

41
unpackage/dist/dev/mp-toutiao/pages/creator/creator.js

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/mp-toutiao/pages/creator/creator.ttml

@ -1 +1 @@
<view class="content data-v-5830ad60"><view class="data-v-5830ad60"><swiper class="swiper-box data-v-5830ad60" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-dots="{{indicatorDots}}"><block tt:for="{{banner}}" tt:for-item="item" tt:for-index="index" tt:key="index"><swiper-item class="data-v-5830ad60"><image class="img data-v-5830ad60" src="{{item.bannerImg}}" data-event-opts="{{[['tap',[['linkTo',['$0'],[[['banner','',index]]]]]]]}}" bindtap="__e"></image></swiper-item></block></swiper></view><view class="list data-v-5830ad60"><block tt:for="{{userImgList}}" tt:for-item="item" tt:for-index="index" tt:key="index"><view class="list-item data-v-5830ad60"><view class="fb-d-r fb-j-sb fb-a-c data-v-5830ad60"><view class="fb-d-r fb-a-c head-box data-v-5830ad60"><image class="head data-v-5830ad60" src="{{item.img}}"></image><view class="ml-10 data-v-5830ad60"><view class="data-v-5830ad60"><text class="data-v-5830ad60">{{item.username}}</text></view><view class="fb-d-r fb-j-sb data-v-5830ad60"><view class="data-v-5830ad60"><text class="data-v-5830ad60">图标</text><text class="data-v-5830ad60">11111</text></view><view class="data-v-5830ad60"><text class="data-v-5830ad60">图标</text><text class="data-v-5830ad60">11111</text></view><view class="data-v-5830ad60"><text class="data-v-5830ad60">图标</text><text class="data-v-5830ad60">11111</text></view></view></view></view><view class="data-v-5830ad60">jiantou</view></view><view class="fb-d-r fb-j-sb img-box data-v-5830ad60"><block tt:for="{{item.imgList}}" tt:for-item="pic" tt:for-index="param" tt:key="param"><view class="data-v-5830ad60"><image class="threeImg data-v-5830ad60" src="{{pic.imgUrl}}" data-event-opts="{{[['tap',[['linkTo',['$0'],[[['userImgList','',index]]]]]]]}}" bindtap="__e"></image></view></block></view></view></block></view></view> <view class="creator data-v-5830ad60"><view class="data-v-5830ad60"><swiper class="swiper-box data-v-5830ad60" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-dots="{{indicatorDots}}"><block tt:for="{{banner}}" tt:for-item="item" tt:for-index="index" tt:key="index"><swiper-item class="data-v-5830ad60"><image class="img data-v-5830ad60" src="{{item.bannerImg}}" data-event-opts="{{[['tap',[['linkTo',['$0'],[[['banner','',index]]]]]]]}}" bindtap="__e"></image></swiper-item></block></swiper></view><view class="list data-v-5830ad60"><block tt:for="{{userImgList}}" tt:for-item="item" tt:for-index="index" tt:key="index"><view class="list-item data-v-5830ad60"><view class="fb-d-r fb-j-sb fb-a-c list-top data-v-5830ad60"><view data-event-opts="{{[['tap',[['toUserDetail',['$0'],[[['userImgList','',index]]]]]]]}}" class="fb-d-r fb-a-c head-box data-v-5830ad60" bindtap="__e"><image class="head data-v-5830ad60" src="{{item.img}}"></image><view class="ml-10 data-v-5830ad60"><view class="data-v-5830ad60"><text class="data-v-5830ad60">{{item.username}}</text></view><view class="fb-d-r fb-j-sb data-v-5830ad60"><view class="imgLength-box data-v-5830ad60"><image class="img-icon data-v-5830ad60" src="../../static/imgLength.png" mode></image><text class="data-v-5830ad60">11111</text></view><view class="imgLength-box data-v-5830ad60"><image class="img-icon data-v-5830ad60" src="../../static/collectLength.png" mode></image><text class="data-v-5830ad60">11111</text></view><view class="imgLength-box data-v-5830ad60"><image class="img-icon data-v-5830ad60" src="../../static/likeLength.png" mode></image><text class="data-v-5830ad60">11111</text></view></view></view></view><image class="jiantou data-v-5830ad60" src="../../static/jiantou-right.png" mode></image></view><view class="fb-d-r fb-j-sb img-box data-v-5830ad60"><block tt:for="{{item.imgList}}" tt:for-item="pic" tt:for-index="param" tt:key="param"><view class="data-v-5830ad60"><image class="threeImg data-v-5830ad60" src="{{pic.imgUrl}}" data-event-opts="{{[['tap',[['linkTo',['$0'],[[['userImgList','',index],['imgList','',param]]]]]]]}}" bindtap="__e"></image></view></block></view></view></block></view></view>

41
unpackage/dist/dev/mp-toutiao/pages/creator/creator.ttss

@ -1,33 +1,56 @@
@charset "UTF-8"; @charset "UTF-8";
/* 水平间距 */ /* 水平间距 */
/* 水平间距 */ /* 水平间距 */
.content.data-v-5830ad60 { .creator.data-v-5830ad60 {
padding: 20rpx; padding: 20rpx;
background-color: #ffffff; background-color: #ffffff;
font-size: 22rpx; font-size: 22rpx;
} }
.content .list.data-v-5830ad60 { .creator .list.data-v-5830ad60 {
margin-top: 20rpx; margin-top: 20rpx;
} }
.content .list-item.data-v-5830ad60 { .creator .list-item.data-v-5830ad60 {
padding: 5rpx; padding: 5rpx;
margin-top: 20rpx; margin-top: 20rpx;
} }
.content .list .head-box.data-v-5830ad60 { .creator .list .list-top.data-v-5830ad60 {
margin-bottom: 20rpx;
}
.creator .list .head-box.data-v-5830ad60 {
flex: .8; flex: .8;
} }
.content .list .head-box > .ml-10.data-v-5830ad60 { .creator .list .head-box > .ml-10.data-v-5830ad60 {
flex: 1; flex: 1;
height: 40px;
padding: 4rpx 0;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.creator .list .head-box > .ml-10 .imgLength-box.data-v-5830ad60 {
display: flex;
justify-content: flex-start;
align-items: center;
}
.creator .list .head-box > .ml-10 .imgLength-box .img-icon.data-v-5830ad60 {
width: 30rpx;
height: 30rpx;
}
.creator .list .jiantou.data-v-5830ad60 {
width: 40rpx;
height: 40rpx;
} }
.content .list .img-box.data-v-5830ad60 { .creator .list .img-box.data-v-5830ad60 {
margin-top: 10rpx; margin-top: 10rpx;
display: flex;
justify-content: flex-start;
} }
.content .list .img-box > view.data-v-5830ad60 { .creator .list .img-box view.data-v-5830ad60 {
width: 32%; width: 32%;
} }
.content .list .img-box > view image.data-v-5830ad60 { .creator .list .img-box view image.data-v-5830ad60 {
border-radius: 8rpx; border-radius: 8rpx;
width: 100%; width: calc(100% - 12rpx);
} }
.swiper-box.data-v-5830ad60 { .swiper-box.data-v-5830ad60 {
height: 250rpx; height: 250rpx;

174
unpackage/dist/dev/mp-toutiao/pages/creator/imgDetail.js

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/mp-toutiao/pages/creator/imgDetail.ttml

@ -1 +1 @@
<view class="imgDetail"><image class="main-img" src="{{detailMsg.imgUrl}}" mode></image><view class="toolbar"><view class="toolbar-box"><text>热门</text></view><view class="toolbar-box"><text>下载</text><text>{{"下载"+detailMsg.downloadNum}}</text></view><view class="toolbar-box"><text>喜欢</text><text>{{"喜欢"+detailMsg.greatNum}}</text></view><view class="toolbar-box"><text>收藏</text><text>{{"收藏"+detailMsg.collectionNum}}</text></view><view class="toolbar-box"><text>分享</text></view></view></view> <view class="imgDetail"><image class="main-img" src="{{detailMsg.imgUrl}}" mode></image><view class="toolbar"><view class="toolbar-box"><block tt:if="{{detailMsg.isHot==='0'}}"><image src="../../static/hot-not.png" mode></image></block><block tt:else><image src="../../static/hot-yes.png" mode></image></block></view><view data-event-opts="{{[['tap',[['download',['$event']]]]]}}" class="toolbar-box" bindtap="__e"><block tt:if="{{isDownload}}"><image src="../../static/download-select.png" mode></image></block><block tt:else><image src="../../static/download.png" mode></image></block><text>{{"下载"+detailMsg.downloadNum}}</text></view><view data-event-opts="{{[['tap',[['likeCollect',['isLike']]]]]}}" class="toolbar-box" bindtap="__e"><block tt:if="{{isLike}}"><image src="../../static/like-select.png" mode></image></block><block tt:else><image src="../../static/like.png" mode></image></block><text>{{"喜欢"+detailMsg.greatNum}}</text></view><view data-event-opts="{{[['tap',[['likeCollect',['isCollect']]]]]}}" class="toolbar-box" bindtap="__e"><block tt:if="{{isCollect}}"><image src="../../static/collect-select.png" mode></image></block><block tt:else><image src="../../static/collect.png" mode></image></block><text>{{"收藏"+detailMsg.collectionNum}}</text></view><view data-event-opts="{{[['tap',[['share',['$event']]]]]}}" class="toolbar-box" bindtap="__e"><image src="../../static/share.png" mode></image></view></view></view>

14
unpackage/dist/dev/mp-toutiao/pages/creator/imgDetail.ttss

@ -16,14 +16,26 @@
bottom: 76px; bottom: 76px;
right: 10px; right: 10px;
border-radius: 60px; border-radius: 60px;
padding-top: 40rpx;
} }
.imgDetail .toolbar .toolbar-box { .imgDetail .toolbar .toolbar-box {
height: 60px; height: 60px;
text-align: center;
margin-bottom: 40rpx;
} }
.imgDetail .toolbar .toolbar-box text { .imgDetail .toolbar .toolbar-box text {
display: block; display: block;
text-align: center; text-align: center;
line-height: 30px; line-height: 60rpx;
font-size: 12px; font-size: 12px;
} }
.imgDetail .toolbar .toolbar-box image {
width: 50rpx;
height: 50rpx;
margin: 0 auto;
}
.imgDetail .toolbar .toolbar-box:first-child {
line-height: 40rpx;
height: 40rpx;
}

4
unpackage/dist/dev/mp-toutiao/pages/creator/userDetail.js

File diff suppressed because one or more lines are too long

4
unpackage/dist/dev/mp-toutiao/pages/index/choiceness.js

File diff suppressed because one or more lines are too long

48
unpackage/dist/dev/mp-toutiao/pages/index/index.js

File diff suppressed because one or more lines are too long

24
unpackage/dist/dev/mp-toutiao/pages/userInfo/contactUs/contactUs.js

File diff suppressed because one or more lines are too long

120
unpackage/dist/dev/mp-toutiao/pages/userInfo/myCollection/myCollection.js

File diff suppressed because one or more lines are too long

24
unpackage/dist/dev/mp-toutiao/pages/userInfo/question/question.js

File diff suppressed because one or more lines are too long

24
unpackage/dist/dev/mp-toutiao/pages/userInfo/setting/setting.js

File diff suppressed because one or more lines are too long

170
unpackage/dist/dev/mp-toutiao/pages/userInfo/userInfo.js

File diff suppressed because one or more lines are too long

BIN
unpackage/dist/dev/mp-toutiao/static/collect-select.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/collect.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/collectLength.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/download-select.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/download.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/hot-not.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/hot-yes.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/imgLength.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/index-default.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

2
unpackage/dist/dev/mp-toutiao/static/index-default.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1652509906552" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="36297" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path d="M98.033 480.211c-10.115 0-20.065-4.783-26.285-13.712-10.102-14.501-6.536-34.446 7.966-44.548l414.033-288.425a32.003 32.003 0 0 1 37.505 0.667l384.137 288.424c14.133 10.612 16.987 30.671 6.376 44.804s-30.67 16.988-44.804 6.375L511.335 199.272l-395.04 275.193a31.845 31.845 0 0 1-18.262 5.746zM831.241 927.64H608.515c-17.673 0-32-14.327-32-32V671.965H448.118V895.64c0 17.673-14.327 32-32 32H188.589c-17.673 0-32-14.327-32-32V513.167c0-17.673 14.327-32 32-32s32 14.327 32 32V863.64h163.529V639.965c0-17.673 14.327-32 32-32h192.397c17.673 0 32 14.327 32 32V863.64h158.727V513.167c0-17.673 14.327-32 32-32s32 14.327 32 32V895.64c-0.001 17.672-14.328 32-32.001 32z" fill="#11A8FD" p-id="36298"></path></svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/index-select.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

2
unpackage/dist/dev/mp-toutiao/static/index-select.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1652509895825" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="36094" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path d="M919.2 419.2L531.2 141.6c-11.2-8-26.4-8-36.8 0L104 419.2c-12.8 8.8-6.4 28.8 9.6 28.8H192v432c0 8.8 7.2 16 16 16h192c8.8 0 16-7.2 16-16V640h192v240c0 8.8 7.2 16 16 16h192c8.8 0 16-7.2 16-16V448h78.4c15.2 0 21.6-20 8.8-28.8z" p-id="36095" fill="#11A8FD"></path></svg>

Before

Width:  |  Height:  |  Size: 958 B

BIN
unpackage/dist/dev/mp-toutiao/static/jiantou-right.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/like-select.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/like.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/likeLength.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/mine-default.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

2
unpackage/dist/dev/mp-toutiao/static/mine-default.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1652510791414" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="48946" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path d="M845.01888 732.43136c-18.20544-43.04128-44.2624-81.69088-77.44896-114.87872-33.18656-33.18656-71.83744-59.24224-114.87872-77.44768-12.15104-5.14048-24.512-9.56288-37.04576-13.31456 65.31712-36.48384 109.58848-106.3104 109.58848-186.2912 0-117.57696-95.65568-213.23264-213.23392-213.23264-117.57568 0-213.23264 95.65568-213.23264 213.23264 0 79.98208 44.27136 149.80736 109.58976 186.2912-12.53504 3.75296-24.89728 8.17664-37.04576 13.31456-43.04128 18.20544-81.69216 44.26112-114.88 77.44768-33.18528 33.18784-59.24352 71.83744-77.44768 114.87872-18.85312 44.57216-28.41216 91.90784-28.41216 140.6912 0 11.60832 9.41056 21.01888 21.01888 21.01888 11.6096 0 21.01888-9.41056 21.01888-21.01888 0-176.11264 143.27808-319.38944 319.38944-319.38944 176.11264 0 319.39072 143.27808 319.39072 319.38944 0 11.60832 9.40928 21.01888 21.01888 21.01888 11.60832 0 21.02016-9.41056 21.02016-21.01888C873.42976 824.3392 863.86944 777.00352 845.01888 732.43136zM340.8064 340.4992c0-94.39744 76.79744-171.19488 171.19488-171.19488 94.39872 0 171.19616 76.79744 171.19616 171.19488 0 94.39744-76.79744 171.19488-171.19616 171.19488C417.60256 511.6928 340.8064 434.89536 340.8064 340.4992z" p-id="48947" fill="#11A8FD"></path></svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/mine-select.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

2
unpackage/dist/dev/mp-toutiao/static/mine-select.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1652510113545" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="46538" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path d="M900.985804 931.652755c-5.54018 0-10.033517-4.493338-10.033517-10.033517 0-109.346407-48.546669-211.866339-133.191488-281.267988-4.285606-3.515057-4.910846-9.834996-1.39886-14.121626 3.515057-4.285606 9.834996-4.91187 14.123672-1.397836 89.310072 73.230861 140.534733 181.403536 140.534733 296.78745C911.019321 927.159418 906.525983 931.652755 900.985804 931.652755zM154.054143 931.652755c-5.542226 0-10.033517-4.493338-10.033517-10.033517 0-51.77827 10.140964-102.011348 30.140461-149.305491 19.315928-45.676295 46.965661-86.695524 82.183767-121.918747 35.217083-35.223223 76.229149-62.878073 121.898281-82.198094 47.285956-20.00359 97.511871-30.146601 149.280932-30.146601 6.185886 0 12.435217 0.148379 18.579147 0.437975 5.53404 0.264013 9.809413 4.964058 9.547447 10.499122-0.261966 5.533017-4.952802 9.785877-10.497075 9.547447-5.827729-0.277316-11.759835-0.415462-17.630542-0.415462-200.398146 0-363.43436 163.065889-363.43436 363.501898C164.087661 927.159418 159.595346 931.652755 154.054143 931.652755z" p-id="46539" fill="#11A8FD"></path><path d="M533.824563 559.554062c-66.812685 0-129.624243-26.037003-176.86722-73.317843-47.239907-47.27777-73.256444-110.137423-73.256444-176.998203 0-66.86078 26.016537-129.71941 73.256444-176.998203 47.242977-47.279816 110.054535-73.317843 176.86722-73.317843s129.624243 26.038026 176.866197 73.317843c47.239907 47.278793 73.256444 110.137423 73.256444 176.998203 0 66.86078-26.016537 129.720434-73.256444 176.998203C663.448806 533.516036 600.637248 559.554062 533.824563 559.554062z" p-id="46540" fill="#11A8FD"></path></svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/share.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/theme-default.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

2
unpackage/dist/dev/mp-toutiao/static/theme-default.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1652510034529" class="icon" viewBox="0 0 1025 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="41705" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path d="M419.182 146.263h-254.38c-12.108 0-21.924 9.815-21.924 21.923v254.382c0 36.577 29.759 66.333 66.335 66.333h254.38c12.108 0 21.923-9.815 21.923-21.923V212.596c0-36.576-29.757-66.333-66.334-66.333z m22.488 298.793H209.213c-12.4 0-22.488-10.088-22.488-22.487V190.11h232.46c12.397 0 22.486 10.088 22.486 22.487v232.46zM855.797 224.928c-12.108 0-21.922 9.815-21.922 21.923v175.717c0 12.4-10.09 22.487-22.49 22.487H578.928V212.597c0-12.399 10.087-22.487 22.488-22.487h174.346c12.108 0 21.922-9.815 21.922-21.923 0-12.108-9.815-21.923-21.922-21.923H601.415c-36.577 0-66.333 29.757-66.333 66.334V466.98c0 12.108 9.815 21.923 21.922 21.923h254.38c36.579 0 66.335-29.757 66.335-66.333V246.852c0-12.11-9.814-21.924-21.922-21.924zM811.033 538.503H556.651c-12.108 0-21.922 9.815-21.922 21.923v254.382c0 36.576 29.757 66.333 66.335 66.333h254.38c12.108 0 21.923-9.815 21.923-21.923V604.836c0-36.576-29.757-66.333-66.334-66.333z m22.487 298.791H601.064c-12.4 0-22.49-10.088-22.49-22.486V582.349h232.46c12.398 0 22.485 10.088 22.485 22.487v232.458zM463.593 538.503h-254.38c-36.577 0-66.335 29.757-66.335 66.334v254.381c0 12.109 9.817 21.923 21.924 21.923h254.382c36.575 0 66.332-29.757 66.332-66.333V560.426c0-12.108-9.815-21.923-21.923-21.923zM441.67 814.808c0 12.4-10.089 22.486-22.486 22.486h-232.46V604.836c0-12.399 10.089-22.487 22.488-22.487H441.67v232.459zM855.797 193.513c13.965 0 25.326-11.361 25.326-25.327 0-13.965-11.361-25.327-25.326-25.327s-25.328 11.362-25.328 25.327c0 13.965 11.363 25.327 25.328 25.327z" p-id="41706" fill="#11A8FD"></path></svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/theme-select.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

2
unpackage/dist/dev/mp-toutiao/static/theme-select.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1652510045111" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="41908" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path d="M0 128.115398C0 57.359217 57.372907 0 128.115398 0L310.741745 0C381.497926 0 438.857143 57.372907 438.857143 128.115398L438.857143 310.741745C438.857143 381.497926 381.484236 438.857143 310.741745 438.857143L128.115398 438.857143C57.359217 438.857143 0 381.484236 0 310.741745L0 128.115398ZM0 713.258253C0 642.502074 57.372907 585.142857 128.115398 585.142857L310.741745 585.142857C381.497926 585.142857 438.857143 642.515763 438.857143 713.258253L438.857143 895.884602C438.857143 966.640781 381.484236 1024 310.741745 1024L128.115398 1024C57.359217 1024 0 966.627091 0 895.884602L0 713.258253ZM585.142857 128.115398C585.142857 57.359217 642.515763 0 713.258253 0L895.884602 0C966.640781 0 1024 57.372907 1024 128.115398L1024 310.741745C1024 381.497926 966.627091 438.857143 895.884602 438.857143L713.258253 438.857143C642.502074 438.857143 585.142857 381.484236 585.142857 310.741745L585.142857 128.115398ZM585.142857 713.258253C585.142857 642.502074 642.515763 585.142857 713.258253 585.142857L895.884602 585.142857C966.640781 585.142857 1024 642.515763 1024 713.258253L1024 895.884602C1024 966.640781 966.627091 1024 895.884602 1024L713.258253 1024C642.502074 1024 585.142857 966.627091 585.142857 895.884602L585.142857 713.258253Z" p-id="41909" fill="#11A8FD"></path></svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/收藏.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
unpackage/dist/dev/mp-toutiao/static/收藏选中.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

30
unpackage/dist/dev/mp-toutiao/uni_modules/uni-badge/components/uni-badge/uni-badge.js

File diff suppressed because one or more lines are too long

32
unpackage/dist/dev/mp-toutiao/uni_modules/uni-icons/components/uni-icons/uni-icons.js

File diff suppressed because one or more lines are too long

34
unpackage/dist/dev/mp-toutiao/uni_modules/uni-list/components/uni-list-item/uni-list-item.js

File diff suppressed because one or more lines are too long

30
unpackage/dist/dev/mp-toutiao/uni_modules/uni-list/components/uni-list/uni-list.js

File diff suppressed because one or more lines are too long

34
unpackage/dist/dev/mp-toutiao/uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar.js

File diff suppressed because one or more lines are too long

30
unpackage/dist/dev/mp-toutiao/uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control.js

File diff suppressed because one or more lines are too long

4
utils/request.js

@ -23,8 +23,6 @@ service.interceptors.request.use(
// }) : // }) :
// config.params = { ...config.params // config.params = { ...config.params
// }; // };
console.log('请求拦截成功')
console.log(config)
return config; return config;
}, },
error => { error => {
@ -35,7 +33,6 @@ service.interceptors.request.use(
//配置成功后的拦截器 //配置成功后的拦截器
service.interceptors.response.use(res => { service.interceptors.response.use(res => {
console.log('返回参数',res)
return res return res
// if (res.data.status == 200) { // if (res.data.status == 200) {
// return res // return res
@ -60,7 +57,6 @@ axios.defaults.adapter = function(config) { //自己定义个适配器,用来
responseType: config.responseType, responseType: config.responseType,
sslVerify: config.sslVerify, sslVerify: config.sslVerify,
complete: function complete(response) { complete: function complete(response) {
console.log("执行完成:", response)
response = { response = {
data: response.data, data: response.data,
status: response.statusCode, status: response.statusCode,

Loading…
Cancel
Save