浏览代码

[活动报名][修改]:[活动报名修改页面内容的展示]

tags/C.7.1.0
meo 6 年前
父节点
当前提交
ed8bcb4d73
共有 2 个文件被更改,包括 2 次插入36 次删除
  1. +1
    -34
      pages/radetail/index.wxml
  2. +1
    -2
      pages/radetail/index.wxss

+ 1
- 34
pages/radetail/index.wxml 查看文件

@@ -1,3 +1,4 @@
<import src="../../wxParse/wxParse.wxml" />
<button class='goback' bindtap='goback'>
<image src='{{wmhome}}' mode="widthFix"></image>
</button>
@@ -16,43 +17,9 @@
</view>
</view>
</view>

<view class='contain clearfix'>
<!-- 优惠券 -->
<navigator wx:for="{{data.coupons}}" wx:key="{{index}}" url="/pages/coupon/detail/index?couponChannelId={{item.id}}&couponId={{item.couponId}}">
<!-- 首页优惠券列表页面 -->
<view class="coupons1">
<view class="coupons1-img">
<image src="{{item.coverImg}}"></image>
</view>
<view class="coupons1-info">
<view class="coupons1-info-name tit">{{item.title}}</view>
<view class="coupons1-info-name subtitle">{{item.subTitle}}</view>
<view class="coupons1-info-price-p">
<text class="i">¥</text>{{item.salePriceStr}}
<view class="coupons-info-manjian" style="margin-top:10rpx;font-size:28rpx;" wx:if="{{item.type == 1}}">
满¥{{item.usePriceStr}}可用
</view>
<view class="coupons-info-manjian" style="margin-top:10rpx;font-size:28rpx;" wx:if="{{item.type == 2||item.type == 3||item.type==4||item.type==5||item.type==6||item.type==7}}">
仅限本店使用
</view>
</view>
</view>
<!-- <view class="coupons1-info-name subtitle sy">剩余{{item.remainInventory}}</view> -->

<view class="coupons1-btn">
<!-- 优惠券价格 -->
<i-button class="buy" hover-class='active' wx:if="{{item.salePriceStr==0}}" data-date='{{data}}'>免费领</i-button>
<i-button class="buy" hover-class='active' wx:elif="{{item.salePriceStr!=0}}" data-date='{{data}}'>马上购</i-button>
</view>
<!-- <view class="coupons1-border"></view> -->
</view>
</navigator>
</view>
</view>
<!-- 自由图文格式 -->
<view wx:if="{{data.type == 2}}">
<import src="../../wxParse/wxParse.wxml" />
<view class="content">
<template is="wxParse" data="{{wxParseData:article.nodes}}" />
</view>

+ 1
- 2
pages/radetail/index.wxss 查看文件

@@ -2,8 +2,6 @@
.coupons {
width: 100%;
position: relative;
background: #eee;
height: 100%;
}

.coupons-body {
@@ -596,6 +594,7 @@ button::after{ border: none; }

.act text {
display: block;
text-align: center;
padding-left: 4.8%;
padding-right: 4.8%;
}


正在加载...
取消
保存