123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- <import src="../public-view.wxml" />
- <view class="top">
- <image src="../../../icon/public/pay_success.png"></image>
- <text>恭喜您~支付成功</text>
- <text>服务专员将会在24小时内为您服务
- 如有问题请致电400-881-9211</text>
- </view>
- <!-- 分享 -->
- <block wx:if="{{type=='share'}}">
- <view class="share">
- <button open-type="share" hover-class="none" plain="true" style="border-color: rgba(0, 0, 0, 0)">分享给好友</button>
- </view>
- </block>
- <!-- 需要补缴 -->
- <block wx:elif="{{type=='pay'}}">
- <view class="interval"></view>
- <text>亲,你还有费用未补缴哦!</text>
- <text>为确保能正常缴费,请尽快补缴差额</text>
- <view bindtap="pay">立即补缴</view>
- <view bindtap="doNotPay">稍后补缴</view>
- </block>
- <!-- 支付流水 -->
- <block wx:elif="{{type=='salary'}}">
- <view class="interval"></view>
- <text>还有社保流水费待支付</text>
- <text>为确保能正常参保,请及时支付社保流水以便产生流水记录,
- 支付后由平台返还至你的银行账户</text>
- <view bindtap="salary">立即支付</view>
- </block>
- <!-- 添加银行卡 -->
- <block wx:elif="{{type=='addCard' || type=='tipsCard'}}">
- <view class="interval"></view>
- <view class="addCard">
- <text>离返还流水费还差一步</text>
- <text>请及时添加银行卡</text>
- <text>已缴纳的社保流水费用,将返还于添加的银行卡号上</text>
- <view wx:if="{{type=='addCard'}}" bindtap="addCard">立即添加</view>
- </view>
- </block>
- <!-- 调查问卷 -->
- <block wx:elif="{{type=='survey'}}">
- <view class="survey-button" bindtap="survey">填问卷拿福利</view>
- </block>
- <view class="survey-view" hidden="{{survey.hidden}}" bindtap="hiddenSurveyView">
- <view class="survey-bottom-view" animation="{{survey.animation}}"></view>
- <view animation="{{survey.animation}}">
- <view>
- <view></view>
- <text>首单有奖问卷调查</text>
- <image src="../../../icon/public/delete.png" bindtap="hiddenSurveyView"></image>
- </view>
- <view></view>
-
- <view class="{{survey.bgvc}}" animation="{{survey.scrollAnimation}}">
- <view class='survey-answer-view' wx:for="{{survey.answers}}" wx:key="" wx:for-index="i">
-
- <view class="survey-question-view">
- <text>{{survey.questions[i]}}</text>
- <text hidden="{{survey.questions.length - i == 1}}">(可多选)</text>
- </view>
- <scroll-view scroll-y class="survey-answer-scroll-view">
- <block wx:for="{{survey.answers[i]}}" wx:for-item="answer" wx:for-index="j" wx:key="">
- <view class="survey-answer-item" bindtap="surveyChooseAction" id="{{j}}">
- <image src="../../../icon/public/{{tools.getImage(survey.chose[i], j)}}.png"></image>
- <text>{{answer}}</text>
- </view>
- <view></view>
- </block>
- <view class="survey-answer-bottom"></view>
-
- </scroll-view>
- <view bindtap="surveyAction" class="survey-button-view">
- <view bindtap="surveyAction">{{tools.getButton(survey.questions, i)}}</view>
- </view>
- </view>
-
- <view class='survey-result-view'>
- <view>
- <image src="../../../icon/public/pay_success.png"></image>
- <text>感谢参与有奖问卷调查,您的反馈让我们\n能够为你带来更好的使用体验!</text>
- </view>
- <view>
- <view>恭喜你,获得一张专享优惠券,可用于下次下单时抵扣</view>
- <image src="../../../icon/public/servey_jiao.png"></image>
- </view>
- <template is="discount-item" data="{{...survey.result, id: 0, type: 'show', chose: [], canUse: '1', imagePath: '../../../icon/public/'}}"/>
- </view>
- </view>
- </view>
- </view>
- <wxs module="tools">
- var getImage = function(a,i) {
- return a.indexOf(i) >= 0 ? 'filter_s' : 'filter_n'
- }
- var getButton = function(a, i) {
- var buttonT = i == a.length - 1 ? ' 提交' : ' 下一题'
- return (i + 1) + '/' + a.length + buttonT
- }
- module.exports.getImage = getImage
- module.exports.getButton = getButton
- </wxs>
|