<!--pages/editSuccess/index.wxml-->
<view class='content'>
    <view class='cBox'>
      <image class='tick' src='../../static/images/tick.png' mode='widthFix'></image>
      <text class='txt1'>操作成功</text>
    </view>
    <view  tt:if="{{type==1}}">
      <text class='txt2'>本次积分:<text class='txt3'>+{{creditNum}}</text></text>
    </view>
    <view  tt:if="{{type==2}}">
      <text class='txt4'>消费积分:<text class='txt3'>-{{creditNum}}</text></text>
      <text class='txt5'>剩余积分:<text class='txt6'>{{creditAmount}}</text></text>
    </view>
    <view  tt:if="{{type==3}}">
      <view  class='title' tt:for="{{title}}" tt:key="{{index}}">
        <view class='txt3'>{{item}}赠送成功</view>
      </view>
      <!-- <text class='txt7' >赠送成功</text> -->
    </view>
  </view>
  <view class='bBox'>
    <button class='goOn' bindtap='goOn'>继续</button>
    <button class='goBack' bindtap='goBack'>返回首页</button>
  </view>