login.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762
  1. <template>
  2. <view>
  3. <!-- 状态栏 -->
  4. <uni-status-bar></uni-status-bar>
  5. <!-- 公共组件-每个页面必须引入 -->
  6. <public-module></public-module>
  7. <app-update ref="app_update"></app-update>
  8. <!-- 欢迎语 -->
  9. <view class="w-100 flex-column box-sizing font-weight" style="height: 450rpx;padding:135rpx 60rpx;">
  10. <view class="font-lgr">您好,</view>
  11. <view class="font-lgr">欢迎来到掌柜科技</view>
  12. </view>
  13. <!-- 登录区域Start -->
  14. <view class="mx-3">
  15. <!-- 账号密码登录 false代表账号密码登录 -->
  16. <template v-if="!status">
  17. <view class="mt-1 border-bottom">
  18. <input type="text" v-model="username" class="uni-input common-input" maxlength="17"
  19. placeholder="请输入会员号" />
  20. </view>
  21. <view class="mt-2 position-relative border-bottom">
  22. <input type="text" :password="isHidePassword" v-model="password" class="uni-input common-input"
  23. placeholder="请输入密码" style="padding-right: 200rpx;" maxlength="15" />
  24. <view class=" position-absolute top-0 right-0 d-flex a-center j-center"
  25. style="width: 200rpx;height: 100%;">
  26. <view style="font-size: 40rpx;" class="icon iconfont"
  27. :class="isHidePassword?'icon-buxianshimima':'icon-xianshimima'"
  28. @tap="isHidePassword = !isHidePassword"></view>
  29. </view>
  30. </view>
  31. <view class="mt-2 position-relative border-bottom">
  32. <input type="text" v-model="imgcode" class="uni-input common-input" maxlength="5"
  33. placeholder="请输入验证码" style="padding-right: 200rpx;" />
  34. <image style="height: 80%;padding-top: 4rpx;width: 200rpx;" mode="aspectFill"
  35. class="position-absolute top-0 right-0 d-flex a-center j-center text-light-muted"
  36. :src="imgcodesrc" @tap="refreshCaptcha"></image>
  37. </view>
  38. </template>
  39. <!-- 手机验证码登录 true代表手机验证码登录 -->
  40. <template v-else>
  41. <view class="mt-1 position-relative border-bottom">
  42. <view class="position-absolute d-flex a-center j-center left-0 top-0 font-weight"
  43. style="width: 100rpx;height: 100%;">+86</view>
  44. <input type="text" v-model="phone" class="uni-input common-input" style="padding-left: 100rpx;"
  45. placeholder="手机号" />
  46. </view>
  47. <view class="mt-2 position-relative border-bottom">
  48. <input type="text" v-model="checknum" class="uni-input common-input" maxlength="4"
  49. style="padding-right: 240rpx;" placeholder="请输入验证码" />
  50. <view class="position-absolute top-0 right-0 d-flex a-center j-center text-light-muted"
  51. style="width: 240rpx;height: 100%;" @tap="getCheckNum">
  52. <view class="d-flex a-center j-center "
  53. :class="!codetime?'yanzhengmaView1 main-text-color':'yanzhengmaView2'">
  54. {{!codetime?'获取验证码':codetime+' S'+'后重新获取'}}
  55. </view>
  56. </view>
  57. </view>
  58. </template>
  59. <button class="my-3 mt-4 d-flex a-center j-center font-weight main-bg-color" :loading="loading"
  60. :class="{'main-bf-hover-color':disabled}" type="primary" @tap="submit" :disabled="disabled"
  61. style="letter-spacing: 20rpx;">登录</button>
  62. <!-- 登录状态切换 -->
  63. <view class="pt-1 px-3 pb-0 text-light-muted d-flex j-sb">
  64. <view @tap="changeStatus">
  65. {{status?'密码登录':'验证码登录'}}
  66. </view>
  67. <!-- #ifdef H5 -->
  68. <view>
  69. <view @tap="navigate({url:'/pages/register/register'})">用户注册</view>
  70. </view>
  71. <!-- #endif -->
  72. </view>
  73. <!-- #ifdef APP -->
  74. <view class="third_party_login_box">
  75. <view class="third_party_title"><text>第三方登录</text></view>
  76. <view class="third_party_content flex-wrap">
  77. <image src="/static/icon/weixin.png" @click="onWxAppLogin" mode="aspectFit"></image>
  78. <!-- <image src="/static/icon/zhifubao.png" mode="aspectFit"></image> -->
  79. </view>
  80. </view>
  81. <!-- #endif -->
  82. <view class="position-fixed left-0 right-0 d-flex a-center j-center pt-2 text-light-muted"
  83. style="bottom:30rpx">
  84. 登录/<span>注册</span>表示您已同意<view> <text @tap="nav('/pages/login/xieyi')"
  85. class="main-text-color">平台协议</text>及<text class="main-text-color"
  86. @tap="nav('/pages/login/mimi')">隐私协议</text>政策</view>
  87. </view>
  88. </view>
  89. <u-popup v-model="show" border-radius="14" mode="center" width="70%">
  90. <view class="shu1 shili">
  91. <text>温馨提示</text>
  92. <text>是否更新账号密码?</text>
  93. </view>
  94. <view class="heng shili_btn">
  95. <view class="heng1" @click="quxiao">取消</view>
  96. <view class="heng1" @click="queren" style="background-color: orangered;">确认</view>
  97. </view>
  98. </u-popup>
  99. </view>
  100. </template>
  101. <script>
  102. import appUpdate from "@/components/yzhua006-update/app-update.vue"; //app更新组件
  103. import md5 from '@/plugins/md5';
  104. let clear;
  105. import {
  106. mapState,
  107. mapMutations
  108. } from 'vuex';
  109. import socket from '@/config/socket';
  110. import DB from "@/common/sqlite";
  111. export default {
  112. components: {
  113. appUpdate
  114. },
  115. data() {
  116. return {
  117. show: false,
  118. contentSlot: true,
  119. defaultid: '', //登录默认会员号
  120. status: false, //false代表账号密码登录,true代表手机验证码登录
  121. disabled: true, //登录按钮是否可用
  122. loading: false, //是否显示按钮加载状态
  123. username: "", //登录用户名
  124. password: "", //登录密码
  125. imgcode: "", //图片验证码0
  126. imgcodesrc: "", //验证码图片
  127. isHidePassword: true, //是否隐藏密码
  128. phone: "", //登录手机号
  129. checknum: "", //登录验证码
  130. captchaId: "",
  131. codetime: 0, //验证码获取倒计时
  132. code: "", //用户code
  133. listData: [],
  134. };
  135. },
  136. beforeCreate() {
  137. setTimeout(() => {
  138. this.$refs.app_update.update(); //调用子组件检查更新方法
  139. setTimeout(() => {
  140. if (this.$refs.app_update.popup_show == true && this.$refs.app_update.force == true) {}
  141. }, 100)
  142. }, 500)
  143. },
  144. //第一次加载
  145. onLoad(e) {
  146. // #ifdef APP-PLUS
  147. this.openSQL();
  148. this.selectTableData();
  149. // this.deleteTableData();
  150. // #endif
  151. this.username = this.defaultid;
  152. },
  153. //页面显示
  154. onShow() {
  155. uni.getClipboardData({
  156. success: (res) => {
  157. let id = (res.data.replace(/(^\s*)|(\s*$)/g, "")).toUpperCase();
  158. if ((id.length == 17) && (id.indexOf('99') == 0) && (id.indexOf('D') > 0) && (id.indexOf(
  159. 'M') > 0) && (id !== this.username)) {
  160. uni.showModal({
  161. content: '是否自动填充会员号',
  162. cancelText: '否',
  163. confirmText: '是',
  164. success: (res1) => {
  165. if (res1.confirm) {
  166. this.username = id;
  167. }
  168. }
  169. });
  170. }
  171. }
  172. })
  173. },
  174. watch: {
  175. username(val) {
  176. this.username = this.username.toUpperCase();
  177. this.OnBtnChange();
  178. },
  179. password(val) {
  180. this.OnBtnChange();
  181. },
  182. imgcode(val) {
  183. this.OnBtnChange();
  184. },
  185. phone(val) {
  186. this.OnBtnChange();
  187. },
  188. checknum(val) {
  189. this.OnBtnChange();
  190. }
  191. },
  192. mounted() {
  193. //取出缓存中的账号、密码
  194. const HBusername = uni.getStorageSync('username');
  195. const HBpassword = uni.getStorageSync('password');
  196. //有账号、密码就赋值给文本,没有就清空
  197. if (HBusername && HBpassword) {
  198. this.username = HBusername;
  199. this.password = HBpassword;
  200. }
  201. },
  202. onShow() {
  203. this.refreshCaptcha();
  204. uni.getClipboardData({
  205. success: (res) => {
  206. let id = (res.data.replace(/(^\s*)|(\s*$)/g, "")).toUpperCase();
  207. if ((id.length == 17) && (id.indexOf('99') == 0) && (id.indexOf('D') > 0) && (id.indexOf(
  208. 'M') > 0) && (id !== this.username)) {
  209. uni.showModal({
  210. content: '是否自动填充会员号',
  211. cancelText: '否',
  212. confirmText: '是',
  213. success: (res1) => {
  214. if (res1.confirm) {
  215. this.username = id;
  216. }
  217. }
  218. });
  219. }
  220. }
  221. })
  222. },
  223. onUnload() {
  224. this.closeSQL();
  225. },
  226. computed: {
  227. ...mapState(["userLoginId", "loginStatus"])
  228. },
  229. //方法
  230. methods: {
  231. ...mapMutations(['setUserInfo']),
  232. // 跳转页面
  233. nav(url) {
  234. uni.navigateTo({
  235. url: url
  236. });
  237. },
  238. // 图片验证码
  239. refreshCaptcha() {
  240. let randnum = Math.floor(Math.random() * (1000000 - 1 + 1)) + 1
  241. this.imgcodesrc = this.$base.baseUrl + "/captchaById?t=" + new Date().getTime() + '&captchaId=' + randnum;
  242. this.captchaId = randnum;
  243. },
  244. // 切换登录状态
  245. changeStatus() {
  246. uni.hideKeyboard();
  247. this.initInput();
  248. this.username = this.defaultid;
  249. this.status = !this.status;
  250. this.refreshCaptcha();
  251. },
  252. // 初始化表单
  253. initInput() {
  254. this.username = '';
  255. this.password = '';
  256. this.phone = '';
  257. this.checknum = '';
  258. this.imgcode = "";
  259. },
  260. // 改变按钮状态
  261. OnBtnChange() {
  262. if ((this.username && this.password && this.imgcode) || (this.phone && this.checknum)) {
  263. this.disabled = false;
  264. return;
  265. }
  266. this.disabled = true;
  267. },
  268. // 获取验证码
  269. async getCheckNum() {
  270. uni.hideKeyboard();
  271. if (this.codetime > 0) return;
  272. // 验证手机号合法性
  273. if (!this.phone) {
  274. return uni.showToast({
  275. title: '请输入手机号',
  276. icon: 'none'
  277. });
  278. }
  279. if (!this.$base.phoneRegular.test(this.phone)) {
  280. return uni.showToast({
  281. title: '请输入正确的手机号码',
  282. icon: 'none'
  283. });
  284. }
  285. // 请求服务器,发送验证码
  286. let res = await this.$http.get('/sendMsg', {
  287. phone: this.phone,
  288. type: "0"
  289. });
  290. // 请求失败处理
  291. if (res.code != 200) {
  292. return uni.showToast({
  293. title: res.data.msg,
  294. icon: "none"
  295. });
  296. } else {
  297. uni.showToast({
  298. title: "发送成功",
  299. icon: "none"
  300. });
  301. }
  302. // 发送成功,开启倒计时
  303. this.codetime = 60;
  304. let timer = setInterval(() => {
  305. this.codetime--;
  306. if (this.codetime < 1) {
  307. clearInterval(timer);
  308. this.codetime = 0;
  309. }
  310. }, 1000);
  311. },
  312. //#ifdef APP-PLUS
  313. quxiao() {
  314. this.show = false;
  315. this.$login({
  316. url: "/login2",
  317. data: {
  318. account: this.username,
  319. password: this.password,
  320. captcha: this.imgcode.toLowerCase(),
  321. captchaId: this.captchaId,
  322. }
  323. }).then(res => {
  324. if (res) {
  325. return uni.showToast({
  326. title: res.msg,
  327. icon: 'none'
  328. });
  329. } else {
  330. socket.init();
  331. }
  332. })
  333. },
  334. queren() {
  335. this.show = false;
  336. this.$login({
  337. url: "/login2",
  338. data: {
  339. account: this.username,
  340. password: this.password,
  341. captcha: this.imgcode.toLowerCase(),
  342. captchaId: this.captchaId,
  343. }
  344. }).then(res => {
  345. if (res) {
  346. return uni.showToast({
  347. title: res.msg,
  348. icon: 'none'
  349. });
  350. } else {
  351. this.updateTableData();
  352. socket.init();
  353. }
  354. })
  355. },
  356. //#endif
  357. // 提交登录
  358. submit() {
  359. // // 账号密码登录
  360. uni.hideKeyboard();
  361. if (!this.status) {
  362. //#ifdef H5
  363. this.$login({
  364. url: "/login2",
  365. data: {
  366. account: this.username,
  367. password: this.password,
  368. captcha: this.imgcode.toLowerCase(),
  369. captchaId: this.captchaId,
  370. }
  371. }).then(res => {
  372. if (res) {
  373. return uni.showToast({
  374. title: res.msg,
  375. icon: 'none'
  376. });
  377. } else {
  378. socket.init();
  379. }
  380. })
  381. // }
  382. //#endif
  383. //#ifdef APP-PLUS
  384. if (this.listData.length > 0) {
  385. this.listData.map(ele => {
  386. if (this.username == ele.username && this.password == ele.password) {
  387. this.$login({
  388. url: "/login2",
  389. data: {
  390. account: this.username,
  391. password: this.password,
  392. captcha: this.imgcode.toLowerCase(),
  393. captchaId: this.captchaId,
  394. }
  395. }).then(res => {
  396. if (res) {
  397. return uni.showToast({
  398. title: res.msg,
  399. icon: 'none'
  400. });
  401. } else {
  402. socket.init();
  403. }
  404. })
  405. } else {
  406. this.show = true;
  407. }
  408. })
  409. } else {
  410. this.$login({
  411. url: "/login2",
  412. data: {
  413. account: this.username,
  414. password: this.password,
  415. captcha: this.imgcode.toLowerCase(),
  416. captchaId: this.captchaId,
  417. }
  418. }).then(res => {
  419. if (res) {
  420. return uni.showToast({
  421. title: res.msg,
  422. icon: 'none'
  423. });
  424. } else {
  425. this.openSQL(); //打开数据库
  426. this.createTable(); //创建表
  427. this.insertTableData(this.username, this.password); //新增表数据
  428. socket.init();
  429. }
  430. })
  431. }
  432. //#endif
  433. } else {
  434. // 验证码登录
  435. // 验证手机号合法性
  436. if (!this.$base.phoneRegular.test(this.phone)) {
  437. return uni.showToast({
  438. title: '请输入正确的手机号码',
  439. icon: 'none'
  440. });
  441. }
  442. this.$login({
  443. url: "/loginByPhone",
  444. data: {
  445. phone: this.phone,
  446. phoneMsg: this.checknum
  447. }
  448. }).then(res => {
  449. if (res) {
  450. return uni.showToast({
  451. title: res.msg,
  452. icon: 'none'
  453. });
  454. }
  455. // socket.init();
  456. return;
  457. })
  458. }
  459. },
  460. // 微信APP登录
  461. onWxAppLogin() {
  462. var that = this;
  463. uni.login({
  464. provider: 'weixin',
  465. onlyAuthorize: true,
  466. success: function(loginRes) {
  467. that.codeRes(loginRes.code);
  468. },
  469. fail: (err) => {
  470. uni.showToast({
  471. title: '绑定失败',
  472. icon: "none"
  473. });
  474. console.log('login fail:', err);
  475. }
  476. });
  477. },
  478. codeRes(code) {
  479. this.$login({
  480. url: "/wechat/login",
  481. data: {
  482. code: code,
  483. }
  484. }).then(res => {
  485. socket.init();
  486. return;
  487. })
  488. },
  489. // 打开数据库
  490. openSQL() {
  491. // 这个是查询有没有打开数据库
  492. let open = DB.isOpen();
  493. // if (!open) {
  494. DB.openSqlite()
  495. .then(res => {})
  496. .catch(error => {});
  497. // }
  498. },
  499. // 关闭数据库
  500. closeSQL() {
  501. // 这个是查询有没有打开数据库
  502. let open = DB.isOpen();
  503. if (open) {
  504. DB.closeSqlite()
  505. .then(res => {
  506. // this.showToast("数据库已关闭");
  507. })
  508. .catch(error => {
  509. // this.showToast("数据库关闭失败");
  510. });
  511. }
  512. },
  513. // 创建表
  514. createTable() {
  515. let open = DB.isOpen();
  516. if (open) {
  517. this.openSQL();
  518. let sql =
  519. '"id" INTEGER PRIMARY KEY AUTOINCREMENT,"username" text,"password" text,"defaultid" text,"time" text';
  520. // 创建表 DB.createTable(表名, 表的列)
  521. DB.createTable("chat", sql)
  522. .then(res => {
  523. // this.showToast("创建chat表成功");
  524. })
  525. .catch(error => {});
  526. } else {}
  527. },
  528. // 新增表数据
  529. insertTableData(user, word) {
  530. let open = DB.isOpen();
  531. if (open) {
  532. let arr = [{
  533. username: user,
  534. password: word,
  535. defaultid: user,
  536. }]
  537. arr.map(item => {
  538. let time = this.formatDate(new Date().getTime());
  539. let sql =
  540. `'${item.username}','${item.password}','${item.defaultid}','${time}'`;
  541. let condition = "'username','password','defaultid','time'";
  542. // 新增 DB.insertTableData(表名, 对应表头列的数据)
  543. DB.insertTableData("chat", sql, condition)
  544. .then(res => {
  545. this.selectTableData();
  546. })
  547. .catch(error => {});
  548. })
  549. } else {}
  550. },
  551. // 查询表数据
  552. selectTableData() {
  553. let open = DB.isOpen();
  554. if (open) {
  555. // 查询表 DB.selectTableData(表名,查询条件列名,查询条件列值)
  556. DB.selectTableData("chat")
  557. .then(res => {
  558. console.log("contact表数据", res);
  559. this.listData = res;
  560. this.username = res[0].username;
  561. this.defaultid = res[0].defaultid;
  562. this.password = res[0].password;
  563. })
  564. .catch(error => {});
  565. } else {}
  566. },
  567. // 修改表数据
  568. updateTableData() {
  569. let open = DB.isOpen();
  570. if (open) {
  571. let time = this.formatDate(new Date().getTime());
  572. let data =
  573. `username ='${this.username}',password ='${this.password}',defaultid='${this.username}'`;
  574. // 修改表数据 DB.updateTableData(表名, 要修改的列名=修改后列值, 修改条件的列名, 修改条件的列值)
  575. DB.updateTableData("chat", data)
  576. .then(res => {
  577. console.log('修改后的数据', res)
  578. this.showToast("保存成功");
  579. this.selectTableData();
  580. })
  581. .catch(error => {
  582. console.log(error)
  583. });
  584. } else {}
  585. },
  586. // 删除表数据
  587. deleteTableData() {
  588. let open = DB.isOpen();
  589. if (open) {
  590. // 删除表 DB.deleteTableData(表名,查询条件列名,查询条件列值)
  591. DB.deleteTableData("chat")
  592. .then(res => {
  593. this.selectTableData();
  594. })
  595. .catch(error => {});
  596. } else {}
  597. },
  598. // 提示框
  599. showToast: function(str) {
  600. uni.showToast({
  601. icon: "none",
  602. title: str,
  603. mask: true
  604. });
  605. },
  606. // 时间戳转年月日
  607. formatDate(data) {
  608. let now = new Date(data);
  609. var year = now.getFullYear(); //取得4位数的年份
  610. var month =
  611. now.getMonth() + 1 < 10 ?
  612. "0" + (now.getMonth() + 1) :
  613. now.getMonth() + 1;
  614. var date = now.getDate() < 10 ? "0" + now.getDate() : now.getDate();
  615. var hour = now.getHours() < 10 ? "0" + now.getHours() : now.getHours();
  616. var minute =
  617. now.getMinutes() < 10 ? "0" + now.getMinutes() : now.getMinutes();
  618. var second =
  619. now.getSeconds() < 10 ? "0" + now.getSeconds() : now.getSeconds();
  620. return (
  621. year +
  622. "-" +
  623. month +
  624. "-" +
  625. date +
  626. " " +
  627. hour +
  628. ":" +
  629. minute +
  630. ":" +
  631. second
  632. );
  633. }
  634. },
  635. //页面隐藏
  636. onHide() {},
  637. //页面卸载
  638. onUnload() {},
  639. //页面下来刷新
  640. onPullDownRefresh() {},
  641. //页面上拉触底
  642. onReachBottom() {},
  643. };
  644. </script>
  645. <style scoped>
  646. .shu1 {
  647. display: flex;
  648. flex-direction: column;
  649. justify-content: space-between;
  650. align-items: center;
  651. }
  652. .shili_btn {
  653. width: 100%;
  654. height: 90rpx;
  655. border-top: 2rpx solid #F2F2F2;
  656. }
  657. .shili_btn>view {
  658. width: 50%;
  659. height: 100%;
  660. background-color: #ffffff;
  661. cursor: pointer;
  662. }
  663. .shili_btn>view:nth-child(2) {
  664. color: #FFFFFF;
  665. background-color: #007BFF;
  666. }
  667. .shili>text:nth-child(1) {
  668. font-weight: bold;
  669. }
  670. .shili {
  671. padding: 40rpx;
  672. box-sizing: border-box;
  673. }
  674. .heng {
  675. display: flex;
  676. justify-content: space-between;
  677. align-items: center;
  678. }
  679. .heng1 {
  680. display: flex;
  681. justify-content: center;
  682. align-items: center;
  683. }
  684. /* 第三方登录Start */
  685. .third_party_login_box {
  686. position: fixed;
  687. bottom: 100rpx;
  688. left: 0;
  689. right: 0;
  690. height: 170rpx;
  691. padding: 0 30rpx;
  692. }
  693. .third_party_login_box .third_party_title {
  694. display: flex;
  695. align-items: center;
  696. }
  697. .third_party_login_box .third_party_title:before,
  698. .third_party_login_box .third_party_title:after {
  699. content: "";
  700. flex: 1;
  701. height: 2rpx;
  702. background-color: #f5f5f5;
  703. }
  704. .third_party_login_box .third_party_title text {
  705. font-size: 24rpx;
  706. color: #999999;
  707. flex-shrink: 0;
  708. padding: 0 20rpx;
  709. }
  710. .third_party_login_box .third_party_content {
  711. height: 140rpx;
  712. display: flex;
  713. justify-content: center;
  714. align-items: center;
  715. }
  716. .third_party_login_box .third_party_content image {
  717. margin: 0rpx 20rpx;
  718. width: 80rpx;
  719. height: 80rpx;
  720. }
  721. /* 第三方登录End */
  722. .yanzhengmaView1 {
  723. background: #FFFFFF;
  724. border-radius: 10rpx;
  725. width: 150rpx;
  726. padding: 5rpx 0;
  727. }
  728. .yanzhengmaView2 {
  729. background: #FFFFFF;
  730. border-radius: 10rpx;
  731. width: 220rpx;
  732. padding: 5rpx 0;
  733. }
  734. </style>