银花优选微信小程序修改后的最新版本代码

This commit is contained in:
ss001
2026-02-07 16:22:31 +08:00
commit c00caf5744
516 changed files with 41796 additions and 0 deletions

1254
pages/appbusiness/index.js Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
{
"navigationBarTitleText": "申请线下商家"
}

View File

@@ -0,0 +1,191 @@
<import src="../../wxParse/wxParse.wxml"/>
<view class="container">
<form bindsubmit='saveaddress' wx:if="{{uid>68}}">
<view class="myaddress-box">
<view class="frombody" wx:if="{{byNumber==0}}">
<view style="font-weight: 800;color:#ff4d00;">
请仔细填写、需提交三方审核
</view>
<view style="font-weight: 800;">
第一步:填写商家资料
</view>
<view class="area">
<picker class="picker_hx" name="picker_hx0" value="{{clslist[hc_index].id}}" data-selecthx="{{clslist[hc_index].name}}" range="{{clslist}}" range-key="{{'name'}}" bindchange="clsChange">
<text>商家分类:</text><input name="sjfl" type="text" disabled="disabled" placeholder="请选择商家分类" value="{{clsname}}"/><image src="../../images/icon-arrowdown.png"></image>
</picker>
</view>
<view>
<text>商家名称:</text><input name="txtName" type="text" placeholder="请填写商家名称" value="{{sjname}}" />
</view>
<view>
<text>商家让利:</text><input name="txtylmoney" type="text" placeholder="请填写商家让利({{ylmoney}}-{{ylmoney0}}" value="{{ylmoney}}" bindinput='getylmoney' /><text>%</text>
</view>
<view>
<text>信用代码:</text><input name="txtnumber" type="text" placeholder="请填写统一社会信用代码" value="{{number}}" />
</view>
<view>
<text>对公账号:</text><input name="txtdgzh" type="text" placeholder="没有可留空" value="{{dgzh}}" />
</view>
<view>
<text>法人姓名:</text><input name="txtfrname" type="text" placeholder="请填写公司法人姓名" value="{{frname}}" />
</view>
<view>
<text style="width: 7em;">法人身份证号:</text><input name="txtfridcard" type="text" placeholder="请填写法人身份证号码" value="{{fridcard}}" />
</view>
<view>
<text>联系电话:</text><input name="txttel" type="text" placeholder="请填写联系电话" value="{{tel}}" />
</view>
<view class="upimage_box" style="border-bottom: 0;">
<text>门头照片:</text><view class="image"><image src='{{sjimage0}}' bindtap="onsjimage" data-id="0"></image>
<!--<image src='{{sjimage5}}' bindtap="onsjimage" data-id="5"></image><image src='{{sjimage6}}' bindtap="onsjimage" data-id="6"></image>-->
</view>
</view>
<!--<view style="color:#848484">
最多可上传3张预览图片
</view>-->
<view class="upimage0_box">
<view class="upimage0_title">上传证件:</view>
<view class="upimage0_box_to">
<view class="image" bindtap="onsjimage" data-id="1"><image src='{{sjimage1}}'></image><text>营业执照</text></view>
<view class="image" bindtap="onsjimage" data-id="2"><image src='{{sjimage2}}'></image><text>银行卡</text></view>
<view class="image" bindtap="onsjimage" data-id="3"><image src='{{sjimage3}}'></image><text>身份证正面</text></view>
<view class="image" bindtap="onsjimage" data-id="4"><image src='{{sjimage4}}'></image><text>身份证反面</text></view>
</view>
</view>
<view class="area" bindtap="onarea">
<text>所在地区:</text><input name="area" type="text" disabled="disabled" placeholder="请选择地区" value="{{area}}"/><image src="../../images/icon-arrowdown.png"></image>
</view>
<view>
<text>详细地址:</text><input name="detail" type="text" placeholder="请填写街道、楼牌号等" value="{{detail}}" />
</view>
<view class="area" bindtap="onannotatemap">
<text>标注地图:</text><input name="annotatemap" type="text" disabled="disabled" placeholder="请标注地图" value="{{annotatemap}}"/><image src="../../images/icon-arrowdown.png"></image>
</view>
<view>
<text>服务内容:</text><input name="fwbody" type="text" placeholder="请填写服务内容" value="{{fwbody}}" />
</view>
</view>
<view class="frombody" wx:if="{{byNumber==1}}">
<view style="font-weight: 800;color:#ff4d00;">
第二步:填写收款银行资料
</view>
<view>
<text>开户姓名:</text><input name="AccountName" type="text" placeholder="请填写您的开户姓名" value="{{AccountName}}" />
</view>
<view class="area" bindtap="onBank">
<text>银行名称:</text>
<picker class="picker_hx" name="picker_hx" value="{{BankNames[index].key}}" data-selecthx="{{BankNames[index].key}}" range="{{BankNames}}" range-key="{{'key'}}" bindchange="BankChange"> <view class="picker">
<text wx:if='{{BankNames[index]!=null}}'>{{BankNames[index].key}}</text>
<text wx:if='{{BankNames[index]==null}}'>==请选择==</text>
<image src="../../images/icon-arrowdown1.png"></image>
</view></picker>
</view>
<view>
<text>银行卡号:</text><input name="BankCard" type="text" placeholder="请填写银行卡号" value="{{BankCard}}" />
</view>
<view>
<text>开户行或联行号:</text><input name="BankDepos" type="text" placeholder="对公请填写联行号" value="{{BankDepos}}" />
</view>
</view>
<view class="frombody" wx:if="{{byNumber==2}}">
<view style="font-weight: 800;color:#ff4d00;">
第三步:请您阅读《{{showtitle}}》。
</view>
<view class="wxParse">
<template is="wxParse" data="{{wxParseData:body.nodes}}"/>
</view>
</view>
<view class="frombody" wx:if="{{byNumber==3}}">
<view style="font-weight: 800;color:#ff4d00;">
第四步:请您在下面方框(横屏)签字、完成提交。
</view>
<view class="qianming_box">
<canvas class="canvas" id="canvas" type="2d" disable-scroll="true" bindtouchstart="canvasStart" bindtouchmove="canvasMove" bindtouchend="canvasEnd" touchcancel="canvasEnd" binderror="canvasIdErrorCallback"></canvas>
</view>
</view>
<view style="height: 3em;border: 0;">
</view>
</view>
<view class="footer">
<button class="resetbutton" type="default" wx:if="{{byNumber==3}}" bindtap="clickClear">重新签名</button>
<button class="{{byNumber==0||byNumber==1||byNumber==3?'savebutton':''}}" form-type="submit" data-type="0">{{savebutton}}</button>
<button wx:if='{{(byNumber==0||byNumber==1)&&savebutton=="下一步"}}' class="savebutton" form-type="submit" data-type="1">保存草稿</button>
</view>
</form>
</view>
<view class="Hidden_box" hidden="{{sectionHidden}}" bindtap="closesection">
<view class="section" catchtap="insection">
<view class="section-title">省市区选择器</view>
<view class="close" bindtap="closesection"><image src="../../images/close.png" /></view>
<view class="section-body">
<view>
<text>省份:</text>
<picker class="picker_hx" name="picker_hx" value="{{Provinces[hx_index].ProvinceID}}" data-selecthx="{{Provinces[hx_index].ProvinceName}}" range="{{Provinces}}" range-key="{{'ProvinceName'}}" bindchange="ProvinceChange">
<view class="picker">
<text hidden='{{Provinces[hx_index].ProvinceName==null}}'>{{Provinces[hx_index].ProvinceName}}</text>
<text hidden='{{Provinces[hx_index].ProvinceName!=null}}'>==请选择==</text>
<image src="../../images/icon-arrowdown1.png"></image>
</view>
</picker>
</view>
<view>
<text>城市:</text>
<picker class="picker_hx" name="picker_hx" value="{{Citys[hx_index0].CityID}}" data-selecthx="{{Citys[hx_index0].CityName}}" range="{{Citys}}" range-key="{{'CityName'}}" bindchange="CityChange">
<view class="picker">
<text hidden='{{Citys[hx_index0].CityName==null}}'>{{Citys[hx_index0].CityName}}</text>
<text hidden='{{Citys[hx_index0].CityName!=null}}'>==请选择==</text>
<image src="../../images/icon-arrowdown1.png"></image>
</view>
</picker>
</view>
<view>
<text>县区:</text>
<picker class="picker_hx" name="picker_hx" value="{{Countys[hx_index1].CountyID}}" data-selecthx="{{Countys[hx_index1].CountyName}}" range="{{Countys}}" range-key="{{'CountyName'}}" bindchange="CountyChange">
<view class="picker">
<text hidden='{{Countys[hx_index1].CountyName==null}}'>{{Countys[hx_index1].CountyName}}</text>
<text hidden='{{Countys[hx_index1].CountyName!=null}}'>==请选择==</text>
<image src="../../images/icon-arrowdown1.png"></image>
</view>
</picker>
</view>
</view>
</view>
</view>
<view class="Hidden_box" hidden="{{sectionHidden0}}" bindtap="closesection0">
<view class="section" catchtap="insection" style="margin-top: 0em; width: 100%; height: 100%;padding: 0;">
<view class="section-title">点击地图标注</view>
<view class="close" bindtap="closesection0"><image src="../../images/close.png" /></view>
<view class="section-body">
<map id="myMap" latitude="{{latitude}}" longitude="{{longitude}}" scale="{{scale}}" style="width: 100%; height: 86vh;" show-location="{{true}}" bindtap="maptap" bindpoitap="maptap" bindmarkertap="markertap" bindregionchange="regionchange" markers="{{markers}}">
<cover-view class="loading" wx:if="{{loading}}">
<cover-view class="loading-to">
<cover-image src="../../images/ajaxLoader.gif"></cover-image>
</cover-view>
</cover-view>
</map>
</view>
</view>
</view>
<loading hidden="{{loadingHidden}}">
加载中...
</loading>

View File

@@ -0,0 +1,124 @@
page{
background: #ccc;
}
.container {
position: relative;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-flex-flow: column;
width: 100%;
height: 100%;
font-size: 14px;
color: #000;
}
.footer{
position: fixed;
z-index: 10000;
bottom:0;
left:0;
width: 100%;
text-align: center;
padding: 0;
}
.footer{
display: flex;
flex-direction: row;
}
.footer button{width:100%;height:2.5em; line-height: 2.5em; background:linear-gradient(to right,#00B050,#00B050); color:#fff;border-radius:0;}
.footer button.resetbutton{width:50%;background:linear-gradient(to right,#2CC105,#2CC105); color:#fff;}
.footer button.savebutton{width:50%;}
.myaddress-box{display: flex;flex-direction: column;flex-grow: 1; align-items: center;justify-content: center;width:100%; padding:0; box-sizing: border-box;}
.myaddress-item{width:100%; padding:0.8em; box-sizing: border-box;border:1px solid #f1f1f1; background-color:#fff;border-radius:0.5em;}
.myaddress-contact{width:100%;}
.myaddress-bottom{width:100%;margin-top:0.5em; display: flex;flex-direction: row; align-items: center;justify-content: center;}
.myaddress-bottom .myaddress-btn{width:100%;}
.myaddress-bottom .myaddress-btn image{width:1.2em;height:1.2em; vertical-align: middle;}
.fromtitle{width:100%; background-color:#fff; padding:1em; box-sizing: border-box;}
.fromtitle text{float:left;}
.fromtitle image{float:left;width:1.2em; height:1.2em;}
.fromtitle image.arrowdown{float:right; }
.myaddress-box .frombody{padding:0.8em 1em;width:100%; display: flex;flex-direction: column; align-items: center; background-color:#fff;box-sizing: border-box;}
.myaddress-box .frombody view{position: relative;float:left; width:100%;display: flex;flex-direction:row;border-bottom:1px solid #f1f1f1;padding:0.5em 0; box-sizing: border-box;}
.myaddress-box .frombody view.wxParse{
max-width: 100%;
display: block;
}
.myaddress-box .frombody view.wxParse view{
border-bottom:0;
padding:0;
display: block;
}
.myaddress-box .frombody view.wxParse img,.myaddress-box .frombody view.wxParse image{
max-width: 100%;
}
.myaddress-box .frombody view text{padding:0;height:2.5em; line-height: 2.5em;}
.myaddress-box .frombody view input{width:14em;height:2.5em; line-height: 2.5em;}
.myaddress-box .frombody view.area input{width:12.8em;}
.myaddress-box .frombody view.area image{position: absolute; top:1.1em; right:0; width:1.2em;height:1.2em;}
.myaddress-box .frombody view view.picker{
margin-top: -0.4em;
width:14em;
border-bottom:0;
height:2.5em; line-height: 2.5em;
}
.myaddress-box .frombody view.upimage_box text{width: 12.8em;}
.myaddress-box .frombody view.upimage_box .image{border: 0;}
.myaddress-box .frombody view.upimage_box .image image{width:4em;height:4em;border:1px solid #f1f1f1;}
.myaddress-box .frombody view.upimage0_box{flex-direction: column;}
.myaddress-box .frombody view.upimage0_box view{border: 0;}
.myaddress-box .frombody view.upimage0_box .upimage0_box_to{flex-direction:row}
.myaddress-box .frombody view.upimage0_box .upimage0_box_to .image{flex-direction:column}
.myaddress-box .frombody view.upimage0_box .upimage0_box_to .image text{font-size: 0.85em;}
.myaddress-box .frombody view.upimage0_box .upimage0_box_to .image image{width:4em;height:4em;border:1px solid #f1f1f1;}
.Hidden_box{ position: fixed;display: flex;align-items: center; justify-content: center; top:0; left:0; width:100%;height:100vh; background:rgba(0, 0, 0, 0.5);z-index: 2;}
.section{position: relative; bottom:0; width:90%; height:20em; padding: 0 1em; background-color: #fff; box-sizing: border-box; border-radius:0.5em;}
.section .close{position: absolute; right:0.5em; top:0.5em; width:1.5em; height:1.5em; padding:0.15em; background-color:#fff;border:1px solid #f1f1f1;border-radius:50%;box-sizing:border-box;}
.section .close image{width:100%;height:100%;}
.section-title{width:100%;height:2.5em; line-height: 2.5em; text-align: center; font-weight: 600;border-bottom:1px solid #f1f1f1;}
.section-body{width:100%;}
.section-body view{width:100%;display: flex;flex-direction: row; align-items: center;border-bottom:1px solid #f1f1f1;padding:0.5em 0; box-sizing: border-box; line-height:1.5em;}
.section-body view text{color:#000;}
.section-body view .picker_hx{color:#939393;line-height:2.5em;}
.section-body view .picker_hx view{ float:left; position: relative; display: block; border:0;min-width:10em; padding-left:1em; box-sizing: border-box;border:1px solid #dfdfdf;border-radius:0.3em;line-height:2em;}
.section-body view .picker_hx image{position: absolute; top:1em;right:0.6em; width:1.2em;height:1.2em;}
.myaddress-box .frombody view.area .picker_hx{display: flex;flex-direction:row;}
.myaddress-box .frombody view.area .picker_hx input{position: absolute; top:0.6em;right:1.6em;}
.myaddress-box .frombody view.qianming_box{
width: 100%;
height: 84vh;
background-color: #f1f1f1;
}
.myaddress-box .frombody view.qianming_box .canvas {
width: 100%;
height: 100%;
flex: 1;
box-sizing: border-box;
background-color: #eee;
}
.loading{
position: fixed;
display: flex;
width: 100%;
height: 100%;
align-items: center;
justify-items: center;
background-color: rgba(0, 0, 0, 0);
z-index: 10005;
}
.loading-to{
margin: 0 auto;
width: 3em;
height: 3em;
}
.loading-to image{
width: 100%;
height: 100%;
}
.nodata{padding-top:1em; text-align: center; line-height: 1.5em; color:#939393;}
.nodata image {
width: 80px;
height: 80px;
}