buy.vue 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. <template name="buy">
  2. <view>
  3. <view class="buy-layer" :class="show ?'slidein':''">
  4. <form bindsubmit="doBuy">
  5. <view class="tit ">《{{fetch.info.name}}》{{fetch.info.ticket_name}}</view>
  6. <view class="msg"><text @click="showTip">查看{{fetch.info.ticket_name}}说明</text> <text class="spliter"></text> <text @click="showInfo">查看介绍</text></view>
  7. <view class="share_msg" @click="showShare" v-if="fetch.ticket && fetch.ticket.total">共有<text style="color:#007AFF;font-size: 30rpx;padding-left:5rpx;padding-right: 5rpx;">{{fetch.ticket.total}}</text>{{fetch.info.unit}},当前剩余<text style="color:#CC1619;font-size: 30rpx;padding-left:5rpx;padding-right: 5rpx;">{{fetch.ticket.num}}</text>{{fetch.info.unit}}<text v-if="fetch.ticket.num > 0">,点此分享给好友</text></view>
  8. <scroll-view scroll-y class="list">
  9. <view v-for="(v, k) in fetch.buy" :key="k" class="item" :class="index === k?'active':''" @click="buy(k)">
  10. <text class="name">{{v.name}}</text>
  11. <text>¥{{v.price}}</text>
  12. </view>
  13. </scroll-view>
  14. <view class="btn-wrapper ">
  15. <view class="button cancel" @click="hideBuy">取消</view>
  16. <view class="button primary" :style="bgcolor" @click="buyAct">确认
  17. <button formType="submit"></button>
  18. </view>
  19. </view>
  20. </form>
  21. </view>
  22. <view class="mask" v-if="tip">
  23. <view class="buytip-layer layer " catchtap="handleStop">
  24. <view class="buy-tit">购买说明</view>
  25. <rich-text class="p" :nodes="fetch.info.buy_content"></rich-text>
  26. <view class="btn-wrapper">
  27. <view class="button" @click="hideTip" :style="bgcolor">我知道了</view>
  28. </view>
  29. </view>
  30. </view>
  31. <view class="mask" v-if="info">
  32. <view class="buytip-layer layer " catchtap="handleStop">
  33. <view class="buy-tit">介绍说明</view>
  34. <rich-text class="p" :nodes="fetch.info.desc"></rich-text>
  35. <view class="btn-wrapper">
  36. <view class="button" @click="hideInfo" :style="bgcolor">我知道了</view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="mask" v-if="share">
  41. <view class="buytip-layer layer " catchtap="handleStop">
  42. <view class="buy-tit">分享给你的好友</view>
  43. <view class="grace-news-list">
  44. <view class="grace-news-item" style="padding: 12rpx 8rpx;border: 1px dashed cornflowerblue;">
  45. <view class="grace-news-body">
  46. <text class="grace-news-title">{{fetch.share.title}}</text>
  47. <text class="grace-news-desc">{{fetch.share.content}}</text>
  48. </view>
  49. <image :src="fetch.share.pic" class="image grace-news-img grace-news-img-r"></image>
  50. </view>
  51. <view class="grace-news-info">
  52. <view style="width:500rpx;margin-top:20rpx;justify-content: center;" class="grace-nowrap">
  53. <text class="grace-icons grace-news-info-text">查看 {{fetch.ticket.num}}</text>
  54. <text class="grace-icons grace-news-info-text" style="margin-left:30rpx;">使用 {{fetch.ticket.num}}</text>
  55. <text class="grace-icons grace-news-info-text" style="margin-left:30rpx;">剩余 {{fetch.ticket.num}}</text>
  56. </view>
  57. </view>
  58. </view>
  59. <!--
  60. <view class="share_left">
  61. <text class="p">{{fetch.share.title}}</text>
  62. <text class="p">{{fetch.share.content}}</text>
  63. </view>
  64. <view class="share_right">
  65. <image :src="fetch.share.pic" class="image"></image>
  66. </view>
  67. -->
  68. <view class="grace-form-item grace-border-b">
  69. <view class="grace-form-body" style="margin-left:0rpx">
  70. <input type="text" class="grace-form-input" style="text-align:left" name="desc" @blur="saveTicket" @confirm="saveTicket" v-model="fetch.ticket.desc" placeholder="在这里输入一句话,你的好友能够看到哦~" />
  71. </view>
  72. </view>
  73. <view class="btn-wrapper">
  74. <view class="button cancel" @click="hideShare">取消</view>
  75. <view class="button primary" :style="bgcolor" @click="onShare">分享
  76. <button formType="submit"></button>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. <view class="mask success-tip" v-if="pay">
  82. <view class="layer">
  83. <view class="tit">支付成功</view>
  84. <view class="msg">您已成功购买{{paycount}}张{{fetch.info.ticket_name}}</view>
  85. <view class="btn-wrapper">
  86. <view class="button" @click="gotoCodeDetail">赠送{{fetch.info.ticket_name}}</view>
  87. <view class="button" @click="gotoRead">立即进入</view>
  88. </view>
  89. </view>
  90. </view>
  91. </view>
  92. </template>
  93. <script>
  94. export default {
  95. name: "buy",
  96. props: {
  97. id : 0,
  98. bgcolor : '',
  99. color : '',
  100. code : '',
  101. name : '',
  102. },
  103. data() {
  104. return {
  105. fetch : {
  106. buy : [],
  107. info : {},
  108. },
  109. index : 0,
  110. pay : false,
  111. info : false,
  112. tip : false,
  113. show : false,
  114. share : false,
  115. }
  116. },
  117. mounted() {
  118. this.getData();
  119. },
  120. methods:{
  121. getData : function() {
  122. var self = this;
  123. var url = this.Dever.host + '/pages/dream/index';
  124. this.Dever.get(this, 'app/collection/?l=api.getBuy', {id:this.id, code:this.code, url:url}, function(t) {
  125. self.show = true;
  126. });
  127. },
  128. //购买
  129. buy : function(index) {
  130. this.index = index;
  131. },
  132. //拉起支付
  133. buyAct : function() {
  134. var self = this;
  135. var data = {};
  136. data.buy_id = this.fetch.buy[this.index].id;
  137. var location = 'dream/view?code='+this.code + '&name=' + this.name;
  138. data.refer = this.Dever.host + '/' + location;
  139. this.Dever.post('app/user/?l=pay.ticket', data, function(t) {
  140. //console.info(t);
  141. self.Dever.pay(t, location, '支付失败');
  142. });
  143. /*
  144. this.Dever.alert('拉起支付', 'none', function() {
  145. self.$emit('view');
  146. });
  147. */
  148. },
  149. showTip : function() {
  150. this.tip = true;
  151. },
  152. hideTip : function() {
  153. this.tip = false;
  154. },
  155. showInfo : function() {
  156. this.info = true;
  157. },
  158. hideInfo : function() {
  159. this.info = false;
  160. },
  161. showShare : function() {
  162. this.share = true;
  163. },
  164. hideShare : function() {
  165. this.share = false;
  166. },
  167. onShare : function() {
  168. this.$emit('share');
  169. },
  170. hideBuy : function() {
  171. this.show = false;
  172. this.$emit('hideBuy');
  173. },
  174. saveTicket : function() {
  175. var data = {};
  176. data.ticket_id = this.fetch.ticket.id;
  177. data.desc = this.fetch.ticket.desc;
  178. data.noloading = 1;
  179. this.Dever.post('app/user/?l=api.ticketSave', data);
  180. }
  181. },
  182. components:{
  183. }
  184. }
  185. </script>
  186. <style>
  187. .spliter{
  188. flex-shrink: 0;
  189. width: 1rpx;
  190. background: #fff;
  191. height: 40rpx;
  192. color: #333;
  193. margin-left: 20rpx;
  194. }
  195. .share_left {
  196. position: relative;
  197. }
  198. .share_right {
  199. position: relative;
  200. }
  201. .image {
  202. width:150rpx;
  203. height:150rpx;
  204. }
  205. .buy-layer{
  206. padding: 50rpx 55rpx 62rpx;
  207. background-color: #fff;
  208. position: fixed;
  209. bottom: 0;
  210. left: 0;
  211. right: 0;
  212. transform: translateY(100%);
  213. transition-property: transform;
  214. transition-duration: 0.3s;
  215. transition-timing-function: ease-in;
  216. overflow: auto;
  217. }
  218. .buy-layer.slidein{
  219. transform: translateY(0);
  220. }
  221. .buy-layer .tit{
  222. font-weight: bolder;
  223. font-size: 36rpx;
  224. margin: 0 0 40rpx;
  225. text-align: center;
  226. }
  227. .buy-layer .msg{
  228. font-size: 22rpx;
  229. line-height: 36rpx;
  230. width: 640rpx;
  231. margin: 0 auto 47rpx;
  232. text-align: center;
  233. text-decoration: underline;
  234. color: #666;
  235. }
  236. .buy-layer .share_msg{
  237. font-size: 22rpx;
  238. line-height: 36rpx;
  239. width: 640rpx;
  240. margin: 0 auto 47rpx;
  241. color: #666;
  242. text-align: center;
  243. border: 1px dashed cornflowerblue;
  244. }
  245. .btn-wrapper {
  246. justify-content: space-around;
  247. width: 100%;
  248. }
  249. .button {
  250. height: 80rpx;
  251. border: 1rpx solid #cc1619;
  252. color: #cc1619;
  253. font-size: 30rpx;
  254. min-width: 300rpx;
  255. border-radius: 40rpx;
  256. text-align: center;
  257. line-height: 80rpx;
  258. display: block;
  259. position: relative;
  260. }
  261. .button>button{
  262. position: absolute;
  263. width: 100%;
  264. height: 100%;
  265. left: 0;
  266. top: 0;
  267. opacity: 0;
  268. }
  269. .button.big {
  270. width: 420rpx;
  271. }
  272. .button.primary {
  273. background-color: #000;
  274. color: #fff;
  275. }
  276. .button.blk {
  277. background-color: #000;
  278. color: #fff;
  279. border-color: #000;
  280. }
  281. .btn-wrapper{
  282. display: flex;
  283. justify-content: space-between;
  284. padding-top: 20rpx;
  285. }
  286. .btn-wrapper .button{
  287. border: 0;
  288. min-width: 0;
  289. box-sizing: border-box;
  290. color: #999999;
  291. width: 284rpx;
  292. border-radius: 5rpx;
  293. }
  294. .btn-wrapper .button.primary{
  295. border:0;
  296. color: #fff;
  297. }
  298. .btn-wrapper .button.cancel{
  299. border:0;
  300. background-color: #CCCCCC;
  301. color: #fff;
  302. }
  303. .list{
  304. max-height: 500rpx;
  305. }
  306. .list .item{
  307. height: 100rpx;
  308. border-radius: 10rpx;
  309. border: 1rpx solid #999;
  310. color: #999;
  311. margin-bottom: 30rpx;
  312. box-sizing: border-box;
  313. padding: 0 30rpx;
  314. display: flex;
  315. justify-content: space-between;
  316. align-items: center;
  317. font-size: 30rpx;
  318. }
  319. .list .item.active{
  320. border-color: #000;
  321. color: #000;
  322. }
  323. .list .item .name{
  324. display: flex;
  325. align-items: center;
  326. }
  327. .list .item .name:before{
  328. content: "";
  329. width: 40rpx;
  330. height: 40rpx;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wFRIIu6xsgmb+/Qf0wuCZPjSdqbS7mflZVwXNdTFGs0z9fXNB5+IlNWEegWzEAn6XN5dlDDkxlqIqCzNsKE1ulvmbjLNPaS7L2JGljzyrUFk13LYs8dNxCSqkfvaRVMNqY00EVbgKpVuXLJml1XU70/bAdzAZsS3KYtQk2+yp2eoxxhjMXQYuqg416nIXMD0xWxP6m9NyqbDaDr7R5JRKu2zgp8RVN1xzE1w5IhNWF9mO3tr1CXxSe7erLti2l32duTQqtspvV/f34INXpv+GiNJ/AQYAgCbhym+3rl8AAAAASUVORK5CYII=) no-repeat;
  333. background-size: 40rpx 40rpx;
  334. flex-shrink: 0;
  335. padding-right: 30rpx;
  336. }
  337. .list .item.active .name:before{
  338. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kb9LQlEUxz9qYVhhVFBDg0Q1aZiB1NKglAXVYAb9WvTlj0Dt8Z4R0hq0CgVRS7+G+gtqDZqDoCiCaGlpLmopeZ2XghJ5Lueez/3eew73ngvWSFrJ6HVeyGRzWjgUcM3NL7jsL9hpxYGNjqiiq1MzYxFq2uc9FjPeesxatc/9a43LcV0BS4PwiKJqOeFx4cn1nGryjnC7koouC58JuzW5oPCdqcdK/GpyssTfJmuRcBCsLcKuZBXHqlhJaRlheTk9mfSaUr6P+ZKmeHZ2RmK3eBc6YUIEcDHBKEH8DDAssx8PPvplRY1872/+NKuSq8iskkdjhSQpcrhFXZPqcYkJ0eMy0uTN/v/tq54Y9JWqNwWg/tkw3nvBvg3FgmF8HRlG8RhsT3CZreSvHsLQh+iFitZzAM5NOL+qaLFduNiCzkc1qkV/JZu4NZGAt1Nonoe2G3AslnpW3ufkASIb8lXXsLcPfXLeufQDE6lnwO9DRkoAAAAJcEhZcwAACxMAAAsTAQCanBgAAAKDSURBVFiF1dk/axRBGMfxT06CgaBJI4FgISGQMtEijSin2Ik2V1qFFHkF+grSWaayFS++gZDC2CQgqIWQUjSQwkYIIpGIYkCL3SW7k7nL3t4fLz9YOHaeeea7M7vP88zciGoaxU3cww3MYQrjafsRvuIjPuA13uBPxfFKaxZrOMDfDq+DtO9sP8Cm0cRxBbDwOk59TZcZeKSEzQqe4lKk7TfeYxf7+J7en8Q1zGMRFyN9f+AxnpUBjWkM6+KzsIFGalPGTyPtE/O1XtJPQRPYjjjbwkKnznJaSH2EfrfTMUtpLAJ3hKUuwEItpT5DyFIzGS7rF8m71GvNp77D5W6rlQjcTB/gMs04DbnSyngah4rL2o+ZCzWvuNyHWoSgpuKT9PKdO0tLwdjN0GBWMQhvDRAuU/7rPhZknDXFJ+gmlFTVQsCwljWMKubWjT6DjOI2rkTa8sH8ILVVVyRv9BFuAm/Tcb45/TE0ApY6rOZu/FIh7XQA9y4AeBjYjKUMWfsqbOZu7AwQ7hMuR2x3cjabNUmxmWm3T3CvJFVNpj3ckcS8UHmGuZqkEs60PyC4uiSDxJRnmKo5KdM5qediGsED3FeujqwCFzKMU3wvltt0fJKze4ELZ8CF79xnXG3TJ9Nyvl9NkgczTbbpeD33+xGet4CsOnMxhqOs86noHdEifirOSjOA7GbmMuWz2h6dhZm7bSB7AUcQZug8UMcgX/YILhqo64HjMqkuBtktHC1SXdVioRVkVThaFAtUL7dCyG7gWpZbdFew3pJs3je6gOOMgpUhL/k5B5smhnzbmWmoN+6cg6MPhvzwKNNQHL+d6wPMvP7bEXCnGvghepkljmlgf0P8A8uurmx6Sm7EAAAAAElFTkSuQmCC);
  339. }
  340. .buytip{
  341. font-size: 24rpx;
  342. color: #999999;
  343. text-decoration: underline;
  344. padding-bottom: 40rpx;
  345. }
  346. .p{
  347. font-size: 28rpx;
  348. text-align: justify;
  349. line-height: 40rpx;
  350. margin-bottom: 12rpx;
  351. display: block;
  352. box-sizing: border-box;
  353. }
  354. .buy-tit{
  355. font-size: 40rpx;
  356. /* font-weight: bolder; */
  357. text-align: center;
  358. margin-bottom: 40rpx;
  359. }
  360. .mask .buytip-layer{
  361. padding: 60rpx;
  362. }
  363. .buytip-layer .button{
  364. width: 300rpx;
  365. line-height: 80rpx;
  366. height: 80rpx;
  367. background-color: #000;
  368. color: #fff;
  369. border: 0;
  370. border-radius: 5rpx;
  371. margin: 0 auto;
  372. }
  373. .success-tip .layer{
  374. padding: 0;
  375. border-radius: 5rpx;
  376. }
  377. .success-tip .layer .msg{
  378. font-size: 32rpx;
  379. text-align: center;
  380. }
  381. .success-tip .layer .tit{
  382. font-size: 36rpx;
  383. text-align: center;
  384. margin: 62rpx 0 65rpx;
  385. }
  386. .success-tip .layer .btn-wrapper{
  387. display: flex;
  388. padding-top: 87rpx;
  389. }
  390. .success-tip .layer .btn-wrapper .button{
  391. border: 0;
  392. flex: 1;
  393. min-width: 0;
  394. box-sizing: border-box;
  395. font-size: 32rpx;
  396. color: #000;
  397. }
  398. .success-tip .layer .btn-wrapper .button:first-child{
  399. border-top: 1rpx solid #CCCCCC;
  400. border-radius: 0;
  401. }
  402. .success-tip .layer .btn-wrapper .button:last-child{
  403. background-color: #000;
  404. color: #fff;
  405. border-radius: 0 0 5rpx 0;
  406. }
  407. .mask {
  408. position: fixed;
  409. left: 0;
  410. top: 0;
  411. right: 0;
  412. bottom: 0;
  413. background: rgba(0, 0, 0, 0.5);
  414. }
  415. .mask .layer {
  416. width: 620rpx;
  417. box-sizing: border-box;
  418. padding: 70rpx 60rpx;
  419. background: #fff;
  420. border-radius: 10rpx;
  421. position: absolute;
  422. top: 50%;
  423. left: 50%;
  424. transform: translate(-50%,-50%);
  425. }
  426. .mask .layer .tit {
  427. text-align: center;
  428. font-size: 40rpx;
  429. margin: 16rpx 0 60rpx;
  430. }
  431. .mask .layer input {
  432. border-radius: 10rpx;
  433. border: 1rpx solid #999;
  434. height: 88rpx;
  435. line-height: 88rpx;
  436. padding: 0 28rpx;
  437. box-sizing: border-box;
  438. font-size: 24rpx;
  439. }
  440. .mask .layer .errtip {
  441. color: #d1171a;
  442. text-align: center;
  443. font-size: 24rpx;
  444. margin: 21rpx 0;
  445. height: 34rpx;
  446. }
  447. .mask .layer .btn-wrapper {
  448. padding-top: 30rpx;
  449. }
  450. .mask .btn-wrapper{
  451. display: flex;
  452. justify-content: space-between;
  453. padding-top: 20rpx;
  454. }
  455. .mask .btn-wrapper .button{
  456. border: 0;
  457. min-width: 0;
  458. box-sizing: border-box;
  459. /*color: #999999;*/
  460. width: 200rpx;
  461. border-radius: 5rpx;
  462. }
  463. </style>