create-wish.wxml 3.38 KB
<view class="page">
  <view class="app__bgc bgc {{curStatus==1?'bgc1':''}}"></view>
  <view class="app__bg bg">
    <image src="{{'../../image/oss/create-wish/create-wish-'+curStatus+'.png'}}" mode="scaleToFill" />
  </view>
  <view class="app__content main">
    <view class="top-space"></view>
    <view class="content">
      <!-- <view class="btn" bindtap="onWishHandler">提交心愿单</view> -->
      <!-- 换一批按钮 -->
      <view class="change-btn" bindtap="onChangeStatusHandler">
        <image class="icon" src="../../image/oss/create-wish/cw-exchange-btn.png" mode="widthFix" />
        换一批
      </view>
      <!-- 心愿单 -->
      <view class="wish-container">
        <image class="ebg" mode="widthFix" src="../../image/oss/create-wish/cw-border.png" />
        <!-- 心愿容器 -->
        <view class="wish">
          <view class="wish-item">
            <view class="display">
              <image class="prod" mode="aspectFit" src="../../image/oss/prize/prize_3.png" />
              <image class="close" mode="widthFix" src="../../image/oss/create-wish/cw-close-btn.png" />
            </view>
            <view class="name">丸美弹力蛋白凝时紧致乳</view>
            <view class="val">
              <image class="icon" mode="widthFix" src="../../image/oss/create-wish/cw-light.png" />
              需要弹力值5403
            </view>
          </view>
          <view class="wish-item">
            <view class="display">
              <image class="prod" mode="aspectFit" src="../../image/oss/prize/prize_2.png" />
              <image class="close" mode="widthFix" src="../../image/oss/create-wish/cw-close-btn.png" />
            </view>
            <view class="name">丸美弹力蛋白凝时紧致乳</view>
            <view class="val">
              <image class="icon" mode="widthFix" src="../../image/oss/create-wish/cw-light.png" />
              需要弹力值5403
            </view>
          </view>
          <view class="wish-item">
            <view class="display">
              <image class="prod" mode="aspectFit" src="../../image/oss/prize/prize_1.png" />
              <image class="close" mode="widthFix" src="../../image/oss/create-wish/cw-close-btn.png" />
            </view>
            <view class="name">丸美弹力蛋白凝时紧致乳</view>
            <view class="val">
              <image class="icon" mode="widthFix" src="../../image/oss/create-wish/cw-light.png" />
              需要弹力值5403
            </view>
          </view>
        </view>
        <!-- 提交心愿单 -->
        <view bindtap="onSubmitHandler" class="btn submit-btn">提交心愿单</view>
      </view>
    </view>
  </view>
</view>
<van-popup show="{{ tipsRegisterVisible }}">
  <tips-register-comp bind:evtcomp="evtcomp"></tips-register-comp>
</van-popup>
<van-popup show="{{ tipsGroupMemberVisible }}">
  <tips-group-member-comp bind:evtcomp="evtcomp"></tips-group-member-comp>
</van-popup>
<van-popup show="{{ tipsNewMemberVisible }}">
  <tips-new-comp bind:evtcomp="evtcomp"></tips-new-comp>
</van-popup>
<van-popup show="{{ tipsWishVisible }}">
  <tips-wish-comp bind:evtcomp="evtcomp"></tips-wish-comp>
</van-popup>
<van-popup show="{{ tipsShakeVisible }}">
  <tips-shake-comp bind:evtcomp="evtcomp"></tips-shake-comp>
</van-popup>
<van-popup show="{{ tipsCreateCompleteVisible }}">
  <tips-create-complete-comp bind:evtcomp="evtcomp"></tips-create-complete-comp>
</van-popup>