jqjs.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <template>
  2. <view>
  3. <view class="pd16_15" style="margin-bottom: 80upx;">
  4. <view class="" style="">
  5. <block v-for="(value,key) in datasa" :key="key">
  6. <view @click="detail(value.id,0)" style="" class="flex alcenter mb16 showStyle">
  7. <image mode="aspectFill" class="tuan-product-l" :src="value.img"></image>
  8. <!-- <view class="btn-mini" style="position: absolute; top: 40upx; left: 280upx; border-radius: 10upx;font-size: 18upx;width: 60upx; height: 36upx;" :style="getBtnStyle">{{value.lxname}}</view> -->
  9. <view class="tuan-product-r pl15">
  10. <view class="ft16 ftw600 cl-main text-over1">{{value.name}}</view>
  11. <view class="mt5">
  12. <text class="ft14 cl-main text-over4" style="line-height: 50upx;">{{value.story}}</text>
  13. </view>
  14. <!-- <view class="mt16 flex space alcenter">
  15. <view class="ft14 cl-notice">{{value.mname}}</view>
  16. <view class="btn-vip-adviser ml15">继续观看</view>
  17. </view> -->
  18. </view>
  19. </view>
  20. </block>
  21. </view>
  22. </view>
  23. <view class="home-main" style="height: 50upx;">
  24. <!-- <com-copyright></com-copyright> -->
  25. </view>
  26. <dialog-couponshareget @loginAct="showLoginCouponShareGet" v-if="showCouponShareGet" @closed="showCouponShareGet = false"></dialog-couponshareget>
  27. </view>
  28. </template>
  29. <script>
  30. export default{
  31. props: ['datasa'],
  32. data(){
  33. return {
  34. isLogin:false,
  35. showBirthday:false,
  36. showLogin:false,
  37. showQrcode:false,
  38. showCouponShareGet:false,
  39. }
  40. },
  41. created(){
  42. // uni.setNavigationBarTitle({
  43. // title: '夜趣小视频'
  44. // });
  45. // setTimeout(()=>{
  46. // this.showCouponShareGet = true;
  47. // },1000);
  48. },
  49. methods:{
  50. //'/pages/client/tuan/detail?id='+value.id
  51. detail(vid,mid){
  52. uni.navigateTo({
  53. url:'/pages/client/tuan/detail?vid='+vid+'&mid='+mid
  54. })
  55. },
  56. showLoginAct(){
  57. this.showLogin = true;
  58. },
  59. showLoginCouponShareGet(){
  60. this.showLogin = true;
  61. },
  62. loginYes(){
  63. }
  64. }
  65. }
  66. </script>
  67. <style>
  68. .showStyle::before{
  69. content:'';
  70. position:'absolute';
  71. top: 0;
  72. right: 0;
  73. bottom: 0;
  74. left: 0;
  75. background-color: rgba(31, 33, 41, 0.4);
  76. z-index:-1;
  77. backdrop-filter:blur(80px);
  78. }
  79. .showStyle{
  80. position: relative;
  81. }
  82. .home-header{
  83. height: 304rpx;
  84. width: 100%;
  85. position: relative;
  86. background: #363B4D;
  87. border-radius: 0rpx 0rpx 48rpx 48rpx;
  88. }
  89. .home-main{
  90. width: 100%;
  91. position: relative;
  92. margin-top: -156rpx;
  93. padding: 0 30rpx;
  94. }
  95. .home-mendian{
  96. width: 100%;
  97. height: 84rpx;
  98. background:rgba(255,255,255,0.1);
  99. border-radius: 42rpx;
  100. }
  101. .tuan-product-l{
  102. width: 200rpx;
  103. height: 260rpx;
  104. border-radius: 16rpx;
  105. background: #F2F2F2;
  106. }
  107. .tuan-product-r{
  108. width: calc(100% - 200rpx);
  109. height:260rpx;
  110. }
  111. .btn-vip-adviser{
  112. width: 200rpx;
  113. height: 60rpx;
  114. border-radius: 20rpx;
  115. display: flex;
  116. justify-content: center;
  117. align-items: center;
  118. font-size: 28rpx;
  119. /* font-weight: 600; */
  120. background: #FF6600;
  121. color:#FFFFFF;
  122. }
  123. .integral-mall-goods{
  124. width: 100%;
  125. height: 280rpx;
  126. background: #F2F2F2;
  127. border-radius: 16upx;
  128. }
  129. </style>