index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711
  1. <template>
  2. <div class="app-container">
  3. <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="140px" class="nghfs">
  4. <p class="lqw" style="font-weight: 700;font-size: 15px;"> <img src="../../../assets/images/icon_yq_htgl_btzs.png" alt="" style="width:10px;height: 10px;margin-right: 10px;"> 搜索条件</p>
  5. <el-form-item label="食谱日期" prop="menuFoodTime">
  6. <el-select v-model="queryParams.menuFoodTime" placeholder="请选择食谱日期" clearable>
  7. <el-option
  8. v-for="dict in dict.type.week"
  9. :key="dict.value"
  10. :label="dict.label"
  11. :value="dict.label"
  12. />
  13. </el-select>
  14. </el-form-item>
  15. <el-form-item label="记录时间" prop="recordTime">
  16. <el-date-picker clearable
  17. v-model="queryParams.recordTime"
  18. type="date"
  19. value-format="yyyy-MM-dd"
  20. placeholder="请选择记录时间">
  21. </el-date-picker>
  22. </el-form-item>
  23. <el-form-item>
  24. <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
  25. <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
  26. </el-form-item>
  27. </el-form>
  28. <div class="ntgs" >
  29. <div style="display: flex;align-items: center; margin-bottom: 10px;">
  30. <p class="lqw" style="font-weight: 700;font-size: 15px; margin: 0; margin-bottom: 0;"> <img src="../../../assets/images/icon_yq_htgl_btzs.png" alt="" style="width:10px;height: 10px;margin-right: 10px;"> 食谱记录</p>
  31. <el-row :gutter="10" class="mb8">
  32. <!-- <el-col :span="1.5">
  33. <el-button
  34. type="primary"
  35. plain
  36. icon="el-icon-plus"
  37. size="mini"
  38. @click="handleAdd"
  39. v-hasPermi="['system:foodRecord:add']"
  40. >新增</el-button>
  41. </el-col>
  42. <el-col :span="1.5">
  43. <el-button
  44. type="success"
  45. plain
  46. icon="el-icon-edit"
  47. size="mini"
  48. :disabled="single"
  49. @click="handleUpdate"
  50. v-hasPermi="['system:foodRecord:edit']"
  51. >修改</el-button>
  52. </el-col>
  53. <el-col :span="1.5">
  54. <el-button
  55. type="danger"
  56. plain
  57. icon="el-icon-delete"
  58. size="mini"
  59. :disabled="multiple"
  60. @click="handleDelete"
  61. v-hasPermi="['system:foodRecord:remove']"
  62. >删除</el-button>
  63. </el-col> -->
  64. <!-- <el-col :span="1.5">
  65. <el-button
  66. type="primary"
  67. plain
  68. icon="el-icon-plus"
  69. size="mini"
  70. @click="handleAddmr"
  71. v-hasPermi="['system:foodRecord:add']"
  72. >查看每日食谱</el-button>
  73. </el-col> -->
  74. <el-col :span="1.5">
  75. <el-button
  76. type="warning"
  77. plain
  78. icon="el-icon-download"
  79. size="mini"
  80. @click="handleExport"
  81. v-hasPermi="['system:foodRecord:export']"
  82. >导出</el-button>
  83. </el-col>
  84. <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
  85. </el-row>
  86. </div>
  87. <div>
  88. <div>
  89. <el-row :gutter="20" v-if="foodRecordList.length !=0">
  90. <el-col :span="8" v-for="(item,index) in foodRecordList" :key="index" style="margin-bottom: 20px;">
  91. <div class="foord">
  92. <div class="foorso" style="height: 60px;">
  93. <p ><span style="margin-right: 10px;"></span><dict-tag :options="dict.type.week" :value="item.menuFoodTime" /></p>
  94. <p>{{item.recordTime == null?'暂无数据' : item.recordTime}}</p>
  95. </div>
  96. <div style="width: 100%;" class="ingsek">
  97. <el-carousel :interval="4000" arrow="hover" height="200px;width:100%;" indicator-position="none" v-if="item.nsjge.length !=0">
  98. <el-carousel-item v-for="(itemt,index) in item.nsjge" :key="index" >
  99. <div style="position: relative;" @click="imge(itemt.url)">
  100. <img :src="defaultSettings.urls+baseUrl +itemt.url" alt="" style="width: 100%;height: 200px;">
  101. <p style="position: absolute;bottom: 0;left: 0;font-weight: 500; height: 24px;background-color: rgba(0,0,0,.5);color: #fff;font-size: 14px;width: 100%;padding-left: 10px;line-height: 24px;margin: 0;">{{itemt.title}}</p>
  102. </div>
  103. </el-carousel-item>
  104. </el-carousel>
  105. <div v-if="item.nsjge.length ==0" style="height: 200px;" class="egle">
  106. <el-empty description="暂无数据"></el-empty>
  107. </div>
  108. </div>
  109. <div style="border-bottom: 1px solid #DADADA;padding-top: 15px;padding-bottom: 15px;" class="foorset">
  110. <div>
  111. <span>午餐:</span><p>{{item.menuFoodDetailLu == null?'暂无数据' : item.menuFoodDetailLu}}</p>
  112. </div>
  113. <div>
  114. <span style="color: #28C529;">晚餐:</span><p>{{item.menuFoodDetailDi == null?'暂无数据' : item.menuFoodDetailDi}}</p>
  115. </div>
  116. </div>
  117. <div style="display: flex;align-items: center;height: 40px;">
  118. <p @click="handleDelete(item)"
  119. v-hasPermi="['system:foodRecord:remove']" style="flex:1;line-height: 40px; text-align: center; border-right: 1px solid #DADADA;color: #FF6969;font-weight: bold;font-size: 14px;">删除</p>
  120. <!-- <p @click="handleUpdate(item)"
  121. v-hasPermi="['system:menuFood:edit']" style="flex:1;line-height: 40px;text-align: center;color: #5F8BF4;font-weight: bold;font-size: 14px;">修改</p> -->
  122. </div>
  123. </div>
  124. </el-col>
  125. </el-row>
  126. <div v-if="foodRecordList.length ==0">
  127. <el-empty description="暂无数据"></el-empty>
  128. </div>
  129. </div>
  130. </div>
  131. <pagination
  132. v-show="total>0"
  133. :total="total"
  134. :page.sync="queryParams.pageNum"
  135. :limit.sync="queryParams.pageSize"
  136. @pagination="getList"
  137. />
  138. </div>
  139. <!-- 添加或修改每日食谱记录对话框 -->
  140. <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
  141. <el-form ref="form" :model="form" :rules="rules" label-width="80px">
  142. <el-form-item label="食谱日期 周一" prop="menuFoodTime">
  143. <el-select v-model="form.menuFoodTime" placeholder="请选择食谱日期 周一">
  144. <el-option
  145. v-for="dict in dict.type.week"
  146. :key="dict.value"
  147. :label="dict.label"
  148. :value="dict.value"
  149. ></el-option>
  150. </el-select>
  151. </el-form-item>
  152. <el-form-item label="食谱早餐详情" prop="menuFoodDetailBk">
  153. <el-input v-model="form.menuFoodDetailBk" placeholder="请输入食谱早餐详情" />
  154. </el-form-item>
  155. <el-form-item label="食谱中餐详情" prop="menuFoodDetailLu">
  156. <el-input v-model="form.menuFoodDetailLu" placeholder="请输入食谱中餐详情" />
  157. </el-form-item>
  158. <el-form-item label="食谱午餐详情" prop="menuFoodDetailDi">
  159. <el-input v-model="form.menuFoodDetailDi" placeholder="请输入食谱午餐详情" />
  160. </el-form-item>
  161. <el-form-item label="食堂名称" prop="canteenName">
  162. <el-input v-model="form.canteenName" placeholder="请输入食堂名称" />
  163. </el-form-item>
  164. <el-form-item label="食堂id" prop="canteenId">
  165. <el-input v-model="form.canteenId" placeholder="请输入食堂id" />
  166. </el-form-item>
  167. <el-form-item label="记录时间" prop="recordTime">
  168. <el-date-picker clearable
  169. v-model="form.recordTime"
  170. type="date"
  171. value-format="yyyy-MM-dd"
  172. placeholder="请选择记录时间">
  173. </el-date-picker>
  174. </el-form-item>
  175. <el-form-item label="创建部门" prop="createDept">
  176. <el-input v-model="form.createDept" placeholder="请输入创建部门" />
  177. </el-form-item>
  178. <el-form-item label="备注" prop="remark">
  179. <el-input v-model="form.remark" placeholder="请输入备注" />
  180. </el-form-item>
  181. </el-form>
  182. <div slot="footer" class="dialog-footer">
  183. <el-button type="primary" @click="submitForm">确 定</el-button>
  184. <el-button @click="cancel">取 消</el-button>
  185. </div>
  186. </el-dialog>
  187. <el-dialog title="查看图片" :visible.sync="opentp" width="700px" append-to-body>
  188. <div>
  189. <img :src="defaultSettings.urls+baseUrl+iges" alt="" style="width: 100%;height: 100%;">
  190. </div>
  191. </el-dialog>
  192. <el-dialog title="每日食谱" :visible.sync="openm" width="780px" append-to-body>
  193. <div>
  194. <div class="yaunbei" style="position: relative;">
  195. <div class="yaunbei_one" style="position: relative; z-index: 22;">
  196. <p style="font-size: 29px;color: #FFFFFE;position: absolute;top: 143px;left: 183px;">{{weekst}}</p>
  197. </div>
  198. <div class="yaunbei_two" style="position: relative;margin-top: -140px; ">
  199. <div v-for="(item,index) in menuFoodList" :key="index" style="margin-top: 30px;">
  200. <img style="width: 100%;height: 56px;" src="../../../assets/images/pic_bzsp_z1.png" alt="" v-if="item.menuFoodTime == '星期一'">
  201. <img style="width: 100%;height: 56px;" src="../../../assets/images/pic_bzsp_z2.png" alt="" v-if="item.menuFoodTime == '星期二'">
  202. <img style="width: 100%;height: 56px;" src="../../../assets/images/pic_bzsp_z3.png" alt="" v-if="item.menuFoodTime == '星期三'">
  203. <img style="width: 100%;height: 56px;" src="../../../assets/images/pic_bzsp_z4.png" alt="" v-if="item.menuFoodTime == '星期四'">
  204. <img style="width: 100%;height: 56px;" src="../../../assets/images/pic_bzsp_z5.png" alt="" v-if="item.menuFoodTime == '星期五'">
  205. <img style="width: 100%;height: 56px;" src="../../../assets/images/pic_bzsp_z6.png" alt="" v-if="item.menuFoodTime == '星期六'">
  206. <img style="width: 100%;height: 56px;" src="../../../assets/images/pic_bzsp_z7.png" alt="" v-if="item.menuFoodTime == '星期日'">
  207. <div style="display: flex;
  208. align-items: flex-start;padding: 0 12px; margin-top: 25px;">
  209. <span style="background: #FFE0AE;
  210. border-radius: 16px;font-weight: 400;
  211. font-size: 25px;color: #161616;
  212. width: 24%;text-align: center;padding: 3px 0;">午餐</span>
  213. <p style="margin: 0; margin-left: 20px;
  214. font-weight: 400;font-size: 25px;color: #382324;">{{item.menuFoodDetailLu == null?'暂无数据' : item.menuFoodDetailLu}}</p>
  215. </div>
  216. <div style="display: flex;
  217. align-items: flex-start;padding: 0 12px; margin-top: 25px;">
  218. <span style="background: #DCF1FF;
  219. border-radius: 16px;font-weight: 400;
  220. font-size: 25px;color: #161616;
  221. width: 24%;text-align: center;padding: 3px 0;">晚餐</span>
  222. <p style="margin: 0; margin-left: 20px;
  223. font-weight: 400;font-size: 25px;color: #382324;">{{item.menuFoodDetailDi == null?'暂无数据' : item.menuFoodDetailDi}}</p>
  224. </div>
  225. </div>
  226. <div style="position: absolute; bottom: -60px; right: 0;">
  227. <img style="width: 580px;height: 265px;" src="../../../assets/images/pic_bzsp_dbbg.png" alt="">
  228. </div>
  229. <img src="../../../assets/images/pic_bzsp_cpbjb_xqbg.png" alt="" style="position: absolute; top: 300px;left: -20px;height: 72%;">
  230. </div>
  231. </div>
  232. <!-- <div slot="footer" class="dialog-footer">
  233. <el-button @click="cancel">取 消</el-button>
  234. </div> -->
  235. </div>
  236. </el-dialog>
  237. </div>
  238. </template>
  239. <script>
  240. import { listFoodRecord, getFoodRecord, delFoodRecord, addFoodRecord, updateFoodRecord } from "@/api/system/foodRecord";
  241. import {
  242. listMenuFood,
  243. getMenuFood,
  244. delMenuFood,
  245. addMenuFood,
  246. updateMenuFood
  247. } from "@/api/system/menuFood";
  248. const defaultSettings = require("@/settings.js");
  249. export default {
  250. name: "FoodRecord",
  251. dicts: ['week'],
  252. data() {
  253. return {
  254. // 遮罩层
  255. loading: true,
  256. // 选中数组
  257. ids: [],
  258. // 非单个禁用
  259. single: true,
  260. // 非多个禁用
  261. multiple: true,
  262. baseUrl: process.env.VUE_APP_BASE_API,
  263. defaultSettings:defaultSettings,
  264. // 显示搜索条件
  265. showSearch: true,
  266. // 总条数
  267. total: 0,
  268. // 每日食谱记录表格数据
  269. foodRecordList: [],
  270. // 弹出层标题
  271. title: "",
  272. menuFoodList:[],
  273. // 是否显示弹出层
  274. open: false,
  275. opentp:false,
  276. openm:false,
  277. // 查询参数
  278. queryParams: {
  279. pageNum: 1,
  280. pageSize: 10,
  281. menuFoodTime: null,
  282. menuFoodDetailBk: null,
  283. menuFoodDetailLu: null,
  284. menuFoodDetailDi: null,
  285. recordTime: null,
  286. },
  287. // 表单参数
  288. form: {},
  289. // 表单校验
  290. rules: {
  291. },
  292. iges:''
  293. };
  294. },
  295. created() {
  296. this.getList();
  297. },
  298. methods: {
  299. imge(row){
  300. console.log(row)
  301. this.iges = row
  302. this.opentp = true
  303. },
  304. /** 查询每日食谱记录列表 */
  305. getList() {
  306. this.loading = true;
  307. listFoodRecord(this.queryParams).then(response => {
  308. this.foodRecordList = response.rows;
  309. this.foodRecordList.filter(rou=>{
  310. rou.nsjge = []
  311. if(rou.menuFoodDetailLuPhoto !=null){
  312. if(rou.menuFoodDetailLuPhoto !=''){
  313. rou.menuFoodDetailLuPhoto = rou.menuFoodDetailLuPhoto.split(',')
  314. rou.menuFoodDetailLuPhoto.filter(rout=>{
  315. let nhfe={title:'中餐',url:rout}
  316. rou.nsjge.push(nhfe)
  317. })
  318. }
  319. }
  320. if(rou.menuFoodDetailDiPhoto !=null){
  321. if(rou.menuFoodDetailDiPhoto !=''){
  322. rou.menuFoodDetailDiPhoto = rou.menuFoodDetailDiPhoto.split(',')
  323. rou.menuFoodDetailDiPhoto.filter(routt=>{
  324. let nhfe={title:'晚餐',url:routt}
  325. rou.nsjge.push(nhfe)
  326. })
  327. }
  328. }
  329. })
  330. this.total = response.total;
  331. this.loading = false;
  332. });
  333. },
  334. getListm() {
  335. this.loading = true;
  336. let nsgs={'pageNum': 1,'pageSize': 7,'isUse':'Y'}
  337. listMenuFood(nsgs).then(response => {
  338. // this.menuFoodList = response.rows;
  339. let ilseli =['星期一','星期二','星期三','星期四','星期五','星期六','星期日']
  340. let ilselif =['星期一','星期二','星期三','星期四','星期五','星期六','星期日']
  341. let njgw = []
  342. response.rows.filter(rou=>{
  343. rou.menuFoodTime = rou.menuFoodTime.replace(/\s*/g,'');
  344. for(var i=0;i< ilseli.length;i++ ){
  345. if(rou.menuFoodTime == ilseli[i]){
  346. ilseli.splice(i,1)
  347. }
  348. }
  349. })
  350. if(response.rows.length < 7){
  351. for(var h=0;h< ilseli.length;h++ ){
  352. let nhg={'menuFoodTime':ilseli[h],'menuFoodDetailDi':'暂无数据','menuFoodDetailLu':'暂无数据'}
  353. response.rows.push(nhg)
  354. }
  355. response.rows.filter(roug=>{
  356. if(roug.menuFoodTime == '星期一'){
  357. ilselif[0] = roug
  358. }
  359. if(roug.menuFoodTime == '星期二'){
  360. ilselif[1] =roug
  361. }
  362. if(roug.menuFoodTime == '星期三'){
  363. ilselif[2] = roug
  364. }
  365. if(roug.menuFoodTime == '星期四'){
  366. ilselif[3] = roug
  367. }
  368. if(roug.menuFoodTime == '星期五'){
  369. ilselif[4] = roug
  370. }
  371. if(roug.menuFoodTime == '星期六'){
  372. ilselif[5] = roug
  373. }
  374. if(roug.menuFoodTime == '星期日'){
  375. ilselif[6] = roug
  376. }
  377. })
  378. this.menuFoodList = ilselif
  379. }
  380. this.total = response.total;
  381. this.loading = false;
  382. });
  383. },
  384. getWeek (day) {
  385. var today = new Date();
  386. var targetday_milliseconds=today.getTime() + 1000*60*60*24*day;
  387. today.setTime(targetday_milliseconds);
  388. var tYear = today.getFullYear();
  389. var tMonth = today.getMonth();
  390. var tDate = today.getDate();
  391. tMonth = this.doHandleMonth(tMonth + 1);
  392. tDate = this.doHandleMonth(tDate);
  393. return tMonth+"/"+tDate;
  394. },
  395. doHandleMonth(month){
  396. var m = month;
  397. if(month.toString().length == 1){
  398. m = "0" + month;
  399. }
  400. return m;
  401. },
  402. handleAddmr(){
  403. this.openm = true
  404. },
  405. // 取消按钮
  406. cancel() {
  407. this.open = false;
  408. this.reset();
  409. },
  410. // 表单重置
  411. reset() {
  412. this.form = {
  413. menuFoodRecordId: null,
  414. menuFoodTime: null,
  415. menuFoodType: null,
  416. menuFoodDetailBk: null,
  417. menuFoodDetailLu: null,
  418. menuFoodDetailDi: null,
  419. canteenName: null,
  420. canteenId: null,
  421. recordTime: null,
  422. createDept: null,
  423. createBy: null,
  424. createTime: null,
  425. updateBy: null,
  426. updateTime: null,
  427. remark: null
  428. };
  429. this.resetForm("form");
  430. },
  431. /** 搜索按钮操作 */
  432. handleQuery() {
  433. this.queryParams.pageNum = 1;
  434. this.getList();
  435. },
  436. /** 重置按钮操作 */
  437. resetQuery() {
  438. this.resetForm("queryForm");
  439. this.handleQuery();
  440. },
  441. // 多选框选中数据
  442. handleSelectionChange(selection) {
  443. this.ids = selection.map(item => item.menuFoodRecordId)
  444. this.single = selection.length!==1
  445. this.multiple = !selection.length
  446. },
  447. /** 新增按钮操作 */
  448. handleAdd() {
  449. this.reset();
  450. this.open = true;
  451. this.title = "添加每日食谱记录";
  452. },
  453. /** 修改按钮操作 */
  454. handleUpdate(row) {
  455. this.reset();
  456. const menuFoodRecordId = row.menuFoodRecordId || this.ids
  457. getFoodRecord(menuFoodRecordId).then(response => {
  458. this.form = response.data;
  459. this.open = true;
  460. this.title = "修改每日食谱记录";
  461. });
  462. },
  463. /** 提交按钮 */
  464. submitForm() {
  465. this.$refs["form"].validate(valid => {
  466. if (valid) {
  467. if (this.form.menuFoodRecordId != null) {
  468. updateFoodRecord(this.form).then(response => {
  469. this.$modal.msgSuccess("修改成功");
  470. this.open = false;
  471. this.getList();
  472. });
  473. } else {
  474. addFoodRecord(this.form).then(response => {
  475. this.$modal.msgSuccess("新增成功");
  476. this.open = false;
  477. this.getList();
  478. });
  479. }
  480. }
  481. });
  482. },
  483. /** 删除按钮操作 */
  484. handleDelete(row) {
  485. const menuFoodRecordIds = row.menuFoodRecordId || this.ids;
  486. this.$modal.confirm('是否确认删除数据项?').then(function() {
  487. return delFoodRecord(menuFoodRecordIds);
  488. }).then(() => {
  489. this.getList();
  490. this.$modal.msgSuccess("删除成功");
  491. }).catch(() => {});
  492. },
  493. /** 导出按钮操作 */
  494. handleExport() {
  495. this.download('system/foodRecord/export', {
  496. ...this.queryParams
  497. }, `foodRecord_${new Date().getTime()}.xlsx`)
  498. }
  499. }
  500. };
  501. </script>
  502. <style lang="scss">
  503. .egle{
  504. .el-empty{
  505. height: 180px;
  506. }
  507. .el-empty__image svg{
  508. height: 140px;
  509. }
  510. }
  511. .ingsek{
  512. .el-carousel__container{
  513. height: 200px;
  514. }
  515. }
  516. .nhgrls {
  517. .el-dialog__body {
  518. padding: 0;
  519. }
  520. }
  521. .hyr {
  522. span {
  523. text-decoration: underline;
  524. }
  525. }
  526. </style>
  527. <style scoped lang="scss">
  528. .ingq {
  529. p {
  530. margin: 0;
  531. }
  532. }
  533. .iuer {
  534. display: flex;
  535. justify-content: space-between;
  536. align-items: center;
  537. .ite {
  538. display: flex;
  539. justify-content: space-between;
  540. align-items: center;
  541. p {
  542. margin: 0;
  543. font-size: 15px;
  544. font-family: PingFang SC;
  545. font-weight: 500;
  546. color: #AAAAAA;
  547. padding: 4px 12px;
  548. background: #F7F8FA;
  549. border-radius: 4px;
  550. margin-right: 20px;
  551. }
  552. .actt {
  553. background: #E6EBFF;
  554. border: 1px solid #5974E0;
  555. border-radius: 4px;
  556. color: #5974E0;
  557. }
  558. }
  559. }
  560. .lqw {
  561. padding: 0 10px;
  562. margin: 0;
  563. margin-bottom: 20px;
  564. }
  565. .nhgel {
  566. height: 170px;
  567. background-color: #313b61;
  568. width: 100%;
  569. position: absolute;
  570. top: 0;
  571. left: 0;
  572. z-index: 0;
  573. }
  574. .app-container {
  575. background-color: #f3f4f6;
  576. padding-top: 10px;
  577. }
  578. .ntgs {
  579. position: relative;
  580. background-color: #fff;
  581. padding: 5px;
  582. // border-radius: 5px;
  583. padding-top: 10px;
  584. padding: 10px 20px;
  585. padding-left: 10px;
  586. .pagination-container {
  587. height: 50px;
  588. }
  589. }
  590. .nghfs {
  591. position: relative;
  592. background-color: #fff;
  593. padding-top: 18px !important;
  594. padding: 5px;
  595. // border-radius: 5px;
  596. // margin-bottom: 20px;
  597. }
  598. .ksf {
  599. img {
  600. width: 100%;
  601. height: 100%;
  602. }
  603. }
  604. .foord{
  605. background: #FFFFFF;
  606. box-shadow: 0px 0px 10px 0px #CDCDCD;
  607. border-radius: 4px;
  608. .foorso{
  609. display: flex;
  610. align-items: center;
  611. justify-content: space-between;
  612. border-bottom: 1px solid #DADADA;
  613. padding: 0 10px;
  614. p{
  615. display: flex;
  616. font-weight: 800;
  617. font-size: 16px;
  618. color: #161616;
  619. align-items: center;
  620. span{
  621. width: 8px;
  622. height: 8px;
  623. background: #4775EA;
  624. border-radius: 50%;
  625. }
  626. }
  627. }
  628. .foorset{
  629. div{
  630. display: flex;
  631. align-items: flex-start;
  632. justify-content: flex-start;
  633. padding: 0 10px;
  634. span{
  635. width: 22%;
  636. font-weight: bold;
  637. font-size: 14px;
  638. color: #FE5A0E;
  639. }
  640. p{
  641. flex:1;
  642. margin-top: 0;
  643. font-weight: bold;
  644. font-size: 14px;
  645. color: #606266;
  646. }
  647. }
  648. }
  649. }
  650. .nghfs{
  651. position: relative;
  652. background-color: #fff;
  653. padding-top: 18px !important;
  654. padding: 5px;
  655. // border-radius: 5px;
  656. // margin-bottom: 20px;
  657. }
  658. .ksf{
  659. img{
  660. width:100%;
  661. height: 100%;
  662. }
  663. }
  664. .yaunbei{
  665. background: url('../../../assets/images/pic_bzsp_ymbg.png') no-repeat;
  666. background-size: 100% 100%;
  667. padding-bottom: 90px;
  668. }
  669. .yaunbei_one{
  670. height: 290px;
  671. width: 550px;
  672. background: url('../../../assets/images/pic_bzsp_btbg.png') no-repeat;
  673. background-size: 549px 290px;
  674. margin-left: 50%;
  675. transform: translateX(-50%);
  676. }
  677. .yaunbei_two{
  678. width: 650px;
  679. padding: 150px 65px 180px 65px;
  680. background: url('../../../assets/images/pic_bzsp_cpbjb_bg.png') no-repeat;
  681. background-size: 649px 100%;
  682. margin-left: 50%;
  683. transform: translateX(-50%);
  684. }
  685. </style>