greedTarget.vue 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469
  1. <template>
  2. <!-- 积分详情 -->
  3. <view>
  4. <view class='integral-details' :style="colorStyle">
  5. <view class='header'>
  6. <view class="headerBox">
  7. <view>
  8. <view class='currentScore'>当前绿积分</view>
  9. <view class="scoreNum">{{userInfo.green_integral||0}}</view>
  10. </view>
  11. <!-- <view >
  12. <view class='currentScore'>当前母积分</view>
  13. <view class="scoreNum">{{userInfo.base_integral}}</view>
  14. </view> -->
  15. </view>
  16. <view class='line'></view>
  17. <!-- <view class='nav acea-row'>
  18. <view class='item'>
  19. <view class='num'>{{userInfo.sum_integral}}</view>
  20. <view>累计积分</view>
  21. </view>
  22. <view class='item'>
  23. <view class='num'>{{userInfo.deduction_integral}}</view>
  24. <view>累计消费</view>
  25. </view>
  26. <view class='item'>
  27. <view class='num'>{{userInfo.today_integral}}</view>
  28. <view>今日获得</view>
  29. </view>
  30. </view> -->
  31. <navigator url="./itemuser">
  32. <view class="rightGm">
  33. 购买绿积分
  34. </view>
  35. </navigator>
  36. </view>
  37. <view class='wrapper'>
  38. <view class='nav acea-row'>
  39. <view class='item acea-row row-center-wrapper' style='flex-grow:1' :class='current==index?"on":""'
  40. v-for="(item,index) in navList" :key='index'><text class='iconfont'
  41. :class="item.icon"></text>{{item.name}}</view>
  42. </view>
  43. <view class='list2'>
  44. <view class='borderRadius15'>
  45. <view class='item acea-row row-between-wrapper'>
  46. <view class='item-title'>转账ID</view>
  47. <input class="input" type='number' v-model="changeID" placeholder='请输入转账人ID'
  48. placeholder-class='placeholder' pattern="\d*"></input>
  49. </view>
  50. <view class='item acea-row row-between-wrapper'>
  51. <view class='item-title'>转账绿积分</view>
  52. <input class="input" type='number' v-model="changeMoney" placeholder='请输入转账绿积分个数'
  53. placeholder-class='placeholder' pattern="\d*"></input>
  54. </view>
  55. <!-- <view class='item acea-row row-between-wrapper'>
  56. <view class='item-title'>转账类型</view>
  57. <view class="input">
  58. <label class="radio" @click="checkedType=1">
  59. <radio :checked="checkedType === 1" />
  60. <text>绿积分</text>
  61. </label>
  62. <label class="radio" style="margin-left: 20rpx;" @click="checkedType=2">
  63. <radio :checked="checkedType === 2" />
  64. <text>母积分</text>
  65. </label>
  66. </view>
  67. </view> -->
  68. </view>
  69. <button class='keepBnt bg-color' @click="setGreedIntegralList">立即转账</button>
  70. </view>
  71. </view>
  72. </view>
  73. <home v-if="navigation"></home>
  74. <!-- #ifdef MP -->
  75. <authorize v-if="isShowAuth" @authColse="authColse" @onLoadFun="onLoadFun"></authorize>
  76. <!-- #endif -->
  77. </view>
  78. </template>
  79. <script>
  80. import home from '@/components/home';
  81. import {
  82. getUserInfo,
  83. getGreedIntegralList,
  84. setGreedIntegralList
  85. } from '@/api/user.js';
  86. import dayjs from '@/plugin/dayjs/dayjs.min.js';
  87. import {
  88. toLogin
  89. } from '@/libs/login.js';
  90. import {
  91. mapGetters
  92. } from "vuex";
  93. import emptyPage from '@/components/emptyPage.vue';
  94. import colors from '@/mixins/color'
  95. export default {
  96. components: {
  97. emptyPage,
  98. home
  99. },
  100. filters: {
  101. dateFormat: function(value) {
  102. return dayjs(value * 1000).format('YYYY-MM-DD');
  103. }
  104. },
  105. mixins: [colors],
  106. data() {
  107. return {
  108. navList: [
  109. {
  110. 'name': '绿积分转账',
  111. 'icon': 'icon-tishengfenzhi'
  112. }
  113. ],
  114. current: 0,
  115. userInfo: {},
  116. isShowAuth: false, //是否隐藏授权
  117. changeID: '',
  118. changeMoney: '',
  119. checkedType: 1
  120. };
  121. },
  122. computed: mapGetters(['isLogin']),
  123. watch: {
  124. isLogin: {
  125. handler: function(newV, oldV) {
  126. if (newV) {
  127. // #ifdef H5 || APP-PLUS
  128. this.getUserInfo();
  129. // #endif
  130. }
  131. },
  132. deep: true
  133. }
  134. },
  135. onLoad() {
  136. if (this.isLogin) {
  137. this.getUserInfo();
  138. } else {
  139. // #ifdef H5 || APP-PLUS
  140. toLogin()
  141. // #endif
  142. // #ifdef MP
  143. this.isShowAuth = true;
  144. // #endif
  145. }
  146. },
  147. /**
  148. * 页面上拉触底事件的处理函数
  149. */
  150. methods: {
  151. setGreedIntegralList() {
  152. const that = this;
  153. if (!that.changeID) {
  154. uni.showToast({
  155. title: '请填写转账ID',
  156. icon: "error",
  157. });
  158. return
  159. }
  160. if (!that.changeMoney) {
  161. uni.showToast({
  162. title: '请填写转账积分数',
  163. icon: "error",
  164. });
  165. return
  166. }
  167. if (+that.changeMoney > +this.userInfo.green_integral) {
  168. uni.showToast({
  169. title: '绿积分不足无法转账',
  170. icon: "error",
  171. });
  172. return
  173. }
  174. uni.showLoading({
  175. title: '转账中...',
  176. mask: true
  177. });
  178. uni.showModal({
  179. title: '积分转账',
  180. content: `是否转账给用户ID:${that.changeID}用户${ that.changeMoney }${that.checkedType==1?"绿":"母"}积分`,
  181. success: res => {
  182. if (res.confirm) {
  183. setGreedIntegralList({
  184. uid: that.changeID,
  185. num: that.changeMoney,
  186. type: that.checkedType
  187. }).then(function(res) {
  188. uni.hideLoading()
  189. that.changeID = '';
  190. that.changeMoney = '';
  191. uni.showToast({
  192. title: '转账成功'
  193. });
  194. that.page = 1;
  195. that.integralList = [];
  196. that.loadend = false;
  197. that.loading = false;
  198. that.getIntegralList()
  199. }).catch((res) => {
  200. uni.hideLoading();
  201. uni.showModal({
  202. title: '错误',
  203. content: res,
  204. showCancel: false,
  205. });
  206. });
  207. } else {
  208. uni.hideLoading()
  209. }
  210. },
  211. });
  212. },
  213. /**
  214. * 授权回调
  215. */
  216. onLoadFun: function() {
  217. this.getUserInfo();
  218. this.isShowAuth = false;
  219. },
  220. // 授权关闭
  221. authColse: function(e) {
  222. this.isShowAuth = e
  223. },
  224. getUserInfo: function() {
  225. let that = this;
  226. getUserInfo({}).then(function(res) {
  227. that.$set(that, 'userInfo', res.data);
  228. });
  229. }
  230. }
  231. }
  232. </script>
  233. <style scoped lang="scss">
  234. .headerBox{
  235. width: 100%;
  236. display: flex;
  237. justify-content: space-around;
  238. align-items: center;
  239. }
  240. .integral-details {
  241. .header {
  242. // background-image: url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwkHBgoJCAkLCwoMDxkQDw4ODx4WFxIZJCAmJSMgIyIoLTkwKCo2KyIjMkQyNjs9QEBAJjBGS0U+Sjk/QD3/2wBDAQsLCw8NDx0QEB09KSMpPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT3/wgARCAHMAu4DAREAAhEBAxEB/8QAGQABAQEBAQEAAAAAAAAAAAAAAAECAwQF/8QAGQEBAQEBAQEAAAAAAAAAAAAAAAECAwUH/9oADAMBAAIQAxAAAAD5nh/QwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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L1UT9Qpe5OCfpre9RTIpVun6W3rS9FE9U/SW9W+xPVPxdKUpSmRkUpSlKZFRUVfgN9yeq8HSlL+RWVmTMjJFX29G98kZoyW6ei8BfC16PZ8/0Nt6JtC5/vZenz65cm+jjygtFovTnwTH8f6Hwa24P+tV9oqMkZGRWV9lKXzrSY/jQ/jaI198XVoil/IpfOvgmP42cE1/Pgr56E8DS/5/QhCEIQhCEIQhCEIQhCEIQhNqZGRkZFMjIyMi7YmJiYmJiYmJiYGBgYmJiYmJiQnlmtoTaE2S9La6IRE6EvTp3QXqEJ1JCXqs2S8T//2Q==');
  243. background-repeat: no-repeat;
  244. background-size: 100% 100%;
  245. width: 100%;
  246. height: 460rpx;
  247. font-size: 72rpx;
  248. color: #fff;
  249. padding: 31rpx 0 45rpx 0;
  250. box-sizing: border-box;
  251. text-align: center;
  252. font-family: 'Guildford Pro';
  253. background-color: var(--view-theme);
  254. padding-top: 100rpx;
  255. .currentScore {
  256. font-size: 26rpx;
  257. color: rgba(255, 255, 255, 0.8);
  258. text-align: center;
  259. margin-bottom: 11rpx;
  260. }
  261. .scoreNum {
  262. font-family: "Guildford Pro";
  263. }
  264. .line {
  265. width: 60rpx;
  266. height: 3rpx;
  267. background-color: #fff;
  268. margin: 20rpx auto 0 auto;
  269. }
  270. .nav {
  271. font-size: 22rpx;
  272. color: rgba(255, 255, 255, 0.8);
  273. flex: 1;
  274. margin-top: 35rpx;
  275. .item {
  276. width: 33.33%;
  277. text-align: center;
  278. .num {
  279. color: #fff;
  280. font-size: 40rpx;
  281. margin-bottom: 5rpx;
  282. font-family: 'Guildford Pro';
  283. }
  284. }
  285. }
  286. }
  287. .wrapper {
  288. .nav {
  289. flex: 1;
  290. width: 690rpx;
  291. border-radius: 20rpx 20rpx 0 0 ;
  292. overflow: hidden;
  293. margin: -96rpx auto 0 auto;
  294. background-color: #f7f7f7;
  295. height: 96rpx;
  296. font-size: 30rpx;
  297. color: #bbb;
  298. .item {
  299. text-align: center;
  300. width: 50%;
  301. &.on {
  302. background-color: #fff;
  303. color: var(--view-theme);
  304. font-weight: bold;
  305. border-radius: 20rpx 0 0 0;
  306. }
  307. &:nth-of-type(2) {
  308. &.on {
  309. border-radius: 0 20rpx 0 0;
  310. }
  311. }
  312. .iconfont {
  313. font-size: 38rpx;
  314. margin-right: 10rpx;
  315. }
  316. }
  317. }
  318. .list {
  319. background-color: #fff;
  320. padding: 24rpx 30rpx;
  321. .tip {
  322. font-size: 25rpx;
  323. width: 690rpx;
  324. min-height: 60rpx;
  325. border-radius: 50rpx;
  326. background-color: #fff5e2;
  327. border: 1rpx solid #ffeac1;
  328. color: #c8a86b;
  329. padding: 0 20rpx;
  330. box-sizing: border-box;
  331. margin-bottom: 24rpx;
  332. .tipCon {
  333. width: 595rpx;
  334. }
  335. .iconfont {
  336. font-size: 35rpx;
  337. margin-right: 15rpx;
  338. }
  339. }
  340. .item {
  341. border-bottom: 1rpx solid #eee;
  342. font-size: 24rpx;
  343. color: #999;
  344. min-width: 100%;
  345. display: flex;
  346. justify-content: space-between;
  347. align-items: center;
  348. padding: 20rpx 0;
  349. .state {
  350. width: 100%;
  351. font-size: 32rpx;
  352. color: #282828;
  353. padding-bottom: 8rpx;
  354. }
  355. .num {
  356. font-size: 36rpx;
  357. font-family: 'Guildford Pro';
  358. padding-left: 10rpx;
  359. color: #16AC57;
  360. flex-shrink: 0;
  361. &.font-color {
  362. color: #E93323 !important;
  363. }
  364. }
  365. }
  366. }
  367. .list2 {
  368. background-color: #fff;
  369. padding: 24rpx 0;
  370. // background-image: linear-gradient(to right, #fff7e7 0%, #fffdf9 100%);
  371. // height: 180rpx;
  372. position: relative;
  373. border-radius: 10rpx;
  374. padding: 20rpx 30rpx;
  375. box-sizing: border-box;
  376. border-bottom: 1px solid #e9e9e9;
  377. .keepBnt {
  378. width: 690rpx;
  379. height: 86rpx;
  380. border-radius: 50rpx;
  381. text-align: center;
  382. line-height: 86rpx;
  383. margin: 50rpx auto;
  384. font-size: 32rpx;
  385. color: #fff;
  386. }
  387. .item {
  388. // background-image: linear-gradient(to right, #fff7e7 0%, #fffdf9 100%);
  389. // height: 180rpx;
  390. position: relative;
  391. border-radius: 10rpx;
  392. padding: 20rpx 0;
  393. box-sizing: border-box;
  394. border-bottom: 1px solid #e9e9e9;
  395. .input {
  396. flex-grow: 1;
  397. display: flex;
  398. .radio {
  399. display: flex;
  400. line-height: 1;
  401. align-items: center;
  402. color: #bbb;
  403. }
  404. }
  405. .item-title {
  406. width: 150rpx;
  407. }
  408. .pictrue {
  409. width: 90rpx;
  410. height: 150rpx;
  411. position: absolute;
  412. bottom: 0;
  413. left: 45rpx;
  414. }
  415. .pictrue {
  416. image {
  417. width: 100%;
  418. height: 100%;
  419. }
  420. }
  421. }
  422. }
  423. }
  424. }
  425. .rightGm{
  426. font-size: 26rpx;
  427. position: absolute;
  428. right: 0rpx;
  429. top: 150px;
  430. border: 2px solid #fff;
  431. border-right: none;
  432. border-top-left-radius: 100px;
  433. border-bottom-left-radius: 100px;
  434. padding: 10rpx 30rpx;
  435. }
  436. </style>