| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <!--StepPage/pages/qrCode/qrCode.wxml-->
- <van-overlay show="{{ishow}}" z-index='999'>
- <view class="show_box">
- <view class="show_title"> <van-search style="width: 85%;" value="{{ searchValue }}" placeholder="请输入搜索关键词" bind:search="onSearch"
- />
- <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancel">取消</view>
- </view>
- <scroll-view style="height: 88%;" scroll-y="true">
- <view wx:for="{{searchList}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" class="show_item" bindtap="handleChoose">
- {{item.title}}
- </view>
- </scroll-view>
- </view>
- </van-overlay>
- <image src="../../../images/head.png" style="width:100%;height: 250rpx;z-index:-1"></image>
- <van-popup show="{{ show }}" bind:close="onClose">
- <canvas style="width: 400rpx;height: 400rpx;margin: 0;" canvas-id="myQrcode"></canvas>
- </van-popup>
- <view class="title">授权二维码信息</view>
- <van-cell-group style="width: 100%;">
- <van-field
- label='手机号码'
- value="{{ mobile }}"
- placeholder="请输入手机号"
- required
- bind:change='handleChangeMobile'
- >
- </van-field>
- </van-cell-group>
- <view wx:for="{{chooseList}}" wx:for-item='item' wx:for-index='index' class="chooseItem" wx:key="index">
- <view wx:if="{{set_status!='is_detail'}}" class="btn1 add" data-index="{{index}}" bindtap="handleAdd">+</view>
- <view wx:if="{{set_status!='is_detail'}}" class="btn1 delete" data-index="{{index}}" bindtap="handleDelete">X</view>
- <van-cell-group>
- <van-field
- label='4s门店'
- value="{{ item.title }}"
- placeholder="请选择"
- required
- readonly
- use-button-slot
- >
- <van-button slot="button" size="small" type="primary" data-index="{{index}}" bindtap="handleSearch">
- 选择
- </van-button>
- </van-field>
- <van-field
- label='授权时间'
- value="{{ item.expires_time }}"
- placeholder="请选择"
- readonly
- use-button-slot
- >
- <picker mode="date" value="{{item.expires_time}}" start="2015-01-01" end="2040-12-30" bindchange="bindDateChange" slot="button" data-index="{{index}}">
- <van-button size="small" type="primary">
- 选择
- </van-button>
- </picker>
- </van-field>
- </van-cell-group>
- </view>
- <view class="btn">
- <van-button color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleBack"> <text class="font_item">返回</text></van-button>
- <van-button color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleNext"> <text class="font_item">生成二维码</text></van-button>
- </view>
|