index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817
  1. <template>
  2. <!-- 代理商页面 -->
  3. <view v-if="!isFirstload" class="container" :style="appThemeStyle">
  4. <!-- 头部卡片 -->
  5. <view class="cont_header">
  6. <!-- 我的服务 判断营业执照 -->
  7. <view v-if="dlsInfoData.agentstaxnumber && dlsInfoData.agentsshzt === '审核通过'" class="my-service">
  8. <view class="service-title" @click="getCreateOpenid">
  9. <text>企业识别码</text>
  10. <text style="font-weight: 900">{{ dlsInfoData.agentsqym }}</text>
  11. </view>
  12. <view class="uqrCodeText" style="border: none" @click="getCreateOpenid"> 扫一扫下面的二维码图案 </view>
  13. <view class="service-content uqrCodeBox">
  14. <uqrcode
  15. ref="uqrcode"
  16. class="uqrcode"
  17. canvas-id="qrcode"
  18. :size="320"
  19. :value="distribution"
  20. :options="{margin: 10, areaColor: '', foregroundColor: '', foregroundColor: '#156bb4'}"
  21. ></uqrcode>
  22. </view>
  23. </view>
  24. <!-- 未认证 -->
  25. <view v-if="!dlsInfoData.agentstaxnumber" class="my-service my-service-flase" @click="handleLogin">
  26. <view class="service-title">
  27. <text>企业识别码</text>
  28. <text style="font-weight: 900">不可用</text>
  29. </view>
  30. <view class="uqrCodeText" style="border: none"> 企业还没有认证,无法获取企业识别码 </view>
  31. <view class="service-content uqrCodeBox">
  32. <view class="getCodeCenter r_flex_wrap">
  33. <i-pay-code-one theme="outline" size="136" fill="#156bb4" :strokeWidth="2" strokeLinejoin="bevel" strokeLinecap="square" />
  34. 点击立刻认证,获得企业识别码
  35. </view>
  36. </view>
  37. </view>
  38. <!-- 未审核 -->
  39. <view v-if="dlsInfoData.agentstaxnumber && dlsInfoData.agentsshzt === '待审核'" class="my-service my-service-flase my-service-sh">
  40. <view class="service-title">
  41. <text>企业识别码</text>
  42. <text style="font-weight: 900">未审核</text>
  43. </view>
  44. <view class="uqrCodeText" style="border: none"> 企业已经提交资料 </view>
  45. <view class="service-content uqrCodeBox">
  46. <view class="getCodeCenter r_flex_wrap">
  47. <i-pay-code-one theme="outline" size="136" fill="#156bb4" :strokeWidth="2" strokeLinejoin="bevel" strokeLinecap="square" />
  48. 等待管理员审核,审核通过发放企业识别码
  49. </view>
  50. </view>
  51. </view>
  52. <!-- 未审核 -->
  53. <view v-if="dlsInfoData.agentsshzt === '审核不通过'" class="my-service my-service-flase my-service-wtg">
  54. <view class="service-title"> </view>
  55. <view class="uqrCodeText" style="border: none"> 审核未通过 </view>
  56. <view class="service-content uqrCodeBox">
  57. <view class="getCodeCenter r_flex_wrap">
  58. <i-caution theme="outline" size="136" fill="#f44336" :strokeWidth="2" strokeLinejoin="bevel" strokeLinecap="square" />
  59. 审核未通过
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. <view class="cont_content">
  65. <!-- 公司logo -->
  66. <view class="cont_logo">
  67. <img class="gs-logo-bjy" src="/static/background/bjy.png" />
  68. <img class="gs-logo-z" src="/static/background/gs-logo-z.png" />
  69. </view>
  70. <!-- 商户介绍 -->
  71. <view class="cont_sh">
  72. <!-- 名称 -->
  73. <view class="user-content">
  74. <view class="nick-name">
  75. {{ dlsInfoData.agentsname ? dlsInfoData.agentsname : '未认证企业名称' }}
  76. </view>
  77. <view v-if="dlsInfoData.agentstaxnumber && dlsInfoData.agentsshzt === '审核通过'" class="my-mobile-true">
  78. <i-shield-add theme="outline" style="margin-right: 10rpx" size="16" fill="#60d08a" :strokeWidth="3" strokeLinejoin="bevel" strokeLinecap="square" />
  79. <view class="info">企业已认证</view>
  80. </view>
  81. <view class="login-tips">UID: {{ dlsInfoData.agentscustomerid }}</view>
  82. <view v-if="dlsInfoData.agentstaxnumber && dlsInfoData.agentsshzt === '审核通过'" class="login-tips">企业余额:{{ dlsInfoData.agentsamount }}</view>
  83. </view>
  84. <view v-if="dlsInfoData.agentstaxnumber && dlsInfoData.agentsshzt === '审核通过'" class="r_flex_center fenxiao_order" @click="onTargetOrder()">
  85. <view class="item-name">查看我的分销订单</view>
  86. </view>
  87. </view>
  88. </view>
  89. </view>
  90. </template>
  91. <script>
  92. import store from '@/store'
  93. import {inArray} from '@/utils/util'
  94. import AvatarImage from '@/components/avatar-image'
  95. import CustomerBtn from '@/components/customer-btn'
  96. import {setCartTabBadge} from '@/core/app'
  97. import SettingKeyEnum from '@/common/enum/setting/Key'
  98. import SettingModel from '@/common/model/Setting' // 网址设置接口
  99. import * as UserApi from '@/api/user'
  100. import * as OrderApi from '@/api/order'
  101. import {checkLogin, filterModules} from '@/core/app'
  102. import storage from '@/utils/storage'
  103. import * as AppApi from '@/api/app'
  104. import StoreModel from '@/common/model/Store'
  105. // 订单操作
  106. const orderNavbar = [
  107. {
  108. id: 'all',
  109. name: '分销订单',
  110. icon: 'qpdingdan'
  111. }
  112. // {
  113. // id: 'payment',
  114. // name: '待支付',
  115. // icon: 'daifukuan',
  116. // count: 0
  117. // },
  118. // {
  119. // id: 'delivery',
  120. // name: '待发货',
  121. // icon: 'daifahuo',
  122. // count: 0
  123. // },
  124. // {
  125. // id: 'comment',
  126. // name: '已经完成',
  127. // icon: 'daishouhuo',
  128. // count: 0
  129. // }
  130. ]
  131. /**
  132. * 我的服务
  133. * id: 标识; name: 标题名称; icon: 图标; type 类型(link和button); url: 跳转的链接
  134. */
  135. const service = [
  136. {
  137. id: 'address',
  138. name: '人脸核实',
  139. icon: 'shouhuodizhi',
  140. type: 'link',
  141. url: 'pages/address/index'
  142. },
  143. {
  144. id: 'coupon',
  145. name: '销户',
  146. icon: 'lingquan',
  147. type: 'link',
  148. url: 'pages/coupon/index',
  149. moduleKey: 'market-coupon'
  150. },
  151. {
  152. id: 'myCoupon',
  153. name: '变更套餐',
  154. icon: 'youhuiquan',
  155. type: 'link',
  156. url: 'pages/my-coupon/index',
  157. moduleKey: 'market-coupon'
  158. },
  159. {
  160. id: 'refund',
  161. name: '退换/售后',
  162. icon: 'shouhou',
  163. type: 'link',
  164. url: 'pages/refund/index',
  165. count: 0
  166. },
  167. {
  168. id: 'contact',
  169. name: '在线客服',
  170. icon: 'kefu',
  171. type: 'contact'
  172. },
  173. {
  174. id: 'points',
  175. name: '成为代理商',
  176. icon: 'jifen',
  177. type: 'link',
  178. url: 'pages/login/index',
  179. moduleKey: 'market-points'
  180. },
  181. {
  182. id: 'orderCenter',
  183. name: '订单中心',
  184. icon: 'order-c',
  185. type: 'link',
  186. url: 'pages/order/center'
  187. },
  188. {
  189. id: 'help',
  190. name: '我的帮助',
  191. icon: 'bangzhu',
  192. type: 'link',
  193. url: 'pages/help/index',
  194. moduleKey: 'content-help'
  195. }
  196. ]
  197. export default {
  198. components: {
  199. AvatarImage,
  200. CustomerBtn
  201. },
  202. // 计算属性
  203. computed: {
  204. // 计算属性的
  205. userInfoComputd: () => {
  206. return storage.get('wx_userinfo')
  207. }
  208. },
  209. data() {
  210. return {
  211. inArray,
  212. // 枚举类
  213. SettingKeyEnum,
  214. // 正在加载
  215. isLoading: true,
  216. // 首次加载
  217. isFirstload: true,
  218. // 是否已登录
  219. isLogin: false,
  220. // 系统设置
  221. setting: {},
  222. // 当前用户信息
  223. userInfo: {},
  224. // 账户资产
  225. assets: {
  226. balance: '--',
  227. points: '--',
  228. coupon: '--'
  229. },
  230. // 我的服务
  231. service,
  232. // 订单操作
  233. orderNavbar,
  234. // 当前用户待处理的订单数量
  235. todoCounts: {
  236. payment: 0,
  237. deliver: 0,
  238. received: 0
  239. },
  240. wx_qyid: storage.get('wx_qyid'),
  241. userInfoData: {},
  242. distribution: ''
  243. }
  244. },
  245. /**
  246. * 生命周期函数--监听页面显示
  247. */
  248. onLoad(options) {
  249. uni.stopPullDownRefresh()
  250. this.onRefreshPage()
  251. this.userInfoData = storage.get('wx_userinfo')
  252. if (!storage.get('wx_dlsinfo')) {
  253. this.getPageData()
  254. } else {
  255. this.dlsInfoData = storage.get('wx_dlsinfo') || {agentsname: '加载中', agentscustomerid: '加载中'}
  256. }
  257. },
  258. /**
  259. * 生命周期函数--监听页面加载
  260. */
  261. created() {
  262. // 获取图形验证码
  263. // this.getCaptcha()
  264. },
  265. /**
  266. * 生命周期函数--监听页面显示
  267. */
  268. onShow(options) {
  269. // 获取图形验证码
  270. // this.getCaptcha()
  271. },
  272. methods: {
  273. // 刷新页面
  274. onRefreshPage() {
  275. // 更新购物车角标
  276. // setCartTabBadge()
  277. // 判断是否已登录
  278. // this.isLogin = checkLogin()
  279. // 获取页面数据
  280. this.getPageData()
  281. },
  282. // 二维码链接
  283. async getCreateOpenid() {
  284. this.distribution = ''
  285. const resAgents = await AppApi.createOpenid({openid: storage.get('wx_openid')})
  286. this.distribution = resAgents.Data
  287. console.log('二维码连接', this.distribution)
  288. },
  289. // 复制文本
  290. fuzhi(value) {
  291. const oInput = document.createElement('input')
  292. oInput.value = value
  293. document.body.appendChild(oInput)
  294. oInput.select()
  295. document.execCommand('Copy')
  296. uni.showToast({
  297. title: '复制成功',
  298. icon: 'success',
  299. duration: 2000
  300. })
  301. },
  302. // 获取页面数据
  303. async getPageData(callback) {
  304. console.log('下拉刷新user')
  305. const app = this
  306. app.isFirstload = true
  307. // 更新user信息 更新客户信息
  308. await StoreModel.getCustomerData()
  309. // 不是代理商跳转代理注册页面
  310. if (storage.get('wx_userinfo').customertype !== '代理商') {
  311. // 如果已经是代理商则直接登录
  312. this.$navTo('pages/firm/index')
  313. }
  314. // 更新二维码
  315. app.distribution = storage.get('wx_fxm')
  316. // await this.getCreateOpenid()
  317. this.dlsInfoData = storage.get('wx_dlsinfo')
  318. app.isFirstload = false
  319. uni.stopPullDownRefresh()
  320. },
  321. // 初始化我的服务数据
  322. async initService() {},
  323. // 初始化订单操作数据
  324. initOrderTabbar() {},
  325. // 获取当前用户信息
  326. getUserInfo() {
  327. const app = this
  328. return new Promise((resolve, reject) => {
  329. resolve(true)
  330. })
  331. },
  332. // 获取账户资产
  333. getUserAssets() {
  334. const app = this
  335. return new Promise((resolve, reject) => {
  336. resolve(true)
  337. })
  338. },
  339. // 获取当前用户待处理的订单数量
  340. getTodoCounts() {
  341. const app = this
  342. return new Promise((resolve, reject) => {
  343. resolve(true)
  344. })
  345. },
  346. // 跳转到认证
  347. handleLogin() {
  348. this.$navTo('pages/firm/authentication/index')
  349. },
  350. // 跳转到绑定手机号页面
  351. handleBindMobile() {
  352. // this.$navTo('pages/user/bind/index')
  353. this.$navTo('pages/user/certificate/index')
  354. },
  355. // 跳转到修改个人信息页
  356. handlePersonal() {
  357. this.$navTo('pages/user/personal/index')
  358. },
  359. // 退出登录
  360. handleLogout() {
  361. const app = this
  362. uni.showModal({
  363. title: '友情提示',
  364. content: '您确定要退出登录吗?',
  365. success(res) {
  366. if (res.confirm) {
  367. store.dispatch('Logout', {}).then((result) => app.onRefreshPage())
  368. }
  369. }
  370. })
  371. },
  372. // 跳转到钱包页面
  373. onTargetWallet() {
  374. this.$toast('开发中,敬请期待')
  375. return
  376. this.$navTo('pages/wallet/index')
  377. },
  378. // 跳转到订单页
  379. onTargetOrder(item) {
  380. this.$navTo('pages/order/index', {
  381. dataType: 'all'
  382. })
  383. },
  384. // 跳转到我的积分页面
  385. onTargetPoints() {
  386. this.$toast('开发中,敬请期待')
  387. return
  388. this.$navTo('pages/points/log')
  389. },
  390. // 跳转到我的优惠券页
  391. onTargetMyCoupon() {
  392. this.$toast('开发中,敬请期待')
  393. return
  394. this.$navTo('pages/my-coupon/index')
  395. },
  396. // 跳转到服务页面
  397. handleService({url}) {
  398. console.log(url, 'url')
  399. this.$navTo(url)
  400. }
  401. },
  402. /**
  403. * 下拉刷新
  404. */
  405. onPullDownRefresh() {
  406. // 获取首页数据
  407. this.getPageData(() => {
  408. uni.stopPullDownRefresh()
  409. })
  410. }
  411. }
  412. </script>
  413. <style lang="scss" scoped>
  414. .container {
  415. padding-bottom: 60rpx;
  416. height: 100vh;
  417. background: #fff;
  418. padding: 20rpx;
  419. .cont_header {
  420. border-radius: 20rpx;
  421. width: 100%;
  422. height: 800rpx;
  423. }
  424. .cont_content {
  425. position: relative;
  426. min-height: 400rpx;
  427. padding-top: 100rpx;
  428. .cont_logo {
  429. width: 200rpx;
  430. height: 200rpx;
  431. border-radius: 100%;
  432. position: absolute;
  433. left: 20rpx;
  434. top: -86rpx;
  435. // background: #a1c4fd;
  436. .gs-logo-bjy {
  437. position: absolute;
  438. left: 0rpx;
  439. top: 0rpx;
  440. display: block;
  441. width: 311rpx;
  442. height: 180rpx;
  443. }
  444. .gs-logo-z {
  445. display: block;
  446. position: absolute;
  447. left: 82rpx;
  448. top: 18rpx;
  449. display: block;
  450. width: 110rpx;
  451. height: 110rpx;
  452. background: #b5dafc;
  453. border-radius: 100%;
  454. padding: 20rpx;
  455. }
  456. }
  457. .cont_sh {
  458. padding: 0 60rpx;
  459. .user-content {
  460. .nick-name {
  461. color: #333;
  462. font-size: 40rpx;
  463. font-weight: 900;
  464. }
  465. .login-tips {
  466. margin-top: 10rpx;
  467. }
  468. }
  469. }
  470. }
  471. }
  472. // 老的css
  473. .user-img {
  474. border: 2px solid #0081ff;
  475. padding: 10rpx;
  476. border-radius: 100%;
  477. background: #a7e0fb;
  478. }
  479. // 页面头部
  480. .main-header {
  481. // background-color: #FBF7EF;
  482. position: relative;
  483. width: 100%;
  484. height: 280rpx;
  485. background-size: 100% 100%;
  486. overflow: hidden;
  487. display: flex;
  488. align-items: center;
  489. padding-left: 30rpx;
  490. .bg-image {
  491. position: absolute;
  492. top: 0;
  493. left: 0;
  494. width: 100%;
  495. height: 100%;
  496. z-index: 0;
  497. }
  498. .bg-dls {
  499. height: 1200rpx;
  500. }
  501. }
  502. // 角标组件
  503. .item-badge {
  504. position: absolute;
  505. top: 0;
  506. right: 55rpx;
  507. // background: $main-bg;
  508. background: #fa2209;
  509. color: #fff;
  510. border-radius: 100%;
  511. min-width: 38rpx;
  512. height: 38rpx;
  513. display: flex;
  514. justify-content: center;
  515. align-items: center;
  516. padding: 1rpx;
  517. font-size: 24rpx;
  518. }
  519. // 我的钱包
  520. .my-asset {
  521. display: flex;
  522. background: #fff;
  523. padding: 40rpx 0;
  524. .asset-right {
  525. width: 200rpx;
  526. border-left: 1rpx solid #eee;
  527. }
  528. .asset-right-item {
  529. text-align: center;
  530. color: #545454;
  531. .item-icon {
  532. font-size: 44rpx;
  533. }
  534. .item-name {
  535. margin-top: 14rpx;
  536. font-size: 28rpx;
  537. }
  538. }
  539. .asset-left-item {
  540. max-width: 183rpx;
  541. text-align: center;
  542. color: #666;
  543. padding: 0 16rpx;
  544. .item-value {
  545. font-size: 34rpx;
  546. color: $main-bg;
  547. }
  548. .item-name {
  549. margin-top: 14rpx;
  550. font-size: 28rpx;
  551. }
  552. }
  553. }
  554. // 订单操作
  555. .order-navbar {
  556. display: flex;
  557. margin: 20rpx auto 20rpx auto;
  558. padding: 20rpx 0 26rpx 0;
  559. width: 94%;
  560. box-shadow: 0 1rpx 5rpx 0px rgba(0, 0, 0, 0.05);
  561. font-size: 30rpx;
  562. border-radius: 5rpx;
  563. background: #fff;
  564. &-item {
  565. position: relative;
  566. width: 25%;
  567. .item-icon {
  568. text-align: center;
  569. margin: 0 auto;
  570. padding: 10rpx 0;
  571. color: #545454;
  572. font-size: 44rpx;
  573. }
  574. .item-name {
  575. font-size: 28rpx;
  576. color: #545454;
  577. text-align: center;
  578. margin-right: 10rpx;
  579. }
  580. }
  581. }
  582. .fenxiao_order {
  583. position: fixed;
  584. bottom: 30rpx;
  585. left: 0rpx;
  586. width: 100%;
  587. text-align: center;
  588. color: #0081ff;
  589. .item-name {
  590. border-bottom: 1px solid #0081ff;
  591. }
  592. }
  593. .uqrCodeText {
  594. width: 100%;
  595. display: flex;
  596. justify-content: center;
  597. border: 1px solid #0081ff;
  598. border-radius: 15rpx;
  599. padding: 10rpx 20rpx;
  600. font-size: 26rpx;
  601. text-align: center;
  602. padding-top: 40rpx;
  603. }
  604. // 我的服务
  605. .my-service {
  606. position: relative;
  607. margin: auto;
  608. width: 100%;
  609. height: 100%;
  610. border-radius: 35rpx;
  611. background: transparent;
  612. color: #156bb4;
  613. background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
  614. .uqrCodeBox {
  615. padding: 0rpx 0rpx 20rpx 0rpx;
  616. display: flex;
  617. justify-content: center;
  618. align-items: center;
  619. flex-direction: column;
  620. .uqrcode {
  621. overflow: hidden;
  622. }
  623. }
  624. .service-title {
  625. position: absolute;
  626. width: 400rpx;
  627. bottom: 30rpx;
  628. right: 30rpx;
  629. padding: 0 10rpx;
  630. display: flex;
  631. justify-content: space-between;
  632. font-size: 30rpx;
  633. }
  634. .service-content {
  635. margin-bottom: -20rpx;
  636. .service-item {
  637. position: relative;
  638. width: 25%;
  639. float: left;
  640. margin-bottom: 30rpx;
  641. .item-icon {
  642. text-align: center;
  643. margin: 0 auto;
  644. padding: 14rpx 0;
  645. color: $main-bg;
  646. font-size: 44rpx;
  647. }
  648. .item-name {
  649. font-size: 28rpx;
  650. color: #545454;
  651. text-align: center;
  652. }
  653. }
  654. }
  655. }
  656. .my-service-flase {
  657. background-image: linear-gradient(135deg, #f5f7fa 0%, #d6d6d6 100%);
  658. color: #333;
  659. .getCodeCenter {
  660. display: flex;
  661. justify-content: center;
  662. flex-wrap: wrap;
  663. margin-top: 130rpx;
  664. }
  665. }
  666. .my-service-sh {
  667. background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
  668. }
  669. .my-service-wtg {
  670. color: red;
  671. background-image: linear-gradient(120deg, #ffd7de 0%, #f78c8c9a 100%);
  672. }
  673. // 退出登录
  674. .my-logout {
  675. display: flex;
  676. justify-content: center;
  677. margin-top: 50rpx;
  678. .logout-btn {
  679. width: 60%;
  680. margin: 0 auto;
  681. font-size: 28rpx;
  682. color: #616161;
  683. border-radius: 20rpx;
  684. border: 1px solid #dcdcdc;
  685. padding: 16rpx 0;
  686. text-align: center;
  687. }
  688. }
  689. // 绑定手机号 样式1
  690. .my-mobile {
  691. display: flex;
  692. justify-content: space-between;
  693. align-items: center;
  694. padding: 16rpx 40rpx;
  695. background: #fcebd1;
  696. .info {
  697. color: #cd8c0c;
  698. font-size: 28rpx;
  699. }
  700. .btn-bind {
  701. padding: 8rpx 24rpx;
  702. background-color: #eab766;
  703. color: #fff;
  704. border-radius: 30rpx;
  705. font-size: 26rpx;
  706. text-align: center;
  707. }
  708. }
  709. .my-mobile-true {
  710. display: flex;
  711. align-items: center;
  712. border: 1px solid #60d08a;
  713. padding: 12rpx 10rpx;
  714. font-size: 18rpx;
  715. height: 40rpx;
  716. line-height: 40rpx;
  717. color: #60d08a;
  718. border-radius: 25rpx;
  719. background: #fff;
  720. margin-top: 10rpx;
  721. width: 170rpx;
  722. }
  723. // 绑定手机号 样式2
  724. .my-mobile2 {
  725. display: flex;
  726. justify-content: space-between;
  727. align-items: center;
  728. margin: 20rpx auto 20rpx auto;
  729. padding: 12rpx 40rpx;
  730. width: 94%;
  731. box-shadow: 0 1rpx 5rpx 0px rgba(0, 0, 0, 0.05);
  732. font-size: 30rpx;
  733. border-radius: 5rpx;
  734. color: red;
  735. background: #ffe7e7;
  736. border: 1px solid red;
  737. .info {
  738. // color: #cd8c0c;
  739. font-size: 26rpx;
  740. }
  741. .btn-bind {
  742. padding: 8rpx 24rpx;
  743. background-color: #fa3534;
  744. color: #fff;
  745. border-radius: 30rpx;
  746. font-size: 26rpx;
  747. text-align: center;
  748. }
  749. }
  750. </style>