Scommit.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768
  1. <template>
  2. <div class="SignAcontract">
  3. <div class="SignAcontract-content">
  4. <div class="SignAcontract-content-right">
  5. <div class="button-background" @click="control(0)"><el-button :disabled='PlacementMode==1'>上一步</el-button></div>
  6. <el-steps :active="index" align-center style="width: calc(100% - 212px);">
  7. <el-step title="打印付款单" ></el-step>
  8. <el-step title="上传付款单" ></el-step>
  9. <el-step title="完成" ></el-step>
  10. </el-steps>
  11. <div class="button-background" @click="control(1)"><el-button>下一步</el-button></div>
  12. </div>
  13. <div class="SignAcontract-content-lent">
  14. <div class="SignAcontract-content-lent-data" v-if="index==1">
  15. <div class="button-background">
  16. <el-button @click="RoomC()">打印</el-button>
  17. </div>
  18. <div class="contractA" id="RoomC">
  19. <div class="contractA-title" style="color: #000;">
  20. 房屋征收补偿款领款单
  21. </div>
  22. <div class="contractA-name">
  23. <div>
  24. 兹有<span>{{strpdetails.bussiness.projectName}}</span>被征收人<span>{{datahousehold.householderName}}</span>,按<span>{{datahousehold.moveBackCode}}住宅产权调换协议</span>(协议编号:<span>{{datahousehold.moveBackCode}}</span>)领取房屋征收补偿资金
  25. <span style="color: red;border-bottom: 1px solid red;"
  26. contenteditable v-html="datahousehold.thisPayAmount" @blur="datahousehold.thisPayAmount=$event.target.innerText"></span>
  27. 元,大写 <span>{{transformation(datahousehold.thisPayAmount)}}</span>
  28. </div>
  29. <div>
  30. 领款人承诺:今后如其他当事人持异议时由本人负责。
  31. </div>
  32. <div>
  33. 领款人(签字):
  34. </div>
  35. <div>
  36. 领款人身份证号:
  37. </div>
  38. <div>
  39. 备注:<span></span>
  40. </div>
  41. </div>
  42. <div class="contractA-bottom" style="margin: 4rem 0;">
  43. <div style="text-indent: 2em;">
  44. 征收实施单位(盖章):<span>慈溪市房屋征收所</span>
  45. </div>
  46. <div style="display: flex;justify-content: space-around;margin-bottom: 3rem;line-height: 2em;">
  47. <div>经办人:<span>{{username}}</span></div>
  48. <div style="display: flex;">日期<p style="letter-spacing: 2rem;margin: 0;">:年月日</p></div>
  49. </div>
  50. <div class="contractA-bottom-b" style="text-align: inherit;text-indent: 2em;">
  51. 注:领款人领款时应随带补偿协议、身份证。
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. <div class="Upload" v-if="index==2">
  57. <div class="Upload-butom">
  58. <div class="Upload-butom-tow">
  59. <h3>补偿款领款日期:</h3>
  60. <el-date-picker value-format="yyyy-MM-dd" type="date" placeholder="选择日期"
  61. v-model="payDate" style="width: 250px;"></el-date-picker>
  62. </div>
  63. <div class="Upload-butom-ont" v-for="(item,index) in fileListindex" :key="index">
  64. <div class="tc-middle-add">
  65. <h3>打款凭证:</h3>
  66. </div>
  67. <div class="tc-middle-name">
  68. <ul>
  69. <li v-for="itemid in item.tree" @click="nodeClic(itemid)">
  70. <i class="el-icon-error" @click.stop="deleteFile(itemid)"></i>
  71. <img v-if="itemid.name.split('.').pop().toLowerCase()=='pdf'" src="../../../../assets/file-pdf.png" alt="">
  72. <img v-else-if="itemid.name.split('.').pop().toLowerCase()=='png'||itemid.name.split('.').pop().toLowerCase()=='jpg'"
  73. src="../../../../assets/file-img.png" alt="">
  74. <img v-else-if="itemid.name.split('.').pop().toLowerCase()=='text'" src="../../../../assets/file-excel.png" alt="">
  75. <img v-else src="../../../../assets/file-other.png">
  76. <div><Tooltip :text="itemid.name"></Tooltip></div>
  77. </li>
  78. <el-upload action='' :auto-upload="false" :headers="tokenData" :on-change="handleChang" :show-file-list="false">
  79. <li @click="selectFile()">
  80. <div class="add">
  81. <div class="add-top">
  82. <span class="el-icon-plus"></span>
  83. </div>
  84. <div class="add-buttom">
  85. 添加文件
  86. </div>
  87. </div>
  88. </li>
  89. </el-upload>
  90. </ul>
  91. </div>
  92. </div>
  93. <div class="Upload-butom-ont">
  94. <div class="tc-middle-add">
  95. <h4>情况说明:</h4>
  96. </div>
  97. <div class="tc-middle-name">
  98. <div class="form" style="padding: 0;">
  99. <el-form>
  100. <el-form-item label="情况说明" label-width="130px" style="width: 100%;">
  101. <el-input v-model='Reremar' type="textarea" :rows="4" placeholder="请输入情况说明"
  102. style="width: 100%;"></el-input>
  103. </el-form-item>
  104. </el-form>
  105. </div>
  106. </div>
  107. </div>
  108. </div>
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. </template>
  114. <script>
  115. import Tooltip from '../../../assembly/tooltip.vue'
  116. export default {
  117. name: "survey",
  118. props: ['strpdetails','datahouseholdmax'],
  119. components:{
  120. Tooltip
  121. },
  122. data() {
  123. return {
  124. index:1,
  125. PlacementMode:0,
  126. username:'',
  127. uuid:'',
  128. payDate:'',
  129. fileListindex:[],
  130. defaultOpen: require("../../../../assets/file-plus.png"),
  131. defaultClose: require("../../../../assets/file-reduce.png"),
  132. Reremar:'',
  133. tokenData: {
  134. token: window.sessionStorage.getItem('token')
  135. },
  136. datahousehold:{}
  137. }
  138. },
  139. computed: {},
  140. mounted() {
  141. this.datahousehold=this.datahouseholdmax
  142. this.getName()
  143. if(!this.datahousehold.thisPayAmount){
  144. this.index=1
  145. }else{
  146. this.index=2
  147. this.getUid()
  148. this.getgetexaminefile()
  149. }
  150. },
  151. methods: {
  152. control(row){
  153. var Positive =0
  154. if(row){
  155. this.index++
  156. Positive =0
  157. }else{
  158. this.index--
  159. Positive =1
  160. }
  161. if(this.index<=1){
  162. this.index=1
  163. }else if(this.index==2){
  164. this.addagreement(0)
  165. this.getUid()
  166. this.getgetexaminefile()
  167. }else if(this.index>=3){
  168. this.payrecord()
  169. this.index=2
  170. }
  171. },
  172. payrecord(){
  173. var data={
  174. id:this.uuid,
  175. householdId:this.datahousehold.id,
  176. payDate:this.payDate,
  177. payAmount:this.datahousehold.thisPayAmount,
  178. remarks:this.Reremar
  179. }
  180. this.$http.post('api/auth/payrecord/pay', data).then((res) => {
  181. if (res.status == 200 && res.data.code == 0) {
  182. // this.username = res.data.user.name
  183. this.$message.success('付款成功!');
  184. this.datahousehold.thisPayAmount=''
  185. this.$emit('getlist',3)
  186. // this.addagreement(1)
  187. } else {
  188. this.$message.error('失败!');
  189. }
  190. })
  191. },
  192. // 获取姓名
  193. getName() {
  194. this.$http.get('api/v1/pri/userInfo', null).then((res) => {
  195. if (res.status == 200 && res.data.code == 0) {
  196. this.username = res.data.user.name
  197. } else {
  198. this.$message.error('失败!');
  199. }
  200. })
  201. },
  202. addagreement(row){
  203. this.$http.post('api/auth/householdcx/update',this.datahousehold).then((res) => {
  204. if (res.status == 200 && res.data.code == 0) {
  205. // this.agreementControl = false
  206. this.datahousehold=res.data.data
  207. } else {
  208. this.$message.error("失败!");
  209. }
  210. })
  211. },
  212. // 数字转大写(不带单位)
  213. transformation(n){
  214. if (!/^(0|[1-9]\d*)(\.\d+)?$/.test(n)){
  215. return ""; //判断数据是否大于0
  216. }
  217. var unit = "千百拾亿千百拾万千百拾元角分", str = "";
  218. n += "00";
  219. var indexpoint = n.indexOf('.'); // 如果是小数,截取小数点前面的位数
  220. if (indexpoint >= 0){
  221. n = n.substring(0, indexpoint) + n.substr(indexpoint+1, 2); // 若为小数,截取需要使用的unit单位
  222. }
  223. unit = unit.substr(unit.length - n.length); // 若为整数,截取需要使用的unit单位
  224. for (var i=0; i < n.length; i++){
  225. str += "零壹贰叁肆伍陆柒捌玖".charAt(n.charAt(i)) + unit.charAt(i); //遍历转化为大写的数字
  226. }
  227. return str.replace(/零(千|百|拾|角)/g, "零").replace(/(零)+/g, "零").replace(/零(万|亿|元)/g, "$1").replace(/(亿)万|壹(拾)/g, "$1$2").replace(/^元零?|零分/g, "").replace(/元$/g, "元整"); // 替换掉数字里面的零字符,得到结果
  228. },
  229. // 获取uuid
  230. getUid(){
  231. var s = [];
  232. var hexDigits = "0123456789abcdef";
  233. for (var i = 0; i < 30; i++) {
  234. s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1);
  235. }
  236. s[14] = "4";
  237. s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1);
  238. var uuid = s.join("");
  239. this.uuid = uuid;
  240. return uuid;
  241. },
  242. // 上传文件按钮
  243. selectFile() {
  244. this.selectFileName = '3、审批后资料/5、打款凭证'+'/'+this.uuid;
  245. },
  246. // 上传文件
  247. handleChang(file) {
  248. let that = this;
  249. let formData = new FormData();
  250. formData.append('file', file.raw);
  251. formData.append('type', 2);
  252. formData.append('id', this.datahousehold.id);
  253. formData.append('destfolder', this.selectFileName);
  254. that.$http.post('api/auth/file/upload', formData).then((res) => {
  255. if (res.status == 200 && res.data.code == 0) {
  256. that.$message.success("上传文件成功!");
  257. this.getgetexaminefile();
  258. } else {
  259. that.$message.error("上传文件失败!");
  260. }
  261. });
  262. },
  263. //获取文件
  264. getgetexaminefile(){
  265. this.$http.get('api/auth/file/fileList?type=' + 2 + '&id=' + this.datahousehold.id, null).then((res) => {
  266. if (res.status == 200 && res.data.code == 0) {
  267. this.fileListindex = res.data.list
  268. var data=[
  269. {name:'5、打款凭证',empty:false,type: "folder",url:'5、打款凭证',tree:[]},
  270. ]
  271. if(this.fileListindex){
  272. this.fileListindex.forEach((item,index)=>{
  273. if(item.empty==false){
  274. if(item.name=='3、审批后资料'){
  275. item.tree.forEach((nale,ixde)=>{
  276. if(nale.name=='5、打款凭证'){
  277. if(nale.tree!=null&&nale.tree.length!=0){
  278. nale.tree.forEach((nana,ixde)=>{
  279. if(nana.name==this.uuid){
  280. data[0]=nana
  281. }
  282. })
  283. }
  284. }
  285. })
  286. }
  287. }
  288. })
  289. }
  290. this.fileListindex=data
  291. } else {
  292. this.$message.error("查找文件列表失败!");
  293. }
  294. });
  295. },
  296. //删除文件
  297. deleteFile(item) {
  298. var data = new FormData;
  299. data.append("delFileUri", item.url);
  300. data.append("id", this.datahousehold.id);
  301. data.append("type", 2);
  302. this.$confirm('确定要删除该文件吗?').then(_ => {
  303. this.$http.post('api/auth/file/removeFile', data).then((res) => {
  304. if (res.status == 200 && res.data.code == 0) {
  305. this.$message.success('删除该文件成功!');
  306. this.getgetexaminefile();
  307. } else {
  308. this.$message.error('删除该文件失败!');
  309. }
  310. })
  311. })
  312. },
  313. nodeClic(val) {
  314. this.dataurl=''
  315. var data = new FormData;
  316. data.append("downloadFileUri", val.url);
  317. data.append("id",this.datahousehold.id);
  318. data.append("type",2);
  319. this.$http.post('api/auth/file/download', data, {responseType: 'blob'}).then((res) => {
  320. if (res.headers['content-type'] == "application/octet-stream;charset=utf-8"||res.headers['content-type'] == "application/octet-stream;charset=UTF-8") {
  321. //此处有个坑。这里用content保存文件流,最初是content=res,
  322. //检查了下才发现,后端对文件流做了一层封装,所以将content指向res.data即可
  323. //另外,流的转储属于浅拷贝,所以此处的content转储仅仅是便于理解,并没有实际作用=_=
  324. const content = res.data
  325. const type = {
  326. xml: 'text/xml',
  327. zip: 'application/zip',
  328. doc: 'application/msword',
  329. bin: 'application/octet-stream',
  330. exe: 'application/octet-stream',
  331. so: 'application/octet-stream',
  332. dll: 'application/octet-stream',
  333. pdf: 'application/pdf',
  334. ai: 'application/postscript',
  335. xls: 'application/vnd.ms-excel',
  336. ppt: 'application/vnd.ms-powerpoint',
  337. dir: 'application/x-director',
  338. js: 'application/x-javascript',
  339. swf: 'application/x-shockwave-flash',
  340. xhtml: 'application/xhtml+xml',
  341. xht: 'application/xhtml+xml',
  342. mid: 'audio/midi',
  343. midi: 'audio/midi',
  344. mp3: 'audio/mpeg',
  345. rm: 'audio/x-pn-realaudio',
  346. rpm: 'audio/x-pn-realaudio-plugin',
  347. wav: 'audio/x-wav',
  348. bmp: 'image/bmp',
  349. gif: 'image/gif',
  350. jpeg: 'image/jpeg',
  351. jpg: 'image/jpeg',
  352. png: 'image/png',
  353. css: 'text/css',
  354. html: 'text/html',
  355. htm: 'text/html',
  356. txt: 'text/plain',
  357. xsl: 'text/xml',
  358. mpeg: 'video/mpeg',
  359. mpg: 'video/mpeg',
  360. avi: 'video/x-msvideo',
  361. movie: 'video/x-sgi-movie',
  362. xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
  363. }
  364. const blob = new Blob([content], { // 关键代码
  365. type: type[val.url.split('.').pop().toLowerCase()]
  366. }) //构造一个blob对象来处理数据
  367. this.dataurl = window.URL.createObjectURL(blob)
  368. this.Examine=true
  369. }
  370. });
  371. },
  372. RoomC(){
  373. this.$nextTick(function() {
  374. //判断iframe是否存在,不存在则创建iframe
  375. var iframe = document.getElementById("print-iframe");
  376. var el = document.getElementById("RoomC");
  377. iframe = document.createElement('IFRAME');
  378. var doc = null;
  379. iframe.setAttribute("id", "print-iframe");
  380. iframe.setAttribute('style', 'position:absolute;width:0px;height:0px;left:-500px;top:-500px;');
  381. document.body.appendChild(iframe);
  382. doc = iframe.contentWindow.document;
  383. //这里可以自定义样式
  384. doc.write(
  385. '<style media="print">@page {size: auto;margin: 30mm;}.contractA{width: 100%;height: 100%;color: #000000;}span {word-break: break-all;border-bottom: 1px solid #000;min-width: 50px;display: inline-block;line-height: 3rem;text-align: center;text-indent: 0em;margin:0;line-height: 1.5rem}.contractA-title{width: 100%;text-align: center;font-size: 20px;font-weight: bolder;margin-bottom: 5mm;}.contractA-name{text-indent: 2em;line-height: 2rem;font-size: 18px;}.contractA-bottom{font-size: 18px;margin-top: 7mm;}.contractA-bottom-a{display: flex;}.contractA-bottom-a div{width: 50%;text-align: center;}.contractA-bottom-b{text-align: center;margin-bottom: 7mm;}.contractA-bottom-c{text-align: right;letter-spacing: 3rem;}</style>'
  386. ); //解决出现页眉页脚和路径的问题
  387. doc.write('<div>' + el.innerHTML + '</div>');
  388. doc.close();
  389. iframe.contentWindow.focus();
  390. setTimeout(function() {
  391. iframe.contentWindow.print();
  392. }, 50) //解决第一次样式不生效的问题
  393. if (navigator.userAgent.indexOf("MSIE") > 0) {
  394. document.body.removeChild(iframe);
  395. }
  396. })
  397. },
  398. }
  399. }
  400. </script>
  401. <style scoped lang="less">
  402. .button-background .el-button{
  403. border-radius: 5px;
  404. }
  405. .SignAcontract{
  406. position: absolute;
  407. top: 0;
  408. right: 0;
  409. width: 100%;
  410. height: 100%;
  411. .indexbutton{
  412. position: absolute;
  413. top: 0;
  414. right: 0;
  415. width: 100%;
  416. height: 100%;
  417. background-color: #00000050;
  418. ul{
  419. position: fixed;
  420. z-index: 11;
  421. top: 40%;
  422. left: 25%;
  423. width: 50%;
  424. display: flex;
  425. justify-content: space-evenly;
  426. li{
  427. width: 100px;
  428. height: 150px;
  429. // background-image: linear-gradient(-225deg, #7DE2FC 0%, #B9B6E5 100%);
  430. background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
  431. border-radius: 20px;
  432. line-height: 150px;
  433. color: #fff;
  434. font-size: 18px;
  435. text-align: center;
  436. cursor: pointer;
  437. &:nth-child(2){
  438. // background-image: linear-gradient(-225deg, #CBBACC 0%, #2580B3 100%);
  439. background-image: linear-gradient(to left, #BDBBBE 0%, #9D9EA3 100%), radial-gradient(88% 271%, rgba(255, 255, 255, 0.25) 0%, rgba(254, 254, 254, 0.25) 1%, rgba(0, 0, 0, 0.25) 100%), radial-gradient(50% 100%, rgba(255, 255, 255, 0.30) 0%, rgba(0, 0, 0, 0.30) 100%); background-blend-mode: normal, lighten, soft-light;
  440. }
  441. &:nth-child(3){
  442. // background-image: linear-gradient(-225deg, #B7F8DB 0%, #50A7C2 100%);
  443. background-image: linear-gradient(to top, #505285 0%, #585e92 12%, #65689f 25%, #7474b0 37%, #7e7ebb 50%, #8389c7 62%, #9795d4 75%, #a2a1dc 87%, #b5aee4 100%);
  444. }
  445. }
  446. }
  447. }
  448. .SignAcontract-content{
  449. position: fixed;
  450. top: 20%;
  451. right: 25%;
  452. z-index: 11;
  453. display: flex;
  454. justify-content: space-between;
  455. flex-wrap: wrap;
  456. width: 50%;
  457. height: 60%;
  458. .SignAcontract-content-right{
  459. border-radius: 5px;
  460. width: 100%;
  461. height: 100px;
  462. background-color: #fff;
  463. display: flex;
  464. justify-content: space-between;
  465. padding: 20px;
  466. box-sizing: border-box;
  467. /deep/.is-finish{
  468. color: #439dc1;
  469. border-color: #439dc1;
  470. }
  471. /deep/.is-process{
  472. color: #c0c4cc;
  473. border-color: #c0c4cc;
  474. }
  475. /deep/.el-step{
  476. // &:nth-child(1){
  477. // flex-basis: 25% !important;
  478. // .el-step__line{
  479. // right: -100%;
  480. // }
  481. // }
  482. // &:nth-child(2){
  483. // flex-basis: 50% !important;
  484. // .el-step__line{
  485. // right: -25%;
  486. // }
  487. // }
  488. // &:nth-child(3){
  489. // flex-basis: 25% !important;
  490. // }
  491. }
  492. }
  493. .SignAcontract-content-lent{
  494. width: 100%;
  495. height: calc(100% - 125px);
  496. background-color: #fff;
  497. border-radius: 5px;
  498. padding: 20px;
  499. box-sizing: border-box;
  500. overflow: auto;
  501. & {
  502. scrollbar-width: thin;
  503. scrollbar-color: #c1c1c1 #eee;
  504. }
  505. &::-webkit-scrollbar {
  506. width: 6px;
  507. background-color: #eee;
  508. }
  509. &::-webkit-scrollbar-thumb {
  510. background-color: #c1c1c1;
  511. &:hover {
  512. background-color: #a8a8a8;
  513. }
  514. &:active {
  515. background-color: #787878;
  516. }
  517. }
  518. .Upload{
  519. width: 100%;
  520. height: 100%;
  521. .Upload-top{
  522. height: 38px;
  523. display: flex;
  524. justify-content: space-between;
  525. .button-background {
  526. margin-right: 10px;
  527. }
  528. }
  529. .Upload-butom{
  530. width: 100%;
  531. height: 100%;
  532. // height: calc(100% - 38px);
  533. .Upload-butom-tow{
  534. width: 100%;
  535. height: 40px;
  536. display: flex;
  537. h3{
  538. font-size: 18px;
  539. color: #439dc1;
  540. line-height: 40px;
  541. &::before{
  542. content: "*";
  543. color: #f56c6c;
  544. margin-right: 5px;
  545. }
  546. }
  547. }
  548. .Upload-butom-ont{
  549. width: 100%;
  550. height: calc(50% -20px);
  551. .tc-middle-add {
  552. display: flex;
  553. h3{
  554. font-size: 18px;
  555. color: #439dc1;
  556. margin: 15px 0;
  557. &::before{
  558. content: "*";
  559. color: #f56c6c;
  560. margin-right: 5px;
  561. }
  562. }
  563. h4{
  564. font-size: 18px;
  565. color: #439dc1;
  566. margin: 15px 0;
  567. }
  568. }
  569. .tc-middle-empty{
  570. width: 100%;
  571. img{
  572. margin: 0 auto;
  573. display: block;
  574. }
  575. }
  576. .tc-middle-name{
  577. width: 100%;
  578. ul{
  579. width: 100%;
  580. display: flex;
  581. li{
  582. width: 100px;
  583. height: 110px;
  584. cursor: pointer;
  585. margin: 0 10px;
  586. position: relative;
  587. border: 1px solid #dedede;
  588. border-radius: 10px;
  589. padding: 10px;
  590. box-sizing: border-box;
  591. &:hover{
  592. i{
  593. display: block;
  594. }
  595. }
  596. i{
  597. position: absolute;
  598. top: -9px;
  599. right: -9px;
  600. color: #FF4500;
  601. font-size: 25px;
  602. display: none;
  603. }
  604. img{
  605. width: 55px;
  606. margin: 0 auto;
  607. display: block;
  608. }
  609. div{
  610. width: 100%;
  611. display: block;
  612. text-align: center;
  613. color: #5e5e5e;
  614. margin: 2px;
  615. margin-top: 8px;
  616. overflow: hidden;
  617. text-overflow: ellipsis;
  618. word-break: break-all;
  619. font-size: 14px;
  620. display: inline-block;
  621. display: -webkit-box !important;
  622. -webkit-line-clamp: 1;
  623. -webkit-box-orient: vertical;
  624. span {
  625. display: initial;
  626. white-space: break-spaces;
  627. }
  628. }
  629. .add{
  630. width: 100%;
  631. height: 100%;
  632. .add-top{
  633. margin: 0 auto;
  634. width: 80%;
  635. height: 60%;
  636. border: 2px dotted #c6c6c6;
  637. border-radius: 5px;
  638. position: relative;
  639. span{
  640. display: inline;
  641. position: absolute;
  642. top: calc(50% - 15px);
  643. left: calc(50% - 15px);
  644. font-size: 30px;
  645. color: #bbb;
  646. }
  647. }
  648. .add-buttom{
  649. color: #5e5e5e;
  650. }
  651. }
  652. }
  653. }
  654. }
  655. }
  656. }
  657. }
  658. .SignAcontract-content-lent-data{
  659. width: 100%;
  660. height: 1000px;
  661. span {
  662. word-break: break-all;
  663. border-bottom: 1px solid #000;
  664. min-width: 50px;
  665. display: inline-block;
  666. line-height: 18px;
  667. text-align: center;
  668. text-indent: 0em;
  669. }
  670. td{
  671. border-bottom: 1px solid #000;
  672. border-right: 1px solid #000;
  673. }
  674. .contractA {
  675. width: 100%;
  676. height: calc(100% - 40px);
  677. padding: 3%;
  678. font-size: 15px;
  679. box-sizing: border-box;
  680. .contractA-title {
  681. width: 100%;
  682. text-align: center;
  683. font-size: 20px;
  684. font-weight: bolder;
  685. margin-bottom: 1%;
  686. }
  687. .contractA-name {
  688. text-indent: 2em;
  689. line-height: 2em;
  690. font-size: 18px;
  691. }
  692. .contractA-bottom {
  693. margin-top: 2rem;
  694. font-size: 18px;
  695. .contractA-bottom-a {
  696. display: flex;
  697. line-height: 2rem;
  698. div {
  699. width: 50%;
  700. text-align: center;
  701. }
  702. }
  703. .contractA-bottom-b {
  704. text-align: center;
  705. line-height: 2rem;
  706. margin-bottom: 2rem;
  707. }
  708. .contractA-bottom-c {
  709. text-align: right;
  710. letter-spacing: 2rem;
  711. }
  712. }
  713. }
  714. }
  715. .toexamine{
  716. height: 500px;
  717. }
  718. }
  719. }
  720. }
  721. .FarmerPreferenceCss{
  722. width: 100%;
  723. p{
  724. font-size: 16px;
  725. color: #439dc1;
  726. }
  727. .FarmerPreferenceCss-top{
  728. width: 100%;
  729. }
  730. .FarmerPreferenceCss-buttom{
  731. ul{
  732. li{
  733. display: flex;
  734. margin: 5px 0;
  735. span{
  736. padding: 5px;
  737. }
  738. .name{
  739. padding: 5px;
  740. border-radius: 5px;
  741. background-color: #e6a23c;
  742. color: #fff;
  743. }
  744. .ont{
  745. color: #f56c6c;
  746. }
  747. .tow{
  748. color: #78c951;
  749. }
  750. }
  751. }
  752. }
  753. }
  754. </style>