index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796
  1. <template>
  2. <view class="content">
  3. <view class="page_bg">
  4. <image style="width: 100%;height: auto;" :style="{ transform: 'scale(' + scale + ')' }" :src="info.backGround || defaultBg" mode="widthFix"></image>
  5. </view>
  6. <view class="content-header">
  7. <image class="backicon" src="/static/image/liveStream/back_white_icon.png" mode="aspectFill" @click="$navBack()"></image>
  8. <view class="editinfo" v-if="info.userId && info.userId == userId" @click="$navTo('/pages/expert/info')">编辑资料</view>
  9. <view class="moreinfo x-c" v-if="info.userId && info.userId != userId" @tap="showExpertBox = true">
  10. <image src="/static/image/mine/more_white.png"></image>
  11. </view>
  12. </view>
  13. <u-sticky offsetTop="0" customNavHeight="0" zIndex="999">
  14. <view class="content-header-sticky" :style="{ height: `calc(${statusBarHeight}px + 44px)`, opacity: opacity, display: showNav ? 'flex' : 'none' }" @click.stop="">
  15. <image src="/static/image/black_back.png" mode="aspectFill" @click="$navBack()"></image>
  16. <text class="textOne" style="width: 50%; text-align: center">{{ info.nickName }}</text>
  17. </view>
  18. </u-sticky>
  19. <view class="content-body">
  20. <mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" :down="downOption" :up="upOption">
  21. <view class="user">
  22. <u-avatar :src="info.avatar || '/static/logo.png'" size="88"></u-avatar>
  23. <view class="user-left">
  24. <view class="textOne">{{ info.nickName }}</view>
  25. <view class="levelbox">
  26. <image class="levelbox-icon" src="/static/image/my/intelligent_icon.png" mode="aspectFill"></image>
  27. <text>LV.{{ info.level }}</text>
  28. </view>
  29. </view>
  30. </view>
  31. <view class="content-box">
  32. <view class="rowbox es-pr-24">
  33. <view class="x-f flex">
  34. <view class="rowbox-item">
  35. <view @click="handleNavTo('./friendsList?current=1&userId=' + userIdNow + '&talentId=' + info.talentId)">{{ formatNum(fansCount) }}</view>
  36. <text @click="handleNavTo('./friendsList?current=1&userId=' + userIdNow + '&talentId=' + info.talentId)">粉丝</text>
  37. </view>
  38. <view class="rowbox-item">
  39. <view @click="handleNavTo('./friendsList?current=0&userId=' + userIdNow + '&talentId=' + info.talentId)">{{ formatNum(idolCount) }}</view>
  40. <text @click="handleNavTo('./friendsList?current=0&userId=' + userIdNow + '&talentId=' + info.talentId)">关注</text>
  41. </view>
  42. <view class="rowbox-item">
  43. <view @click="handleNavTo('/pages/user/myFavoriteVideo?tabIndex=1')">{{ formatNum(favoriteNum) }}</view>
  44. <text @click="handleNavTo('/pages/user/myFavoriteVideo?tabIndex=1')">收藏</text>
  45. </view>
  46. <view class="rowbox-item">
  47. <view>{{ formatNum(likeNum) }}</view>
  48. <text>获赞</text>
  49. </view>
  50. </view>
  51. <!-- <view class="es-ml-24">
  52. <image
  53. class="es-icon-80 es-mr-24"
  54. src="/static/images/other/user/dy.png"
  55. mode="aspectFill"
  56. @click="handleCopy('抖音链接', info.tiktokLink)"></image>
  57. <image class="es-icon-80" src="/static/images/other/user/ks.png" mode="aspectFill" @click="handleCopy('快手链接', info.kwaiLink)"></image>
  58. </view> -->
  59. </view>
  60. <view class="es-pl-24 es-pr-24 es-mt-32 es-fs-26">{{ info.title }}</view>
  61. <view class="taglist es-pl-24 es-mt-26 x-f es-fs-22">
  62. <view class="taglist-view x-c" style="min-width: 60px">
  63. <u-icon v-show="info.sex == 1" class="sexicon" name="woman" color="#FF8394" size="32rpx"></u-icon>
  64. <u-icon v-show="info.sex == 0" class="sexicon" name="man" color="#2979ff" size="32rpx"></u-icon>
  65. <text class="taglist-item" v-show="info.sex != 1 && info.sex != 0" style="margin-right: 6rpx">未知</text>
  66. <text class="taglist-item">{{ (info.birthDay && $getAge(info.birthDay)) || '--' }}岁</text>
  67. <!-- 0男,1女,2未知 -->
  68. </view>
  69. <view class="taglist-view x-c" style="max-width: 320rpx" v-if="info.address">
  70. <text class="one-t" style="height: 42rpx; line-height: 42rpx">{{ info.province }}</text>
  71. </view>
  72. <view class="taglist-view" v-for="(tag, index) in tags" :key="index">
  73. <text class="one-t" style="height: 42rpx; line-height: 42rpx">{{ tag }}</text>
  74. </view>
  75. </view>
  76. <view class="x-f es-mt-16 es-pr-24 es-pl-24" v-if="info.userId && info.userId != userId">
  77. <view class="item_btn x-c es-mr-24" @click="handleFollow">
  78. <template v-if="isFollow == 1">取消关注</template>
  79. <template v-else>
  80. <u-icon name="plus" color="#fff" size="16" class="es-pr-14"></u-icon>
  81. 关注
  82. </template>
  83. </view>
  84. <!-- <view class="item_btn x-c">私信</view> -->
  85. </view>
  86. <!-- <view class="x-f es-mt-24 es-pl-24 es-pr-24">
  87. <view class="user-item es-pt-14 es-pb-14 es-pl-22 es-pr-22">
  88. <view class="x-f">
  89. <image class="icon" src="/static/image/liveStream/recommend_icon.png" mode="aspectFill"></image>
  90. <view class="es-ml-17 es-fs-26 es-fw-500">达人推荐</view>
  91. </view>
  92. <view class="es-fs-22 es-mt-4 es-c-99">超多性价比好物</view>
  93. </view>
  94. <view class="user-item es-pt-14 es-pb-14 es-pl-22 es-pr-22">
  95. <view class="x-f">
  96. <image class="icon" src="/static/image/liveStream/my_wallet_icon.png" mode="aspectFill"></image>
  97. <view class="es-ml-17 es-fs-26 es-fw-500">我的钱包</view>
  98. </view>
  99. <view class="es-fs-22 es-mt-4 es-c-99">查看可提现佣金</view>
  100. </view>
  101. <view class="user-item es-pt-14 es-pb-14 es-pl-22 es-pr-22">
  102. <view class="x-f">
  103. <image class="icon" src="/static/image/liveStream/browsing_history_icon.png" mode="aspectFill"></image>
  104. <view class="es-ml-17 es-fs-26 es-fw-500">浏览记录</view>
  105. </view>
  106. <view class="es-fs-22 es-mt-4 es-c-99">我的访问记录</view>
  107. </view>
  108. </view> -->
  109. <u-sticky :offsetTop="0" :customNavHeight="customNavHeight" zIndex="999">
  110. <view class="tab-bar x-c es-mt-8">
  111. <view :class="current == 0 ? 'tab-bar-item active' : 'tab-bar-item'">主页</view>
  112. <!-- <view :class="current == 1 ? 'tab-bar-item active':'tab-bar-item'">课程视频</view> -->
  113. </view>
  114. </u-sticky>
  115. <template v-if="!isBlackTalent">
  116. <view class="es-pl-24 es-pr-24 es-pt-20 es-pb-20">
  117. <!-- <view class="x-bc es-pt-20 es-pb-32">
  118. <view class="x-f es-fs-32 es-fw-500">短视频<text class="x-f es-fs-28 es-ml-22">(6)</text></view>
  119. <view class="x-f es-fs-24 es-c-99">
  120. 查看全部
  121. <image class="es-w-48 es-h-48" src="/static/image/hall/my_right_arrow_right_icon.png" mode="aspectFill"></image>
  122. </view>
  123. </view> -->
  124. <!-- <mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" :down="downOption" :up="upOption"> -->
  125. <view class="x-f video-list">
  126. <view class="video-item es-br-16" v-for="(item, i) in dataList" :key="i" @click="goVideo(i)">
  127. <view class="mask" v-if="info.userId && info.userId == userId">
  128. <view v-if="item.isAudit == -1 || item.isAudit == 0" :class="item.isAudit == -1 ? 'mask-status mask-status2' : 'mask-status mask-status1'">
  129. {{ item.isAudit == -1 ? '已驳回' : '审核中' }}
  130. </view>
  131. <view class="mask-txt textTwo" v-if="item.isAudit == -1">{{ item.failReason }}</view>
  132. <view class="mask-event" @click.stop="handleClick(item)">操作</view>
  133. </view>
  134. <image class="video-item-img" :src="item.cover" mode="aspectFill"></image>
  135. <view class="textOne es-pl-20 es-pr-20 es-pt-22 es-pb-22">{{ item.title }}</view>
  136. </view>
  137. </view>
  138. <!-- </mescroll-body> -->
  139. </view>
  140. </template>
  141. <template v-if="isBlackTalent">
  142. <view class="blockBox">
  143. <view class="center-content">
  144. <view class="es x-c">
  145. <image class="es es-w-70 es-h-70" src="/static/svg/stop.svg"></image>
  146. </view>
  147. <view class="es-c-33 es-fs-32 es-fw-400 es-mt-20">对方已被你拉黑</view>
  148. <view class="es es-c-99 es-fs-24 es-mt-20">你已拉黑对方,无法查看其作品</view>
  149. </view>
  150. </view>
  151. </template>
  152. </view>
  153. </mescroll-body>
  154. </view>
  155. <view class="footer x-c" v-if="info.userId && info.userId == userId">
  156. <view class="x-c footer-fb" @click="$navTo('/pages/expert/releaseVideo')">
  157. <image src="/static/image/liveStream/publish_video_icon.png"></image>
  158. 发布视频
  159. </view>
  160. <!-- <view class="x-c footer-zb"><image src="/static/image/liveStream/live_broadcast_icon2.png"></image>开直播</view> -->
  161. <view class="x-c footer-zb" @click="$navTo('/pages/expert/collection')" v-if="false"><image src="/static/image/liveStream/live_broadcast_icon2.png"></image>合集管理</view>
  162. </view>
  163. <!-- 更多弹窗 -->
  164. <u-popup :show="showExpertBox" @close="showExpertBox = false">
  165. <expert-box :expertItem="expertItem" @refreshExpert="refreshExpert()" @closeExpert="showExpertBox = false"></expert-box>
  166. </u-popup>
  167. </view>
  168. </template>
  169. <script>
  170. import { getTalentByToken, getVideoList, doFollow, checkFollow, getTalentByUserId, deleteVideo, updateVideoStatus } from '@/api/expert.js';
  171. import MescrollMixin from '@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js';
  172. import expertBox from '@/components/share-box/expert-box.vue';
  173. export default {
  174. components: {
  175. expertBox
  176. },
  177. mixins: [MescrollMixin],
  178. data() {
  179. return {
  180. userId: '',
  181. statusBarHeight: uni.getSystemInfoSync().statusBarHeight,
  182. defaultBg: 'https://cos.his.cdwjyyh.com/fs/20250509/e5fb40b2b6e640b48e5f055c786dd289.png',
  183. avatar: '',
  184. current: 0,
  185. customNavHeight: 22,
  186. showNav: false,
  187. opacity: 1,
  188. info: {},
  189. fansCount: 0,
  190. favoriteNum: 0,
  191. idolCount: 0,
  192. likeNum: 0,
  193. mescroll: null,
  194. downOption: {
  195. //下拉刷新
  196. use: true,
  197. auto: false // 不自动加载 (mixin已处理第一个tab触发downCallback)
  198. },
  199. upOption: {
  200. onScroll: false,
  201. use: true, // 是否启用上拉加载; 默认true
  202. page: {
  203. pae: 0, // 当前页码,默认0,回调之前会加1,即callback(page)会从1开始
  204. size: 10 // 每页数据的数量,默认10
  205. },
  206. noMoreSize: 10, // 配置列表的总数量要大于等于5条才显示'-- END --'的提示
  207. textNoMore: '已经到底了',
  208. empty: {
  209. icon: 'https://cos.his.cdwjyyh.com/fs/20240423/cf4a86b913a04341bb44e34bb4d37aa2.png',
  210. tip: '暂无数据'
  211. }
  212. },
  213. dataList: [],
  214. user: {},
  215. isFollow: 0, // /是否已关注1:已关注,0:未关注
  216. talentUserId: '',
  217. tags: [],
  218. userIdNow: '',
  219. scale: 1,
  220. curPageNum: 0,
  221. showExpertBox: false,
  222. expertItem: { isBlackTalent: false },
  223. isBlackTalent: false
  224. };
  225. },
  226. computed: {
  227. formatNum() {
  228. return (num) => {
  229. if (num > 10000) {
  230. return (num / 10000.0).toFixed(1) + '万';
  231. }
  232. return num;
  233. };
  234. }
  235. },
  236. onLoad(option) {
  237. this.customNavHeight = this.statusBarHeight / 2 + 44;
  238. this.user = this.$getUserInfo();
  239. this.userId = this.user.userId || '';
  240. this.talentUserId = option.userId || '';
  241. this.userIdNow = this.talentUserId || this.userId;
  242. uni.$on('resetData', () => {
  243. this.mescroll && this.mescroll.resetUpScroll();
  244. });
  245. },
  246. onUnload() {
  247. uni.$off('resetData');
  248. },
  249. onShow() {
  250. if (this.talentUserId) {
  251. this.getTalentInfo();
  252. } else {
  253. this.getInfo();
  254. }
  255. },
  256. methods: {
  257. handleCopy(name, id) {
  258. if (!id) {
  259. uni.showToast({
  260. title: '暂无' + name,
  261. icon: 'none'
  262. });
  263. return;
  264. }
  265. uni.setClipboardData({
  266. data: id,
  267. success: () => {
  268. uni.showToast({
  269. title: '复制' + name + '成功:' + id,
  270. icon: 'none'
  271. });
  272. },
  273. fail: (e) => {
  274. uni.showToast({
  275. title: '复制失败',
  276. icon: 'none'
  277. });
  278. }
  279. });
  280. },
  281. handleClick(item) {
  282. // 5下架,1上架
  283. // 已审核完的视频可操作:删除、上/下架
  284. // 未审核+驳回可操作:删除
  285. // isAudit -1的就是驳回的,1就是通过的,0 审核中
  286. let itemList = ['删除'];
  287. if (item.isAudit == 1) {
  288. itemList = item.status == 5 ? ['删除', '上架'] : item.status == 1 ? ['删除', '下架'] : ['删除'];
  289. }
  290. uni.showActionSheet({
  291. itemList: itemList,
  292. success: (res) => {
  293. console.log('选中了第' + (res.tapIndex + 1) + '个按钮');
  294. if (res.tapIndex == 0) {
  295. uni.showModal({
  296. title: '提示',
  297. content: '删除的视频不可恢复,确定删除吗?',
  298. success: (res) => {
  299. if (res.confirm) {
  300. this.handlesDel(item);
  301. } else if (res.cancel) {
  302. console.log('用户点击取消');
  303. }
  304. }
  305. });
  306. } else if (res.tapIndex == 1) {
  307. this.handlesUpdate(item);
  308. }
  309. }
  310. });
  311. },
  312. handlesDel(item) {
  313. deleteVideo({ videoId: item.id }).then((res) => {
  314. if (res.code == 200) {
  315. uni.showToast({
  316. title: '删除成功',
  317. icon: 'none'
  318. });
  319. this.mescroll.resetUpScroll();
  320. } else {
  321. uni.showToast({
  322. title: res.msg
  323. });
  324. }
  325. });
  326. },
  327. handlesUpdate(item) {
  328. const param = {
  329. videoId: item.id,
  330. status: item.status == 5 ? 1 : item.status == 1 ? 5 : 1
  331. };
  332. updateVideoStatus(param).then((res) => {
  333. if (res.code == 200) {
  334. uni.showToast({
  335. title: '操作成功',
  336. icon: 'none'
  337. });
  338. this.mescroll.resetUpScroll();
  339. } else {
  340. uni.showToast({
  341. title: res.msg
  342. });
  343. }
  344. });
  345. },
  346. getInfo() {
  347. getTalentByToken().then((res) => {
  348. if (res.code == 200) {
  349. this.info = res.data.fsUserTalent;
  350. uni.setStorageSync('expertInfo',this.info)
  351. this.fansCount = res.data.fansCount;
  352. this.favoriteNum = res.data.favoriteNum;
  353. this.idolCount = res.data.idolCount;
  354. this.likeNum = res.data.likeNum;
  355. }
  356. });
  357. },
  358. getTalentInfo() {
  359. getTalentByUserId({ userId: this.talentUserId }).then((res) => {
  360. if (res.code == 200) {
  361. console.log("qxj getTalentByUserId res",res);
  362. this.isBlackTalent=res.data.isBlack;
  363. this.expertItem.isBlackTalent=this.isBlackTalent;
  364. this.info = res.data.fsUserTalent;
  365. this.fansCount = res.data.fansCount;
  366. this.favoriteNum = res.data.favoriteNum;
  367. this.idolCount = res.data.idolCount;
  368. this.likeNum = res.data.likeNum;
  369. this.expertItem.talentId = this.info.talentId;
  370. this.checkFollow();
  371. }
  372. });
  373. },
  374. handleFollow() {
  375. doFollow({ talentId: this.info.talentId }).then((res) => {
  376. if (res.code == 200) {
  377. if (this.isFollow == 1) {
  378. this.fansCount--;
  379. } else {
  380. this.fansCount++;
  381. }
  382. this.isFollow = this.isFollow == 1 ? 0 : 1;
  383. }
  384. uni.showToast({
  385. title: res.msg
  386. });
  387. });
  388. },
  389. checkFollow() {
  390. checkFollow({ talentId: this.info.talentId }).then((res) => {
  391. if (res.code == 200) {
  392. this.isFollow = res.isFollow || 0;
  393. }
  394. });
  395. },
  396. mescrollInit(mescroll) {
  397. this.mescroll = mescroll;
  398. },
  399. /*下拉刷新的回调 */
  400. downCallback(mescroll) {
  401. mescroll.resetUpScroll();
  402. if (this.talentUserId) {
  403. this.getTalentInfo();
  404. } else {
  405. this.getInfo();
  406. }
  407. },
  408. upCallback(page) {
  409. //联网加载数据
  410. var that = this;
  411. var data = {
  412. userId: this.talentUserId || 0,
  413. pageNum: page.num,
  414. pageSize: page.size
  415. };
  416. this.pageNum = page.num;
  417. getVideoList(data).then((res) => {
  418. if (res.code == 200) {
  419. //设置列表数据
  420. if (page.num == 1) {
  421. that.dataList = res.data.list;
  422. } else {
  423. that.dataList = that.dataList.concat(res.data.list);
  424. }
  425. that.mescroll.endBySize(res.data.list.length, res.data.total);
  426. } else {
  427. uni.showToast({
  428. icon: 'none',
  429. title: '请求失败'
  430. });
  431. that.dataList = null;
  432. that.mescroll.endErr();
  433. }
  434. });
  435. },
  436. goVideo(i) {
  437. this.curPageNum = Math.floor(i / 10) + 1;
  438. this.$navTo('/pages/expert/video?curFlagType=1&talentUserId=' + this.userIdNow + '&curPageNum=' + this.curPageNum + '&k=' + i);
  439. },
  440. handleNavTo(url) {
  441. if (this.info.userId && this.info.userId == this.userId) {
  442. this.$navTo(url);
  443. }
  444. },
  445. refreshExpert(){
  446. this.showExpertBox=false;
  447. this.getTalentInfo();
  448. }
  449. },
  450. onPageScroll(e) {
  451. if (e.scrollTop <= 136) {
  452. this.showNav = false;
  453. this.opacity = 0;
  454. } else if (e.scrollTop > 136) {
  455. this.opacity = (e.scrollTop / 216) * 1 > 1 ? 1 : (e.scrollTop / 216) * 1;
  456. this.showNav = true;
  457. }
  458. }
  459. };
  460. </script>
  461. <style>
  462. page {
  463. background-color: #fff;
  464. }
  465. </style>
  466. <style lang="scss" scoped>
  467. @mixin u-flex($flexD, $alignI, $justifyC) {
  468. display: flex;
  469. flex-direction: $flexD;
  470. align-items: $alignI;
  471. justify-content: $justifyC;
  472. }
  473. .content {
  474. position: relative;
  475. height: calc(100vh);
  476. width: 100%;
  477. }
  478. .mask {
  479. position: absolute;
  480. top: 0;
  481. left: 0;
  482. z-index: 9;
  483. width: 100%;
  484. height: 100%;
  485. overflow: hidden;
  486. background-color: rgba(0,0,0,0.3);
  487. color: #fff;
  488. font-size: 30rpx;
  489. @include u-flex(column, center, center);
  490. &-status {
  491. padding: 5rpx 14rpx;
  492. border-radius: 8rpx;
  493. }
  494. &-status1 {
  495. background-color: #F0964C;
  496. }
  497. &-status2 {
  498. background-color: red;
  499. }
  500. &-txt {
  501. margin-top: 10rpx;
  502. width: 90%;
  503. text-align: center;
  504. }
  505. &-event {
  506. position: absolute;
  507. bottom: 0;
  508. right: 0;
  509. padding: 8rpx 14rpx;
  510. background-color: #7CD8A8;
  511. border-radius: 16rpx 0 16rpx 0;
  512. }
  513. &-collection {
  514. position: absolute;
  515. bottom: 0;
  516. left: 0;
  517. z-index: 10;
  518. padding: 8rpx 14rpx;
  519. background-color: rgba(0,0,0,0.3);
  520. border-radius: 0 16rpx 0 16rpx;
  521. color: #fff;
  522. font-size: 30rpx;
  523. }
  524. }
  525. .page_bg {
  526. width: 100%;
  527. height: 700rpx;
  528. overflow: hidden;
  529. position: absolute;
  530. top: 0;
  531. left: 0;
  532. }
  533. .content-header {
  534. position: relative;
  535. width: 100%;
  536. height: calc(var(--status-bar-height) + 44px);
  537. padding: 12rpx 24rpx;
  538. padding-top: calc(var(--status-bar-height) + 12rpx);
  539. @include u-flex(row-reverse, center, space-between);
  540. &-sticky {
  541. background-color: #fff;
  542. @include u-flex(row, center, center);
  543. position: absolute;
  544. width: 100%;
  545. top: 0;
  546. left: 0;
  547. padding-top: calc(var(--status-bar-height));
  548. image {
  549. width: 64rpx;
  550. height: 64rpx;
  551. position: absolute;
  552. top: calc(var(--status-bar-height));
  553. left: 24rpx;
  554. }
  555. }
  556. }
  557. .backicon {
  558. width: 64rpx;
  559. height: 64rpx;
  560. position: fixed;
  561. left: 24rpx;
  562. top: calc(var(--status-bar-height));
  563. z-index: 998;
  564. }
  565. .editinfo {
  566. background: rgba(0, 0, 0, 0.5);
  567. border-radius: 32rpx 32rpx 32rpx 32rpx;
  568. padding: 15rpx 28rpx;
  569. font-family: PingFang SC;
  570. font-weight: 400;
  571. font-size: 24rpx;
  572. color: #ffffff;
  573. }
  574. .moreinfo {
  575. width: 64rpx;
  576. height: 64rpx;
  577. background: rgba(0, 0, 0, 0.5);
  578. border-radius: 32rpx 32rpx 32rpx 32rpx;
  579. padding: 15rpx;
  580. image {
  581. width: 20px;
  582. height: 20px;
  583. }
  584. }
  585. .blockBox{
  586. position: absolute;
  587. top: 500rpx;
  588. left: 0;
  589. right: 0;
  590. bottom: 0;
  591. display: flex;
  592. justify-content: center;
  593. align-items: center;
  594. .center-content {
  595. text-align: center;
  596. }
  597. }
  598. .content-body {
  599. font-family: PingFang SC;
  600. font-weight: 400;
  601. position: relative;
  602. color: #222222;
  603. .user {
  604. @include u-flex(row, flex-start, flex-start);
  605. padding: 40rpx 24rpx;
  606. &-left {
  607. overflow: hidden;
  608. padding-top: 24rpx;
  609. margin-left: 32rpx;
  610. font-weight: 500;
  611. font-size: 44rpx;
  612. color: #ffffff;
  613. }
  614. .levelbox {
  615. display: inline-flex;
  616. padding: 4rpx 12rpx;
  617. margin-top: 14rpx;
  618. background: linear-gradient(90deg, #f5ce3c 0%, #e39414 100%);
  619. border-radius: 20rpx 20rpx 20rpx 20rpx;
  620. font-weight: 500;
  621. font-size: 22rpx;
  622. color: #fef5ea;
  623. &-icon {
  624. width: 32rpx;
  625. height: 32rpx;
  626. margin-right: 8rpx;
  627. }
  628. }
  629. }
  630. .content-box {
  631. background: #ffffff;
  632. border-radius: 32rpx 32rpx 0rpx 0rpx;
  633. padding: 24rpx 0;
  634. }
  635. .rowbox {
  636. text-align: center;
  637. @include u-flex(row, center, space-between);
  638. &-item {
  639. flex: 1;
  640. font-weight: 400;
  641. font-size: 26rpx;
  642. color: #757575;
  643. view {
  644. margin-bottom: 4rpx;
  645. font-family: DIN, DIN;
  646. font-weight: bold;
  647. font-size: 36rpx;
  648. color: #222222;
  649. }
  650. }
  651. }
  652. .taglist {
  653. color: #757575;
  654. flex-wrap: wrap;
  655. &-view {
  656. height: 42rpx;
  657. max-width: 220rpx;
  658. overflow: hidden;
  659. padding: 0 16rpx;
  660. background: #f3f3f4;
  661. border-radius: 24rpx 24rpx 24rpx 24rpx;
  662. box-sizing: border-box;
  663. margin-right: 16rpx;
  664. margin-bottom: 16rpx;
  665. }
  666. &-item {
  667. line-height: 100%;
  668. }
  669. .sexicon {
  670. margin: 0;
  671. padding: 0;
  672. }
  673. }
  674. .user-item {
  675. min-width: 220rpx;
  676. flex-shrink: 0;
  677. border-radius: 16rpx 16rpx 16rpx 16rpx;
  678. border: 2rpx solid #ececec;
  679. box-sizing: border-box;
  680. margin-right: 22rpx;
  681. .icon {
  682. height: 32rpx;
  683. width: 32rpx;
  684. }
  685. }
  686. .tab-bar {
  687. background-color: #fff;
  688. border-bottom: 2rpx solid #ececec;
  689. font-weight: 400;
  690. font-size: 32rpx;
  691. color: #757575;
  692. &-item {
  693. padding: 32rpx 40rpx;
  694. }
  695. }
  696. .active {
  697. font-weight: 600;
  698. font-size: 32rpx;
  699. color: #222222;
  700. position: relative;
  701. &::after {
  702. position: absolute;
  703. bottom: 0;
  704. left: 50%;
  705. transform: translateX(-50%);
  706. content: '';
  707. width: 70rpx;
  708. height: 6rpx;
  709. background: #222222;
  710. border-radius: 3rpx 3rpx 3rpx 3rpx;
  711. }
  712. }
  713. .video-list {
  714. flex-wrap: wrap;
  715. margin-right: -18rpx;
  716. margin-bottom: 155rpx;
  717. }
  718. .video-item {
  719. width: 342rpx;
  720. margin-right: 18rpx;
  721. margin-bottom: 18rpx;
  722. background: #f5f7fa;
  723. overflow: hidden;
  724. position: relative;
  725. &-img {
  726. width: 100%;
  727. height: 280rpx;
  728. border-radius: 16rpx 16rpx 0rpx 0rpx;
  729. }
  730. }
  731. }
  732. .item_btn {
  733. flex: 1;
  734. height: 70rpx;
  735. background: #ff5c03;
  736. border-radius: 16rpx;
  737. font-family: PingFang SC, PingFang SC;
  738. font-weight: 500;
  739. font-size: 30rpx;
  740. color: #ffffff;
  741. }
  742. .footer {
  743. position: fixed;
  744. bottom: 0;
  745. left: 0;
  746. z-index: 999;
  747. width: 100%;
  748. background-color: #fff;
  749. padding: 20rpx 24rpx;
  750. padding-bottom: calc(var(--window-bottom) + 20rpx);
  751. font-family: PingFang SC, PingFang SC;
  752. font-weight: 600;
  753. font-size: 34rpx;
  754. color: #ffffff;
  755. &-fb {
  756. flex: 1;
  757. height: 112rpx;
  758. background: linear-gradient(90deg, #ff5c03 0%, #f0964c 100%);
  759. border-radius: 16rpx 16rpx 16rpx 16rpx;
  760. }
  761. &-zb {
  762. flex: 1;
  763. margin-left: 18rpx;
  764. height: 112rpx;
  765. background: linear-gradient(90deg, #4dc68d 0%, #7cd8a8 100%);
  766. border-radius: 16rpx 16rpx 16rpx 16rpx;
  767. }
  768. image {
  769. height: 48rpx;
  770. width: 48rpx;
  771. margin-right: 16rpx;
  772. }
  773. }
  774. </style>