耀实惠小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

878 lines
23 KiB

  1. <template>
  2. <view class="page_box">
  3. <view class="bg_img">
  4. <image :src="img_url+'webmaster_application_pic.png'" mode=""></image>
  5. </view>
  6. <view class="card">
  7. <!-- <view class="row">
  8. <text>推荐人</text>
  9. <view class="text_box" >
  10. <u-input v-model="top_name" disabled> </u-input>
  11. </view>
  12. </view> -->
  13. <u-form :model="form" ref="uForm">
  14. <u-form-item prop="share_id" :border-bottom="false">
  15. <view class="row">
  16. <text>邀请码</text>
  17. <view class="text_box" >
  18. <u-input v-model="form.share_id" :disabled="state>0" placeholder="请输入邀请码"> </u-input>
  19. </view>
  20. </view>
  21. <view class="flex align-center" style="color: #FF0000;">
  22. <text class="p-l-30 font-22">{{stationmaster_code.title }}: {{stationmaster_code.value}}</text>
  23. <view class="text-white font-22 my-header-copy--txt" @click="copy(stationmaster_code.value)">复制</view>
  24. </view>
  25. </u-form-item>
  26. <u-form-item prop="shop_name" :border-bottom="false">
  27. <view class="row">
  28. <text>店铺名称</text>
  29. <view class="text_box" >
  30. <u-input v-model="form.shop_name" :disabled="state>0" placeholder="请输入店铺名称"> </u-input>
  31. </view>
  32. </view>
  33. </u-form-item>
  34. <u-form-item prop="address" :border-bottom="false" @tap="chooseCity(1)">
  35. <view class="row" @tap="chooseCity(1)" >
  36. <text>店铺地址</text>
  37. <view class="text_box">
  38. <text v-if="!form.address">请选择区域</text>
  39. <text class="black" v-else>{{form.address}}</text>
  40. <!-- <u-input placeholder="请选择区域" v-model="" disabled> </u-input> -->
  41. </view>
  42. </view>
  43. </u-form-item>
  44. <u-form-item prop="area" :border-bottom="false">
  45. <view class="row">
  46. <text>详细地址</text>
  47. <view class="text_box black" >
  48. <u-input v-model="form.area" :disabled="state>0" type="textarea" height="79" auto-height />
  49. <!-- <input type="text" v-model="area" placeholder="请输入店铺地址"> -->
  50. <!-- <text v-if="!area"></text>
  51. <text class="black" v-else>{{area}}</text> -->
  52. </view>
  53. </view>
  54. </u-form-item>
  55. <u-form-item prop="name" :border-bottom="false">
  56. <view class="row">
  57. <text>联系人</text>
  58. <view class="text_box" >
  59. <u-input placeholder="请输入联系人" :disabled="state>0" v-model="form.name"> </u-input>
  60. </view>
  61. </view>
  62. </u-form-item>
  63. <u-form-item prop="phone" :border-bottom="false">
  64. <view class="row">
  65. <text>联系电话</text>
  66. <view class="text_box" >
  67. <u-input placeholder="请输入电话号码" :disabled="state>0" v-model="form.phone" type="number" maxlength="11"> </u-input>
  68. </view>
  69. </view>
  70. </u-form-item>
  71. <u-form-item prop="nature">
  72. <view class="row">
  73. <text>站长性质</text>
  74. <view class="text_box" @click="toshow">
  75. <text v-if="!form.nature">请选择</text>
  76. <text class="black" v-else>{{form.nature}}</text>
  77. </view>
  78. </view>
  79. </u-form-item>
  80. <view class="row">
  81. <text>地图定位</text>
  82. <view @tap.stop="getChooseLocation" class="text_box" v-if="form.latitude == null && form.longitude == null" >
  83. <text>请选择区域</text>
  84. </view>
  85. <map v-else style="width: 480rpx; height: 160rpx; position: relative;"
  86. :latitude="form.latitude" :longitude="form.longitude" :markers="markers"
  87. @regionchange="onMapDrag" show-location>
  88. <!-- :polyline="polyline" 线 onLocationChange handleAuthorize-->
  89. <!-- <cover-image class="locate-img" src="https://cheum.oss-cn-beijing.aliyuncs.com/chemuXcx-img/newimg/locate2.png"></cover-image> -->
  90. <view class="location-img-box" @click.stop="getChooseLocation">
  91. <image style="width: 80rpx; height:80rpx;" :src="img_url + 'location.png'" mode=""></image>
  92. </view>
  93. <!-- <cover-view class="" @click.stop="getChooseLocation">
  94. <cover-image class="location-img" :src="img_url + 'location.png'"></cover-image>
  95. </cover-view> -->
  96. </map>
  97. </view>
  98. </u-form>
  99. <view class="hint" v-if="form.nature !== '非商户'">
  100. <text class="">*上传营业执照照片</text>
  101. </view>
  102. <view class="img_box" v-if="form.nature !== '非商户'">
  103. <view class="hint_pic">
  104. <u-upload ref="uUpload3"
  105. :header="headerInfo"
  106. :action="upload_img"
  107. :custom-btn="true"
  108. :disabled="state>0"
  109. image-mode="none"
  110. @before-upload="isUpload"
  111. @on-success="onSuccess3"
  112. @on-error="onErrorInfo"
  113. max-count="1" width="281" height="192" >
  114. <view slot="addBtn" class="slot-btn" hover-class="slot-btn__hover" hover-stay-time="150">
  115. <image :src="form.hintImage?form.hintImage:(img_url+'upLoad.png')" mode=""></image>
  116. </view>
  117. </u-upload>
  118. <template v-if="state>0">
  119. <image :src="form.hintImage" mode=""></image>
  120. </template>
  121. </view>
  122. </view>
  123. <view class="hint">
  124. <text class="">*上传站长身份证正反面照片</text>
  125. </view>
  126. <view class="img_box">
  127. <view class="pic_box">
  128. <u-upload ref="uUpload"
  129. :header="headerInfo"
  130. :action="upload_img"
  131. :custom-btn="true"
  132. :disabled="state>0"
  133. @before-upload="isUpload"
  134. image-mode="none"
  135. @on-success="onSuccess"
  136. @on-error="onErrorInfo"
  137. max-count="1" width="281" height="192" >
  138. <view slot="addBtn" class="slot-btn" hover-class="slot-btn__hover" hover-stay-time="150">
  139. <image :src="form.idPhoto?form.idPhoto:(img_url+'member/obverse.png')" mode=""></image>
  140. </view>
  141. </u-upload>
  142. <template v-if="state>0">
  143. <image :src="form.idPhoto" mode=""></image>
  144. </template>
  145. </view>
  146. <view class="pic_box">
  147. <u-upload ref="uUpload2"
  148. :header="headerInfo"
  149. :action="upload_img"
  150. :custom-btn="true"
  151. image-mode="none"
  152. :disabled="state>0"
  153. @on-success="onSuccess2"
  154. @before-upload="isUpload"
  155. @on-error="onErrorInfo"
  156. max-count="1" width="281" height="192" >
  157. <view slot="addBtn" class="slot-btn" hover-class="slot-btn__hover" hover-stay-time="150">
  158. <image :src="form.idPhotoImage?form.idPhotoImage:(img_url+'member/reverse.png')" mode=""></image>
  159. </view>
  160. </u-upload>
  161. <template v-if="state>0">
  162. <image :src="form.idPhotoImage" mode=""></image>
  163. </template>
  164. </view>
  165. </view>
  166. <view class="pay_info" v-if="stationmaster_go_money.isOpen == 0">
  167. <text></text>
  168. <text>{{stationmaster_go_money.value}}</text>
  169. <text>/</text>
  170. </view>
  171. <view class="m-l-30 m-t-20" v-if="state == '-1' || state == '0'">
  172. <u-checkbox-group active-color="#01AD19" >
  173. <u-checkbox v-model="isAgreement" shape="circle" @change="handleChekChange">
  174. <view class="login-agreement">
  175. 请勾选
  176. <text class="login-agreement--text" @click.stop="toAgreement('合作协议', 0)">合作协议</text>
  177. <!-- <text class="login-agreement--text" @click.stop="toAgreement('隐私政策', 1)"></text> -->
  178. </view>
  179. </u-checkbox>
  180. </u-checkbox-group>
  181. </view>
  182. <!-- <button class="sumbtn success" @click="submit">{{title_pay}}</button> -->
  183. <button class="sumbtn" @click="submit" v-if="title_text == '提交申请'">{{title_text}}</button>
  184. <button class="sumbtn_shz" @click="submit" v-if="title_text == '审核中'">{{title_text}}</button>
  185. <button class="sumbtn_pay" @click="submit" v-if="title_text == '去支付'">{{title_text}}</button>
  186. <button class="sumbtn" @click="submit" v-if="title_text == '编辑'">{{title_text}}</button>
  187. <button class="sumbtn_success" @click="submit" v-if="title_text == '已完成'">{{title_text}}</button>
  188. <u-picker :popup="true" v-model="is_show" mode="selector" zIndex="1000" :default-selector="[0]" :range="selectChange" @confirm='selectNature' @cancel="onCancel"></u-picker>
  189. <mpvue-city-picker :themeColor="themeColor" ref="mpvueCityPicker" :pickerValueDefault="cityPickerValue" @onCancel="onCancel" @onConfirm="onConfirm"></mpvue-city-picker>
  190. </view>
  191. </view>
  192. </template>
  193. <script>
  194. import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue';
  195. import config_img from "@/utils/js/config.js";
  196. export default {
  197. components: {
  198. mpvueCityPicker
  199. },
  200. data() {
  201. return {
  202. img_url: config_img.img_url,
  203. isAgreement: false,
  204. upload_img: '',
  205. href: 'api/info/upload',
  206. headerInfo: {
  207. "content-type": "application/x-www-form-urlencoded",
  208. "X-Access-Token": ''
  209. },
  210. fileList1: [],
  211. is_show: false,
  212. selectChange: ['商户', '非商户'],
  213. cityPickerValue: [0, 0, 0],
  214. themeColor: '#007AFF',
  215. markers: [], // 标记点列表
  216. select_show: 0, //用户点击的是那一个0 区域 1 地址
  217. form: {
  218. share_id: '',
  219. shop_name: "",
  220. name: "",
  221. phone: "",
  222. address: "",
  223. area: "",
  224. latitude: 1, // 当前位置经纬度
  225. longitude: 1, // 当前位置经纬度
  226. nature: "",
  227. idPhoto: "", //正面身份证
  228. idPhotoImage: "", //反面身份证
  229. hintImage: "", // 营业执照
  230. },
  231. rules: {
  232. share_id: [
  233. {
  234. required: true,
  235. message: '请输入邀请码',
  236. trigger: ['blur']
  237. }
  238. ],
  239. shop_name: [
  240. {
  241. required: true,
  242. message: '请输入店铺名称',
  243. trigger: ['blur']
  244. }
  245. ],
  246. address: [
  247. {
  248. required: true,
  249. message: '请选择店铺地址',
  250. trigger: ['change', 'blur']
  251. }
  252. ],
  253. area: [
  254. {
  255. required: true,
  256. message: '请输入店铺地址',
  257. trigger: ['blur']
  258. }
  259. ],
  260. name: [
  261. {
  262. message: '请输入联系人',
  263. },
  264. {
  265. validator: (rule, value, callback) => {
  266. let username = /^[\u4E00-\u9FA5\uf900-\ufa2d·s]{2,99}$/;
  267. return username.test(value);
  268. },
  269. message: '请输入正确格式的联系人',
  270. trigger: ['blur']
  271. }
  272. ],
  273. phone: [
  274. {
  275. required: true,
  276. message: '请输入手机号码',
  277. trigger: ['change', 'blur']
  278. },
  279. {
  280. message: '请输入正确格式的手机号码',
  281. validator: (rule, value, callback) => {
  282. return this.$u.test.mobile(value);
  283. }
  284. }
  285. ],
  286. nature: [
  287. {
  288. required: true,
  289. message: '站长性质',
  290. trigger: ['change', 'blur']
  291. }
  292. ],
  293. },
  294. title_text: "提交申请",
  295. title_pay: "去支付",
  296. isEdit: false,
  297. id: '', //支付id
  298. payType: null, // 是否已经支付
  299. stationmaster_go_money: {},
  300. stationmaster_code: {},
  301. state: -1, //-1为添加 0为编辑 1 支付 2 已完成
  302. isReject : 0 ,// 0 不是 3 是
  303. }
  304. },
  305. onLoad() {
  306. let token = uni.getStorageSync("__user_token");
  307. this.headerInfo["X-Access-Token"] = token;
  308. this.upload_img = this.$upload_img;
  309. this.getIsStation()
  310. },
  311. onReady() {
  312. this.$refs.uForm.setRules(this.rules);
  313. },
  314. methods: {
  315. toAgreement(title, type) {
  316. this.$tools.navigateTo({
  317. url: `/pages/agreement/index?title=${title}&type=${type}`
  318. })
  319. },
  320. // 查询站长是否存在
  321. getIsStation() {
  322. uni.showLoading()
  323. this.$api('getIsStation')
  324. .then(res => {
  325. let { code, result, message } = res
  326. if (code === 200) {
  327. console.log(result)
  328. if (result.stationmaster) {
  329. this.form.share_id = result.pid
  330. this.form.shop_name = result.stationmaster.shopName
  331. this.form.name = result.stationmaster.name
  332. this.form.phone = result.stationmaster.phone
  333. this.form.address = result.stationmaster.shopAddress
  334. this.form.area = result.stationmaster.address
  335. this.form.nature = result.stationmaster.nature
  336. this.form.latitude = result.stationmaster.latitude // 当前位置经纬度
  337. this.form.longitude = result.stationmaster.longitude // 当前位置经纬度
  338. this.form.idPhoto = result.stationmaster.idPhoto //正面身份证
  339. this.form.idPhotoImage = result.stationmaster.idPhotoImage //反面身份证
  340. this.form.hintImage = result.stationmaster.businessLicenseImage // 营业执照
  341. this.state = result.stationmaster.state //状态
  342. if( result.stationmaster.state == 0){
  343. this.title_text = "审核中";
  344. this.isEdit = true
  345. }else if (result.stationmaster.state == 1){
  346. this.title_text = "初步审核通过";
  347. }else if (result.stationmaster.state == 3){
  348. this.title_text = "编辑";
  349. this.isEdit = true
  350. this.isReject = result.stationmaster.state;
  351. }
  352. else if (result.stationmaster.state == 4){
  353. this.title_text = "去支付";
  354. this.isEdit = true
  355. this.isReject = result.stationmaster.state;
  356. }else{
  357. this.title_text = "已完成";
  358. }
  359. this.id = result.stationmaster.id
  360. this.payType = result.stationmaster.payType
  361. // this.isEdit = true;
  362. // 是站长
  363. }else {
  364. // 不是
  365. }
  366. this.stationmaster_code = result.stationmaster_code
  367. this.stationmaster_go_money = result.stationmaster_go_money
  368. uni.hideLoading();
  369. } else {
  370. this.$Toast(message)
  371. uni.hideLoading();
  372. }
  373. })
  374. .catch(err => {
  375. this.$Toast(err.message)
  376. })
  377. },
  378. onSuccess(data) {
  379. this.form.idPhoto = data.result
  380. },
  381. onSuccess2(data){
  382. this.form.idPhotoImage = data.result
  383. },
  384. onSuccess3(data){
  385. this.form.hintImage = data.result
  386. },
  387. onErrorInfo(data) {
  388. console.log(data)
  389. if(data.code == 401){
  390. this.$tools.navigateTo({
  391. url: '/pages/login/login'
  392. })
  393. }
  394. },
  395. getChooseLocation() {
  396. if(this.latitude == null && this.longitude == null){
  397. uni.getLocation({
  398. type: 'gcj02 ',
  399. success: res => {
  400. console.log(res)
  401. this.form.latitude = res.latitude;
  402. this.form.longitude = res.longitude;
  403. this.handleAuthorize()
  404. },
  405. fail: err=> {
  406. this.$Toast('定位失败!')
  407. }
  408. })
  409. }else {
  410. this.handleAuthorize()
  411. }
  412. },
  413. // 授权定位
  414. handleAuthorize() {
  415. uni.chooseLocation({
  416. latitude: this.form.latitude,
  417. longitude: this.form.longitude,
  418. success: res =>{
  419. console.log(res)
  420. this.latitude = res.latitude
  421. this.longitude = res.longitude
  422. },
  423. fail: err => {
  424. console.log(err)
  425. }
  426. })
  427. },
  428. copy (val) {
  429. uni.setClipboardData({
  430. data: val,
  431. showToast: true
  432. })
  433. },
  434. onMapDrag(e){
  435. // 获取用户定位的经纬度
  436. var map = uni.createMapContext('myMap', this);
  437. map.getCenterLocation({
  438. success:(res)=>{
  439. console.log(res)
  440. this.qqmapsdk.reverseGeocoder({
  441. location: {
  442. latitude: res.latitude,
  443. longitude: res.longitude
  444. },
  445. success: (location) => {
  446. let {result} = location
  447. console.log('location=======>',result,result.formatted_addresses.recommend)
  448. this.locale = result.formatted_addresses.recommend
  449. },
  450. })
  451. setTimeout(()=>{
  452. this.getMarkeres(res.latitude, res.longitude)
  453. },1000)
  454. }
  455. })
  456. },
  457. submit() {
  458. if(this.title_text == '已完成' || this.title_text == '审核中') return false
  459. // 是否勾选协议
  460. if(!this.isAgreement && (this.state == '-1' || this.state == '0')) {
  461. this.$Toast('请勾选合作协议!');
  462. return
  463. }
  464. // share_id //未确定
  465. const params = {
  466. pid: this.form.share_id,
  467. name: this.form.name,
  468. phone: this.form.phone,
  469. nature: this.form.nature,
  470. // pid: this.top_name,
  471. shopName: this.form.shop_name,
  472. shopAddress: this.form.address ,
  473. address: this.form.area,
  474. latitude: this.form.latitude,
  475. longitude: this.form.longitude,
  476. idPhoto: this.form.idPhoto,
  477. idPhotoImage: this.form.idPhotoImage,
  478. businessLicenseImage: this.form.hintImage,
  479. }
  480. if(this.isReject === 3) {
  481. params.state = 3
  482. }
  483. if(params.nature == '非商户'){
  484. delete params.businessLicenseImage;
  485. }
  486. console.log(params)
  487. this.$refs.uForm.validate(valid => {
  488. if (valid) {
  489. // 检测是否都输入了
  490. if(!this.detection()) {
  491. return "";
  492. }
  493. if(this.title_text == '去支付') {
  494. // 支付
  495. this.payMoney()
  496. }else {
  497. // 是否是编辑
  498. if(this.isEdit){
  499. this.addStation(params,'editStation');
  500. }else{
  501. this.addStation(params,'addStation');
  502. }
  503. }
  504. } else {
  505. console.log('验证失败');
  506. }
  507. });
  508. },
  509. detection() {
  510. if(this.form.latitude == null && this.form.longitude == null){
  511. this.$Toast('请进行地图定位!');
  512. return false;
  513. }
  514. if(this.hintImage == "") {
  515. this.$Toast('请上传营业执照!');
  516. return false;
  517. }
  518. if(this.idPhoto == "") {
  519. this.$Toast('请上传身份证正面图片!');
  520. return false;
  521. }
  522. if(this.idPhotoImage == "") {
  523. this.$Toast('请上传身份证反面图片!');
  524. return false;
  525. }
  526. return true
  527. },
  528. // 支付
  529. payMoney(){
  530. this.$api("createStation",{id:this.id}).then(res => {
  531. let { code, result, message} = res;
  532. if(code == 200) {
  533. this.weChatPay(result)
  534. }else {
  535. this.$Toast(message)
  536. }
  537. }).catch(err => {
  538. this.$Toast(err.message)
  539. })
  540. },
  541. weChatPay (params) {
  542. uni.requestPayment({
  543. provider: 'wxpay',
  544. timeStamp: params.timeStamp,
  545. nonceStr: params.nonceStr,
  546. package: params.packageValue,
  547. signType: params.signType,
  548. paySign: params.paySign,
  549. success: res => {
  550. this.title_text = '已完成'
  551. this.$Toast('支付成功');
  552. },
  553. fail:error=>{
  554. this.$Toast('取消支付')
  555. }
  556. })
  557. },
  558. // 提交
  559. addStation (params,url) {
  560. uni.showLoading()
  561. this.$api(url,params)
  562. .then(res => {
  563. let { code, result, message } = res
  564. if (code === 200) {
  565. console.log(result)
  566. this.$Toast(message+"请耐心等待!")
  567. uni.hideLoading();
  568. setTimeout(() => {
  569. this.getIsStation();
  570. },1500)
  571. this.id = result.id
  572. this.isDisabled = true
  573. } else {
  574. this.$Toast(message);
  575. uni.hideLoading();
  576. }
  577. })
  578. .catch(err => {
  579. this.$Toast(err.message)
  580. })
  581. },
  582. toshow(){
  583. // 0 为编辑状态 1 支付 2已完成
  584. if(this.state > 0) {
  585. return
  586. }
  587. this.is_show = true;
  588. console.log(this.is_show)
  589. },
  590. onCancel(e) {
  591. },
  592. selectNature(res) {
  593. // 选择的性质
  594. console.log(res)
  595. const index = res[0];
  596. this.form.nature = this.selectChange[index];
  597. },
  598. chooseCity(index) {
  599. // 0 为编辑状态 1 支付 2已完成
  600. if(this.state > 0) {
  601. return
  602. }
  603. this.select_show = index;
  604. console.log(index)
  605. this.$refs.mpvueCityPicker.show();
  606. },
  607. onConfirm(e) {
  608. // console.log(e)
  609. let arr = e.label.split('-');
  610. this.form.address = `${arr[0]} ${arr[1]} ${arr[2]}`
  611. console.log(e)
  612. },
  613. }
  614. }
  615. </script>
  616. <style lang="scss" scoped>
  617. /deep/ .u-form-item{
  618. padding: 0 !important;
  619. margin: 0 !important;
  620. }
  621. .locate-img {
  622. width: 50rpx;
  623. height: 82rpx;
  624. }
  625. .location-img-box{
  626. width: 80rpx;
  627. position: absolute;
  628. bottom: 0;
  629. right: 20rpx;
  630. z-index: 11;
  631. }
  632. .pic_box {
  633. display: flex;
  634. flex-direction: column;
  635. align-items: center;
  636. margin-right: 40rpx;
  637. /deep/.u-list-item {
  638. margin: 0;
  639. width: 264rpx !important;
  640. height: 158rpx !important;
  641. border-radius: 12rpx;
  642. .u-preview-image{
  643. width: 264rpx;
  644. height: 158rpx;
  645. }
  646. image {
  647. width: 264rpx;
  648. height: 158rpx;
  649. }
  650. }
  651. image {
  652. width: 264rpx;
  653. height: 158rpx;
  654. border-radius: 12rpx;
  655. }
  656. }
  657. .hint_pic{
  658. display: flex;
  659. flex-direction: column;
  660. align-items: center;
  661. margin-right: 40rpx;
  662. /deep/.u-list-item {
  663. margin: 0;
  664. width: 232rpx !important;
  665. height: 232rpx !important;
  666. border-radius: 12rpx;
  667. .u-preview-image{
  668. width: 264rpx;
  669. height: 232rpx;
  670. }
  671. image {
  672. width: 232rpx;
  673. height: 232rpx;
  674. }
  675. }
  676. image {
  677. width: 232rpx;
  678. height: 232rpx;
  679. border-radius: 12rpx;
  680. }
  681. }
  682. .page_box{
  683. position: relative;
  684. .bg_img{
  685. width: 100%;
  686. height: 494rpx;
  687. background-size: 750rpx 494rpx;
  688. }
  689. .card{
  690. position: absolute;
  691. top: 320rpx;
  692. left: 38rpx;
  693. background-color: #fff;
  694. border-radius: 17rpx;
  695. width: 674rpx;
  696. padding-bottom: 50rpx;
  697. box-shadow: 0 3px 6px 0 rgba(0,0,0,0.16);
  698. .row{
  699. display: flex;
  700. align-items: center;
  701. justify-content: space-between;
  702. margin-top: 17rpx;
  703. margin-right: 20rpx;
  704. margin-left: 40rpx;
  705. &:first-child{
  706. margin-top: 34rpx;
  707. }
  708. &:nth-child(3){
  709. margin-left: 32rpx;
  710. }
  711. .mome_box{
  712. height: inherit;
  713. min-height: 79rpx;
  714. border: none;
  715. .mome_address{
  716. width: 480rpx;
  717. min-height: 79rpx;
  718. box-sizing: border-box;
  719. border: 1px solid #DCDCDC;
  720. padding-left: 32rpx;
  721. padding-top: 20rpx;
  722. padding-right: 10rpx;
  723. padding-bottom: 10rpx;
  724. box-sizing: border-box;
  725. font-size: 28rpx;
  726. line-height: 36rpx;
  727. }
  728. }
  729. }
  730. .text_box{
  731. width: 480rpx;
  732. min-height: 79rpx;
  733. border: 1px solid #DCDCDC;
  734. /deep/ .u-input__input{
  735. padding-left: 35rpx;
  736. }
  737. .black{
  738. color: #000000;
  739. }
  740. text{
  741. padding-left: 35rpx;
  742. line-height: 79rpx;
  743. font-size: 28rpx;
  744. color: #9B9B9B;
  745. }
  746. }
  747. .hint{
  748. margin-top: 33rpx;
  749. margin-left: 32rpx;
  750. margin-bottom: 39rpx;
  751. font-size: 28rpx;
  752. color: #000000;
  753. }
  754. .img_box{
  755. margin-left: 59rpx;
  756. display: flex;
  757. }
  758. .sumbtn{
  759. width: 611rpx;
  760. height: 88rpx;
  761. margin-top: 70rpx;
  762. border-radius: 38rpx;
  763. background-color: #01AEEA;
  764. color: #fff;
  765. font-size: 28rpx;
  766. line-height: 88rpx;
  767. text-align: center;
  768. }
  769. .sumbtn_pay{
  770. width: 611rpx;
  771. height: 88rpx;
  772. margin-top: 70rpx;
  773. border-radius: 38rpx;
  774. background-color: #FF0000;
  775. color: #fff;
  776. font-size: 28rpx;
  777. line-height: 88rpx;
  778. text-align: center;
  779. }
  780. .sumbtn_shz{
  781. width: 611rpx;
  782. height: 88rpx;
  783. margin-top: 70rpx;
  784. border-radius: 38rpx;
  785. background-color: #C0C0C0;
  786. color: #fff;
  787. font-size: 28rpx;
  788. line-height: 88rpx;
  789. text-align: center;
  790. }
  791. .sumbtn_success{
  792. width: 611rpx;
  793. height: 88rpx;
  794. margin-top: 70rpx;
  795. border-radius: 38rpx;
  796. background-color: #00FF00;
  797. color: #fff;
  798. font-size: 28rpx;
  799. line-height: 88rpx;
  800. text-align: center;
  801. }
  802. .sumbtn{
  803. width: 611rpx;
  804. height: 88rpx;
  805. margin-top: 70rpx;
  806. border-radius: 38rpx;
  807. background-color: #01AEEA;
  808. color: #fff;
  809. font-size: 28rpx;
  810. line-height: 88rpx;
  811. text-align: center;
  812. }
  813. .sumbtn_stop{
  814. background-color: #a5a5a5;
  815. }
  816. .pay_info{
  817. width: 611rpx;
  818. height: 102rpx;
  819. margin: 0 auto;
  820. border-radius: 17rpx;
  821. line-height: 102rpx;
  822. text-align: center;
  823. background-color: #FFEDCF;
  824. color: #8B5B13;
  825. margin-top: 17rpx;
  826. text{
  827. &:nth-child(1){
  828. font-size: 36rpx;
  829. }
  830. &:nth-child(2){
  831. font-size: 50rpx;
  832. }
  833. &:nth-child(3){
  834. font-size: 30rpx;
  835. }
  836. }
  837. }
  838. .red{
  839. background-color: #DB0618;
  840. }
  841. .success{
  842. background-color: #1AA810;
  843. }
  844. }
  845. }
  846. // 合作协议样式
  847. .login-agreement--text{
  848. color: $u-type-primary;
  849. }
  850. .my-header-copy--txt{
  851. margin-left: 20rpx;
  852. opacity: 0.4;
  853. background: #000000;
  854. width: 100rpx;
  855. height: 28rpx;
  856. line-height: 28rpx;
  857. text-align: center;
  858. border-radius: 10rpx;
  859. }
  860. </style>