my.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650
  1. <template>
  2. <view class="page">
  3. <view class="topBody">
  4. <!-- <view class="header" :class="{ 'header-isvip': !isRecharge }"> -->
  5. <view class="header">
  6. <view class="reserveASeat"></view>
  7. <view class="card-box">
  8. <view class="card-top">
  9. <view class="top-box">
  10. <view class="hello-box"> Hello! </view>
  11. <view class="settingBtn-box">
  12. <image @click="clickShare()" src="@/static/me/wd_icon_fenxian.png" mode=""></image>
  13. <image src="@/static/me/wd_icon_shezhi.png" mode="" @click="navigateToSettings"></image>
  14. </view>
  15. </view>
  16. <view class="userinfo-box" @click="goPage('/pages/my/editInfo')">
  17. <view class="userinfo-left">
  18. <CircleAvatar class="avator" :src="myinfo.avator"></CircleAvatar>
  19. </view>
  20. <view class="userinfo-right">
  21. <view class="nickname">
  22. <text class="one-omit">{{ myinfo.nickname }}</text>
  23. <image src="../../static/icon/wd_icon_nan.png" mode="widthFix"
  24. v-if="myinfo.sex_id == 1"></image>
  25. <image src="../../static/icon/wd_icon_nv.png" mode="widthFix"
  26. v-else-if="myinfo.sex_id == 2"></image>
  27. <view class="level">Lv{{ myinfo.my_level }}</view>
  28. </view>
  29. <view class="label">
  30. <view v-for="(item, index) in aihao_tags" :key="index + item">
  31. {{ item }}
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. <view class="intro_row">
  37. <block v-if="myinfo.content == ''">
  38. <text class="intro_text two-omit">添加简介</text>
  39. <image src="@/static/icon/wd_icon_edit.png" mode="widthFix" class="add_icon"></image>
  40. </block>
  41. <uv-text v-else :text="myinfo.content" class="intro_text two-omit">
  42. </uv-text>
  43. </view>
  44. <view class="bom">
  45. <view class="follow_info" @click="navigateToFollow">
  46. <view class="follow-box">
  47. <view class="num">{{ myinfo.num_attention }}</view>
  48. <view class="label">关注</view>
  49. </view>
  50. <view class="separator"></view>
  51. <view class="follow-box">
  52. <view class="num">{{ myinfo.num_fans }}</view>
  53. <view class="label">粉丝</view>
  54. </view>
  55. <view class="separator"></view>
  56. <view class="follow-box">
  57. <view class="num">{{ myinfo.num_like }}</view>
  58. <view class="label">获赞</view>
  59. </view>
  60. </view>
  61. <view class="points-box">
  62. <view class="points" @click="isRecharge ? goPage('/pages/vip/M_purchase') : ''">
  63. <image src="@/static/icon/wd_icon_coin.png" mode=""></image>
  64. {{ myinfo.num_gmm | formatNumberToK }}
  65. <view class="money-add" v-if="isRecharge">+</view>
  66. </view>
  67. <view class="points" @click="isRecharge ? goPage('/pages/my/job?type=recharge') : ''">
  68. <image src="@/static/icon/coin_cd.png" mode=""></image>
  69. {{ myinfo.num_gmd | formatNumberToK }}
  70. <view class="money-add" v-if="isRecharge">+</view>
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. <!-- <view class="card-bom" v-if="isRecharge" @click="goPage('/pages/vip/index')"> -->
  76. <view class="card-bom" @click="isRecharge ? goPage('/pages/vip/index') : ''">
  77. <view class="content-box">
  78. <image v-if="false" src="@/static/me/icon-vip2.png" mode=""></image>
  79. <image v-else-if="0" src="@/static/me/icon-vip1.png" mode=""></image>
  80. <image v-else src="@/static/me/icon-vip0.png" mode=""></image>
  81. <text v-if="true">开启专属会员权益</text>
  82. <text v-else>会员权益生效中</text>
  83. </view>
  84. <image v-if="isRecharge" src="@/static/me/wd_icon_jiantou.png" mode=""></image>
  85. </view>
  86. </view>
  87. </view>
  88. <view class="myinfo">
  89. <!-- <view class="line"></view> -->
  90. <view class="tablist">
  91. <view class="item" :class="{ active: firstLevelNavActive === 0 }"
  92. @click="firstLevelNavActiveSwitch(0)">我的作品
  93. <view class="indicator-triangle"> </view>
  94. </view>
  95. <view class="item" :class="{ active: firstLevelNavActive === 1 }"
  96. @click="firstLevelNavActiveSwitch(1)">我的帖子
  97. <view class="indicator-triangle"> </view>
  98. </view>
  99. </view>
  100. <!-- 作品列表 -->
  101. <template v-if="firstLevelNavActive == 0">
  102. <view class="line"></view>
  103. <view class="subtitle">
  104. <view class="item" :class="{ active: activeTab === 0 }" @click="switchTab(0)">
  105. 作品
  106. </view>
  107. <view class="item" :class="{ active: activeTab === 1 }" @click="switchTab(1)">
  108. 生成中
  109. </view>
  110. </view>
  111. <view class="numlist1" v-if="activeTab === 0" style="margin-top: 30rpx">
  112. <WorkItem v-for="(item, index) in worksList" :secrecy="true" :subtitle="true" :key="index"
  113. :item="item" @click="goWork(item)" />
  114. <!-- 暂无内容提示 -->
  115. <view v-if="worksList.length === 0" class="empty-state">
  116. <image src="@/static/icon/xx_img_zanwuxiaoxi.png" mode="aspectFit" class="empty-image">
  117. </image>
  118. <text class="empty-text">暂无作品</text>
  119. <text class="empty-subtext">快来创作你的第一个作品吧~</text>
  120. </view>
  121. </view>
  122. <view class="numlist2" v-if="activeTab === 1" style="margin-top: 30rpx">
  123. <view class="item" v-for="(item, index) in worksList" :key="index" style="margin-bottom: 28rpx;">
  124. <view class="num" @click="goWork(item)" :class="{'clickable': item.status !== 3 && item.status !== 4}">
  125. <WorkItem :item="item" style="margin-bottom: 12rpx" />
  126. <image class="incomplete-bg" v-if="item.status != 9"
  127. src="@/static/me/wd_bg_zhizuozhong.png"></image>
  128. <view class="maskLayer"></view>
  129. <!-- 当activeTab为1时显示队列状态 -->
  130. <view class="queue-status">
  131. <!-- 排队中 -->
  132. <view v-if="item.status === 1" class="status-text">
  133. <image class="state-img" src="@/static/me/wd_icon_paiduizhong.png"></image>
  134. </view>
  135. <!-- 生成失败 -->
  136. <view v-if="item.status === 3 || item.status === 4" class="status-text">
  137. <image class="state-img" src="@/static/me/wd_icon_zhizuoshibai.png"></image>
  138. </view>
  139. <!-- 制作中 -->
  140. <view v-else-if="item.status < 9" class="status-text">
  141. <image class="state-img" src="@/static/me/wd_icon_zhizuozhong.png"></image>
  142. </view>
  143. <!-- 创作完成 -->
  144. <view v-else-if="item.status === 9" class="status-text">
  145. <image class="state-img" src="@/static/me/wd_icon_chuangzuowancheng.png">
  146. </image>
  147. </view>
  148. </view>
  149. <view class="name" style="
  150. font-family: 'PingFang SC-Medium';
  151. font-weight: 500;
  152. font-size: 28rpx;
  153. color: #1a4d2e;
  154. ">
  155. {{ item.title || item.description || "作品" + index }}
  156. </view>
  157. <!-- 显示任务类型标签 -->
  158. <view class="task-type-tag">
  159. <image style="width: 120rpx; height: 36rpx" v-if="item.task_type === 1"
  160. src="@/static/me/wd_icon_lingganchuangzuo.png"></image>
  161. <image style="width: 82rpx; height: 36rpx" v-else-if="item.task_type === 2"
  162. src="@/static/me/wd_icon_yinyue.png"></image>
  163. <!-- <text v-if="item.task_type === 1">灵感创作</text>
  164. <text v-else-if="item.task_type === 2">音乐</text> -->
  165. </view>
  166. </view>
  167. </view>
  168. <!-- 暂无内容提示 -->
  169. <view v-if="worksList.length === 0" class="empty-state">
  170. <image src="@/static/icon/xx_img_zanwuxiaoxi.png" mode="aspectFit" class="empty-image">
  171. </image>
  172. <text class="empty-text">暂无生成中的作品</text>
  173. <text class="empty-subtext">快去创作新作品吧~</text>
  174. </view>
  175. </view>
  176. </template>
  177. <template v-else>
  178. <view class="numlist2" style="margin-top: 30rpx">
  179. <view class="item" v-for="(item, index) in worksList" :key="index" style="margin-bottom: 15rpx">
  180. <view class="num" @click="goWork2(item)" :class="{'clickable': item.status !== 3 && item.status !== 4}">
  181. <WorkItem :item="item" style="margin-bottom: 20rpx" />
  182. <view class="incomplete-bg" style="background: #f8f9fa"></view>
  183. <image class="incomplete-bg" v-if="item.status != 1"
  184. src="@/static/me/wd_bg_zhizuozhong.png"></image>
  185. <image class="incomplete-bg2" v-else-if="item.status == 1" :src="item.image"
  186. mode="aspectFill" style="max-height: 520rpx;"></image>
  187. <view class="maskLayer" v-if="item.status != 1"></view>
  188. <!-- 当activeTab为1时显示队列状态 -->
  189. <view class="queue-status">
  190. <!-- 已发布 -->
  191. <view v-if="item.status == 1" class="status-text">
  192. </view>
  193. <!-- 待审核 -->
  194. <view v-if="item.status == 2 || item.status === 4" class="status-text">
  195. <image class="state-img" src="@/static/me/wd_icon_shenhezhong.png"></image>
  196. </view>
  197. <!-- 审核失败 -->
  198. <view v-else-if="item.status == 3" class="status-text">
  199. <image class="state-img" src="@/static/me/wd_icon_fabushibai.png"></image>
  200. </view>
  201. </view>
  202. <view class="name" style="
  203. font-family: 'PingFang SC-Medium';
  204. font-weight: 500;
  205. font-size: 28rpx;
  206. color: #1a4d2e;
  207. ">
  208. {{ item.title || item.description || "作品" + index }}
  209. </view>
  210. </view>
  211. </view>
  212. <!-- 暂无内容提示 -->
  213. <view v-if="worksList.length === 0" class="empty-state">
  214. <image src="@/static/icon/xx_img_zanwuxiaoxi.png" mode="aspectFit" class="empty-image">
  215. </image>
  216. <text class="empty-text">暂无帖子</text>
  217. <text class="empty-subtext">快来发布你的第一个帖子吧~</text>
  218. </view>
  219. </view>
  220. </template>
  221. <!-- 加载更多提示 -->
  222. <!-- <view class="loading-more" v-if="isLoading">加载中...</view>
  223. <view class="no-more" v-if="!hasMore && worksList.length > 0">没有更多作品了</view>
  224. <view class="no-more" v-if="!hasMore && worksList.length === 0">暂无作品</view> -->
  225. </view>
  226. <view class="blankHeight"></view>
  227. </view>
  228. <view class="reserveASeatBom"></view>
  229. <!-- 确认框 -->
  230. <CustomConfirm ref="customConfirm"></CustomConfirm>
  231. <!-- 提示框 -->
  232. <DialogBox ref="DialogBox"></DialogBox>
  233. <tabbar-view :tabbars="tabbars" :currentIndex="4" ref="tabbar"></tabbar-view>
  234. <!-- SharePopup组件 -->
  235. <SharePopup :visible="showShare" :userId="userId" :share-title="shareTitle" :share-desc="shareDesc"
  236. :share-img="shareImg" view="makeDetail" @close="showShare = false" />
  237. </view>
  238. </template>
  239. <script>
  240. import tabbarView from "@/components/tabbar/tabbar.vue";
  241. import tabbar from "@/mixins/tabbar";
  242. import CustomConfirm from "@/components/custome-confirm/customeConfirm.vue";
  243. import CircleAvatar from "@/components/CircleAvatar/CircleAvatar.vue";
  244. import meCard from "@/components/meCard/meCard.vue";
  245. import WorkItem from "@/components/WorkItem/WorkItem.vue";
  246. import { mapState } from 'vuex'
  247. export default {
  248. components: {
  249. tabbarView,
  250. CustomConfirm,
  251. CircleAvatar,
  252. meCard,
  253. WorkItem,
  254. },
  255. mixins: [tabbar],
  256. data() {
  257. return {
  258. title: "",
  259. sel: 1,
  260. firstLevelNavActive: 0,
  261. myinfo: {
  262. avator: "../../static/logo.png",
  263. nickname: "",
  264. join_name: "",
  265. num_1: 0,
  266. num_2: 0,
  267. num_3: 0,
  268. num_4: 0,
  269. is_login: "no",
  270. num_history: 0,
  271. num_collection: 0,
  272. },
  273. aihao_tags: [],
  274. menu_list: [],
  275. data_list: [],
  276. activeTab: 0,
  277. offset: 0,
  278. hasMore: true,
  279. isLoading: false,
  280. worksList: [],
  281. showShare: false,
  282. shareTitle: "",
  283. shareDesc: "",
  284. shareImg: "",
  285. userId: 0,
  286. };
  287. },
  288. onLoad(e) {
  289. // setTimeout(function() {
  290. // uni.setNavigationBarColor({
  291. // frontColor: '#ffffff',
  292. // backgroundColor: '#00000000',
  293. // animation: {
  294. // duration: 400,
  295. // timingFunc: 'easeIn'
  296. // }
  297. // })
  298. // }, 200);
  299. uni.$on('switchToMyPage', (data) => {
  300. if (data.type === 'article') {
  301. this.firstLevelNavActiveSwitch(1);
  302. } else if (data.type === 'generatingInProgress') {
  303. this.firstLevelNavActiveSwitch(0)
  304. this.switchTab(1);
  305. } else {
  306. this.firstLevelNavActiveSwitch(0)
  307. this.switchTab(0);
  308. }
  309. });
  310. },
  311. onUnload() {
  312. // 移除事件监听
  313. uni.$off('switchToMyPage');
  314. },
  315. computed: {
  316. ...mapState('switchingModule', ['isRecharge'])
  317. },
  318. onShow() {
  319. uni.$emit("check_login", () => { });
  320. // this.loadData();
  321. this.offset = 0;
  322. this.hasMore = true;
  323. this.worksList = [];
  324. this.loadInfo();
  325. // 检查全局变量,如果需要切换到生成中标签
  326. if (getApp().globalData.needSwitchToGenerating) {
  327. setTimeout(() => {
  328. this.switchTab(1);
  329. // 重置全局变量
  330. getApp().globalData.needSwitchToGenerating = false;
  331. }, 300);
  332. } else {
  333. this.loadWorksList();
  334. }
  335. },
  336. onReachBottom() {
  337. if (this.hasMore && !this.isLoading) {
  338. this.loadMoreWorks();
  339. }
  340. },
  341. methods: {
  342. clickShare(item) {
  343. this.showShare = true;
  344. },
  345. async showConfirm() {
  346. let that = this;
  347. this.$refs["customConfirm"]
  348. .confirm({
  349. title: "确认解绑",
  350. content: "解绑微信账号后将无法继续使用它登录该App账号?",
  351. DialogType: "inquiry",
  352. btn1: "再考虑一下",
  353. btn2: "确认解绑",
  354. animation: 0,
  355. })
  356. .then((res) => { });
  357. },
  358. onBack() { },
  359. chkSel() {
  360. if (this.sel == 1) {
  361. this.sel = 0;
  362. } else {
  363. this.sel = 1;
  364. }
  365. },
  366. goPage(page) {
  367. uni.navigateTo({
  368. url: page,
  369. });
  370. },
  371. loadInfo() {
  372. console.log({
  373. uuid: getApp().globalData.uuid,
  374. skey: getApp().globalData.skey,
  375. });
  376. uni.request({
  377. url: this.$apiHost + "/User/getinfo",
  378. data: {
  379. uuid: getApp().globalData.uuid,
  380. skey: getApp().globalData.skey,
  381. },
  382. header: {
  383. "content-type": "application/json",
  384. sign: getApp().globalData.headerSign,
  385. },
  386. success: (res) => {
  387. console.log("----:", JSON.parse(JSON.stringify(res.data)));
  388. if (res.data) {
  389. this.shareTitle = res.data.nickname
  390. this.shareDesc = res.data.content
  391. this.shareImg = res.data.avator
  392. this.userId = res.data.user_id
  393. }
  394. if (res.data.need_login == "yes") {
  395. // getApp().globalData.skey = "";
  396. // getApp().globalData.uuid = "";
  397. uni.removeStorageSync("wapptoken");
  398. uni.redirectTo({
  399. url: "/pages/login/login",
  400. });
  401. return;
  402. }
  403. if (res.data.aihao) {
  404. this.aihao_tags = res.data.aihao.split(",");
  405. }
  406. this.myinfo = res.data;
  407. },
  408. complete: (com) => {
  409. // uni.hideLoading();
  410. },
  411. fail: (e) => {
  412. console.log("----e:", e);
  413. },
  414. });
  415. },
  416. onLogout() {
  417. let that = this;
  418. this.$refs["DialogBox"]
  419. .confirm({
  420. title: "提示",
  421. content: "确定退出吗?",
  422. DialogType: "inquiry",
  423. btn1: "取消",
  424. btn2: "退出",
  425. animation: 0,
  426. })
  427. .then((res) => {
  428. uni.request({
  429. url: that.$apiHost + "/My/logout",
  430. data: {
  431. uuid: getApp().globalData.uuid,
  432. skey: getApp().globalData.skey,
  433. },
  434. header: {
  435. "content-type": "application/json",
  436. sign: getApp().globalData.headerSign,
  437. },
  438. success: (res) => {
  439. console.log("----:", res.data);
  440. // getApp().globalData.skey = "";
  441. // getApp().globalData.uuid = "";
  442. uni.removeStorageSync("wapptoken");
  443. uni.redirectTo({
  444. url: "/pages/login/login",
  445. });
  446. },
  447. complete: (com) => {
  448. // uni.hideLoading();
  449. },
  450. fail: (e) => {
  451. console.log("----e:", e);
  452. },
  453. });
  454. });
  455. },
  456. switchTab(index) {
  457. this.activeTab = index;
  458. this.offset = 0;
  459. this.hasMore = true;
  460. this.worksList = [];
  461. this.loadWorksList();
  462. },
  463. loadWorksList() {
  464. if (this.isLoading) return;
  465. this.isLoading = true;
  466. // 根据activeTab选择不同的API
  467. let apiUrl = "";
  468. if (this.firstLevelNavActive == 0) {
  469. if (this.activeTab === 0) {
  470. apiUrl = "/Work/getlist";
  471. } else {
  472. apiUrl = "/WorkAI/getMyQueueList";
  473. }
  474. } else if (this.firstLevelNavActive == 1) {
  475. apiUrl = "/Article/getlist";
  476. }
  477. uni.request({
  478. url: this.$apiHost + apiUrl,
  479. data: {
  480. uuid: getApp().globalData.uuid,
  481. skey: getApp().globalData.skey,
  482. type: "my", // 固定为my,表示获取自己的作品
  483. offset: this.offset,
  484. status: this.activeTab === 0 ? 1 : undefined, // 只有我的作品需要status参数
  485. },
  486. header: {
  487. "content-type": "application/json",
  488. sign: getApp().globalData.headerSign,
  489. },
  490. success: (res) => {
  491. console.log("列表数据:", JSON.parse(JSON.stringify(res.data)));
  492. if (res.data.success == "yes" && res.data.list) {
  493. if (res.data.list.length > 0) {
  494. this.worksList = [...this.worksList, ...res.data.list];
  495. this.offset += res.data.list.length;
  496. }
  497. if (res.data.list.length < 20) {
  498. this.hasMore = false;
  499. }
  500. } else {
  501. this.hasMore = false;
  502. }
  503. // 只有在"我的作品"标签下才更新data_list
  504. if (this.activeTab === 0) {
  505. this.updateDataList();
  506. }
  507. console.log("作品列表数据:", this.worksList);
  508. },
  509. complete: () => {
  510. this.isLoading = false;
  511. },
  512. fail: (e) => {
  513. console.log("请求列表失败:", e);
  514. this.isLoading = false;
  515. },
  516. });
  517. },
  518. firstLevelNavActiveSwitch(n) {
  519. this.firstLevelNavActive = n;
  520. this.offset = 0;
  521. this.hasMore = true;
  522. this.worksList = [];
  523. if (this.firstLevelNavActive == 0) {
  524. this.activeTab = 0;
  525. }
  526. this.loadWorksList();
  527. },
  528. loadMoreWorks() {
  529. if (this.hasMore && !this.isLoading) {
  530. this.loadWorksList();
  531. }
  532. },
  533. updateDataList() {
  534. this.data_list = this.worksList.map((item) => {
  535. return {
  536. url: item.images || item.img_url || item.url || "../../static/logo.png",
  537. title: item.title || item.description || "作品",
  538. id: item.id,
  539. };
  540. });
  541. },
  542. goWork(item) {
  543. uni.$emit("check_login", () => { });
  544. // , //任务状态(1:排队中,3:生成失败,4:生成失败,9:创作完成)
  545. if (this.activeTab == 0) {
  546. uni.navigateTo({
  547. // url: "/pages/index/workDetail?id=" + item.id,
  548. url: "/pages/makedetail/makeDetail?id=" +
  549. item.queue_id +
  550. "&queueId=" +
  551. item.id,
  552. });
  553. } else {
  554. if (item.status >= 9) {
  555. uni.navigateTo({
  556. url: "/pages/makedetail/makeDetail?id=" + item.id,
  557. });
  558. }
  559. if (item.status < 9 && item.status != 3 && item.status != 4) {
  560. // <!-- <text v-if="item.task_type === 1">灵感创作</text>
  561. // <text v-else-if="item.task_type === 2">音乐</text> -->
  562. var url = "";
  563. if (item.task_type === 1) {
  564. url = "/makedetail/makeImgDetail";
  565. }
  566. if (item.task_type === 2) {
  567. url = "/makedetail/makeMusicDetail";
  568. }
  569. if (url) {
  570. uni.navigateTo({
  571. url: "/pages" + url + "?id=" + item.id,
  572. });
  573. }
  574. }
  575. }
  576. },
  577. goWork2(item) {
  578. uni.navigateTo({
  579. // url: "/pages/index/workDetail?id=" + item.id,
  580. url: "/pages/index/articleDetail?id=" + item.id,
  581. });
  582. },
  583. navigateToSettings() {
  584. uni.$emit("check_login", () => {
  585. uni.navigateTo({
  586. url: "/pages/my/setting",
  587. });
  588. });
  589. },
  590. navigateToFollow() {
  591. uni.navigateTo({
  592. url: "/pages/my/follow",
  593. });
  594. },
  595. },
  596. };
  597. </script>
  598. <style scoped lang="scss">
  599. @import "my.scss";
  600. .empty-state {
  601. display: flex;
  602. flex-direction: column;
  603. align-items: center;
  604. justify-content: center;
  605. padding: 60rpx 0;
  606. margin-top: 40rpx;
  607. background: #FFFFFF;
  608. border-radius: 20rpx;
  609. width: 710rpx;
  610. .empty-image {
  611. width: 240rpx;
  612. height: 240rpx;
  613. margin-bottom: 30rpx;
  614. }
  615. .empty-text {
  616. font-size: 32rpx;
  617. color: #333333;
  618. margin-bottom: 16rpx;
  619. font-weight: 500;
  620. }
  621. .empty-subtext {
  622. font-size: 28rpx;
  623. color: #999999;
  624. }
  625. }
  626. </style>