quality_testing.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790
  1. <template>
  2. <view>
  3. <view class="header">
  4. <view style='background:#fff;display:flex;' class="cu-bar search">
  5. <view style='flex:6;' class="search-form round Medium">
  6. <text style='color: #ccc;text-indent:6px;' class="cuIcon-search"></text>
  7. <input v-if='managementType==1' type="text" maxlength="20" :focus="true" v-model="searchKeyWord" @confirm="doSearch()"
  8. placeholder="输入编号、客户名、车牌号" confirm-type="search"></input>
  9. <input v-if='managementType==3' type="text" maxlength="20" :focus="true" v-model="searchKeyWord" @confirm="doSearch()"
  10. placeholder="输入合同编号、车牌号" confirm-type="search"></input>
  11. </view>
  12. <view @click='doSearch()' class="Regular" style="width:4%;flex:1;">搜索</view>
  13. <u-icon @click='emptysearch' class="cuIcon" v-if='searchKeyWord.length>0' size="34" name="close-circle-fill" color="#D6D9E0"></u-icon>
  14. <!-- <text @click='emptysearch' v-if='searchKeyWord.length>0' class='tip_text cuIcon-roundclosefill'></text> -->
  15. </view>
  16. <view class='changewarehouse'>
  17. <view @click='show=true'>{{warehouseName}}<text class='cuIcon-unfold'></text></view>
  18. <u-picker @confirm="warehousechange" range-key='warehouseName' mode="selector" v-model="show" :range="selector"></u-picker>
  19. </view>
  20. </view>
  21. <view class="content">
  22. <view class='wrap' v-for='item in gridList' @click='examine(item)'>
  23. <view class='flex justify-between'>
  24. <view v-if='item.status=="已质检"'>
  25. <view class='type type-zhi'>质</view>
  26. </view>
  27. <view v-if='item.status=="已称毛重"'>
  28. <view class='type type-mao'>毛</view>
  29. </view>
  30. <view v-if='item.status=="已称皮重"'>
  31. <view class='type type-pi'>皮</view>
  32. </view>
  33. <view>
  34. <view v-if='managementType==1' class='qualityNo'>{{item.qualityNo}}</view>
  35. <view v-if='managementType==3' class='qualityNo'>{{item.contractNo}}</view>
  36. <view class='time'>{{item.updateDate}}</view>
  37. </view>
  38. <view v-if='item.status=="已质检"' class='qualityInspector'>{{item.qualityInspector}}</view>
  39. <view v-else></view>
  40. </view>
  41. <view class="flex justify-around customerinformation">
  42. <view v-if='managementType==1'>{{item.customerName}}</view>
  43. <view>{{item.carNumber}}</view>
  44. <view>{{item.goodsName}}({{item.waterContent}}水)</view>
  45. </view>
  46. <view class='flex buttons'>
  47. <view v-if='item.status=="已质检"&&managementType==1' @click.stop='del(item)' class='button'>删除</view>
  48. <view v-if='item.status!="已称皮重"&&managementType==1' @click.stop='edit(item)' class='button'>编辑</view>
  49. <view v-if='item.status=="已称毛重"&&managementType==3' @click.stop='quality_testing(item)' class='button'>质检</view>
  50. </view>
  51. </view>
  52. </view>
  53. <view v-show="isContent">
  54. <uni-load-more :status="loadStatus"></uni-load-more>
  55. </view>
  56. <view class="footer">
  57. <view @click='add' class="button">新增</view>
  58. </view>
  59. </view>
  60. </template>
  61. <script>
  62. import dragButton from "@/components/drag-button/drag-button.vue";
  63. import {
  64. mapState
  65. } from 'vuex';
  66. let startY = 0,
  67. moveY = 0,
  68. pageAtTop = true;
  69. export default {
  70. components: {
  71. dragButton
  72. },
  73. data() {
  74. return {
  75. inputShow: false,
  76. modalName: '',
  77. mycarStyle: '',
  78. feild: undefined,
  79. params:{},
  80. selector:[],
  81. isContent:false,
  82. loadStatus:'noMore',
  83. inputContent: '',
  84. coverTransform: 'translateY(0px)',
  85. coverTransition: '0s',
  86. moving: false,
  87. footprintList: [],
  88. searchKeyWord:'',
  89. isVip: false,
  90. userInfoTmp: [],
  91. inputStatus: 'none',
  92. carInfo: [],
  93. gridCol: 4,
  94. show:false,
  95. pageSize:10,
  96. currentPage:1,
  97. gridBorder: false,
  98. headUrl:"../../static/img/myimg/YongHu@3x.png",
  99. userphone:"",
  100. username:"请更改昵称",
  101. gridList: [],
  102. managementType:'',
  103. warehouseName: '',
  104. showTran: true,
  105. companyId: 1,
  106. current: 4,
  107. warehouseCount:'',
  108. commonWarehouseNo:'',
  109. cangid:''
  110. }
  111. },
  112. onLoad() {
  113. },
  114. // #ifndef MP
  115. onNavigationBarButtonTap(e) {
  116. const index = e.index;
  117. if (index === 0) {
  118. this.navTo('/pages/set/set');
  119. } else if (index === 1) {
  120. // #ifdef APP-PLUS
  121. const pages = getCurrentPages();
  122. const page = pages[pages.length - 1];
  123. const currentWebview = page.$getAppWebview();
  124. currentWebview.hideTitleNViewButtonRedDot({
  125. index
  126. });
  127. // #endif
  128. uni.navigateTo({
  129. url: '/pages/notice/notice'
  130. })
  131. }
  132. },
  133. // #endif
  134. computed: {
  135. ...mapState(['hasLogin', 'userInfo']),
  136. // 手机号中间4位加*
  137. starUserphone(){
  138. let reg = /^(\d{3})\d{4}(\d{4})$/;
  139. if(this.userphone){
  140. return this.userphone.replace(reg, "$1****$2");
  141. }
  142. }
  143. },
  144. onLoad(options){
  145. this.managementType=options.managementType
  146. },
  147. onShow() {
  148. this.gridList=[]
  149. this.$api.doRequest('get', '/warehouseBaseInfo/selectWarehouseSelf',{
  150. compId:'',
  151. personCharge:this.userInfo.phone
  152. }).then(res => {
  153. if(res.data.data){
  154. this.warehouseName=res.data.data[0].warehouseName
  155. this.cangid=res.data.data[0].id
  156. this.warehouseCount = res.data.data[0].count
  157. this.commonWarehouseNo=res.data.data[0].commonWarehouseNo
  158. uni.setStorageSync('purchasePriceList',res.data.data[0].purchasePriceList)
  159. this.selector=res.data.data
  160. this.getList()
  161. }
  162. })
  163. },
  164. methods: {
  165. quality_testing(item){
  166. uni.navigateTo({
  167. url:'/pages/erpbusiness/out_quality_testing?id='+item.id+'&managementType='+this.managementType+'&cangid='+this.cangid
  168. })
  169. },
  170. examine(item){
  171. uni.navigateTo({
  172. url:'/pages/erpbusiness/examine_quality_testing?id='+item.id+'&managementType='+this.managementType+'&cangid='+this.cangid
  173. })
  174. },
  175. emptysearch(){
  176. this.searchKeyWord=''
  177. this.gridList=[]
  178. this.currentPage=1
  179. this.getList()
  180. },
  181. doSearch(){
  182. this.gridList=[]
  183. this.currentPage=1
  184. this.getList()
  185. },
  186. warehousechange(e){
  187. this.warehouseName=this.selector[e[0]].warehouseName
  188. this.cangid=this.selector[e[0]].id
  189. this.warehouseCount = this.selector[e[0]].count
  190. this.commonWarehouseNo=this.selector[e[0]].commonWarehouseNo
  191. uni.setStorageSync('purchasePriceList',this.selector[e[0]].purchasePriceList)
  192. this.getList()
  193. console.log(e)
  194. },
  195. getList(){
  196. var that = this
  197. this.$api.doRequest('get', 'qualityInspectionManagement/selectQualityInspection',{
  198. pageSize: this.pageSize,
  199. currentPage: this.currentPage,
  200. searchKeyWord: this.searchKeyWord,
  201. searchType: this.searchType,
  202. managementType:this.managementType,
  203. warehouseName: this.warehouseName,
  204. compId:'2710b21efc1e4393930c5dc800010dc4',
  205. // pcFlag:1
  206. }).then(res => {
  207. if(res.data.data){
  208. let data = res.data.data.records
  209. //采购信息
  210. if (data.length > 0) {
  211. that.gridList = that.gridList.concat(data)
  212. }else{
  213. if(this.currentPage==1){
  214. that.gridList=[]
  215. }
  216. this.isContent=true
  217. }
  218. }
  219. // console.log(that.gridList)
  220. })
  221. },
  222. edit(item){
  223. uni.navigateTo({
  224. url:'/pages/erpbusiness/edit_quality_testing?id='+item.id+'&managementType='+this.managementType+'&cangid='+this.cangid
  225. })
  226. },
  227. add(){
  228. uni.navigateTo({
  229. url:'/pages/erpbusiness/add_quality_testing?managementType='+this.managementType+'&cangid='+this.cangid+'&warehouseCount='+this.warehouseCount+'&commonWarehouseNo='+this.commonWarehouseNo+'&warehouseName='+this.warehouseName
  230. })
  231. },
  232. del(item){
  233. this.$api.doRequest('post', '/qualityInspectionManagement/api/deleteQualityInspection',{
  234. id:item.id
  235. }).then(res => {
  236. if(res.data.code==200){
  237. this.$api.msg('删除成功')
  238. this.gridList=[]
  239. this.getList()
  240. }else{
  241. this.$api.msg('系统异常,请联系管理员')
  242. }
  243. })
  244. },
  245. fankui(){
  246. uni.navigateTo({
  247. url: `/pages/user/fankui`
  248. })
  249. },
  250. zhibo() {
  251. uni.navigateTo({
  252. url: `/pageB/video/broadcast`
  253. })
  254. },
  255. look() {
  256. uni.navigateTo({
  257. url: `/pageB/video/look`
  258. })
  259. },
  260. contactUs() {
  261. const that = this
  262. uni.makePhoneCall({
  263. // 手机号
  264. phoneNumber: '18241771147',
  265. // 成功回调
  266. success: (res) => {},
  267. // 失败回调
  268. fail: (res) => {}
  269. });
  270. },
  271. loadData() {
  272. // const that = this
  273. // if(uni.getStorageSync("PageCur")){
  274. // that.PageCur = uni.getStorageSync("PageCur");
  275. // }
  276. // that.userInfoTmp = uni.getStorageSync("userInfo")
  277. // uni.showLoading({
  278. // title: '正在加载',
  279. // mask:true
  280. // })
  281. // that.$api.request('integral', 'getIndexData', failres => {
  282. // that.$api.msg(failres.errmsg)
  283. // uni.hideLoading()
  284. // }).then(res => {
  285. // let data = res.data
  286. // uni.setStorageSync("message", data.message);
  287. // uni.setStorageSync("task", data.task);
  288. // uni.setStorageSync("contract", data.contract);
  289. // uni.setStorageSync('showTran', data.showTran);
  290. // that.showTran = data.showTran
  291. // that.gridList[4].tips = data.task
  292. // that.gridList[2].tips = data.contract
  293. // that.companyId = data.companyId
  294. // uni.hideLoading()
  295. // })
  296. },
  297. confirm() {
  298. const that = this
  299. if (!that.inputContent) {
  300. that.$api.msg('输入不能为空')
  301. return
  302. }
  303. let obj = {}
  304. obj[that.feild] = that.inputContent
  305. that.$api.request('user', 'syncUserInfo', obj).then(res => {
  306. that.userInfo.nickname = that.inputContent
  307. that.inputContent = ''
  308. that.$store.commit('login', that.userInfo)
  309. })
  310. },
  311. cancel() {
  312. this.inputShow = false
  313. this.inputStatus = 'none'
  314. this.genderShow = false
  315. },
  316. myAccount() {
  317. uni.navigateTo({
  318. url: `/pageA/pages/contract`
  319. })
  320. },
  321. /**
  322. * 统一跳转接口,拦截未登录路由
  323. * navigator标签现在默认没有转场动画,所以用view
  324. */
  325. navTo(url) {
  326. if (!this.hasLogin) {
  327. url = '/pages/public/login';
  328. }
  329. uni.navigateTo({
  330. url
  331. })
  332. },
  333. mycarClick(carNo) {
  334. this.modalName = null
  335. uni.navigateTo({
  336. url: `/pageB/car/mycar_detail?carNo=${carNo}`
  337. })
  338. },
  339. scanCode() {
  340. uni.scanCode({
  341. success: function(res) {
  342. uni.navigateTo({
  343. url: res.result
  344. })
  345. }
  346. })
  347. },
  348. hideModal(e) {
  349. this.modalName = null
  350. },
  351. }
  352. }
  353. </script>
  354. <style lang='scss' scoped>
  355. page{
  356. background:#F5F6FA;
  357. }
  358. .container {
  359. padding-top: 85px;
  360. padding-top: 35px;
  361. background-color: #F5F6FA;
  362. position: relative;
  363. width: 100vw;
  364. height: 100vh;
  365. overflow: hidden;
  366. background: url('~@/static/img/login/bg_slices/bg@3x.png');
  367. background-size: 100% 100%;
  368. margin: 0 auto;
  369. }
  370. .cu-tag.badge {
  371. right: 26rpx;
  372. }
  373. .path {
  374. color: #007aff;
  375. display: inline-block;
  376. text-align: center;
  377. }
  378. .icon {
  379. margin-right: 10rpx;
  380. }
  381. .portrait-box {
  382. margin-top: 20rpx;
  383. }
  384. .qr-wrap {
  385. margin-top: 20upx;
  386. color: #fff;
  387. font-size: 32rpx;
  388. }
  389. @keyframes move_wave {
  390. 0% {
  391. transform: translateX(0) translateZ(0) scaleY(1)
  392. }
  393. 50% {
  394. transform: translateX(-25%) translateZ(0) scaleY(0.55)
  395. }
  396. 100% {
  397. transform: translateX(-50%) translateZ(0) scaleY(1)
  398. }
  399. }
  400. .bg {
  401. position: relative;
  402. height: 300rpx;
  403. /* background: linear-gradient(to bottom, #56ccf2, #2f80ed); */
  404. /*background: linear-gradient(to bottom, #0be9fe, #4bb0fe); */
  405. background: linear-gradient(to bottom, #d5f8ff, #56ccf2);
  406. }
  407. .bg_ware {
  408. position: absolute;
  409. left: 0;
  410. bottom: -2rpx;
  411. width: 100%;
  412. mix-blend-mode: screen;
  413. height: 224rpx;
  414. }
  415. %flex-center {
  416. display: flex;
  417. flex-direction: column;
  418. justify-content: center;
  419. align-items: center;
  420. }
  421. %section {
  422. display: flex;
  423. justify-content: space-around;
  424. align-content: center;
  425. background: #fff;
  426. border-radius: 10upx;
  427. }
  428. .cuIcon {
  429. position: absolute;
  430. right: 80px;
  431. }
  432. .grid-item-box {
  433. flex: 1;
  434. /* position: relative;
  435. */
  436. /* #ifndef APP-NVUE */
  437. display: flex;
  438. /* #endif */
  439. flex-direction: column;
  440. align-items: center;
  441. justify-content: center;
  442. padding: 15px 0;
  443. }
  444. .image {
  445. width: 80rpx;
  446. height: 80rpx;
  447. }
  448. .text {
  449. font-size: 26rpx;
  450. margin-top: 10rpx;
  451. }
  452. .user-section {
  453. height: 520upx;
  454. padding: 100upx 30upx 0;
  455. position: relative;
  456. .bg {
  457. position: absolute;
  458. left: 0;
  459. top: 0;
  460. width: 100%;
  461. height: 100%;
  462. filter: blur(1px);
  463. box-shadow: 0px 1px 8px #ccc;
  464. /* background:linear-gradient(#0eb0c9,#126bae); */
  465. /* opacity: .7; */
  466. }
  467. }
  468. .cover-container {
  469. padding: 1px 10px ;
  470. padding-bottom: 200upx;
  471. /* background-color: #F5F6FA; */
  472. /* border-radius: 20px; */
  473. margin-top: 60upx;
  474. .arc {
  475. position: absolute;
  476. left: 0;
  477. top: -34upx;
  478. width: 100%;
  479. height: 36upx;
  480. }
  481. }
  482. .tj-sction {
  483. @extend %section;
  484. .tj-item {
  485. @extend %flex-center;
  486. flex-direction: column;
  487. height: 140upx;
  488. font-size: $font-sm;
  489. color: #75787d;
  490. }
  491. .num {
  492. font-size: $font-lg;
  493. color: $font-color-dark;
  494. margin-bottom: 8upx;
  495. }
  496. }
  497. .order-section {
  498. @extend %section;
  499. padding: 28upx 0;
  500. margin-top: 20upx;
  501. .order-item {
  502. @extend %flex-center;
  503. width: 120upx;
  504. height: 120upx;
  505. border-radius: 10upx;
  506. font-size: $font-sm;
  507. color: $font-color-dark;
  508. }
  509. .yticon {
  510. font-size: 48upx;
  511. margin-bottom: 18upx;
  512. color: #fa436a;
  513. }
  514. .icon-shouhoutuikuan {
  515. font-size: 44upx;
  516. }
  517. }
  518. .history-section {
  519. padding: 30upx 0 0;
  520. margin-top: 20upx;
  521. background: #fff;
  522. border-radius: 10upx;
  523. .sec-header {
  524. display: flex;
  525. align-items: center;
  526. font-size: $font-base;
  527. color: $font-color-dark;
  528. line-height: 40upx;
  529. margin-left: 30upx;
  530. .yticon {
  531. font-size: 44upx;
  532. color: #5eba8f;
  533. margin-right: 16upx;
  534. line-height: 40upx;
  535. }
  536. }
  537. .h-list {
  538. white-space: nowrap;
  539. padding: 30upx 30upx 0;
  540. image {
  541. display: inline-block;
  542. width: 160upx;
  543. height: 160upx;
  544. margin-right: 20upx;
  545. border-radius: 10upx;
  546. }
  547. }
  548. }
  549. .search-form {
  550. background: #F5F6F9;
  551. }
  552. .search-box {
  553. width: 100%;
  554. background-color: rgb(242, 242, 242);
  555. padding: 15upx 2.5%;
  556. display: flex;
  557. justify-content: space-between;
  558. }
  559. .search-box .mSearch-input-box {
  560. width: 100%;
  561. }
  562. .search-box .input-box {
  563. width: 85%;
  564. flex-shrink: 1;
  565. display: flex;
  566. justify-content: center;
  567. align-items: center;
  568. }
  569. .search-box .search-btn {
  570. width: 15%;
  571. margin: 0 0 0 2%;
  572. display: flex;
  573. justify-content: center;
  574. align-items: center;
  575. flex-shrink: 0;
  576. font-size: 28upx;
  577. color: #fff;
  578. background: linear-gradient(to right, #ff9801, #ff570a);
  579. border-radius: 60upx;
  580. }
  581. .search-box .input-box>input {
  582. width: 100%;
  583. height: 60upx;
  584. font-size: 32upx;
  585. border: 0;
  586. border-radius: 60upx;
  587. -webkit-appearance: none;
  588. -moz-appearance: none;
  589. appearance: none;
  590. padding: 0 3%;
  591. margin: 0;
  592. background-color: #ffffff;
  593. }
  594. .placeholder-class {
  595. color: #9e9e9e;
  596. }
  597. .search-keyword {
  598. width: 100%;
  599. background-color: rgb(242, 242, 242);
  600. }
  601. .grid {
  602. display: flex;
  603. align-items: center;
  604. flex-wrap: wrap;
  605. /* border-top: 2upx solid rgba(172,172,172,.2); */
  606. .grid-item-3 {
  607. box-sizing: border-box;
  608. width: calc(100% / 3);
  609. border-bottom: 2upx solid rgba(172, 172, 172, .2);
  610. border-right: 2upx solid rgba(172, 172, 172, .2);
  611. text-align: center;
  612. padding: 40upx 0;
  613. position: relative;
  614. /* view{
  615. font-size: $font-sm;
  616. margin-top: 16upx;
  617. color: $font-color-dark;
  618. } */
  619. .grid_icon {
  620. font-size: 48upx;
  621. margin-bottom: 18upx;
  622. color: #fa436a;
  623. }
  624. .tip_text {
  625. display: block;
  626. padding: 4upx 8upx;
  627. text-align: center;
  628. border-radius: 36upx;
  629. font-size: 24upx;
  630. background-color: #fa436a;
  631. color: rgba(255, 255, 255, 1);
  632. position: absolute;
  633. right: 6upx;
  634. top: 6upx;
  635. }
  636. }
  637. .grid-item-3:nth-child(3n + 3),
  638. .grid-item-4:nth-child(4n + 4) {
  639. border-right: none;
  640. }
  641. }
  642. .headPortrait {
  643. width: 75px;
  644. height: 75px;
  645. border-radius: 40px;
  646. border: 2px solid #ffffff;
  647. }
  648. .information {
  649. font-size: 15px;
  650. font-weight: 600;
  651. height: 36px;
  652. }
  653. .cu-list>.cu-item:after{
  654. border:none;
  655. }
  656. .sign{
  657. width: 40px;
  658. height: 40px;
  659. top: 4px;
  660. margin-right: 6px;
  661. }
  662. .indexUp{
  663. padding:0 20px;
  664. align-items: center;
  665. }
  666. .wrap{
  667. background:#fff;
  668. margin:10px;
  669. border-radius:10px;
  670. padding:10px;
  671. }
  672. .qualityNo{
  673. font-size:16px;
  674. }
  675. .type{
  676. font-size:12px;
  677. color:#fff;
  678. padding:3px 5px;
  679. border-radius:50%;
  680. line-height:16px;
  681. }
  682. .type-zhi{
  683. background:#22C572;
  684. }
  685. .type-mao{
  686. background:#3296FA;
  687. }
  688. .type-pi{
  689. background:#FD714F;
  690. }
  691. .time{
  692. font-size:12px;
  693. color:#878C9C;
  694. }
  695. .qualityInspector{
  696. font-size:14px;
  697. }
  698. .customerinformation{
  699. background:#F9F9FA;
  700. padding:7px;
  701. margin:20px 0;
  702. border-radius:10px;
  703. color:#9698A2;
  704. }
  705. .buttons{
  706. flex-direction:row-reverse;
  707. }
  708. .button{
  709. padding:13rpx 30rpx;
  710. border:1px solid #CDCDCD;
  711. border-radius:15px;
  712. margin:0 10px;
  713. }
  714. .changewarehouse{
  715. padding:10px 20px;
  716. }
  717. .header{
  718. background:#fff;
  719. border-radius:0px 0px 16px 16px;
  720. }
  721. .content{
  722. margin-bottom:100px;
  723. }
  724. .footer{
  725. background:#fff;
  726. position:fixed;
  727. bottom:0;
  728. width:100%;
  729. padding:20px 10px;
  730. z-index:10;
  731. .button{
  732. background:#22C572;
  733. width:90%;
  734. margin:0 auto;
  735. padding:10px;
  736. color:#fff;
  737. text-align:center;
  738. border-radius: 30px;
  739. }
  740. }
  741. </style>