Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
4e0498bd2f
2 changed files with 10 additions and 11 deletions
  1. 11
      pages/moment/moment-item/index.wxml
  2. 10
      pages/ztbvip/index.wxml

11
pages/moment/moment-item/index.wxml

@ -1,24 +1,23 @@
<wxs module="formate" src="../../../pages/formate.wxs"></wxs>
<wxs module="moment" src="../../moment/index.wxs"></wxs>
<view class="item-tips" wx:if="{{item.tipsTime}}">{{moment.formateDate(item.tipsTime)}}</view>
<view class="bg-white flex flex-justify" style="padding:18rpx 32rpx">
<view class="bg-white flex flex-justify" style="padding:18rpx 32rpx" bindtap="lookItem">
<view style="width: 30%;" >
<highlight-text content="{{item.shortName}}" keyword="{{keyword}}" class="text-df text-black text-cut"/>
<!-- <view class="text-df text-black text-cut" bindtap="lookItem">{{item.shortName}}</view> -->
<view class="{{item.hasFollowed ? 'attention-bg' : 'attention-unbg'}}" catchtap="attention">
<text>{{item.hasFollowed ? '已关注' : '点击关注'}}</text>
</view>
</view>
<view style="width: 30%;" bindtap="lookItem">
<view style="width: 30%;">
<view class="flex flex-center" style="justify-content: flex-start">
<text class="text-lg text-bold {{moment.colorText(item.typicalFloatingQuotedPrice)}}">{{formate.formatePrice(item.typicalFloatingQuotedPrice, 0)}}</text>
<image class="float-image" src="{{moment.floatImage(item.typicalFloatingQuotedPrice)}}" wx:if="{{moment.checkPrice(item.typicalFloatingQuotedPrice)}}"></image>
</view>
<view class="text-gray text-sm" style="margin-top: 4rpx;">调价时间:{{moment.formateTimes(item.latestQuoteTime, 5, 10)}}</view>
</view>
<view class="text-black" style="width: 20%;;" bindtap="lookItem">{{stringUtil.queue(item.totalReceivedQuantity)}}</view>
<view class="text-black" style="width: 16%;" bindtap="lookItem">{{stringUtil.precent(item.startDeductionPoints)}}</view>
<view style="width: 48rpx;" bindtap="onFlodTap">
<view class="text-black" style="width: 20%;">{{stringUtil.queue(item.totalReceivedQuantity)}}</view>
<view class="text-black" style="width: 16%;">{{stringUtil.precent(item.startDeductionPoints)}}</view>
<view style="width: 48rpx;" catchtap="onFlodTap">
<text class="cuIcon-triangle{{unflod ? 'upfill': 'downfill'}} text-gray" style="font-size:48rpx;"></text>
</view>
</view>

10
pages/ztbvip/index.wxml

@ -31,14 +31,14 @@
</view>
<view class="text-bold bg-white" style="font-size:32rpx;color:#333333;padding:12rpx 12rpx 8rpx 32rpx;">选择购买的会员产品</view>
<scroll-view class="bg-white" scroll-x="{{true}}" style="width: 750rpx;height: 340rpx;">
<scroll-view class="bg-white" scroll-x="{{true}}" style="width: 750rpx;height: 320rpx;">
<view style="display:flex;align-items: center;width: 750rpx;">
<view style="min-width: 208rpx;margin-left: 32rpx;height: 300rpx;" wx:for="{{iconList}}" wx:key="index" data-index="{{index}}" bindtap="onGridTap">
<view style="min-width: 208rpx;margin-left: 32rpx;height: 280rpx;" wx:for="{{iconList}}" wx:key="index" data-index="{{index}}" bindtap="onGridTap">
<view class="{{item.id == divIndex? 'openVip22':'openVip21'}}" style="position: relative;margin-top: 24rpx;">
<view style="padding:24rpx 0rpx;text-align: center">
<view class="text-cut text-bold" style="font-size:36rpx;color:#333333">{{item.days}}{{item.title}}</view>
<view class="text-price text-bold" style="margin-top:16rpx;font-size:50rpx;color:#F5222D">{{item.realPrice}}</view>
<view style="margin-top:16rpx;font-size:24rpx;color:#999999;text-decoration:line-through">原价:¥{{item.bidPrice}}</view>
<view class="text-cut text-bold" style="font-size:36rpx;color:#333333;height: 60rpx;">{{item.days}}{{item.title}}</view>
<view class="text-price text-bold text-center" style="height: 72rpx;font-size:50rpx;color:#F5222D">{{item.realPrice}}</view>
<view style="height:40rpx;font-size:24rpx;color:#999999;text-decoration:line-through">原价:¥{{item.bidPrice}}</view>
<view style="height: 16rpx;"></view>
<text style="background: #F2F1F4;border-radius: 8rpx;padding: 8rpx 16rpx;font-size: 20rpx;color: #888888;">{{item.description}}</text>
</view>

Loading…
Cancel
Save