1 |
- <view class="index data-v-57280228"><cu-loadding vue-id="8dd740cc-1" show="{{show}}" class="data-v-57280228" bind:__l="__l"></cu-loadding><cu-custom vue-id="8dd740cc-2" bgColor="bg-gradual-blue" class="data-v-57280228" bind:__l="__l" vue-slots="{{['content']}}"><view slot="content" class="data-v-57280228">{{value.title}}</view></cu-custom><rich-text style="width:100vw;" nodes="{{value.describe}}" class="data-v-57280228"></rich-text><view class="titles data-v-57280228" style="background-color:#f60d11;"><view class="bg-pink light data-v-57280228"></view><view class="data-v-57280228">填写信息</view></view><view class="from padding-lr padding-bottom data-v-57280228" style="background-color:#f60d11;"><view class="bg-white padding-bottom padding-top-xl data-v-57280228" style="border-radius:20rpx;"><form class="data-v-57280228"><view class="cu-form-group data-v-57280228"><view class="title text-bold text-black data-v-57280228">门店名称</view><view class="text-bold text-black data-v-57280228" style="flex:1;">{{value.branch_name}}</view></view><view class="cu-form-group data-v-57280228"><view class="title text-bold text-black data-v-57280228">门店地址</view><view class="text-bold text-black data-v-57280228" style="flex:1;">{{value.branch_address}}</view><text class="cuIcon-locationfill data-v-57280228" style="color:#f60d11;"></text></view><view class="cu-form-group data-v-57280228"><view class="title text-bold text-black data-v-57280228">服务电话</view><view class="text-bold text-black data-v-57280228" style="flex:1;">{{value.branch_tel}}</view><van-icon vue-id="8dd740cc-3" size="16" color="#f60d11" name="phone" data-com-type="wx" class="data-v-57280228" bind:__l="__l"></van-icon></view><view class="cu-form-group data-v-57280228"><view class="title text-bold text-black data-v-57280228">填写姓名</view><input class="text-bold text-black data-v-57280228" type="text" placeholder="请输入车型" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['formData']]]]]}}" value="{{formData.name}}" bindinput="__e"/></view><view class="cu-form-group data-v-57280228"><view class="title text-bold text-black data-v-57280228">填写车型</view><input class="text-bold text-black data-v-57280228" type="text" placeholder="请输入车型" data-event-opts="{{[['input',[['__set_model',['$0','model','$event',[]],['formData']]]]]}}" value="{{formData.model}}" bindinput="__e"/></view><view class="cu-form-group data-v-57280228"><view class="title text-bold text-black data-v-57280228">车牌号码</view><view style="flex:auto;" class="data-v-57280228"><key-code vue-id="8dd740cc-4" value="{{formData.number}}" data-event-opts="{{[['^updateValue',[['__set_sync',['$0','number','$event'],['formData']]]]]}}" bind:updateValue="__e" class="data-v-57280228" bind:__l="__l"></key-code></view></view><view class="cu-form-group data-v-57280228"><view class="title text-bold text-black data-v-57280228">手机号码</view><input class="text-bold text-black data-v-57280228" type="number" confirm-type="done" placeholder="请输入手机号码" data-event-opts="{{[['confirm',[['submit',['$event']]]],['input',[['__set_model',['$0','tel','$event',[]],['formData']]]]]}}" value="{{formData.tel}}" bindconfirm="__e" bindinput="__e"/></view><view class="cu-form-group justify-center data-v-57280228"><view style="width:300rpx;" class="data-v-57280228"><van-button vue-id="8dd740cc-5" loading="{{loading}}" color="#f60d11" size="small" block="{{true}}" round="{{true}}" type="info" data-event-opts="{{[['^click',[['submit']]]]}}" data-com-type="wx" bind:click="__e" class="data-v-57280228" bind:__l="__l" vue-slots="{{['default']}}">提交信息</van-button></view></view></form></view></view><view class="titles data-v-57280228" style="background-color:#f60d11;"><view class="bg-pink light data-v-57280228"></view><view class="text-center data-v-57280228">{{"已有"+historyData.totalResult+"人购买"}}</view></view><view class="padding-lr padding-bottom data-v-57280228" style="background-color:#f60d11;"><view class="padding-bottom padding-top-xl bg-white data-v-57280228" style="border-radius:20rpx;flex-wrap:wrap;"><view class="flex padding-tb data-v-57280228"><view class="text-center text-bold text-black data-v-57280228" style="width:20%;">序号</view><view class="text-center text-bold text-black data-v-57280228" style="width:25%;">车牌号码</view><view class="text-center text-bold text-black data-v-57280228" style="width:25%;">卡卷状态</view><view class="text-center text-bold text-black data-v-57280228" style="width:30%;">购买时间</view></view><block wx:for="{{historyData.value}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="flex padding-tb-sm border data-v-57280228"><view class="text-center text-cut data-v-57280228" style="width:20%;">{{index+1}}</view><view class="text-center text-cut data-v-57280228" style="width:25%;">{{item.number}}</view><view class="text-center text-cut data-v-57280228" style="width:25%;">已经领取</view><view class="text-center text-cut data-v-57280228" style="width:30%;">{{item.create_time}}</view></view></block><block wx:if="{{btnShow}}"><view class="flex justify-center padding data-v-57280228"><view style="width:300rpx;" class="data-v-57280228"><van-button vue-id="8dd740cc-6" color="#f60d11" size="small" block="{{true}}" round="{{true}}" type="info" data-event-opts="{{[['^click',[['more']]]]}}" data-com-type="wx" bind:click="__e" class="data-v-57280228" bind:__l="__l" vue-slots="{{['default']}}">查看更多</van-button></view></view></block></view></view><view data-event-opts="{{[['tap',[['personal',['$event']]]]]}}" class=" bg-orange light round padding-sm flex align-center justify-center data-v-57280228" style="width:120rpx;height:120rpx;box-shadow:0rpx 0rpx 20rpx #aaa;position:fixed;right:40rpx;bottom:30vh;z-index:9999;" bindtap="__e"><view class="text-center data-v-57280228"><text class="cuIcon-peoplefill text-xl data-v-57280228"></text><view class="text-xs data-v-57280228">个人中心</view></view></view><view data-event-opts="{{[['tap',[['pic',['$event']]]]]}}" class=" bg-orange light round padding-sm flex align-center justify-center data-v-57280228" style="width:120rpx;height:120rpx;box-shadow:0rpx 0rpx 20rpx #aaa;position:fixed;right:40rpx;bottom:18vh;z-index:9999;" bindtap="__e"><view class="text-center data-v-57280228"><text class="cuIcon-pic text-xl data-v-57280228"></text><view class="text-xs data-v-57280228">生成海报</view></view></view><view style="height:50px;" class="data-v-57280228"><van-submit-bar vue-id="8dd740cc-7" loading="{{loading}}" price="{{value.amount*100}}" button-text="立即购买" data-event-opts="{{[['^submit',[['submit']]]]}}" data-com-type="wx" bind:submit="__e" class="data-v-57280228" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['consult',['$event']]]]]}}" bindtap="__e" class="data-v-57280228"><van-icon vue-id="{{('8dd740cc-8')+','+('8dd740cc-7')}}" name="service-o" data-com-type="wx" class="data-v-57280228" bind:__l="__l"></van-icon><text class="data-v-57280228">咨询</text></view></van-submit-bar></view><van-dialog vue-id="8dd740cc-9" message="尚未登录" confirmButtonText="微信快捷登录" show="{{dialog}}" id="van-dialog" show-cancel-button="{{true}}" confirm-button-open-type="getPhoneNumber" data-event-opts="{{[['^close',[['e0']]],['^getphonenumber',[['getphonenumber']]]]}}" data-com-type="wx" bind:close="__e" bind:getphonenumber="__e" class="data-v-57280228" bind:__l="__l"></van-dialog></view>
|