chengkun 4 years ago
parent
commit
e407ea86d0
  1. 2
      .gitignore
  2. 36
      api/creator.js
  3. 14
      api/index.js
  4. 2
      api/userInfo.js
  5. 3
      main.js
  6. 9
      pages.json
  7. 96
      pages/creator/creator.vue
  8. 86
      pages/creator/creatorDetail.vue
  9. 166
      pages/creator/imgDetail.vue
  10. 116
      pages/index/choiceness.vue
  11. 108
      pages/index/index.vue
  12. 135
      pages/userInfo/myCollection/myCollection.vue
  13. 117
      pages/userInfo/userInfo.vue
  14. 0
      unpackage/dist/dev/.automator/mp-toutiao/.automator.json
  15. 4
      unpackage/dist/dev/mp-toutiao/app.js
  16. 48
      unpackage/dist/dev/mp-toutiao/app.json
  17. 3
      unpackage/dist/dev/mp-toutiao/app.ttss
  18. 138
      unpackage/dist/dev/mp-toutiao/common/main.js
  19. 2421
      unpackage/dist/dev/mp-toutiao/common/main.ttss
  20. 273
      unpackage/dist/dev/mp-toutiao/common/runtime.js
  21. 16065
      unpackage/dist/dev/mp-toutiao/common/vendor.js
  22. 299
      unpackage/dist/dev/mp-toutiao/pages/creator/creator.js
  23. 5
      unpackage/dist/dev/mp-toutiao/pages/creator/creator.json
  24. 1
      unpackage/dist/dev/mp-toutiao/pages/creator/creator.ttml
  25. 85
      unpackage/dist/dev/mp-toutiao/pages/creator/creator.ttss
  26. 473
      unpackage/dist/dev/mp-toutiao/pages/creator/imgDetail.js
  27. 5
      unpackage/dist/dev/mp-toutiao/pages/creator/imgDetail.json
  28. 1
      unpackage/dist/dev/mp-toutiao/pages/creator/imgDetail.ttml
  29. 41
      unpackage/dist/dev/mp-toutiao/pages/creator/imgDetail.ttss
  30. 285
      unpackage/dist/dev/mp-toutiao/pages/creator/userDetail.js
  31. 7
      unpackage/dist/dev/mp-toutiao/pages/creator/userDetail.json
  32. 1
      unpackage/dist/dev/mp-toutiao/pages/creator/userDetail.ttml
  33. 71
      unpackage/dist/dev/mp-toutiao/pages/creator/userDetail.ttss
  34. 276
      unpackage/dist/dev/mp-toutiao/pages/index/choiceness.js
  35. 7
      unpackage/dist/dev/mp-toutiao/pages/index/choiceness.json
  36. 1
      unpackage/dist/dev/mp-toutiao/pages/index/choiceness.ttml
  37. 35
      unpackage/dist/dev/mp-toutiao/pages/index/choiceness.ttss
  38. 356
      unpackage/dist/dev/mp-toutiao/pages/index/index.js
  39. 6
      unpackage/dist/dev/mp-toutiao/pages/index/index.json
  40. 1
      unpackage/dist/dev/mp-toutiao/pages/index/index.ttml
  41. 61
      unpackage/dist/dev/mp-toutiao/pages/index/index.ttss
  42. 149
      unpackage/dist/dev/mp-toutiao/pages/userInfo/contactUs/contactUs.js
  43. 5
      unpackage/dist/dev/mp-toutiao/pages/userInfo/contactUs/contactUs.json
  44. 1
      unpackage/dist/dev/mp-toutiao/pages/userInfo/contactUs/contactUs.ttml
  45. 172
      unpackage/dist/dev/mp-toutiao/pages/userInfo/myCollection/myCollection.js
  46. 5
      unpackage/dist/dev/mp-toutiao/pages/userInfo/myCollection/myCollection.json
  47. 1
      unpackage/dist/dev/mp-toutiao/pages/userInfo/myCollection/myCollection.ttml
  48. 149
      unpackage/dist/dev/mp-toutiao/pages/userInfo/question/question.js
  49. 5
      unpackage/dist/dev/mp-toutiao/pages/userInfo/question/question.json
  50. 1
      unpackage/dist/dev/mp-toutiao/pages/userInfo/question/question.ttml
  51. 149
      unpackage/dist/dev/mp-toutiao/pages/userInfo/setting/setting.js
  52. 5
      unpackage/dist/dev/mp-toutiao/pages/userInfo/setting/setting.json
  53. 1
      unpackage/dist/dev/mp-toutiao/pages/userInfo/setting/setting.ttml
  54. 212
      unpackage/dist/dev/mp-toutiao/pages/userInfo/userInfo.js
  55. 8
      unpackage/dist/dev/mp-toutiao/pages/userInfo/userInfo.json
  56. 1
      unpackage/dist/dev/mp-toutiao/pages/userInfo/userInfo.ttml
  57. 8
      unpackage/dist/dev/mp-toutiao/project.config.json
  58. BIN
      unpackage/dist/dev/mp-toutiao/static/c1.png
  59. BIN
      unpackage/dist/dev/mp-toutiao/static/c2.png
  60. BIN
      unpackage/dist/dev/mp-toutiao/static/c3.png
  61. BIN
      unpackage/dist/dev/mp-toutiao/static/c4.png
  62. BIN
      unpackage/dist/dev/mp-toutiao/static/c5.png
  63. BIN
      unpackage/dist/dev/mp-toutiao/static/c6.png
  64. BIN
      unpackage/dist/dev/mp-toutiao/static/c7.png
  65. BIN
      unpackage/dist/dev/mp-toutiao/static/c8.png
  66. BIN
      unpackage/dist/dev/mp-toutiao/static/c9.png
  67. BIN
      unpackage/dist/dev/mp-toutiao/static/collect-select.png
  68. BIN
      unpackage/dist/dev/mp-toutiao/static/collect.png
  69. BIN
      unpackage/dist/dev/mp-toutiao/static/collectLength.png
  70. 33
      unpackage/dist/dev/mp-toutiao/static/css/main.scss
  71. 20
      unpackage/dist/dev/mp-toutiao/static/customicons.css
  72. BIN
      unpackage/dist/dev/mp-toutiao/static/customicons.ttf
  73. BIN
      unpackage/dist/dev/mp-toutiao/static/download-select.png
  74. BIN
      unpackage/dist/dev/mp-toutiao/static/download.png
  75. BIN
      unpackage/dist/dev/mp-toutiao/static/hot-not.png
  76. BIN
      unpackage/dist/dev/mp-toutiao/static/hot-yes.png
  77. 2
      unpackage/dist/dev/mp-toutiao/static/img/share.svg
  78. 2
      unpackage/dist/dev/mp-toutiao/static/img/slide-top.svg
  79. BIN
      unpackage/dist/dev/mp-toutiao/static/img/start.gif
  80. BIN
      unpackage/dist/dev/mp-toutiao/static/imgLength.png
  81. BIN
      unpackage/dist/dev/mp-toutiao/static/index-default.png
  82. BIN
      unpackage/dist/dev/mp-toutiao/static/index-select.png
  83. BIN
      unpackage/dist/dev/mp-toutiao/static/jiantou-right.png
  84. BIN
      unpackage/dist/dev/mp-toutiao/static/like-select.png
  85. BIN
      unpackage/dist/dev/mp-toutiao/static/like.png
  86. BIN
      unpackage/dist/dev/mp-toutiao/static/likeLength.png
  87. BIN
      unpackage/dist/dev/mp-toutiao/static/logo.png
  88. BIN
      unpackage/dist/dev/mp-toutiao/static/mine-default.png
  89. BIN
      unpackage/dist/dev/mp-toutiao/static/mine-select.png
  90. BIN
      unpackage/dist/dev/mp-toutiao/static/share.png
  91. BIN
      unpackage/dist/dev/mp-toutiao/static/theme-default.png
  92. BIN
      unpackage/dist/dev/mp-toutiao/static/theme-select.png
  93. BIN
      unpackage/dist/dev/mp-toutiao/static/uni.png
  94. 333
      unpackage/dist/dev/mp-toutiao/uni_modules/uni-badge/components/uni-badge/uni-badge.js
  95. 4
      unpackage/dist/dev/mp-toutiao/uni_modules/uni-badge/components/uni-badge/uni-badge.json
  96. 1
      unpackage/dist/dev/mp-toutiao/uni_modules/uni-badge/components/uni-badge/uni-badge.ttml
  97. 74
      unpackage/dist/dev/mp-toutiao/uni_modules/uni-badge/components/uni-badge/uni-badge.ttss
  98. 235
      unpackage/dist/dev/mp-toutiao/uni_modules/uni-icons/components/uni-icons/uni-icons.js
  99. 4
      unpackage/dist/dev/mp-toutiao/uni_modules/uni-icons/components/uni-icons/uni-icons.json
  100. 1
      unpackage/dist/dev/mp-toutiao/uni_modules/uni-icons/components/uni-icons/uni-icons.ttml

2
.gitignore

@ -0,0 +1,2 @@
/node_modules/
/unpackage/

36
api/creator.js

@ -10,13 +10,15 @@ export function getBannerList() {
method: 'get'
})
}
//获取小程序用户图片列表
export function getUserImgList() {
//获取小程序艺术家图片分页
export function getCreatorImgsPage(data) {
return request({
url: `${serviceTitle}/img/mini/tiktok/tiktokUserImgs`,
method: 'get'
url: `${serviceTitle}/img/mini/tiktok/creatorImgsPage`,
method: 'post',
data
})
}
// 获取图片详情
export function detailsTiktokImg(data) {
return request({
@ -71,4 +73,30 @@ export function tiktokUnCollect(data) {
method: 'post',
data
})
}
// 根据艺术家id获取搜索码
export function queryCreatorScanCodeById(data) {
return request({
url: `${serviceTitle}/img/mini/tiktok/queryCreatorScanCodeById/${data}`,
method: 'get'
})
}
// 新增/更新艺术家即将入账广告收益
export function insertOrUpdatePreAdProfit(data) {
return request({
url: `${serviceTitle}/img/mini/tiktok/insertOrUpdatePreAdProfit`,
method: 'post',
data
})
}
// 新增/更新艺术家即将入账邀请收益
export function insertOrUpdatePreInviteProfit(data) {
return request({
url: `${serviceTitle}/img/mini/tiktok/insertOrUpdatePreInviteProfit`,
method: 'post',
data
})
}

14
api/index.js

@ -3,14 +3,14 @@ const serviceTitle = '/img'
//GET 传参需要用 params
//POST 传参需要用 data
//获取banner列表
export function tiktokUserImgs() {
//查询热门艺术家列表
export function listHotCreator() {
return request({
url: `${serviceTitle}/img/mini/tiktok/tiktokUserImgs`,
url: `${serviceTitle}/img/mini/tiktok/listHotCreator`,
method: 'get'
})
}
// 近期精选图片列表
// 近期首页精选图片列表
export function imgLists(data) {
return request({
url: `${serviceTitle}/img/mini/tiktok/imgLists`,
@ -18,10 +18,10 @@ export function imgLists(data) {
data
})
}
//用户详情页-根据搜索码查询用户图片列表
export function tiktokUserDetails(data) {
//艺术家详情页-根据搜索码查询艺术家图片列表
export function creatorImgsDetails(data) {
return request({
url: `${serviceTitle}/img/mini/tiktok/tiktokUserImgsDetails`,
url: `${serviceTitle}/img/mini/tiktok/creatorImgsDetails`,
method: 'post',
data
})

2
api/myCollection.js → api/userInfo.js

@ -4,7 +4,7 @@ const serviceTitle = '/img'
//POST 传参需要用 data
//获取用户收藏列表
export function getCollectionList(data) {
export function listTiktokCollection(data) {
return request({
url: `${serviceTitle}/img/mini/tiktok/listTiktokCollection`,
method: 'post',

3
main.js

@ -2,7 +2,8 @@ import App from './App'
import store from './store/'
// const baseURL = 'http://localhost:7010'
const baseURL = 'http://81.69.47.31:7010'
// const baseURL = 'http://81.69.47.31:7010'
const baseURL = 'http://bnyer.vaiwan.com'
Vue.prototype.baseURL = baseURL;

9
pages.json

@ -3,7 +3,8 @@
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "首页"
"navigationBarTitleText": "首页",
"enablePullDownRefresh": true
}
},
{
@ -21,10 +22,10 @@
}
},
{
"path": "pages/creator/userDetail",
"path": "pages/creator/creatorDetail",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": true
"enablePullDownRefresh": false
}
},
{
@ -38,7 +39,7 @@
"path": "pages/userInfo/userInfo",
"style": {
"navigationBarTitleText": "个人中心",
"enablePullDownRefresh": true
"enablePullDownRefresh": false
}
}, {
"path": "pages/userInfo/myCollection/myCollection",

96
pages/creator/creator.vue

@ -10,27 +10,27 @@
</view>
<view class="list">
<view v-for="(item, index) in userImgList" :key="index" class="list-item">
<view v-for="(item, index) in creatorImgList" :key="index" class="list-item" @click="toCreatorDetail(item)">
<!-- 展示用户相关信息 -->
<view class="fb-d-r fb-j-sb fb-a-c list-top">
<view class="fb-d-r fb-a-c head-box" @click="toUserDetail(item)">
<view class="fb-d-r fb-a-c head-box">
<image class="head" :src="item.img"></image>
<view class="ml-10">
<view class="">
<text class="">{{item.username}}</text>
<text class="">{{item.scanCode}}</text>
</view>
<view class="fb-d-r fb-j-sb">
<view class="imgLength-box">
<image class="img-icon" src="../../static/imgLength.png" mode=""></image>
<text>11111</text>
<text>{{item.imgTotalNum}}</text>
</view>
<view class="imgLength-box">
<image class="img-icon" src="../../static/collectLength.png" mode=""></image>
<text>11111</text>
<text>{{item.imgCollectionNum}}</text>
</view>
<view class="imgLength-box">
<image class="img-icon" src="../../static/likeLength.png" mode=""></image>
<text>11111</text>
<text>{{item.imgLikeNum}}</text>
</view>
</view>
</view>
@ -40,7 +40,7 @@
<!-- 展示用户对应三张图 -->
<view class="fb-d-r fb-j-sb img-box">
<view v-for="(pic,param) in item.imgList" :key="param">
<image class="threeImg" @click="linkTo(pic)" :src="pic.imgUrl"></image>
<image class="threeImg" :src="pic.imgUrl"></image>
</view>
</view>
</view>
@ -51,37 +51,72 @@
<script>
import {
getBannerList,
getUserImgList
getCreatorImgsPage
} from '@/api/creator.js'
import {
creatorImgsDetails
} from '@/api/index.js'
export default {
data() {
return {
banner: [],
userImgList: [],
creatorImgList: [],
autoplay: true,
interval: 2000,
duration: 1000,
indicatorDots: true,
pageNum: 1,
pageSize: 2,
creatorInfo: {}
}
},
onLoad() {
this.getBanner();
this.getUserImgList();
this.getCreatorImgsPage();
},
//
onPullDownRefresh(){
this.getBanner();
this.pageNum = 1
this.creatorImgList = []
this.getCreatorImgsPage();
uni.stopPullDownRefresh()
},
//
onReachBottom() {
if (this.creatorImgList.length > 1) {
this.pageNum += 1
this.getCreatorImgsPage()
}
},
methods: {
//
toUserDetail(item){
//
toCreatorDetail(item){
if (item) {
uni.setStorage({
key: 'userDetail',
data: item,
success() {
uni.redirectTo({
url: '../creator/userDetail'
const params = {
scanCode: item.scanCode
}
creatorImgsDetails(params).then(response => {
if(response.data.code === 200){
this.creatorInfo = response.data.data
console.log("this.creatorInfo结果",this.creatorInfo);
uni.setStorage({
key: 'creatorDetail',
data: this.creatorInfo,
success() {
uni.navigateTo({
url: '../creator/creatorDetail'
})
}
})
}
})
}else {
uni.showModal({
content: '艺术家详情加载失败!',
showCancel: false
});
}
});
}
},
//
@ -93,7 +128,7 @@
data: item.id,
success() {
console.log(111111)
uni.redirectTo({
uni.navigateTo({
url: '../creator/imgDetail'
})
}
@ -101,8 +136,8 @@
}
},
getUserDetails(item) {
//TODO
getCreatorDetails(item) {
//TODO
console.log(item);
},
@ -117,12 +152,15 @@
});
}
},
async getUserImgList() {
const res = await getUserImgList()
//
async getCreatorImgsPage() {
const res = await getCreatorImgsPage({
pageNum: this.pageNum,
pageSize: this.pageSize
})
if (res.data.code === 200) {
this.userImgList = res.data.data
console.log('userListImg', this.userImgList)
this.creatorImgList.push(...res.data.rows)
console.log('creatorImgList', this.creatorImgList)
} else {
uni.showModal({
content: '用户图片列表加载失败!',

86
pages/creator/userDetail.vue → pages/creator/creatorDetail.vue

@ -1,30 +1,32 @@
<template>
<view class="userDetail">
<view class="creatorDetail">
<view class="avatar-box">
<view class="avatar-top">
<view class="avatar-left-box">
<image :src="userMsg.img" mode=""></image>
<text>{{userMsg.username}}</text>
<image :src="creatorInfo.img" mode=""></image>
<text>{{creatorInfo.scanCode}}</text>
</view>
<view class="avatar-right-box">
<image src="../../static/img/share.svg" mode=""></image>
<button open-type="share" size="mini" type="default" style="background-color:#11A8FD;outline:none;">
<image src="../../static/img/share.svg" mode=""></image>
</button>
</view>
</view>
<view class="avatar-box-text">
个性签名
<text>{{creatorInfo.intro}}</text>
</view>
<view class="avatar-box-tag">
<view class="avatar-box-tag-left">
<view class="tag-left-box">
<text>112</text>
<text>作品</text>
<text>{{creatorInfo.imgTotalNum}}</text>
<text>图片</text>
</view>
<view class="tag-left-box">
<text>112</text>
<text>{{creatorInfo.imgCollectionNum}}</text>
<text>收藏</text>
</view>
<view class="tag-left-box">
<text>112</text>
<text>{{creatorInfo.imgLikeNum}}</text>
<text>喜欢</text>
</view>
</view>
@ -36,23 +38,31 @@
<uni-segmented-control :current="current" :values="arrList" @clickItem="onClickItem" styleType="text"
activeColor="#11A8FD"></uni-segmented-control>
</view>
<view class="bottom">
<image :src="item.imgUrl" mode="" v-for="(item,index) in userMsg.imgList" :key="index"
:style="'width:'+imgWidth+';height:'+imgHeight" @click="targetDetail(item)"></image>
</view>
<swiper class="swiper" :circular="false" :current="current" :indicator-dots="false" :autoplay="false"
@change="changeItem" :duration="500">
<swiper-item v-for="(item,index) in creatorInfo.typeImgList" :key="item.typeId"
:current-item-id="item.typeId">
<view class="swiper-item bottom">
<image :src="val.imgUrl" mode="" v-for="(val,i) in item.imgList" :key="i"
:style="'width:'+imgWidth+';height:'+imgHeight" @click="targetDetail(val)"></image>
</view>
</swiper-item>
</swiper>
</view>
</view>
</template>
<script>
import {
tiktokUserDetails
} from '@/api/creator.js'
creatorImgsDetails
} from '@/api/index.js'
export default {
data() {
return {
userMsg: {},
creatorInfo: {},
current: 0,
arrList: ['背景图', '头像', '表情包'],
arrList: [],
imgWidth: 0, //
imgHeight: 0, //
}
@ -66,27 +76,50 @@
}
})
uni.getStorage({
key: 'userDetail',
key: 'creatorDetail',
success: res => {
console.log('getStorage', res)
this.userMsg = res.data
this.creatorInfo = res.data
console.log('getStorage', this.creatorInfo)
this.creatorInfo.typeImgList.forEach(item => {
this.arrList.push(item.typeName)
})
console.log('arrList', this.arrList)
}
})
},
onShareAppMessage(res) {
if (res.from === 'button') { //
console.log(res)
}
return {
title: `来看看艺术家${this.creatorInfo.scanCode}精心准备的图片吧~`,
path: `/pages/creator/imgDetail?id=${this.creatorInfo.id}`
}
uni.showToast({
title: '分享成功',
icon: 'none'
})
},
methods: {
//
onClickItem(e) {
console.log('点击', e)
this.current = e.currentIndex
},
//
changeItem(e) {
console.log('点击', e.detail)
this.current = e.detail.current
},
//
targetDetail(item) {
console.log('跳转', item)
console.log('item', item)
if (item.id) {
uni.setStorage({
key: 'detailId',
data: item.id,
success() {
console.log(111111)
uni.redirectTo({
uni.navigateTo({
url: './imgDetail'
})
}
@ -98,7 +131,7 @@
</script>
<style lang="less">
.userDetail {
.creatorDetail {
.avatar-box {
padding: 20rpx 20rpx;
background: #11A8FD;
@ -132,6 +165,10 @@
width: 40rpx;
height: 40rpx;
}
button::after {
border: none;
}
}
}
@ -180,6 +217,7 @@
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
padding-bottom: 20px;
image {
margin-top: 40rpx;

166
pages/creator/imgDetail.vue

@ -9,20 +9,23 @@
<view class="toolbar-box" @click="download(detailMsg.imgUrl)">
<image v-if="isDownload" src="../../static/download-select.png" mode=""></image>
<image v-else src="../../static/download.png" mode=""></image>
<text>下载{{detailMsg.downloadNum}}</text>
<text>下载</text>
</view>
<view class="toolbar-box" @click="likeCollect('isLike')">
<image v-if="isLike" src="../../static/like-select.png" mode=""></image>
<image v-else src="../../static/like.png" mode=""></image>
<text>喜欢{{detailMsg.greatNum}}</text>
<text>喜欢</text>
</view>
<view class="toolbar-box" @click="likeCollect('isCollect')">
<image v-if="isCollect" src="../../static/collect-select.png" mode=""></image>
<image v-else src="../../static/collect.png" mode=""></image>
<text>收藏{{detailMsg.collectionNum}}</text>
<text>收藏</text>
</view>
<view class="toolbar-box" @click="share">
<image src="../../static/share.png" mode=""></image>
<view class="toolbar-box share-box">
<button open-type="share">
<image src="../../static/share.png" mode=""></image>
<text>分享</text>
</button>
</view>
</view>
</view>
@ -37,6 +40,9 @@
tiktokUnLike, //
tiktokCollect, //
tiktokUnCollect, //
queryCreatorScanCodeById, //
insertOrUpdatePreAdProfit, ///广
insertOrUpdatePreInviteProfit // /
} from '@/api/creator.js'
export default {
data() {
@ -45,24 +51,50 @@
userInfo: {}, //
isDownload: false, //
isLike: false, // /
isCollect: false, //
isCollect: false, // ,
scanCode: undefined ,//
}
},
created() {
uni.getStorage({
key: 'detailId',
success: res => {
this.getImgDetail(res.data)
}
const detailId = uni.getStorageSync('detailId')
if (detailId) {
this.getImgDetail(detailId)
} else {
this.getImgDetail(detailId)
}
},
onShareAppMessage(res) {
if (res.from === 'button') { //
console.log(res)
}
return {
title: '来看看艺术家['+this.scanCode+']精心准备的图片吧~',
path: `/pages/creator/imgDetail?id=${this.userInfo.id}`,
bgImgUrl: `${this.detailMsg.imgUrl}`
}
uni.showToast({
title: '分享成功',
icon: 'none'
})
},
methods: {
//
async getImgDetail(id) {
const res = await detailsTiktokImg(id)
console.log('res',res)
if (res.data.code === 200) {
this.detailMsg = res.data.data
console.log('图片详情', this.detailMsg)
console.log('图片详情', res)
const result = await queryCreatorScanCodeById(this.detailMsg.creatorId)
if(result.data.code === 200){
this.scanCode = result.data.data.scanCode
}else{
uni.showToast({
title: '该艺术家不存在!',
icon: 'none'
})
}
uni.getStorage({
key: 'userInfo',
success: res => {
@ -75,7 +107,7 @@
} else {
uni.showToast({
title: '请输入艺术家代号',
icon: 'error'
icon: 'none'
})
}
},
@ -92,7 +124,7 @@
} else {
uni.showToast({
title: res.data.msg,
icon: 'error'
icon: 'none'
})
}
},
@ -108,7 +140,7 @@
} else {
uni.showToast({
title: res.data.msg,
icon: 'error'
icon: 'none'
})
}
},
@ -125,24 +157,20 @@
//
console.log('点赞')
const res = await tiktokLike(params)
if (res.data.code === 200) {
this.detailMsg.greatNum += 1
} else {
if (res.data.code === 200) {} else {
uni.showToast({
title: res.data.msg,
icon: 'error'
icon: 'none'
})
}
} else {
//
console.log('取消点赞')
const res = await tiktokUnLike(params)
if (res.data.code === 200) {
this.detailMsg.greatNum -= 1
} else {
if (res.data.code === 200) {} else {
uni.showToast({
title: res.data.msg,
icon: 'error'
icon: 'none'
})
}
}
@ -152,24 +180,20 @@
//
console.log('收藏')
const res = await tiktokCollect(params)
if (res.data.code === 200) {
this.detailMsg.collectionNum += 1
} else {
if (res.data.code === 200) {} else {
uni.showToast({
title: res.data.msg,
icon: 'error'
icon: 'none'
})
}
} else {
//
console.log('取消收藏')
const res = await tiktokUnCollect(params)
if (res.data.code === 200) {
this.detailMsg.collectionNum -= 1
} else {
if (res.data.code === 200) {} else {
uni.showToast({
title: res.data.msg,
icon: 'error'
icon: 'none'
})
}
}
@ -177,13 +201,61 @@
},
//广
async insertPreAdProfit(){
const params = {
imgId: this.detailMsg.id,
creatorId: this.detailMsg.creatorId,
scanCode: this.scanCode,
appType: '0',
platform: '0'
}
const res = await insertOrUpdatePreAdProfit(params);
if (res.data.code === 200) {
console.log("写入广告收益成功!")
this.adResult = res.data.code;
}else{
uni.showToast({
title: '图片下载失败!',
icon: 'none'
})
}
},
//
async insertPreInviteProfit(){
const params = {
imgId: this.detailMsg.id,
creatorId: this.detailMsg.creatorId,
scanCode: this.scanCode,
appType: '0',
platform: '0'
}
const res = await insertOrUpdatePreInviteProfit(params)
if (res.data.code === 200) {
console.log("写入邀请收益成功");
this.inviteResult = res.data.code;
}else{
uni.showToast({
title: '图片下载失败!',
icon: 'none'
})
}
},
//
download(url) {
this.isDownload = true
this.detailMsg.downloadNum += 1
uni.showLoading({
title: '正在保存图片...'
});
this.insertPreAdProfit();
this.insertPreInviteProfit();
console.log('广告响应结果',this.adResult);
console.log('邀请响应',this.inviteResult)
// if(aResult === 200 && iResult === 200){
// }
//
uni.getSetting({
success: (res) => {
@ -215,21 +287,24 @@
.showToast({
title: res
.errMsg,
icon: 'none'
});
},
complete: (res) => {
uni.hideLoading();
if (res.errMsg !==
"saveImageToPhotosAlbum:ok"
) {
) {
return uni
.showToast({
title: "下载失败!",
icon: 'none'
});
} else {
return uni
.showToast({
title: "下载成功!",
icon: 'none'
});
}
},
@ -237,9 +312,9 @@
} else {
uni.showToast({
title: "下载失败!",
icon: 'none'
});
}
}
})
},
@ -265,6 +340,7 @@
} else if (res.cancel) {
return uni.showToast({
title: "已取消!",
icon: 'none'
});
}
},
@ -279,6 +355,7 @@
uni.hideLoading();
return uni.showToast({
title: "保存成功!",
icon: 'none'
});
},
fail: (res) => {
@ -286,6 +363,7 @@
console.log(res.errMsg);
return uni.showToast({
title: res.errMsg,
icon: 'none'
});
},
//
@ -302,8 +380,9 @@
share() {
uni.showToast({
title: '分享',
icon: 'none'
})
}
},
}
}
</script>
@ -322,14 +401,26 @@
.toolbar {
width: 60px;
height: 360px;
background-color: rgba(255, 255, 255, 0.2);
position: absolute;
bottom: 76px;
right: 10px;
border-radius: 60px;
padding-top: 40rpx;
.share-box{
>button{
line-height: 0!important;
padding: 0;
outline: none;
background: none;
border: none;
}
>button::after{
border: none;
}
}
.toolbar-box {
height: 60px;
text-align: center;
@ -353,6 +444,7 @@
line-height: 40rpx;
height: 40rpx;
}
}
}
</style>

116
pages/index/choiceness.vue

@ -3,33 +3,32 @@
<uni-search-bar class="uni-mt-10" placeholder="请输入喜欢的艺术家代号吧~" clearButton="auto" cancelButton="none"
@confirm="search" />
<view class="choiceness-list">
<view class="imgList1">
<view class="first-box" :style="'width:'+imgWidth">
<!-- <view class="first-box" :style="'width:'+imgWidth" >
热门作品
</view> -->
<view class="ad-view">
<ad adpid="1111111111" type="banner" @load="onload" @close="onclose" @error="onerror"></ad>
</view>
<image v-for="(item,index) in imgList1" :key='index' class="img-box"
<image v-for="(item,index) in imgList" :key='index' class="img-box"
:style="'width:'+imgWidth+';height:'+imgHeight" :src="item.imgUrl" @click="targetDetail(item)"
mode=""></image>
</view>
<view class="imgList2">
<image v-for="(item,index) in imgList2" :key='index' class="img-box"
:style="'width:'+imgWidth+';height:'+imgHeight" :src="item.imgUrl" mode=""></image>
</view>
</view>
</view>
</template>
<script>
import {
imgLists
imgLists,
creatorImgsDetails
} from '@/api/index.js'
export default {
data() {
return {
imgList1: [], //
imgList2: [], //
imgList: [], //
imgWidth: 0, //
imgHeight: 0, //
pageNum: 1,
pageSize: 10,
}
},
created() {
@ -42,22 +41,81 @@
}
})
},
//
onPullDownRefresh() {
console.log(1111)
this.pageNum = 1
this.imgList = []
this.getImgList()
uni.stopPullDownRefresh()
},
//
onReachBottom() {
console.log(2222)
if (this.imgList.length > 9) {
this.pageNum += 1
this.getImgList()
}
},
methods: {
//
//
search(res) {
if (res.value) {
console.log('search', res.value)
this.goCreatorDetail(res.value)
} else {
uni.showToast({
title: '请输入艺术家代号',
icon: 'none',
})
}
},
//
async goCreatorDetail(scanCode) {
if (scanCode) {
const res = await creatorImgsDetails({
scanCode
})
console.log('creatorImgsDetails', res)
if (res.data.code === 200) {
uni.setStorage({
key: 'creatorDetail',
data: res.data.data,
success() {
uni.navigateTo({
url: '../creator/creatorDetail'
})
}
})
} else {
uni.showToast({
title: res.data.msg,
icon: 'none'
})
}
} else {
uni.showToast({
title: '搜索码不能为空',
icon: 'none'
})
}
},
//
async getImgList() {
const res = await imgLists()
const res = await imgLists({
pageNum: this.pageNum,
pageSize: this.pageSize
})
if (res.data.code === 200) {
for (let i = 0; i < res.data.rows.length; i++) {
if (i % 2 == 0) {
this.imgList2.push(res.data.rows[i])
} else {
this.imgList1.push(res.data.rows[i])
}
this.imgList.push(res.data.rows[i])
}
} else {
uni.showToast({
title: res.data.msg,
icon: 'error'
icon: 'none'
})
}
},
@ -70,12 +128,21 @@
data: item.id,
success() {
console.log(111111)
uni.redirectTo({
uni.navigateTo({
url: '../creator/imgDetail'
})
}
})
}
},
onload(e) {
console.log("加载了广告");
},
onclose(e) {
console.log("关闭了广告: " + e.detail);
},
onerror(e) {
console.log("广告错误了: " + e.detail.errCode + " message:: " + e.detail.errMsg);
}
},
// onUnload() {
@ -88,13 +155,14 @@
<style lang="less">
.choiceness {
padding-right: 40rpx;
padding-top: 40rpx;
.uni-searchbar {
border: 1px solid #11A8FD;
border-radius: 16rpx;
padding: 0;
margin-left: 40rpx;
margin-right: 40rpx;
.uni-searchbar__box {
padding: 0;
@ -104,12 +172,13 @@
.choiceness-list {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
.first-box {
border-radius: 16rpx;
font-size: 16px;
margin-top: 40rpx;
margin-left: 40rpx;
margin-left: 30rpx;
color: #fff;
line-height: 60rpx;
text-align: center;
@ -121,7 +190,6 @@
image {
margin-top: 40rpx;
margin-left: 40rpx;
border-radius: 16rpx;
}
}

108
pages/index/index.vue

@ -1,47 +1,53 @@
<template>
<view class="container">
<view class="top">
<image class="back-img" src="../../static/img/start.gif" mode=""></image>
<view class="top-bottom">
</view>
<uni-search-bar class="uni-mt-10" placeholder="请输入喜欢的艺术家代号吧~" clearButton="auto" cancelButton="none"
@confirm="search" />
<text>大家都在搜</text>
<view class="user-list">
<view class="user-list-box" v-for="(item,index) in userList" :key='item.id'
@click="goUserDetail(item.scanCode)">
<image :src="item.img" mode=""></image>
<text>{{item.tiktokNumber}}</text>
</view>
<view class="user-list-box" v-for="(item,index) in userList" :key='item.id'>
<image :src="item.img" mode=""></image>
<text>{{item.tiktokNumber}}</text>
<view v-if="!showChoiceness">
<view class="top">
<image class="back-img" src="../../static/img/start.gif" mode=""></image>
<view class="top-bottom">
</view>
<view class="user-list-box" v-for="(item,index) in userList" :key='item.id'>
<image :src="item.img" mode=""></image>
<text>{{item.tiktokNumber}}</text>
<uni-search-bar class="uni-mt-10" placeholder="请输入喜欢的艺术家代号吧~" clearButton="auto" cancelButton="none"
@confirm="search" />
<text>热门艺术家</text>
<view class="user-list">
<view class="user-list-box" v-for="(item,index) in hotCreatorList" :key='item.id'
@click="goCreatorDetail(item.scanCode)">
<image :src="item.img" mode=""></image>
<text>{{item.scanCode}}</text>
</view>
</view>
</view>
<view class="middle">
<text>近期精选</text>
<image src="../../static/img/slide-top.svg" mode=""></image>
</view>
</view>
<view class="middle">
<text>近期精选</text>
<image src="../../static/img/slide-top.svg" mode=""></image>
</view>
<Choiceness v-else></Choiceness>
</view>
</template>
<script>
import {
tiktokUserImgs,
tiktokUserDetails,
listHotCreator,
creatorImgsDetails,
loginTiktok
} from '@/api/index.js'
import Choiceness from './choiceness.vue'
export default {
data() {
return {
userList: []
hotCreatorList: [],
isTarget: true,
showChoiceness:false
}
},
components:{
Choiceness,
},
//
onPullDownRefresh() {
this.showChoiceness = false
uni.stopPullDownRefresh()
},
created() {
const userInfo = uni.getStorageSync('userInfo')
if (!userInfo) {
@ -50,15 +56,16 @@
} else {
console.log('have userInfo')
}
this.getUserList()
this.getHotCreatorList()
},
onPageScroll(e) {
// scrollTopeasy-loadimage
console.log('e.scrollTop', e.scrollTop)
if (e.scrollTop > 200) {
uni.redirectTo({
url: './choiceness'
})
if (e.scrollTop > 160) {
this.showChoiceness = true
// uni.redirectTo({
// url: '../index/choiceness'
// })
}
},
methods: {
@ -66,11 +73,11 @@
search(res) {
if (res.value) {
console.log('search', res.value)
this.goUserDetail(res.value)
this.goCreatorDetail(res.value)
} else {
uni.showToast({
title: '请输入艺术家代号',
icon: 'error'
icon: 'none'
})
}
@ -98,7 +105,7 @@
} else {
uni.showToast({
title: res.data.msg,
icon: 'error'
icon: 'none'
})
}
}).catch(res => {})
@ -115,47 +122,48 @@
});
},
//
async getUserList() {
const res = await tiktokUserImgs()
//
async getHotCreatorList() {
const res = await listHotCreator()
if (res.data.code === 200) {
this.userList = res.data.data
this.hotCreatorList = res.data.data
} else {
uni.showToast({
title: res.data.msg,
icon: 'error'
icon: 'none'
})
}
console.log('getUserList', res)
console.log('getHotCreatorList', res)
},
//
async goUserDetail(scanCode) {
//
async goCreatorDetail(scanCode) {
if (scanCode) {
const res = await tiktokUserDetails({
const res = await creatorImgsDetails({
scanCode
})
console.log('tiktokUserDetails', res)
console.log('creatorImgsDetails', res)
if (res.data.code === 200) {
uni.setStorage({
key: 'userDetail',
key: 'creatorDetail',
data: res.data.data,
success() {
uni.redirectTo({
url: '../creator/userDetail'
uni.navigateTo({
url: '../creator/creatorDetail'
})
}
})
} else {
uni.showToast({
title: res.data.msg,
icon: 'error'
icon: 'none'
})
}
} else {
uni.showToast({
title: '搜索码不能为空',
icon: 'error'
icon: 'none'
})
}
},

135
pages/userInfo/myCollection/myCollection.vue

@ -1,43 +1,134 @@
<template>
<view>
<text>这是我的收藏</text>
<view v-for="(item,index) in myCollection" :key="index">
<image :src="item.imgUrl"></image>
<view class="myCollection">
<view class="myCollection-list">
<view class="imgList1">
<image v-for="(item,index) in imgList" :key='index' class="img-box"
:style="'width:'+imgWidth+';height:'+imgHeight" :src="item.imgUrl" @click="targetDetail(item)"
mode=""></image>
</view>
<view class="ad-view">
<ad adpid="__UNI__069D14D" type="banner" @load="onload" @close="onclose" @error="onerror"></ad>
</view>
</view>
</view>
</template>
<script>
import {getCollectionList} from '@/api/myCollection.js'
import {
listTiktokCollection
} from '@/api/userInfo.js'
export default {
data() {
return {
myCollection:[]
userInfo: {}, //
imgList: [], //
imgWidth: 0, //
imgHeight: 0, //
pageNum: 1,
pageSize: 10,
}
},
onLoad() {
this.getMyCollection(1)
created() {
this.userInfo = uni.getStorageSync('userInfo')
uni.getSystemInfo({
success: res => {
console.log(res)
this.imgWidth = res.windowWidth - 60 + 'rpx'
this.imgHeight = (res.windowWidth - 60) * 2 - 30 + 'rpx'
this.getImgList()
}
})
},
//
onPullDownRefresh() {
this.getImgList()
uni.stopPullDownRefresh()
},
methods: {
async getMyCollection(userId){
let data = {
userId : userId
//
async getImgList() {
const res = await listTiktokCollection({
userId: this.userInfo.id
})
if (res.data.code === 200) {
for (let i = 0; i < res.data.data.length; i++) {
this.imgList = res.data.data
}
} else {
uni.showToast({
title: res.data.msg,
icon: 'none'
})
}
const res = await getCollectionList(data)
if(res.data.code === 200){
this.myCollection = res.data.data
console.log(res)
}else{
uni.showModal({
content: '我的收藏加载失败!',
showCancel: false
});
},
// //TODO bug
targetDetail(item) {
console.log('跳转', item)
if (item.id) {
uni.setStorage({
key: 'detailId',
data: item.imgId,
success() {
console.log(111111)
uni.navigateTo({
url: '../../creator/imgDetail'
})
}
})
}
}
},
},
onload(e) {
console.log("加载了广告");
},
onclose(e) {
console.log("关闭了广告: " + e.detail);
},
onerror(e) {
console.log("onerror: " + e.detail.errCode + " message:: " + e.detail.errMsg);
}
}
</script>
<style>
<style lang="less">
.myCollection {
padding-right: 40rpx;
padding-top: 40rpx;
.uni-searchbar {
border: 1px solid #11A8FD;
border-radius: 16rpx;
padding: 0;
margin-left: 40rpx;
.uni-searchbar__box {
padding: 0;
border-radius: 16rpx !important;
}
}
.myCollection-list {
display: flex;
.first-box {
border-radius: 16rpx;
font-size: 16px;
margin-top: 40rpx;
margin-left: 40rpx;
color: #fff;
line-height: 60rpx;
text-align: center;
height: 60rpx;
background-color: #11A8FD;
display: inline-block;
vertical-align: top;
}
image {
margin-top: 40rpx;
margin-left: 40rpx;
border-radius: 16rpx;
}
}
}
</style>

117
pages/userInfo/userInfo.vue

@ -1,13 +1,21 @@
<template>
<view>
<view class="userInfo">
<view class="my-message">
<view class="left">
<image :src="userInfo.img" mode=""></image>
</view>
<view class="right">
{{userInfo.username}}
</view>
</view>
<uni-list>
<uni-list-item title="我的信息" clickable @click="onClick" ></uni-list-item>
<uni-list-item title="我的收藏" :show-extra-icon="true" :extra-icon="gift-filled" link to="/pages/userInfo/myCollection/myCollection"></uni-list-item>
<uni-list-item title="常见问题" :show-extra-icon="true" :extra-icon="extraIcon1" link to="/pages/userInfo/question/question"></uni-list-item>
<uni-list-item title="联系我们" link to="/pages/userInfo/contactUs/contactUs"></uni-list-item>
<uni-list-item title="设置" link to="/pages/userInfo/setting/setting"></uni-list-item>
<uni-list-item title="分享" clickable @click="getLink()"></uni-list-item>
<button open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">绑定手机号</button>
<uni-list-item title="我的收藏" link to="/pages/userInfo/myCollection/myCollection"></uni-list-item>
<uni-list-item title="常见问题" link to="/pages/userInfo/question/question"></uni-list-item>
<uni-list-item title="联系我们" link to="/pages/userInfo/contactUs/contactUs"></uni-list-item>
<uni-list-item title="设置" link to="/pages/userInfo/setting/setting"></uni-list-item>
<view class="share-box">
<button title="分享" open-type="share">分享</button>
</view>
</uni-list>
</view>
</template>
@ -16,42 +24,77 @@
export default {
data() {
return {
userInfo: {}
}
},
created() {
this.userInfo = uni.getStorageSync('userInfo')
},
onShareAppMessage(res) {
if (res.from === 'button') { //
console.log(res)
}
return {
title: '想要好看的图片就来[节点壁纸]吧!',
path: `/pages/index/index?id=${this.userInfo.id}`
}
},
methods: {
getLink(){
// uni.showModal({
// content: '',
// showCancel: false
// });
uni.login({
// provider: 'toutiao',
success: function (info) {
console.log('code为:'+JSON.stringify(info.code));
//
uni.getUserInfo({
// provider: 'toutiao',
withCredentials: true,
success: function (infoRes) {
//console.log(''+JSON.stringify(infoRes))
console.log('encry数据为:'+infoRes.encryptedData);
console.log('iv数据为:'+infoRes.iv);
//console.log('' + infoRes.userInfo.nickName);
}
});
}
});
},
getPhoneNumber(e){
console.log(e.detail.errMsg);
console.log(e.detail.iv);
console.log(e.detail.encryptedData);
share() {
}
}
}
</script>
<style>
<style lang="less">
.userInfo {
height: 100%;
background-color: white;
.my-message {
display: flex;
justify-content: flex-start;
align-items: center;
padding: 20rpx;
.left {
width: 100rpx;
height: 100rpx;
margin-right: 20rpx;
>image {
width: 100%;
height: 100%;
border-radius: 50%;
}
}
.right {
font-size: 12px;
}
}
.share-box {
width: 100vw;
>button {
background: none;
outline: none;
font-size: 14px;
text-align: left;
line-height: 14px;
padding: 12px 15px;
}
}
.bottom-btn {
position: fixed;
bottom: 0;
left: 0;
width: 100vw;
z-index: 1000;
}
}
</style>

0
unpackage/dist/dev/.automator/mp-toutiao/.automator.json

4
unpackage/dist/dev/mp-toutiao/app.js

@ -1,4 +0,0 @@
require('./common/runtime.js')
require('./common/vendor.js')
require('./common/main.js')

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

@ -1,48 +0,0 @@
{
"pages": [
"pages/index/index",
"pages/index/choiceness",
"pages/creator/creator",
"pages/creator/userDetail",
"pages/creator/imgDetail",
"pages/userInfo/userInfo",
"pages/userInfo/myCollection/myCollection",
"pages/userInfo/question/question",
"pages/userInfo/contactUs/contactUs",
"pages/userInfo/setting/setting"
],
"subPackages": [],
"window": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "bnyer",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"color": "#7A7E83",
"selectedColor": "#1296DB",
"borderStyle": "black",
"backgroundColor": "#F8F8F8",
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "static/index-default.png",
"selectedIconPath": "static/index-select.png",
"text": "首页"
},
{
"pagePath": "pages/creator/creator",
"iconPath": "static/theme-default.png",
"selectedIconPath": "static/theme-select.png",
"text": "艺术家"
},
{
"pagePath": "pages/userInfo/userInfo",
"iconPath": "static/mine-default.png",
"selectedIconPath": "static/mine-select.png",
"text": "我的"
}
]
},
"usingComponents": {}
}

3
unpackage/dist/dev/mp-toutiao/app.ttss

@ -1,3 +0,0 @@
@import './common/main.ttss';
[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}

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

File diff suppressed because one or more lines are too long

2421
unpackage/dist/dev/mp-toutiao/common/main.ttss

File diff suppressed because it is too large

273
unpackage/dist/dev/mp-toutiao/common/runtime.js

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

5
unpackage/dist/dev/mp-toutiao/pages/creator/creator.json

@ -1,5 +0,0 @@
{
"navigationBarTitleText": "艺术家",
"enablePullDownRefresh": true,
"usingComponents": {}
}

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

@ -1 +0,0 @@
<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>

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

@ -1,85 +0,0 @@
@charset "UTF-8";
/* 水平间距 */
/* 水平间距 */
.creator.data-v-5830ad60 {
padding: 20rpx;
background-color: #ffffff;
font-size: 22rpx;
}
.creator .list.data-v-5830ad60 {
margin-top: 20rpx;
}
.creator .list-item.data-v-5830ad60 {
padding: 5rpx;
margin-top: 20rpx;
}
.creator .list .list-top.data-v-5830ad60 {
margin-bottom: 20rpx;
}
.creator .list .head-box.data-v-5830ad60 {
flex: .8;
}
.creator .list .head-box > .ml-10.data-v-5830ad60 {
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;
}
.creator .list .img-box.data-v-5830ad60 {
margin-top: 10rpx;
display: flex;
justify-content: flex-start;
}
.creator .list .img-box view.data-v-5830ad60 {
width: 32%;
}
.creator .list .img-box view image.data-v-5830ad60 {
border-radius: 8rpx;
width: calc(100% - 12rpx);
}
.swiper-box.data-v-5830ad60 {
height: 250rpx;
border-radius: 8rpx;
overflow: hidden;
}
.swiper-item.data-v-5830ad60 {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 200px;
color: #fff;
}
.img.data-v-5830ad60 {
position: absolute;
width: 100%;
height: 100%;
}
.head.data-v-5830ad60 {
width: 80rpx;
height: 80rpx;
border-radius: 50%;
}
.userName.data-v-5830ad60 {
margin-left: 10rpx;
}
.threeImg.data-v-5830ad60 {
height: 300rpx;
width: 200rpx;
}

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

File diff suppressed because one or more lines are too long

5
unpackage/dist/dev/mp-toutiao/pages/creator/imgDetail.json

@ -1,5 +0,0 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": true,
"usingComponents": {}
}

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

@ -1 +0,0 @@
<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',['$0'],['detailMsg.imgUrl']]]]]}}" 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>

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

@ -1,41 +0,0 @@
.imgDetail {
height: 100vh;
width: 100vw;
overflow: hidden;
position: relative;
}
.imgDetail .main-img {
width: 100%;
height: 100%;
}
.imgDetail .toolbar {
width: 60px;
height: 360px;
background-color: rgba(255, 255, 255, 0.2);
position: absolute;
bottom: 76px;
right: 10px;
border-radius: 60px;
padding-top: 40rpx;
}
.imgDetail .toolbar .toolbar-box {
height: 60px;
text-align: center;
margin-bottom: 40rpx;
}
.imgDetail .toolbar .toolbar-box text {
display: block;
text-align: center;
line-height: 60rpx;
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;
}

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

File diff suppressed because one or more lines are too long

7
unpackage/dist/dev/mp-toutiao/pages/creator/userDetail.json

@ -1,7 +0,0 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": true,
"usingComponents": {
"uni-segmented-control": "/uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control"
}
}

1
unpackage/dist/dev/mp-toutiao/pages/creator/userDetail.ttml

@ -1 +0,0 @@
<view class="userDetail"><view class="avatar-box"><view class="avatar-top"><view class="avatar-left-box"><image src="{{userMsg.img}}" mode></image><text>{{userMsg.username}}</text></view><view class="avatar-right-box"><image src="../../static/img/share.svg" mode></image></view></view><view class="avatar-box-text">个性签名</view><view class="avatar-box-tag"><view class="avatar-box-tag-left"><view class="tag-left-box"><text>112</text><text>作品</text></view><view class="tag-left-box"><text>112</text><text>收藏</text></view><view class="tag-left-box"><text>112</text><text>喜欢</text></view></view><view class="avatar-box-tag-right"></view></view></view><view class="middle"><uni-segmented-control vue-id="b78c2d26-1" current="{{current}}" values="{{arrList}}" styleType="text" activeColor="#11A8FD" data-event-opts="{{[['^clickItem',[['onClickItem']]]]}}" bind:clickItem="__e" bind:__l="__l"></uni-segmented-control></view><view class="bottom"><block tt:for="{{userMsg.imgList}}" tt:for-item="item" tt:for-index="index" tt:key="index"><image style="{{('width:'+imgWidth+';height:'+imgHeight)}}" src="{{item.imgUrl}}" mode data-event-opts="{{[['tap',[['targetDetail',['$0'],[[['userMsg.imgList','',index]]]]]]]}}" bindtap="__e"></image></block></view></view>

71
unpackage/dist/dev/mp-toutiao/pages/creator/userDetail.ttss

@ -1,71 +0,0 @@
.userDetail .avatar-box {
padding: 20rpx 20rpx;
background: #11A8FD;
}
.userDetail .avatar-box .avatar-top {
display: flex;
justify-content: space-between;
align-items: center;
height: 120rpx;
}
.userDetail .avatar-box .avatar-top .avatar-left-box {
display: flex;
justify-content: flex-start;
align-items: center;
}
.userDetail .avatar-box .avatar-top .avatar-left-box image {
width: 80rpx;
height: 80rpx;
border-radius: 80rpx;
}
.userDetail .avatar-box .avatar-top .avatar-left-box text {
font-size: 14px;
color: #fff;
margin-left: 20rpx;
}
.userDetail .avatar-box .avatar-top .avatar-right-box image {
width: 40rpx;
height: 40rpx;
}
.userDetail .avatar-box .avatar-box-text {
color: #fff;
font-size: 12px;
}
.userDetail .avatar-box .avatar-box-tag {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 24rpx;
}
.userDetail .avatar-box .avatar-box-tag .avatar-box-tag-left {
display: flex;
justify-content: flex-start;
align-items: center;
}
.userDetail .avatar-box .avatar-box-tag .avatar-box-tag-left .tag-left-box {
width: 120rpx;
}
.userDetail .avatar-box .avatar-box-tag .avatar-box-tag-left .tag-left-box text {
display: block;
color: #fff;
font-size: 12px;
}
.userDetail .avatar-box .avatar-box-tag .avatar-box-tag-left .tag-left-box text:last-child {
margin-top: 8rpx;
}
.userDetail .middle .segmented-control {
border-radius: 8rpx 8rpx 0 0;
background-color: rgba(17, 168, 253, 0.1);
}
.userDetail .bottom {
display: flex;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
}
.userDetail .bottom image {
margin-top: 40rpx;
margin-left: 40rpx;
border-radius: 16rpx;
}

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

File diff suppressed because one or more lines are too long

7
unpackage/dist/dev/mp-toutiao/pages/index/choiceness.json

@ -1,7 +0,0 @@
{
"navigationBarTitleText": "近期精选",
"enablePullDownRefresh": true,
"usingComponents": {
"uni-search-bar": "/uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar"
}
}

1
unpackage/dist/dev/mp-toutiao/pages/index/choiceness.ttml

@ -1 +0,0 @@
<view class="choiceness"><uni-search-bar class="uni-mt-10" vue-id="d8b33852-1" placeholder="请输入喜欢的艺术家代号吧~" clearButton="auto" cancelButton="none" data-event-opts="{{[['^confirm',[['search']]]]}}" bind:confirm="__e" bind:__l="__l"></uni-search-bar><view class="choiceness-list"><view class="imgList1"><view class="first-box" style="{{('width:'+imgWidth)}}">热门作品</view><block tt:for="{{imgList1}}" tt:for-item="item" tt:for-index="index" tt:key="index"><image class="img-box" style="{{('width:'+imgWidth+';height:'+imgHeight)}}" src="{{item.imgUrl}}" mode data-event-opts="{{[['tap',[['targetDetail',['$0'],[[['imgList1','',index]]]]]]]}}" bindtap="__e"></image></block></view><view class="imgList2"><block tt:for="{{imgList2}}" tt:for-item="item" tt:for-index="index" tt:key="index"><image class="img-box" style="{{('width:'+imgWidth+';height:'+imgHeight)}}" src="{{item.imgUrl}}" mode></image></block></view></view></view>

35
unpackage/dist/dev/mp-toutiao/pages/index/choiceness.ttss

@ -1,35 +0,0 @@
.choiceness {
padding-right: 40rpx;
padding-top: 40rpx;
}
.choiceness .uni-searchbar {
border: 1px solid #11A8FD;
border-radius: 16rpx;
padding: 0;
}
.choiceness .uni-searchbar .uni-searchbar__box {
padding: 0;
border-radius: 16rpx !important;
}
.choiceness .choiceness-list {
display: flex;
}
.choiceness .choiceness-list .first-box {
border-radius: 16rpx;
font-size: 16px;
margin-top: 40rpx;
margin-left: 40rpx;
color: #fff;
line-height: 60rpx;
text-align: center;
height: 60rpx;
background-color: #11A8FD;
display: inline-block;
vertical-align: top;
}
.choiceness .choiceness-list image {
margin-top: 40rpx;
margin-left: 40rpx;
border-radius: 16rpx;
}

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

File diff suppressed because one or more lines are too long

6
unpackage/dist/dev/mp-toutiao/pages/index/index.json

@ -1,6 +0,0 @@
{
"navigationBarTitleText": "首页",
"usingComponents": {
"uni-search-bar": "/uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar"
}
}

1
unpackage/dist/dev/mp-toutiao/pages/index/index.ttml

@ -1 +0,0 @@
<view class="container"><view class="top"><image class="back-img" src="../../static/img/start.gif" mode></image><view class="top-bottom"></view><uni-search-bar class="uni-mt-10" vue-id="8dda190e-1" placeholder="请输入喜欢的艺术家代号吧~" clearButton="auto" cancelButton="none" data-event-opts="{{[['^confirm',[['search']]]]}}" bind:confirm="__e" bind:__l="__l"></uni-search-bar><text>大家都在搜</text><view class="user-list"><block tt:for="{{userList}}" tt:for-item="item" tt:for-index="index" tt:key="id"><view data-event-opts="{{[['tap',[['goUserDetail',['$0'],[[['userList','id',item.id,'scanCode']]]]]]]}}" class="user-list-box" bindtap="__e"><image src="{{item.img}}" mode></image><text>{{item.tiktokNumber}}</text></view></block><block tt:for="{{userList}}" tt:for-item="item" tt:for-index="index" tt:key="id"><view class="user-list-box"><image src="{{item.img}}" mode></image><text>{{item.tiktokNumber}}</text></view></block><block tt:for="{{userList}}" tt:for-item="item" tt:for-index="index" tt:key="id"><view class="user-list-box"><image src="{{item.img}}" mode></image><text>{{item.tiktokNumber}}</text></view></block></view></view><view class="middle"><text>近期精选</text><image src="../../static/img/slide-top.svg" mode></image></view></view>

61
unpackage/dist/dev/mp-toutiao/pages/index/index.ttss

@ -1,61 +0,0 @@
.container .top {
width: 100vw;
}
.container .top image {
width: 100vw;
height: 400rpx;
}
.container .top .uni-searchbar {
border: 1px solid #11A8FD;
margin: 0 40rpx;
border-radius: 16rpx;
padding: 0;
}
.container .top .uni-searchbar .uni-searchbar__box {
padding: 0;
border-radius: 16rpx !important;
}
.container .top > text {
font-weight: bold;
font-size: 14px;
display: block;
text-align: center;
padding-top: 40rpx;
padding-bottom: 20rpx;
}
.container .top .user-list {
display: flex;
justify-content: flex-start;
align-items: center;
overflow-x: auto;
}
.container .top .user-list .user-list-box {
width: 140rpx;
padding: 20rpx;
text-align: center;
}
.container .top .user-list .user-list-box image {
width: 100rpx;
height: 100rpx;
border-radius: 100rpx;
}
.container .top .user-list .user-list-box text {
font-size: 24rpx;
color: #1E1E1E;
text-align: center;
}
.container .middle {
text-align: center;
height: calc(100vh - 248rpx);
padding-top: 40rpx;
}
.container .middle text {
font-weight: bold;
font-size: 14px;
display: block;
}
.container .middle image {
width: 40rpx;
height: 40rpx;
}

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

File diff suppressed because one or more lines are too long

5
unpackage/dist/dev/mp-toutiao/pages/userInfo/contactUs/contactUs.json

@ -1,5 +0,0 @@
{
"navigationBarTitleText": "联系我们",
"enablePullDownRefresh": false,
"usingComponents": {}
}

1
unpackage/dist/dev/mp-toutiao/pages/userInfo/contactUs/contactUs.ttml

@ -1 +0,0 @@
<view><text>这是联系我们页面</text></view>

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

File diff suppressed because one or more lines are too long

5
unpackage/dist/dev/mp-toutiao/pages/userInfo/myCollection/myCollection.json

@ -1,5 +0,0 @@
{
"navigationBarTitleText": "我的收藏",
"enablePullDownRefresh": true,
"usingComponents": {}
}

1
unpackage/dist/dev/mp-toutiao/pages/userInfo/myCollection/myCollection.ttml

@ -1 +0,0 @@
<view><text>这是我的收藏</text><block tt:for="{{myCollection}}" tt:for-item="item" tt:for-index="index" tt:key="index"><view><image src="{{item.imgUrl}}"></image></view></block></view>

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

File diff suppressed because one or more lines are too long

5
unpackage/dist/dev/mp-toutiao/pages/userInfo/question/question.json

@ -1,5 +0,0 @@
{
"navigationBarTitleText": "常见问题",
"enablePullDownRefresh": false,
"usingComponents": {}
}

1
unpackage/dist/dev/mp-toutiao/pages/userInfo/question/question.ttml

@ -1 +0,0 @@
<view><text>这是常见问题页面</text></view>

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

File diff suppressed because one or more lines are too long

5
unpackage/dist/dev/mp-toutiao/pages/userInfo/setting/setting.json

@ -1,5 +0,0 @@
{
"navigationBarTitleText": "设置",
"enablePullDownRefresh": false,
"usingComponents": {}
}

1
unpackage/dist/dev/mp-toutiao/pages/userInfo/setting/setting.ttml

@ -1 +0,0 @@
<view><text>这是设置页面</text></view>

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

File diff suppressed because one or more lines are too long

8
unpackage/dist/dev/mp-toutiao/pages/userInfo/userInfo.json

@ -1,8 +0,0 @@
{
"navigationBarTitleText": "个人中心",
"enablePullDownRefresh": true,
"usingComponents": {
"uni-list": "/uni_modules/uni-list/components/uni-list/uni-list",
"uni-list-item": "/uni_modules/uni-list/components/uni-list-item/uni-list-item"
}
}

1
unpackage/dist/dev/mp-toutiao/pages/userInfo/userInfo.ttml

@ -1 +0,0 @@
<view><uni-list vue-id="23dab6ff-1" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('23dab6ff-2')+','+('23dab6ff-1')}}" title="我的信息" clickable="{{true}}" data-event-opts="{{[['^click',[['onClick']]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('23dab6ff-3')+','+('23dab6ff-1')}}" title="我的收藏" show-extra-icon="{{true}}" extra-icon="{{gift-filled}}" link="{{true}}" to="/pages/userInfo/myCollection/myCollection" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('23dab6ff-4')+','+('23dab6ff-1')}}" title="常见问题" show-extra-icon="{{true}}" extra-icon="{{extraIcon1}}" link="{{true}}" to="/pages/userInfo/question/question" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('23dab6ff-5')+','+('23dab6ff-1')}}" title="联系我们" link="{{true}}" to="/pages/userInfo/contactUs/contactUs" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('23dab6ff-6')+','+('23dab6ff-1')}}" title="设置" link="{{true}}" to="/pages/userInfo/setting/setting" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('23dab6ff-7')+','+('23dab6ff-1')}}" title="分享" clickable="{{true}}" data-event-opts="{{[['^click',[['getLink']]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item><button open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['getPhoneNumber',['$event']]]]]}}" bindgetphonenumber="__e">绑定手机号</button></uni-list></view>

8
unpackage/dist/dev/mp-toutiao/project.config.json

@ -1,8 +0,0 @@
{
"setting": {
"urlCheck": false,
"es6": true
},
"appid": "ttc408b2b55b364f6601",
"projectname": "app"
}

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 401 B

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 470 B

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 511 B

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 476 B

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 472 B

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 545 B

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 365 B

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 587 B

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 565 B

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

33
unpackage/dist/dev/mp-toutiao/static/css/main.scss

@ -1,33 +0,0 @@
/* ===== 页面公用 ===== */
page {
// width: 100vw;
height: 100vh;
background-color: #f5f5f5;
}
view {
box-sizing: border-box;
}
/* ==== 弹性盒模型布局 ==== */
.fb-d-r { display: flex; flex-direction: row; }
.fb-d-c { display: flex; flex-direction: column;}
.fb-w { flex-wrap: wrap; }
.fb-j-a { justify-content: flex-start; }
.fb-j-e { justify-content: flex-end; }
.fb-j-c { justify-content: center; }
.fb-j-sb { justify-content: space-between; }
.fb-j-sa { justify-content: space-around; }
.fb-a-a { align-items: flex-start; }
.fb-a-e { align-items: flex-end; }
.fb-a-c { align-items: center; }
.fb-a-sb { align-items: space-between; }
.fb-a-sa { align-items: space-around; }
/* ==== 外边距 ==== */
.ml-10 {
margin-left: 10rpx;
}
.mt-10 {
margin-top: 10rpx;
}

20
unpackage/dist/dev/mp-toutiao/static/customicons.css

@ -1,20 +0,0 @@
@font-face {
font-family: "customicons"; /* Project id 2878519 */
src:url('/static/customicons.ttf') format('truetype');
}
.customicons {
font-family: "customicons" !important;
}
.youxi:before {
content: "\e60e";
}
.wenjian:before {
content: "\e60f";
}
.zhuanfa:before {
content: "\e610";
}

BIN
unpackage/dist/dev/mp-toutiao/static/customicons.ttf

Binary file not shown.

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

2
unpackage/dist/dev/mp-toutiao/static/img/share.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="1652699648832" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4781" 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="M833.493333 842.666667H201.173333A43.413333 43.413333 0 0 1 160 797.333333v-485.333333A43.413333 43.413333 0 0 1 201.173333 266.666667h91.84a10.666667 10.666667 0 0 1 0 21.333333h-91.84A22.293333 22.293333 0 0 0 181.333333 312v485.333333A22.293333 22.293333 0 0 0 201.173333 821.333333h632.32A22.293333 22.293333 0 0 0 853.333333 797.333333V508.48a10.666667 10.666667 0 0 1 21.333334 0v288.853333A43.413333 43.413333 0 0 1 833.493333 842.666667z" fill="#ffffff" p-id="4782"></path><path d="M330.666667 640a10.666667 10.666667 0 0 1-10.666667-10.666667 362.666667 362.666667 0 0 1 362.666667-362.666666h141.12L709.333333 201.28a10.666667 10.666667 0 1 1 10.666667-18.56l149.333333 85.333333A10.666667 10.666667 0 0 1 864 288H682.666667a341.333333 341.333333 0 0 0-341.333334 341.333333 10.666667 10.666667 0 0 1-10.666666 10.666667z" fill="#ffffff" p-id="4783"></path></svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

2
unpackage/dist/dev/mp-toutiao/static/img/slide-top.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="1652526355166" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8351" 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="M533.333333 512L341.333333 704l29.866667 29.866667 162.133333-162.133334 162.133334 162.133334 29.866666-29.866667-192-192z m0-256L341.333333 448l29.866667 29.866667 162.133333-162.133334 162.133334 162.133334 29.866666-29.866667L533.333333 256z" fill="#444444" p-id="8352"></path></svg>

Before

Width:  |  Height:  |  Size: 979 B

BIN
unpackage/dist/dev/mp-toutiao/static/img/start.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

333
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

4
unpackage/dist/dev/mp-toutiao/uni_modules/uni-badge/components/uni-badge/uni-badge.json

@ -1,4 +0,0 @@
{
"usingComponents": {},
"component": true
}

1
unpackage/dist/dev/mp-toutiao/uni_modules/uni-badge/components/uni-badge/uni-badge.ttml

@ -1 +0,0 @@
<view class="uni-badge--x"><slot></slot><block tt:if="{{text}}"><text data-event-opts="{{[['tap',[['onClick']]]]}}" class="{{(('uni-badge')+' '+classNames)}}" style="{{$root.s0}}" bindtap="__e">{{displayValue}}</text></block></view>

74
unpackage/dist/dev/mp-toutiao/uni_modules/uni-badge/components/uni-badge/uni-badge.ttss

@ -1,74 +0,0 @@
@charset "UTF-8";
/* 水平间距 */
/* 水平间距 */
.uni-badge--x {
display: inline-block;
position: relative;
}
.uni-badge--absolute {
position: absolute;
}
.uni-badge--small {
-webkit-transform: scale(0.8);
transform: scale(0.8);
-webkit-transform-origin: center center;
transform-origin: center center;
}
.uni-badge {
display: flex;
overflow: hidden;
box-sizing: border-box;
justify-content: center;
flex-direction: row;
height: 20px;
line-height: 18px;
color: #fff;
border-radius: 100px;
background-color: #8f939c;
background-color: transparent;
border: 1px solid #fff;
text-align: center;
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 12px;
}
.uni-badge--info {
color: #fff;
background-color: #8f939c;
}
.uni-badge--primary {
background-color: #2979ff;
}
.uni-badge--success {
background-color: #18bc37;
}
.uni-badge--warning {
background-color: #f3a73f;
}
.uni-badge--error {
background-color: #e43d33;
}
.uni-badge--inverted {
padding: 0 5px 0 0;
color: #8f939c;
}
.uni-badge--info-inverted {
color: #8f939c;
background-color: transparent;
}
.uni-badge--primary-inverted {
color: #2979ff;
background-color: transparent;
}
.uni-badge--success-inverted {
color: #18bc37;
background-color: transparent;
}
.uni-badge--warning-inverted {
color: #f3a73f;
background-color: transparent;
}
.uni-badge--error-inverted {
color: #e43d33;
background-color: transparent;
}

235
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

4
unpackage/dist/dev/mp-toutiao/uni_modules/uni-icons/components/uni-icons/uni-icons.json

@ -1,4 +0,0 @@
{
"usingComponents": {},
"component": true
}

1
unpackage/dist/dev/mp-toutiao/uni_modules/uni-icons/components/uni-icons/uni-icons.ttml

@ -1 +0,0 @@
<text data-event-opts="{{[['tap',[['_onClick',['$event']]]]]}}" class="{{(((('uni-icons')+' '+('uniui-'+type))+' '+customPrefix)+' '+(customPrefix?type:''))}}" style="{{'color:'+(color)+';'+('font-size:'+(iconSize)+';')}}" bindtap="__e"></text>

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save