index.vue 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462
  1. <template>
  2. <view :style="colorStyle">
  3. <view class='my-account'>
  4. <view class='wrapper'>
  5. <view class='header'>
  6. <view class='headerCon'>
  7. <view class='account acea-row row-top row-between'>
  8. <view class='assets'>
  9. <view>{{$t(`总资产(元)`)}}</view>
  10. <view class='money'>{{userInfo.now_money || 0}}</view>
  11. </view>
  12. <!-- #ifdef APP-PLUS || H5 -->
  13. <navigator url="/pages/users/user_payment/index" hover-class="none" class='recharge'>
  14. {{$t(`充值`)}}
  15. </navigator>
  16. <!-- #endif -->
  17. <!-- #ifdef MP -->
  18. <view v-if="recharge_switch" @click="openSubscribe('/pages/users/user_payment/index')"
  19. class='recharge'>{{$t(`充值`)}}</view>
  20. <!-- #endif -->
  21. </view>
  22. <view class='cumulative acea-row row-top'>
  23. <!-- #ifdef APP-PLUS || H5 -->
  24. <view class='item'>
  25. <view>{{$t(`累计充值(元)`)}}</view>
  26. <view class='money'>{{userInfo.recharge || 0}}</view>
  27. </view>
  28. <!-- #endif -->
  29. <!-- #ifdef MP -->
  30. <view class='item' v-if="recharge_switch">
  31. <view>{{$t(`累计充值(元)`)}}</view>
  32. <view class='money'>{{userInfo.recharge || 0}}</view>
  33. </view>
  34. <!-- #endif -->
  35. <view class='item'>
  36. <view>{{$t(`累计消费(元)`)}}</view>
  37. <view class='money'>{{userInfo.orderStatusSum || 0}}</view>
  38. </view>
  39. </view>
  40. </view>
  41. </view>
  42. <view class='nav acea-row row-middle'>
  43. <navigator class='item' hover-class='none' url='/pages/users/user_bill/index'>
  44. <view class='iconfont icon-s-zhangdanjilu'></view>
  45. <view>{{$t(`账单记录`)}}</view>
  46. </navigator>
  47. <navigator class='item' hover-class='none' url='/pages/users/user_bill/index?type=1'>
  48. <view class='iconfont icon-s-xiaofeijilu'></view>
  49. <view>{{$t(`消费记录`)}}</view>
  50. </navigator>
  51. <navigator class='item' hover-class='none' url='/pages/users/user_bill/index?type=2'
  52. v-if="recharge_switch">
  53. <view class='iconfont icon-s-chongzhijilu'></view>
  54. <view>{{$t(`充值记录`)}}</view>
  55. </navigator>
  56. <navigator class='item' hover-class='none' url='/pages/users/user_integral/index'>
  57. <view class='iconfont icon-jifenzhongxin'></view>
  58. <view>{{$t(`积分中心`)}}</view>
  59. </navigator>
  60. </view>
  61. <view class='advert acea-row row-between-wrapper'>
  62. <navigator class='item acea-row row-between-wrapper' hover-class='none'
  63. url='/pages/users/user_sgin/index'>
  64. <view class='text'>
  65. <view class='name'>{{$t(`签到领积分`)}}</view>
  66. <view>{{$t(`赚积分抵现金`)}}</view>
  67. </view>
  68. <view class='pictrue'>
  69. <image src='../static/gift.png'></image>
  70. </view>
  71. </navigator>
  72. <navigator class='item on acea-row row-between-wrapper' hover-class='none'
  73. url='/pages/users/user_get_coupon/index'>
  74. <view class='text'>
  75. <view class='name'>{{$t(`领取优惠券`)}}</view>
  76. <view>{{$t(`满减享优惠`)}}</view>
  77. </view>
  78. <view class='pictrue'>
  79. <image src='../static/money.png'></image>
  80. </view>
  81. </navigator>
  82. </view>
  83. <view class='list'>
  84. <view class='item acea-row row-between-wrapper'>
  85. <view class='picTxt acea-row row-between-wrapper'>
  86. <view class='iconfont icon-hebingxingzhuang'></view>
  87. <view class='text'>
  88. <view class='line1'>{{$t(`最新拼团活动`)}}</view>
  89. <view class='infor line1'>{{$t(`最新的优惠商品上架拼团`)}}</view>
  90. </view>
  91. </view>
  92. <navigator hover-class='none' url='/pages/activity/goods_combination/index' class='bnt'
  93. v-if="activity.is_pink">{{$t(`立即参与`)}}</navigator>
  94. <view class='bnt end' v-else>{{$t(`已结束`)}}</view>
  95. </view>
  96. <view class='item acea-row row-between-wrapper'>
  97. <view class='picTxt acea-row row-between-wrapper'>
  98. <view class='iconfont icon-miaosha yellow'></view>
  99. <view class='text'>
  100. <view class='line1'>{{$t(`当前限时秒杀`)}}</view>
  101. <view class='infor line1'>{{$t(`最新商品秒杀进行中`)}}</view>
  102. </view>
  103. </view>
  104. <navigator hover-class='none' url='/pages/activity/goods_seckill/index' class='bnt'
  105. v-if="activity.is_seckill">{{$t(`立即参与`)}}</navigator>
  106. <view class='bnt end' v-else>{{$t(`已结束`)}}</view>
  107. </view>
  108. <view class='item acea-row row-between-wrapper'>
  109. <view class='picTxt acea-row row-between-wrapper'>
  110. <view class='iconfont icon-kanjia1 green'></view>
  111. <view class='text'>
  112. <view class='line1'>{{$t(`砍价活动`)}}</view>
  113. <view class='infor line1'>{{$t(`呼朋唤友来砍价`)}}</view>
  114. </view>
  115. </view>
  116. <navigator hover-class='none' url='/pages/activity/goods_bargain/index' class='bnt'
  117. v-if="activity.is_bargin">{{$t(`立即参与`)}}</navigator>
  118. <view class='bnt end' v-else>{{$t(`已结束`)}}</view>
  119. </view>
  120. </view>
  121. </view>
  122. <recommend :hostProduct="hostProduct"></recommend>
  123. </view>
  124. <!-- #ifdef MP -->
  125. <!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize> -->
  126. <!-- #endif -->
  127. <!-- #ifndef MP -->
  128. <home></home>
  129. <!-- #endif -->
  130. </view>
  131. </template>
  132. <script>
  133. import {
  134. getProductHot
  135. } from '@/api/store.js';
  136. import {
  137. openRechargeSubscribe
  138. } from '@/utils/SubscribeMessage.js';
  139. import {
  140. getUserInfo,
  141. userActivity
  142. } from '@/api/user.js';
  143. import {
  144. toLogin
  145. } from '@/libs/login.js';
  146. import {
  147. mapGetters
  148. } from "vuex";
  149. import recommend from '@/components/recommend/index';
  150. // #ifdef MP
  151. import authorize from '@/components/Authorize';
  152. // #endif
  153. import home from '@/components/home';
  154. import colors from "@/mixins/color";
  155. export default {
  156. components: {
  157. recommend,
  158. // #ifdef MP
  159. authorize,
  160. // #endif
  161. home
  162. },
  163. mixins: [colors],
  164. data() {
  165. return {
  166. userInfo: {},
  167. hostProduct: [],
  168. isClose: false,
  169. recharge_switch: 0,
  170. activity: {},
  171. isAuto: false, //没有授权的不会自动授权
  172. isShowAuth: false, //是否隐藏授权
  173. hotScroll: false,
  174. hotPage: 1,
  175. hotLimit: 10
  176. };
  177. },
  178. computed: mapGetters(['isLogin']),
  179. watch: {
  180. isLogin: {
  181. handler: function(newV, oldV) {
  182. if (newV) {
  183. this.getUserInfo();
  184. this.get_host_product();
  185. this.get_activity();
  186. }
  187. },
  188. deep: true
  189. }
  190. },
  191. onLoad() {
  192. if (this.isLogin) {
  193. this.getUserInfo();
  194. this.get_host_product();
  195. this.get_activity();
  196. } else {
  197. toLogin();
  198. }
  199. },
  200. methods: {
  201. onLoadFun: function() {
  202. this.getUserInfo();
  203. this.get_host_product();
  204. this.get_activity();
  205. },
  206. // 授权关闭
  207. authColse: function(e) {
  208. this.isShowAuth = e
  209. },
  210. // #ifdef MP
  211. openSubscribe: function(page) {
  212. uni.showLoading({
  213. title: this.$t(`正在加载`),
  214. })
  215. openRechargeSubscribe().then(res => {
  216. uni.hideLoading();
  217. uni.navigateTo({
  218. url: page,
  219. });
  220. }).catch(() => {
  221. uni.hideLoading();
  222. });
  223. },
  224. // #endif
  225. /**
  226. * 获取用户详情
  227. */
  228. getUserInfo: function() {
  229. let that = this;
  230. getUserInfo().then(res => {
  231. that.$set(that, 'userInfo', res.data);
  232. that.recharge_switch = res.data.recharge_switch;
  233. });
  234. },
  235. /**
  236. * 获取活动可参与否
  237. */
  238. get_activity: function() {
  239. let that = this;
  240. userActivity().then(res => {
  241. that.$set(that, "activity", res.data);
  242. })
  243. },
  244. /**
  245. * 获取我的推荐
  246. */
  247. get_host_product: function() {
  248. let that = this;
  249. if (that.hotScroll) return
  250. getProductHot(
  251. that.hotPage,
  252. that.hotLimit,
  253. ).then(res => {
  254. that.hotPage++
  255. that.hotScroll = res.data.length < that.hotLimit
  256. that.hostProduct = that.hostProduct.concat(res.data)
  257. });
  258. }
  259. },
  260. onReachBottom() {
  261. this.get_host_product();
  262. },
  263. // 滚动监听
  264. onPageScroll(e) {
  265. // 传入scrollTop值并触发所有easy-loadimage组件下的滚动监听事件
  266. uni.$emit('scroll');
  267. },
  268. }
  269. </script>
  270. <style scoped lang="scss">
  271. .my-account .wrapper {
  272. background-color: #fff;
  273. padding: 32rpx 0 34rpx 0;
  274. margin-bottom: 14rpx;
  275. }
  276. .my-account .wrapper .header {
  277. width: 690rpx;
  278. height: 330rpx;
  279. // background-image: linear-gradient(to right, #f33b2b 0%, #f36053 100%);
  280. // background-image: var(--view-theme);
  281. background: var(--view-theme);
  282. border-radius: 16rpx;
  283. margin: 0 auto;
  284. box-sizing: border-box;
  285. color: rgba(255, 255, 255, 0.6);
  286. font-size: 24rpx;
  287. }
  288. .my-account .wrapper .header .headerCon {
  289. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArIAAAFKCAYAAADhULxpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhN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yAIAcXzchZAFAOKMzcddCFkAIPD57vpZhCwAEMXHXQhZACBSzcUOjgEhCwAkOa8/ELIAQNQz3aUHCFkAII65WIQsABCnNhSYi0XIAgBRal+suViELAAQ9xy3LxYhCwDEqYg1F4uQBQCi1PWzJ8eAkAUAktSHXVZtIWQdAQDEMRcLQhYA4riCFoQsAMSpmdjJMYCQBYAktZ3ASAEIWQCIM3tug5AFgDQ1UuD2LhCyABDFSAEIWQCINHleg5AFgDRDs6UAhCwABFocAQhZAEhjpACELABEPp9nxwBCFgDS2FIAQhYA4oztbW8sIGQBIIadsSBkASDSvMYsIGQBIEbtjHUNLQhZAIhjpACELADEqTexg2MAIQsASWom1s5YELIAEGdqPvACIQsAgc/hyTGAkAWAND7wAiELAHFOzQ1eIGQBIJAPvEDIAkAc67ZAyAJAHOu2QMgCQCTrtkDIAkCcCtizYwAhCwBp5uZtLAhZAAh85nobC0IWAOL4wAuELADEqVVbo2MAIQsAaSZHAEIWANJ4GwtCFgAimY2FnfwSYABJ5w5fwq1SbwAAAABJRU5ErkJggg==');
  290. background-repeat: no-repeat;
  291. background-size: 100%;
  292. height: 100%;
  293. width: 100%;
  294. padding: 36rpx 0 29rpx 0;
  295. box-sizing: border-box;
  296. }
  297. .my-account .wrapper .header .headerCon .account {
  298. padding: 0 35rpx;
  299. }
  300. .my-account .wrapper .header .headerCon .account .assets .money {
  301. font-size: 72rpx;
  302. color: #fff;
  303. margin-top: 6rpx;
  304. font-family: 'Guildford Pro';
  305. }
  306. .my-account .wrapper .header .headerCon .account .recharge {
  307. font-size: 28rpx;
  308. width: 150rpx;
  309. height: 54rpx;
  310. border-radius: 27rpx;
  311. background-color: #fff9f8;
  312. text-align: center;
  313. line-height: 54rpx;
  314. color: var(--view-theme);
  315. }
  316. .my-account .wrapper .header .headerCon .cumulative {
  317. margin-top: 46rpx;
  318. }
  319. .my-account .wrapper .header .headerCon .cumulative .item {
  320. flex: 1;
  321. padding-left: 35rpx;
  322. }
  323. .my-account .wrapper .header .headerCon .cumulative .item .money {
  324. font-size: 48rpx;
  325. font-family: 'Guildford Pro';
  326. color: #fff;
  327. margin-top: 6rpx;
  328. }
  329. .my-account .wrapper .nav {
  330. height: 155rpx;
  331. border-bottom: 1rpx solid #f5f5f5;
  332. }
  333. .my-account .wrapper .nav .item {
  334. flex: 1;
  335. text-align: center;
  336. font-size: 26rpx;
  337. color: #999;
  338. }
  339. .my-account .wrapper .nav .item .iconfont {
  340. font-size: 44rpx;
  341. margin: 0 auto;
  342. margin-bottom: 14rpx;
  343. color: var(--view-theme);
  344. }
  345. .my-account .wrapper .advert {
  346. padding: 0 30rpx;
  347. margin-top: 30rpx;
  348. }
  349. .my-account .wrapper .advert .item {
  350. background-color: #fff6d1;
  351. width: 332rpx;
  352. height: 118rpx;
  353. border-radius: 10rpx;
  354. padding: 0 27rpx 0 25rpx;
  355. box-sizing: border-box;
  356. font-size: 24rpx;
  357. color: #e44609;
  358. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1),
  359. }
  360. .my-account .wrapper .advert .item.on {
  361. background-color: #fff3f3;
  362. color: #e96868;
  363. }
  364. .my-account .wrapper .advert .item .pictrue {
  365. width: 78rpx;
  366. height: 78rpx;
  367. }
  368. .my-account .wrapper .advert .item .pictrue image {
  369. width: 100%;
  370. height: 100%;
  371. }
  372. .my-account .wrapper .advert .item .text .name {
  373. font-size: 30rpx;
  374. font-weight: bold;
  375. color: #f33c2b;
  376. margin-bottom: 7rpx;
  377. }
  378. .my-account .wrapper .advert .item.on .text .name {
  379. color: #f64051;
  380. }
  381. .my-account .wrapper .list {
  382. padding: 0 30rpx;
  383. }
  384. .my-account .wrapper .list .item {
  385. margin-top: 44rpx;
  386. }
  387. .my-account .wrapper .list .item .picTxt .iconfont {
  388. width: 82rpx;
  389. height: 82rpx;
  390. border-radius: 50%;
  391. background-image: linear-gradient(to right, #ff9389 0%, #f9776b 100%);
  392. text-align: center;
  393. line-height: 82rpx;
  394. color: #fff;
  395. font-size: 40rpx;
  396. }
  397. .my-account .wrapper .list .item .picTxt .iconfont.yellow {
  398. background-image: linear-gradient(to right, #ffccaa 0%, #fea060 100%);
  399. }
  400. .my-account .wrapper .list .item .picTxt .iconfont.green {
  401. background-image: linear-gradient(to right, #a1d67c 0%, #9dd074 100%);
  402. }
  403. .my-account .wrapper .list .item .picTxt {
  404. width: 428rpx;
  405. font-size: 30rpx;
  406. color: #282828;
  407. }
  408. .my-account .wrapper .list .item .picTxt .text {
  409. width: 317rpx;
  410. }
  411. .my-account .wrapper .list .item .picTxt .text .infor {
  412. font-size: 24rpx;
  413. color: #999;
  414. margin-top: 5rpx;
  415. }
  416. .my-account .wrapper .list .item .bnt {
  417. font-size: 26rpx;
  418. color: #282828;
  419. width: 156rpx;
  420. height: 52rpx;
  421. border: 1rpx solid #ddd;
  422. border-radius: 26rpx;
  423. text-align: center;
  424. line-height: 52rpx;
  425. }
  426. .my-account .wrapper .list .item .bnt.end {
  427. font-size: 26rpx;
  428. color: #aaa;
  429. background-color: #f2f2f2;
  430. border-color: #f2f2f2;
  431. }
  432. </style>