ballotBillDirectory.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892
  1. <template>
  2.  
  3. <div>
  4. <banners-zh v-if="language.value == 'CN'"></banners-zh>
  5. <banners-en v-if="language.value == 'EN'"></banners-en>
  6. <banners-fr v-if="language.value == 'FR'"></banners-fr>
  7. <banners-ru v-if="language.value == 'RU'"></banners-ru>
  8. <!-- 顶部图片 -->
  9. <div class="topimg">
  10. <img src="@/assets/ballot/未标题-6_画板 1.png" alt="" />
  11. <!-- <div class="backButton" @click="toHome">
  12. <img src="@/assets/ballot/编组 16.png" alt="">
  13. </div> -->
  14. </div>
  15. <!-- 选择区域 -->
  16. <div class="body-info">
  17. <div class="select-info">
  18. <el-select v-model="language.value" @change="getChange">
  19. <el-option
  20. v-for="(item, index) in options"
  21. :key="index"
  22. :label="item.label"
  23. :value="item.value"
  24. >{{ item.label }}
  25. </el-option>
  26. </el-select>
  27. </div>
  28. <div class="main-info" v-if="language.value == 'CN'">
  29. <div class="table-box"></div>
  30. <div class="table-info">
  31. <div class="table-title">
  32. <div class="title-text" :title="'议 案'">议 案</div>
  33. <div class="table-action">
  34. <span>赞成</span><span>反对</span><span>弃权</span>
  35. </div>
  36. </div>
  37. <div class="table-detail">
  38. <div class="detail-text" :title="itemList.title">
  39. {{ itemList.title }}
  40. </div>
  41. <div class="detail-action">
  42. <span class="action-1" @click="getColor1">
  43. <img
  44. src="@/assets/ballot/圆圈.png"
  45. alt=""
  46. v-if="typeNum == 0"
  47. />
  48. <img src="@/assets/ballot/圆圈 (1).png" alt="" v-else />
  49. </span>
  50. <span class="action-2" @click="getColor2">
  51. <img
  52. src="@/assets/ballot/叉 (1).png"
  53. alt=""
  54. v-if="typeNum == 1"
  55. />
  56. <img src="@/assets/ballot/叉.png" alt="" v-else />
  57. </span>
  58. <span class="action-3" @click="getColor3">
  59. <img
  60. src="@/assets/ballot/分割线 (1).png"
  61. alt=""
  62. v-if="typeNum == 2"
  63. />
  64. <img src="@/assets/ballot/分割线.png" alt="" v-else />
  65. </span>
  66. </div>
  67. </div>
  68. </div>
  69. <div class="sub-btn">
  70. <!-- <div class="success-btn">全部赞成</div> -->
  71. <el-button class="up-sub" @click="getSuccess" :disabled="disabled"
  72. >提交
  73. </el-button>
  74. </div>
  75. <div class="table-bottom"></div>
  76. <div class="user-btn" v-if="selectBtn">
  77. <div class="user-btn-text">是否确认提交?</div>
  78. <div class="btn-user-info">
  79. <el-button
  80. class="btn-user-info-ok"
  81. @click="sureToGet"
  82. :disabled="disabled"
  83. >确认</el-button
  84. >
  85. <div class="btn-user-info-canel" @click="notToGet">取消</div>
  86. </div>
  87. </div>
  88. <div class="big-success" v-if="successUp">
  89. <img src="@/assets/ballot/success-ui.png" alt="" class="pic-model" />
  90. <div class="text-success">提交成功!</div>
  91. </div>
  92. </div>
  93. <div class="main-info" v-if="language.value == 'EN'">
  94. <div class="table-box"></div>
  95. <div class="table-info">
  96. <div class="table-title">
  97. <div class="title-text" :title="'Proposal'">Proposal</div>
  98. <div class="table-action">
  99. <span>Agree</span><span>Disagree</span><span>Abstain</span>
  100. </div>
  101. </div>
  102. <div class="table-detail">
  103. <div class="detail-text" :title="itemList.titleEn">
  104. {{ itemList.titleEn }}
  105. </div>
  106. <div class="detail-action">
  107. <span class="action-1" @click="getColor1">
  108. <img
  109. src="@/assets/ballot/圆圈.png"
  110. alt=""
  111. v-if="typeNum == 0"
  112. />
  113. <img src="@/assets/ballot/圆圈 (1).png" alt="" v-else />
  114. </span>
  115. <span class="action-2" @click="getColor2">
  116. <img
  117. src="@/assets/ballot/叉 (1).png"
  118. alt=""
  119. v-if="typeNum == 1"
  120. />
  121. <img src="@/assets/ballot/叉.png" alt="" v-else />
  122. </span>
  123. <span class="action-3" @click="getColor3">
  124. <img
  125. src="@/assets/ballot/分割线 (1).png"
  126. alt=""
  127. v-if="typeNum == 2"
  128. />
  129. <img src="@/assets/ballot/分割线.png" alt="" v-else />
  130. </span>
  131. </div>
  132. </div>
  133. </div>
  134. <div class="sub-btn">
  135. <!-- <div class="success-btn">全部赞成</div> -->
  136. <el-button class="up-sub" @click="getSuccess" :disabled="disabled"
  137. >Submit
  138. </el-button>
  139. </div>
  140. <div class="table-bottom"></div>
  141. <div class="user-btn" v-if="selectBtn">
  142. <div class="user-btn-text">Are you sure you want to submit?</div>
  143. <div class="btn-user-info">
  144. <el-button
  145. class="btn-user-info-ok"
  146. @click="sureToGet"
  147. :disabled="disabled"
  148. >Confirm</el-button
  149. >
  150. <div class="btn-user-info-canel" @click="notToGet">Cancel</div>
  151. </div>
  152. </div>
  153. <div class="big-success" v-if="successUp">
  154. <img src="@/assets/ballot/success-ui.png" alt="" class="pic-model" />
  155. <div class="text-success">Submission successful!</div>
  156. </div>
  157. </div>
  158. <div class="main-info" v-if="language.value == 'FR'">
  159. <div class="table-box"></div>
  160. <div class="table-info">
  161. <div class="table-title">
  162. <div class="title-text-info" :title="'Proposition'">
  163. Proposition
  164. </div>
  165. <div class="table-action-info">
  166. <span>D'accord</span><span>S'opposer</span><span>S'abstenir</span>
  167. </div>
  168. </div>
  169. <div class="table-detail">
  170. <div class="detail-text-info" :title="itemList.titleFr">
  171. {{ itemList.titleFr }}
  172. </div>
  173. <div class="detail-action-info">
  174. <span class="action-1" @click="getColor1">
  175. <img
  176. src="@/assets/ballot/圆圈.png"
  177. alt=""
  178. v-if="typeNum == 0"
  179. />
  180. <img src="@/assets/ballot/圆圈 (1).png" alt="" v-else />
  181. </span>
  182. <span class="action-2" @click="getColor2">
  183. <img
  184. src="@/assets/ballot/叉 (1).png"
  185. alt=""
  186. v-if="typeNum == 1"
  187. />
  188. <img src="@/assets/ballot/叉.png" alt="" v-else />
  189. </span>
  190. <span class="action-3" @click="getColor3">
  191. <img
  192. src="@/assets/ballot/分割线 (1).png"
  193. alt=""
  194. v-if="typeNum == 2"
  195. />
  196. <img src="@/assets/ballot/分割线.png" alt="" v-else />
  197. </span>
  198. </div>
  199. </div>
  200. </div>
  201. <div class="sub-btn">
  202. <!-- <div class="success-btn">全部赞成</div> -->
  203. <el-button class="up-sub" @click="getSuccess" :disabled="disabled"
  204. >Soumettre
  205. </el-button>
  206. </div>
  207. <div class="table-bottom"></div>
  208. <div class="user-btn" v-if="selectBtn">
  209. <div class="user-btn-text">Etes-vous sûr de vouloir soumettre ?</div>
  210. <div class="btn-user-info">
  211. <el-button
  212. class="btn-user-info-ok"
  213. @click="sureToGet"
  214. :disabled="disabled"
  215. >Confirmer
  216. </el-button>
  217. <div class="btn-user-info-canel" @click="notToGet">Annuler</div>
  218. </div>
  219. </div>
  220. <div class="big-success" v-if="successUp">
  221. <img src="@/assets/ballot/success-ui.png" alt="" class="pic-model" />
  222. <div class="text-success">Soumission réussie!</div>
  223. </div>
  224. </div>
  225. <div class="main-info" v-if="language.value == 'RU'">
  226. <div class="table-box"></div>
  227. <div class="table-info">
  228. <div class="table-title">
  229. <div class="title-text-info" :title="'Предложения'">
  230. Предложения
  231. </div>
  232. <div class="table-action-info">
  233. <span>Согласиться</span><span>Не согласиться</span
  234. ><span>Воздержаться</span>
  235. </div>
  236. </div>
  237. <div class="table-detail">
  238. <div class="detail-text-info" :title="itemList.titleRu">
  239. {{ itemList.titleRu }}
  240. </div>
  241. <div class="detail-action-info">
  242. <span class="action-1" @click="getColor1">
  243. <img
  244. src="@/assets/ballot/圆圈.png"
  245. alt=""
  246. v-if="typeNum == 0"
  247. />
  248. <img src="@/assets/ballot/圆圈 (1).png" alt="" v-else />
  249. </span>
  250. <span class="action-2" @click="getColor2">
  251. <img
  252. src="@/assets/ballot/叉 (1).png"
  253. alt=""
  254. v-if="typeNum == 1"
  255. />
  256. <img src="@/assets/ballot/叉.png" alt="" v-else />
  257. </span>
  258. <span class="action-3" @click="getColor3">
  259. <img
  260. src="@/assets/ballot/分割线 (1).png"
  261. alt=""
  262. v-if="typeNum == 2"
  263. />
  264. <img src="@/assets/ballot/分割线.png" alt="" v-else />
  265. </span>
  266. </div>
  267. </div>
  268. </div>
  269. <div class="sub-btn">
  270. <!-- <div class="success-btn">全部赞成</div> -->
  271. <el-button class="up-sub" @click="getSuccess" :disabled="disabled"
  272. >Оформить
  273. </el-button>
  274. </div>
  275. <div class="table-bottom"></div>
  276. <div class="user-btn" v-if="selectBtn">
  277. <div class="user-btn-text">Точно хотите оформить?</div>
  278. <div class="btn-user-info">
  279. <el-button
  280. class="btn-user-info-ok"
  281. @click="sureToGet"
  282. :disabled="disabled"
  283. >Подтвердить
  284. </el-button>
  285. <div class="btn-user-info-canel" @click="notToGet">Отменить</div>
  286. </div>
  287. </div>
  288. <div class="big-success" v-if="successUp">
  289. <img src="@/assets/ballot/success-ui.png" alt="" class="pic-model" />
  290. <div class="text-success">Вы успешно оформили!</div>
  291. </div>
  292. </div>
  293. <div class="bottom-list"></div>
  294. </div>
  295. <div class="body-box"></div>
  296. <!-- 底部图片 -->
  297. <footer-zh v-if="language.value == 'CN'"></footer-zh>
  298. <footer-en v-if="language.value == 'EN'"></footer-en>
  299. <footer-fr v-if="language.value == 'FR'"></footer-fr>
  300. <footer-ru v-if="language.value == 'RU'"></footer-ru>
  301. </div>
  302. </template>
  303. <script>
  304. import { getToken } from '@/api/token'
  305. import footerZh from '@/components/footersNewZH'
  306. import footerEn from '@/components/footersNewEN'
  307. import footerFr from '@/components/footersNewFR'
  308. import footerRu from '@/components/footersNewRU'
  309. import bannersZh from '@/components/ballotTopBannerZH'
  310. import bannersEn from '@/components/ballotTopBannerEN'
  311. import bannersFr from '@/components/ballotTopBannerFR'
  312. import bannersRu from '@/components/ballotTopBannerRU'
  313. import { saveOrUpdateMatter } from '@/api/vote/council'
  314. export default {
  315. name: 'ballotBillDirectory',
  316. components: {
  317. footerZh,
  318. footerEn,
  319. footerFr,
  320. footerRu,
  321. bannersZh,
  322. bannersEn,
  323. bannersFr,
  324. bannersRu,
  325. },
  326. data() {
  327. return {
  328. disabled: false,
  329. selectBtn: false,
  330. itemList: [],
  331. typeNum: '',
  332. btnChange: false,
  333. successUp: false,
  334. options: [
  335. {
  336. value: 'CN',
  337. label: '中文',
  338. },
  339. {
  340. value: 'EN',
  341. label: 'English',
  342. },
  343. {
  344. value: 'FR',
  345. label: 'Français',
  346. },
  347. {
  348. value: 'RU',
  349. label: 'Русский',
  350. },
  351. ],
  352. language: {
  353. value: 'CN',
  354. },
  355. }
  356. },
  357. mounted() {
  358. let user = JSON.parse(sessionStorage.getItem('mettingUser'))
  359. console.log(user)
  360. if (user == null) {
  361. this.$router.push({ path: 'home' })
  362. } else {
  363. console.log('你好')
  364. }
  365. let language = sessionStorage.getItem('language')
  366. this.language.value = language
  367. let item = JSON.parse(sessionStorage.getItem('item'))
  368. this.itemList = item
  369. this.typeNum = item.type
  370. },
  371. methods: {
  372. getChange() {
  373. let language = this.language.value
  374. sessionStorage.setItem('language', language)
  375. if (language == 'CN') {
  376. this.$message.success('正在切换语言...')
  377. }
  378. if (language == 'EN') {
  379. this.$message.success('Switching languages...')
  380. }
  381. if (language == 'FR') {
  382. this.$message.success('Changer de langue...')
  383. }
  384. if (language == 'RU') {
  385. this.$message.success('Он меняет язык.')
  386. }
  387. setTimeout(() => {
  388. location.reload()
  389. }, 1000)
  390. },
  391. // 返回首页
  392. toHome() {
  393. this.$router.push({ path: 'home' })
  394. },
  395. // 选择
  396. getColor1() {
  397. this.typeNum = 0
  398. this.btnChange = true
  399. },
  400. getColor2() {
  401. this.typeNum = 1
  402. this.btnChange = true
  403. },
  404. getColor3() {
  405. this.typeNum = 2
  406. this.btnChange = true
  407. },
  408. getSuccess() {
  409. this.selectBtn = true
  410. },
  411. toSuccess() {
  412. this.$router.push({ path: 'ballotDrawingBoardPalette' })
  413. },
  414. sureToGet() {
  415. if (!this.itemList.voted) {
  416. this.successUp = true
  417. this.selectBtn = false
  418. let id = JSON.parse(sessionStorage.getItem('mettingUser')).id
  419. if (this.btnChange == false) {
  420. let meetingGeidcoMatterNumDetail = [
  421. {
  422. matterId: this.itemList.id,
  423. type: 0,
  424. language: this.language.value,
  425. },
  426. ]
  427. console.log(meetingGeidcoMatterNumDetail, 111)
  428. getToken()
  429. .then((res) => {
  430. let token = res.data
  431. console.log('token====', token)
  432. saveOrUpdateMatter(
  433. JSON.stringify(meetingGeidcoMatterNumDetail),
  434. id,
  435. token
  436. ).then((res) => {
  437. console.log(res)
  438. if (res.status == 200) {
  439. this.disabled = true
  440. setTimeout(() => {
  441. this.$router.push({ path: 'ballotDrawingBoardPalette' })
  442. }, 1500)
  443. }
  444. })
  445. })
  446. .catch((error) => {})
  447. } else {
  448. let meetingGeidcoMatterNumDetail = [
  449. {
  450. matterId: this.itemList.id,
  451. type: this.typeNum,
  452. language: this.language.value,
  453. },
  454. ]
  455. console.log(meetingGeidcoMatterNumDetail, 222)
  456. getToken()
  457. .then((res) => {
  458. let token = res.data
  459. console.log('token====', token)
  460. saveOrUpdateMatter(
  461. JSON.stringify(meetingGeidcoMatterNumDetail),
  462. id,
  463. token
  464. ).then((res) => {
  465. console.log(res)
  466. if (res.status == 200) {
  467. this.disabled = true
  468. setTimeout(() => {
  469. this.$router.push({ path: 'ballotDrawingBoardPalette' })
  470. }, 1500)
  471. }
  472. })
  473. })
  474. .catch((error) => {})
  475. }
  476. } else {
  477. console.log('请勿重复提交')
  478. }
  479. // });
  480. },
  481. notToGet() {
  482. this.selectBtn = false
  483. },
  484. },
  485. }
  486. </script>
  487. <style scoped>
  488. * {
  489. padding: 0;
  490. margin: 0;
  491. box-sizing: border-box;
  492. /* vertical-align: text-top; */
  493. }
  494. html,
  495. body,
  496. #app {
  497. width: 100%;
  498. height: 100%;
  499. }
  500. .topimg {
  501. width: 100%;
  502. background-color: #f2f2f2;
  503. }
  504. .topimg > img {
  505. width: 100%;
  506. padding: 0;
  507. position: relative;
  508. }
  509. .backButton {
  510. width: 134px;
  511. height: 41px;
  512. position: absolute;
  513. top: 46px;
  514. right: 380px;
  515. }
  516. .backButton:hover {
  517. cursor: pointer;
  518. }
  519. .backButton > img {
  520. width: 100%;
  521. height: 100%;
  522. }
  523. .body-info {
  524. padding: 0;
  525. width: 100%;
  526. background-color: #f2f2f2;
  527. }
  528. .body-box {
  529. width: 100%;
  530. height: 50px;
  531. background-color: #f2f2f2;
  532. }
  533. .main-info {
  534. width: 1178px;
  535. margin: 0 auto;
  536. transform: translateY(20px);
  537. background-color: #ffffff;
  538. position: relative;
  539. }
  540. .bottom-list {
  541. width: 100%;
  542. height: 300px;
  543. background-color: #f2f2f2;
  544. }
  545. .select-info {
  546. margin-left: 68%;
  547. margin-bottom: 70px;
  548. transform: translateY(40px);
  549. }
  550. .table-box {
  551. width: 100%;
  552. height: 39px;
  553. }
  554. .table-info {
  555. width: 1100px;
  556. margin: 0 auto;
  557. }
  558. .table-bottom {
  559. width: 100%;
  560. height: 50px;
  561. }
  562. .table-title {
  563. width: 100%;
  564. height: 77px;
  565. background-color: #e9e9e9;
  566. border: 1px solid #d3d3d3;
  567. display: flex;
  568. }
  569. .title-text {
  570. width: 75%;
  571. height: 77px;
  572. line-height: 77px;
  573. font-size: 25px;
  574. font-family: AlibabaPuHuiTiR;
  575. font-weight: 400;
  576. color: #666666;
  577. text-align: center;
  578. }
  579. .table-action {
  580. width: 25%;
  581. height: 77px;
  582. line-height: 77px;
  583. font-size: 22px;
  584. font-family: AlibabaPuHuiTiR;
  585. font-weight: 400;
  586. color: #666666;
  587. border-left: 1px solid #d3d3d3;
  588. display: flex;
  589. justify-content: space-around;
  590. }
  591. .title-text-info {
  592. width: 60%;
  593. height: 77px;
  594. line-height: 77px;
  595. font-size: 25px;
  596. padding-left: 15px;
  597. font-family: AlibabaPuHuiTiR;
  598. font-weight: 400;
  599. color: #666666;
  600. text-align: center;
  601. white-space: nowrap;
  602. overflow: hidden;
  603. text-overflow: ellipsis;
  604. }
  605. .table-action-info {
  606. width: 40%;
  607. height: 77px;
  608. line-height: 77px;
  609. font-size: 20px;
  610. font-family: AlibabaPuHuiTiR;
  611. font-weight: 400;
  612. color: #666666;
  613. border-left: 1px solid #d3d3d3;
  614. display: flex;
  615. justify-content: space-around;
  616. }
  617. .detail-text-info {
  618. width: 60%;
  619. height: 77px;
  620. padding-top: 18px;
  621. font-size: 20px;
  622. font-family: AlibabaPuHuiTiR;
  623. font-weight: 400;
  624. color: #666666;
  625. margin-left: 30px;
  626. padding-right: 60px;
  627. word-wrap: break-word;
  628. overflow: hidden;
  629. }
  630. .detail-action-info {
  631. width: 40%;
  632. height: 77px;
  633. display: flex;
  634. margin-left: -30px;
  635. justify-content: space-around;
  636. border-left: 1px solid #d3d3d3;
  637. }
  638. .table-detail:nth-child(2n + 1) {
  639. width: 100%;
  640. height: 77px;
  641. border-left: 1px solid #d3d3d3;
  642. border-right: 1px solid #d3d3d3;
  643. background-color: #f0f9fd;
  644. display: flex;
  645. }
  646. .table-detail {
  647. width: 100%;
  648. height: 77px;
  649. border-left: 1px solid #d3d3d3;
  650. border-right: 1px solid #d3d3d3;
  651. background-color: #fff;
  652. display: flex;
  653. }
  654. .table-detail:last-child {
  655. border-bottom: 1px solid #d3d3d3;
  656. }
  657. .detail-text {
  658. width: 75%;
  659. height: 77px;
  660. padding-top: 18px;
  661. font-size: 20px;
  662. font-family: AlibabaPuHuiTiR;
  663. font-weight: 400;
  664. color: #666666;
  665. margin-left: 30px;
  666. white-space: nowrap;
  667. overflow: hidden;
  668. text-overflow: ellipsis;
  669. }
  670. .detail-action {
  671. width: 25%;
  672. height: 77px;
  673. display: flex;
  674. margin-left: -30px;
  675. justify-content: space-around;
  676. border-left: 1px solid #d3d3d3;
  677. }
  678. .action-1 {
  679. transform: translateY(23px);
  680. width: 30px;
  681. height: 30px;
  682. }
  683. .action-1 > img {
  684. width: 100%;
  685. height: 100%;
  686. }
  687. .action-2 {
  688. transform: translateY(26px);
  689. width: 24px;
  690. height: 24px;
  691. }
  692. .action-2 > img {
  693. width: 100%;
  694. height: 100%;
  695. }
  696. .action-3 {
  697. transform: translateY(23px);
  698. width: 30px;
  699. height: 20px;
  700. }
  701. .action-3 > img {
  702. width: 100%;
  703. height: 150%;
  704. }
  705. .sub-btn {
  706. width: 100%;
  707. height: 60px;
  708. margin-top: 45px;
  709. cursor: pointer;
  710. }
  711. .success-btn {
  712. width: 200px;
  713. height: 60px;
  714. line-height: 60px;
  715. text-align: center;
  716. background: #0099ff;
  717. border-radius: 10px;
  718. font-size: 25px;
  719. font-family: AlibabaPuHuiTiR;
  720. font-weight: 400;
  721. color: #ffffff;
  722. margin-left: 316px;
  723. }
  724. .up-sub {
  725. width: 200px;
  726. height: 60px;
  727. line-height: 60px;
  728. text-align: center;
  729. font-size: 25px;
  730. font-family: AlibabaPuHuiTiR;
  731. font-weight: 400;
  732. color: #ffffff;
  733. background: #ff7648;
  734. border-radius: 10px;
  735. margin-left: 50%;
  736. transform: translateX(-50%);
  737. }
  738. .big-success {
  739. width: 406px;
  740. height: 300px;
  741. background: #ffffff;
  742. box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
  743. z-index: 999 !important;
  744. border-radius: 20px;
  745. position: relative;
  746. position: absolute;
  747. top: -20px;
  748. left: 387px;
  749. }
  750. .user-btn {
  751. width: 406px;
  752. height: 300px;
  753. background: #ffffff;
  754. box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
  755. z-index: 999 !important;
  756. border-radius: 20px;
  757. position: relative;
  758. position: absolute;
  759. top: -20px;
  760. left: 387px;
  761. }
  762. .user-btn-text {
  763. width: 100%;
  764. height: 30px;
  765. line-height: 30px;
  766. text-align: center;
  767. margin-top: 20%;
  768. font-size: 25px;
  769. font-family: PingFangSC-Medium, PingFang SC;
  770. font-weight: 600;
  771. color: rgba(0, 0, 0, 0.85);
  772. }
  773. .btn-user-info {
  774. width: 100%;
  775. height: 40px;
  776. display: flex;
  777. justify-content: space-around;
  778. margin-top: 16%;
  779. }
  780. .btn-user-info-ok {
  781. width: 106px;
  782. height: 56px;
  783. background: #00b4ff;
  784. border-radius: 6px;
  785. text-align: center;
  786. line-height: 56px;
  787. font-size: 20px;
  788. font-family: PingFangSC-Regular, PingFang SC;
  789. color: #fff;
  790. cursor: pointer;
  791. }
  792. .btn-user-info-canel {
  793. width: 106px;
  794. height: 56px;
  795. background: #c0c0c0;
  796. border-radius: 6px;
  797. text-align: center;
  798. line-height: 56px;
  799. font-size: 20px;
  800. font-family: PingFangSC-Regular, PingFang SC;
  801. color: #fff;
  802. cursor: pointer;
  803. }
  804. .pic-model {
  805. width: 86px;
  806. height: 85px;
  807. margin-left: 50%;
  808. transform: translateX(-50%);
  809. margin-top: 15%;
  810. }
  811. .text-success {
  812. width: 406px;
  813. height: 24px;
  814. line-height: 24px;
  815. font-size: 25px;
  816. text-align: center;
  817. margin-top: 30px;
  818. font-family: AlibabaPuHuiTiR;
  819. font-weight: 400;
  820. color: #65c823;
  821. }
  822. .pic-model > img {
  823. width: 100%;
  824. height: 100%;
  825. }
  826. .action-1:hover {
  827. cursor: pointer;
  828. }
  829. .action-2:hover {
  830. cursor: pointer;
  831. }
  832. .action-3:hover {
  833. cursor: pointer;
  834. }
  835. .success-btn:hover {
  836. cursor: pointer;
  837. }
  838. .up-sub:hover {
  839. cursor: pointer;
  840. }
  841. </style>