upgrade.wxml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <view class="section">
  2. <block wx:if="{{is_vip_card_member==0}}">
  3. <image class="topImg" src="{{vipcard_unopen_headbg}}" wx:if="{{vipcard_unopen_headbg}}" mode="widthFix"></image>
  4. <view class="bg-f" wx:else>
  5. <view class="head">
  6. <view class="card">
  7. <view class="card-title">
  8. <text></text>
  9. <view class="title-name">开通{{modify_vipcard_name}}</view>
  10. <text></text>
  11. </view>
  12. <view class="content bigtitle weight text-overflow1">尊享特权·会员专享价</view>
  13. <!-- <view class="content smalltitle text-overflow1">尊享特权·会员专享价</view> -->
  14. </view>
  15. </view>
  16. </view>
  17. </block>
  18. <view class="bg-f" wx:if="{{is_vip_card_member==1}}">
  19. <view class="head1">
  20. <view class="card" style="{{vipcard_effect_headbg?'background:url('+vipcard_effect_headbg+');background-size:cover;background-repeat:no-repeat;':''}}">
  21. <view class="card-title vipinfo">
  22. <image class="vipinfo-avatar" src="{{member_info.avatar}}"></image>
  23. <view class="vipinfo-r">
  24. <view class="text-overflow1 vipinfo-name weight">{{member_info.username}}</view>
  25. <view class="endtime">有效期至:{{member_info.card_end_time}}</view>
  26. </view>
  27. <view bindtap="submitpay" class="vip-xucard">
  28. <view>立即续卡</view>
  29. </view>
  30. </view>
  31. <view class="sheng content smalltitle text-overflow1">尊享特权·会员专享价</view>
  32. </view>
  33. </view>
  34. </view>
  35. <block wx:if="{{is_vip_card_member==2}}">
  36. <image class="topImg" src="{{vipcard_afterefect_headbg}}" wx:if="{{vipcard_afterefect_headbg}}" mode="widthFix"></image>
  37. <view class="bg-f" wx:else>
  38. <view class="head">
  39. <view class="card">
  40. <view class="card-title">
  41. <text></text>
  42. <view class="title-name">开通{{modify_vipcard_name}}</view>
  43. <text></text>
  44. </view>
  45. <view class="content bigtitle weight text-overflow1">尊享特权·会员专享价</view>
  46. <!-- <view class="content smalltitle text-overflow1">尊享特权·会员专享价</view> -->
  47. </view>
  48. </view>
  49. </view>
  50. </block>
  51. <view class="privilege bg-f {{is_vip_card_member==1?'privilege1':''}}">
  52. <view class="greentitle weight">{{modify_vipcard_name}}专享特权</view>
  53. <view class="privilegelist" wx:if="{{card_equity_list.length>0}}">
  54. <view class="list-item" wx:for="{{card_equity_list}}" wx:key="id">
  55. <image src="{{item.image}}"></image>
  56. <view>{{item.equity_name}}</view>
  57. </view>
  58. </view>
  59. </view>
  60. <view class="viptype bg-f">
  61. <view class="greentitle weight">{{modify_vipcard_name}}类型</view>
  62. <view class="viplist">
  63. <view class="list" wx:if="{{card_list.length>0}}">
  64. <view bindtap="choosecard" class="list-item {{selectid==item.id?'active':''}}" data-id="{{item.id}}" data-time="{{item.viptime}}" data-value="{{item.vipprice}}" wx:for="{{card_list}}" wx:key="id">
  65. <view class="text-overflow1" style="font-size:26rpx;">{{item.cardname}}</view>
  66. <view class="green weight" style="font-size:42rpx;">
  67. <text style="font-size:24rpx;">¥</text>{{item.price}}</view>
  68. <view class="gray" style="font-size:26rpx;text-decoration-line: line-through;">¥{{item.orignprice}}</view>
  69. <view class="gray text-overflow2" style="font-size:22rpx;white-space:pre-wrap;word-break:break-all;">有效期 {{item.expire_day%30==0?item.expire_day/30+'个月':item.expire_day+'天'}}</view>
  70. </view>
  71. </view>
  72. </view>
  73. </view>
  74. <block wx:if="{{is_vip_card_member!=1}}">
  75. <view class="bg-f" style="padding-bottom: 30rpx;">
  76. <view bindtap="submitpay" class="apply-btn weight">{{is_vip_card_member!=0?"立即续费":"立即购买"}}</view>
  77. </view>
  78. </block>
  79. <view class="mb10"></view>
  80. <view class="goodsList bg-f mb10" wx:if="{{is_show_vipgoods==1}}">
  81. <view class="greentitle weight" style="padding: 30rpx;">{{modify_vipcard_name}}专享特价</view>
  82. <view class="cate">
  83. <i-tabs activeIndex="{{classification.activeIndex}}" bind:activeIndexChange="classificationChange" data-idx="1" fontColor="#000" iClass="category-list" tabs="{{classification.tabs}}" lineBgColor="{{'background: linear-gradient(to right, #3CBA63, #72fa9c);'}}"></i-tabs>
  84. </view>
  85. <view class="rushList">
  86. <view class="goodsItem" wx:for="{{rushList}}" wx:key="actId">
  87. <i-type-item spuItem="{{item}}" reduction="{{reduction}}" bind:openSku="openSku" bind:changeCartNum="changeCartNum" changeCarCount="{{changeCarCount}}" needAuth="{{needAuth}}" bind:authModal="authModal" is_open_vipcard_buy="{{is_open_vipcard_buy}}" bind:vipModal="vipModal" />
  88. </view>
  89. <view class="none-rush-list" wx:if="{{showEmpty}}">
  90. <image class="img-block" src="../../images/icon-index-empty.png"></image>
  91. <view class="h1">暂时没有专享商品</view>
  92. </view>
  93. <i-load-more iClass="loadMore" loading="{{loadMore}}" tip="{{loadText}}" wx:if="{{!loadOver&&!showEmpty&&loadMore}}"></i-load-more>
  94. </view>
  95. </view>
  96. </view>
  97. <i-new-auth needAuth="{{needAuth&&showAuthModal}}" bind:authSuccess="authSuccess" bind:cancel="authModal" needPosition="{{true}}"></i-new-auth>
  98. <sku visible="{{visible}}" skuList="{{skuList}}" cur_sku_arr="{{cur_sku_arr}}" bind:cancel="closeSku" sku_val="{{sku_val}}" sku="{{sku}}" goodsid="{{addCar_goodsid}}" bind:changeCartNum="changeCartNum" bind:vipModal="vipModal"></sku>
  99. <i-vip-modal visible="{{showVipModal}}" imgUrl="{{pop_vipmember_buyimage}}" />
  100. <i-cart-btn cartNum="{{cartNum}}" showHome="{{true}}"></i-cart-btn>