reservedSample.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665
  1. <template>
  2. <div class="sample-content">
  3. <!-- 表格組件 -->
  4. <div class="top-content">
  5. <div class="top-title">样品间存放可视化</div>
  6. <div class="query-content">
  7. <el-form :inline="true" :model="formInline" class="demo-form-inline">
  8. <el-form-item label="房间号:">
  9. <el-select
  10. v-model="formInline.fang_jian_hao_value"
  11. placeholder="请选择样品"
  12. >
  13. <el-option
  14. v-for="(item, index) in sampleOption"
  15. :key="index"
  16. placeholder="区域"
  17. :label="item.fang_jian_lei_xin"
  18. :value="item.fang_jian_lei_xin"
  19. ></el-option>
  20. </el-select>
  21. </el-form-item>
  22. <el-form-item
  23. v-show="leixingcare"
  24. style="margin-left: 50px"
  25. prop="title"
  26. label="区域名称:"
  27. >
  28. <el-select
  29. v-model="formInline.qu_yu_value"
  30. placeholder="请选择区域名称"
  31. >
  32. <el-option
  33. v-for="(item, index) in quyu_arr"
  34. :key="index"
  35. placeholder="区域"
  36. :label="item.qu_yu_"
  37. :value="item.qu_yu_"
  38. ></el-option>
  39. </el-select>
  40. </el-form-item>
  41. <el-form-item style="margin-left: 50px" label="货架号:">
  42. <el-select
  43. v-model="formInline.huo_jia_value"
  44. placeholder="请选择货架号"
  45. >
  46. <el-option
  47. v-for="(item, index) in huo_jia_arr"
  48. :key="index"
  49. placeholder="区域"
  50. :label="item.huo_jia_hao_ + '号' + item.huo_jia_lei_xing_"
  51. :value="item.huo_jia_hao_ + '号' + item.huo_jia_lei_xing_"
  52. ></el-option>
  53. </el-select>
  54. </el-form-item>
  55. <el-form-item
  56. v-show="!leixingcare"
  57. style="margin-left: 50px"
  58. label="挂件号:"
  59. >
  60. <el-select
  61. v-model="formInline.gua_jia_value"
  62. placeholder="请选择挂件号"
  63. >
  64. <el-option
  65. v-for="(item, index) in gua_jia_arr"
  66. :key="index"
  67. placeholder="区域"
  68. :label="item.gua_jia_hao_ + '号' + '挂件'"
  69. :value="item.gua_jia_hao_ + '号' + '挂件'"
  70. ></el-option>
  71. </el-select>
  72. </el-form-item>
  73. <el-form-item>
  74. <button
  75. type="button"
  76. class="el-button el-button--primary el-button--mini"
  77. @click="onSubmits"
  78. >
  79. <i class="ibps-icon-search"></i><span>查询</span>
  80. </button>
  81. </el-form-item>
  82. </el-form>
  83. </div>
  84. </div>
  85. <div class="select_quyu">
  86. <div class="test-quyu" v-if="leixingcare">
  87. <div class="test-list">
  88. <ul class="list-items">
  89. <li
  90. class="list-item quyu-item"
  91. :style="{
  92. background: quyuShow == item.qu_yu_ ? '#FF9900' : '#0099CC',
  93. }"
  94. @click="qu_yu_Event"
  95. v-for="item in quyu_arr"
  96. :key="item.qu_yu_"
  97. >
  98. {{ item.qu_yu_ }}
  99. </li>
  100. </ul>
  101. </div>
  102. </div>
  103. <div class="huojia">
  104. <div class="test-list">
  105. <ul class="list-items">
  106. <li
  107. class="list-item huojia-item"
  108. :style="{
  109. background:
  110. huojiashow ==
  111. item.huo_jia_hao_ + '号' + item.huo_jia_lei_xing_
  112. ? '#ff9900'
  113. : '#0099cc',
  114. }"
  115. @click="huo_jia_hao_Event"
  116. v-for="(item, index) in huo_jia_arr"
  117. :key="index"
  118. >
  119. {{ item.huo_jia_hao_ }}号{{ item.huo_jia_lei_xing_ }}
  120. </li>
  121. </ul>
  122. </div>
  123. </div>
  124. <div class="huojia">
  125. <div class="test-list" v-show="!leixingcare">
  126. <ul class="list-items">
  127. <li
  128. class="list-item huojia-item"
  129. :style="{
  130. background:
  131. guajiashow == item.gua_jia_hao_ + '号挂件'
  132. ? '#FF9900'
  133. : '#e5baba',
  134. }"
  135. @click="gua_jia_Event"
  136. v-for="(item, index) in gua_jia_arr"
  137. :key="index"
  138. >
  139. {{ item.gua_jia_hao_ }}号挂件
  140. </li>
  141. </ul>
  142. </div>
  143. </div>
  144. </div>
  145. <div class="body-content">
  146. <div class="left-table" v-if="false"></div>
  147. <div class="right-view">
  148. <div class="goods-items">
  149. <div class="show-demo" v-for="(item, index) in listData" :key="index">
  150. <div>
  151. <div class="goods-level">
  152. <div class="level-dsc">第{{ index }}层</div>
  153. <div class="goods-list">
  154. <div
  155. class="goods-dsc"
  156. v-for="(it, ind) in listData[index]"
  157. :key="ind"
  158. :style="{
  159. background:
  160. it.wei_zhi_zhuang_ta == '空余' ? '#E6A23C' : '',
  161. }"
  162. >
  163. <div class="top-dsc">
  164. <div class="position">
  165. <p>存放位置:{{ it.wei_zhi_bian_hao_ }}</p>
  166. <p>样品编号:{{ it.yang_pin_bian_hao }}</p>
  167. <p>
  168. 存储条件:{{
  169. it.cun_chu_tiao_jian || it.cun_chu_yao_qiu_
  170. }}
  171. </p>
  172. <p>留样期限:{{ it.liu_yang_qi_xian_ }}</p>
  173. <!-- <p>编号:{{it.yang_pin_bian_hao}}</p> -->
  174. <!-- <p>批次:</p>
  175. <p>有效期:</p> -->
  176. </div>
  177. <div class="right-content" v-if="false">
  178. <p v-if="false">编号:{{ it.liu_yang_qi_xian_ }}</p>
  179. <p>
  180. {{ it.wei_zhi_zhuang_ta || it.yang_pin_ming_che }}
  181. </p>
  182. <p v-if="false">
  183. 存储条件:{{
  184. it.cun_chu_tiao_jian || it.cun_chu_yao_qiu_
  185. }}
  186. </p>
  187. <p v-if="false">留样期限:{{ it.liu_yang_qi_xian_ }}</p>
  188. <!-- <p>类型:{{ it.cun_fang_lei_xing }}</p> -->
  189. </div>
  190. <div class="right-content">
  191. <p>
  192. {{ it.wei_zhi_zhuang_ta || it.yang_pin_ming_che }}
  193. </p>
  194. </div>
  195. <!-- <div class="condition">{{ it.cun_chu_tiao_jian }}</div> -->
  196. </div>
  197. <div class="bottom-dsc" v-if="false">
  198. {{ it.wei_zhi_zhuang_ta || it.yang_pin_ming_che }}
  199. </div>
  200. </div>
  201. </div>
  202. </div>
  203. </div>
  204. <div class="goodshelf-name" v-if="index == 1">
  205. {{ desString }}
  206. </div>
  207. </div>
  208. </div>
  209. </div>
  210. </div>
  211. </div>
  212. </template>
  213. <script>
  214. import FixHeight from "@/mixins/height";
  215. import curdPost from "@/business/platform/form/utils/custom/joinCURD.js";
  216. export default {
  217. mixins: [FixHeight],
  218. data() {
  219. return {
  220. sampleOption: [],
  221. formInline: {
  222. fang_jian_hao_value: "",
  223. qu_yu_value: "",
  224. huo_jia_value: "",
  225. gua_jia_value: "",
  226. },
  227. listData: [],
  228. warehouseOptions: [],
  229. quyu_arr: [],
  230. huo_jia_arr: [],
  231. gua_jia_arr: [],
  232. firstLoadActive: true,
  233. qu_yu_value: "",
  234. quyuShow: "",
  235. huojiashow: "",
  236. guajiashow: "",
  237. leixingcare: true,
  238. cenghao: [],
  239. warehouse: [],
  240. loading: false,
  241. // pagination: {},
  242. // secondshow: false,
  243. desString: "",
  244. };
  245. },
  246. filters: {
  247. specimenFilters: function (value) {
  248. if (value == "空余") {
  249. return "未占用";
  250. } else {
  251. return value;
  252. }
  253. },
  254. },
  255. created() {
  256. this.loadQueryData();
  257. this.firstLoadViewData();
  258. },
  259. methods: {
  260. firstLoadViewData() {
  261. var this_ = this;
  262. var sqlString = `select * from t_mjypcfwz where fang_jian_lei_xin = '样品间' and qu_yu_ ='待检区' and huo_jia_hao_ = '1' and huo_jia_lei_xing_ = '冰箱'`;
  263. this.huojiashow = "1号冰箱";
  264. this.quyuShow = "待检区";
  265. this.desString = "样品间" + "待检区1号冰箱";
  266. this.queryLoad(sqlString);
  267. this.formInline.fang_jian_hao_value = "样品间";
  268. this.formInline.qu_yu_value = "待检区";
  269. this.formInline.huo_jia_value = "1号冰箱";
  270. let sql = `select distinct huo_jia_hao_,huo_jia_lei_xing_ from t_mjypcfwz where fang_jian_lei_xin = '样品间' and qu_yu_ ='待检区' order by huo_jia_hao_ asc `;
  271. curdPost("sql", sql).then((response) => {
  272. this_.huo_jia_arr = response.variables.data;
  273. });
  274. },
  275. loadQueryData() {
  276. //查询选择数据查询
  277. var sqlString = "select distinct fang_jian_lei_xin from t_mjypcfwz WHERE fang_jian_lei_xin !=''";
  278. // var sqlString = "select * from t_mjypcfwz";
  279. var this_ = this;
  280. curdPost("sql", sqlString)
  281. .then((response) => {
  282. this_.sampleOption = response.variables.data;
  283. this_.sampleOption.pop();
  284. })
  285. },
  286. onSubmits(sql) {
  287. var fang_jian_ = this.formInline.fang_jian_hao_value;
  288. var qu_yu = this.formInline.qu_yu_value;
  289. var huo_jia_hao_ = this.formInline.huo_jia_value.substr(0, 1);
  290. let huo_jia_lei_xing_ = this.formInline.huo_jia_value.substr(
  291. 2,
  292. this.formInline.huo_jia_value.length
  293. );
  294. var gua_jia_hao = this.formInline.gua_jia_value.substr(0, 1);
  295. var sql;
  296. if (qu_yu != "") {;
  297. sql = `select * from t_mjypcfwz where fang_jian_lei_xin = '${fang_jian_}' and qu_yu_ = '${qu_yu}' and huo_jia_lei_xing_ = '${huo_jia_lei_xing_}' and huo_jia_hao_ = '${huo_jia_hao_}'`;
  298. } else {
  299. if (huo_jia_lei_xing_.includes("冰箱")) {
  300. sql = `select * from t_mjypcfwz where fang_jian_lei_xin = '${fang_jian_}' and huo_jia_lei_xing_ = '${huo_jia_lei_xing_}' and huo_jia_hao_ = '${huo_jia_hao_}'`;
  301. } else if (huo_jia_lei_xing_.includes("液氮罐")) {
  302. sql = `select * from t_mjypcfwz where fang_jian_lei_xin = '${fang_jian_}' and huo_jia_lei_xing_ = '${huo_jia_lei_xing_}' and huo_jia_hao_ = '${huo_jia_hao_}' and gua_jia_hao_= '${gua_jia_hao}'`;
  303. }
  304. }
  305. // this.desString = fang_jian_ + qu_yu + huo_jia_hao_;
  306. this.queryLoad(sql);
  307. },
  308. queryLoad(sql) {
  309. //根据样品信息货位查询相对应的样品登记表
  310. var datas = [];
  311. var labelsMap = {}; // map存储
  312. var this_ = this;
  313. this_.listData = [];
  314. curdPost("sql", sql).then((res) => {
  315. datas = res.variables.data;
  316. datas.forEach((item) => {
  317. if (!labelsMap[item.ceng_hao_]) {
  318. //没有就创建
  319. labelsMap[item.ceng_hao_] = [];
  320. }
  321. // 通过样品货位配置的id外键 查询样品登记表
  322. let yangpingSql =
  323. "select * from t_mjypdjb WHERE shou_yang_wei_zhi = '" +
  324. item.id_ +
  325. "'";
  326. curdPost("sql", yangpingSql).then((res) => {
  327. var resData = res.variables.data;
  328. if (resData.length > 0) {
  329. resData.forEach((it) => {
  330. it.wei_zhi_bian_hao_ = item.wei_zhi_bian_hao_;
  331. labelsMap[item.ceng_hao_].push(it);
  332. });
  333. } else {
  334. labelsMap[item.ceng_hao_].push(item);
  335. }
  336. });
  337. });
  338. // this.loading = true;
  339. this_.listData = labelsMap;
  340. });
  341. },
  342. qu_yu_Event(e) {
  343. //区间 留样 样品间 点击事件 查询相应的货架号->冰箱 赋值 huo_jia_hao_
  344. this.huo_jia_arrEvent(e.target.innerText);
  345. this.huojiashow = "";
  346. this.guajiashow = "";
  347. let sqlString = `select distinct huo_jia_hao_,huo_jia_lei_xing_ from t_mjypcfwz where fang_jian_lei_xin = '${this.formInline.fang_jian_hao_value}' and qu_yu_ = '${e.target.innerText}' order by huo_jia_hao_ asc`;
  348. var this_ = this;
  349. this.qu_yu_value = e.target.innerText;
  350. this.quyuShow = e.target.innerText;
  351. this.formInline.qu_yu_value = e.target.innerText;
  352. curdPost("sql", sqlString).then((response) => {
  353. this_.huo_jia_arr = response.variables.data;
  354. });
  355. },
  356. huo_jia_hao_Event(e) {
  357. //货架 冰箱 液氮罐点击事件
  358. this.guajiashow = "";
  359. let selectText = e.target.innerText;
  360. this.guajiaarrEvent(selectText);
  361. this.huojiashow = selectText;
  362. let huojiaNum = selectText.substr(0, 1);
  363. this.formInline.huo_jia_value = selectText;
  364. let huojialeixing = this.formInline.huo_jia_value.substr(
  365. 2,
  366. this.formInline.huo_jia_value.length
  367. );
  368. //区分是冰箱和液氮罐的点击事件
  369. if (selectText.includes("冰箱")) {
  370. //如果是冰箱 请求样品货位配置信息 ->查询登记表
  371. var sql = `select * from t_mjypcfwz where fang_jian_lei_xin = '${this.formInline.fang_jian_hao_value}' and qu_yu_ = '${this.formInline.qu_yu_value}' and huo_jia_lei_xing_ = '${huojialeixing}' and huo_jia_hao_ = '${huojiaNum}'`;
  372. this.queryLoad(sql);
  373. // alert("冰箱");
  374. } else if (selectText.includes("液氮罐")) {
  375. //液氮罐 查询该液氮罐下所有的挂件
  376. let sqlString = `select distinct gua_jia_hao_ from t_mjypcfwz where huo_jia_lei_xing_ = '液氮罐' and huo_jia_hao_ = '${huojiaNum}' order by gua_jia_hao_ asc`;
  377. var this_ = this;
  378. curdPost("sql", sqlString).then((response) => {
  379. this_.gua_jia_arr = response.variables.data;
  380. });
  381. }
  382. this.formInline.huo_jia_value = selectText;
  383. },
  384. gua_jia_Event(e) {
  385. //液氮罐挂件号点击事件 查询该液氮罐下该挂件的货位位置信息;
  386. let selectText = e.target.innerText;
  387. this.guajiashow = selectText;
  388. let hguajiaNum = selectText.substr(0, 1);
  389. var fang_jian_hao_value = this.formInline.fang_jian_hao_value;
  390. var huo_jia_value = this.formInline.huo_jia_value;
  391. var sql = `select * from t_mjypcfwz where fang_jian_lei_xin = '${fang_jian_hao_value}' and huo_jia_lei_xing_ = '液氮罐' and huo_jia_hao_ = '${huo_jia_value.substring(
  392. 0,
  393. 1
  394. )}' and gua_jia_hao_= '${hguajiaNum}'`;
  395. this.desString = fang_jian_hao_value + huo_jia_value + selectText;
  396. this.queryLoad(sql);
  397. },
  398. huo_jia_arrEvent(quyu){
  399. let sqlString = `select distinct huo_jia_hao_,huo_jia_lei_xing_ from t_mjypcfwz where fang_jian_lei_xin = '${this.formInline.fang_jian_hao_value}' and qu_yu_ = '${quyu}' order by huo_jia_hao_ asc`;
  400. var this_ = this;
  401. curdPost("sql", sqlString).then((response) => {
  402. this_.huo_jia_arr = response.variables.data;
  403. if (!this_.firstLoadActive) {
  404. this_.formInline.huo_jia_value = "";
  405. }
  406. this_.firstLoadActive = false;
  407. });
  408. },
  409. guajiaarrEvent(huojiaweizhi) {
  410. let huojiaNum = huojiaweizhi.substr(0, 1);
  411. let huojialeixing = huojiaweizhi.substr(2, huojiaweizhi.length);
  412. if(huojiaweizhi.includes("冰箱")){
  413. this.gua_jia_arr =[];
  414. return
  415. }
  416. let sqlString = `select distinct gua_jia_hao_ from t_mjypcfwz where fang_jian_lei_xin = '留样间' and huo_jia_lei_xing_ = '${huojialeixing}' and huo_jia_hao_ = '${huojiaNum}' order by gua_jia_hao_`;
  417. var this_ = this;
  418. curdPost("sql", sqlString).then((response) => {
  419. this_.gua_jia_arr = response.variables.data;
  420. });
  421. },
  422. },
  423. watch: {
  424. "formInline.fang_jian_hao_value": function (newdata, olddata) {
  425. //监控房间号 input 输入框数据变化 来改变区域和货架信息(input)
  426. this.huo_jia_arr = [];
  427. let sqlString = `select distinct qu_yu_ ,huo_jia_hao_ from t_mjypcfwz where fang_jian_lei_xin = '${newdata}' `;
  428. var this_ = this;
  429. curdPost("sql", sqlString).then((response) => {
  430. this_.quyu_arr = response.variables.data.reverse();
  431. this_.quyu_arr.forEach((item) => {
  432. //待优化 事实上是一个用来判断
  433. if (item.qu_yu_ == "") {
  434. this_.leixingcare = false;
  435. this_.formInline.qu_yu_value = "";
  436. let sql = `select distinct huo_jia_hao_,huo_jia_lei_xing_ from t_mjypcfwz where fang_jian_lei_xin = '${newdata}' order by huo_jia_hao_ asc`;
  437. curdPost("sql", sql).then((res) => {
  438. this_.huo_jia_arr = res.variables.data;
  439. });
  440. return;
  441. } else {
  442. this_.leixingcare = true;
  443. }
  444. });
  445. if (!this.firstLoadActive) {
  446. this_.formInline.qu_yu_value = "";
  447. }
  448. });
  449. },
  450. // "formInline.qu_yu_value": function (newdata, olddata) {
  451. // let sqlString = `select distinct huo_jia_hao_,huo_jia_lei_xing_ from t_mjypcfwz where fang_jian_lei_xin = '${this.formInline.fang_jian_hao_value}' and qu_yu_ = '${newdata}' order by huo_jia_hao_ asc`;
  452. // var this_ = this;
  453. // curdPost("sql", sqlString).then((response) => {
  454. // this_.huo_jia_arr = response.variables.data;
  455. // if (!this_.firstLoadActive) {
  456. // this_.formInline.huo_jia_value = "";
  457. // }
  458. // this_.firstLoadActive = false;
  459. // });
  460. // },
  461. // "formInline.huo_jia_value": function (newdata, olddata) {
  462. // console.log(newdata.substr(0, 1), "货架监听");
  463. // let sqlString = `select distinct gua_jia_hao_ from t_mjypcfwz where fang_jian_lei_xin = '留样间' and huo_jia_lei_xing_ = '液氮罐' and huo_jia_hao_ = '${newdata.substr(
  464. // 0,
  465. // 1
  466. // )}' order by gua_jia_hao_`;
  467. // var this_ = this;
  468. // console.log(sqlString, "件数");
  469. // curdPost("sql", sqlString).then((response) => {
  470. // this_.gua_jia_arr = response.variables.data;
  471. // console.log(this_.gua_jia_arr, "挂件数");
  472. // });
  473. // },
  474. },
  475. };
  476. </script>
  477. <style lang="scss" scoped>
  478. p {
  479. padding: 0;
  480. margin: 0;
  481. }
  482. .sample-content {
  483. width: 100%;
  484. .top-content {
  485. width: 100%;
  486. .top-title {
  487. text-align: center;
  488. font-weight: bold;
  489. width: 100%;
  490. font-size: 18px;
  491. line-height: 40px;
  492. }
  493. .query-content {
  494. display: flex;
  495. margin-left: 25px;
  496. }
  497. }
  498. .select_quyu {
  499. .test-quyu,
  500. .huojia {
  501. width: 100%;
  502. .list-items {
  503. display: flex;
  504. cursor: pointer;
  505. .quyu-item {
  506. background: #0099cc;
  507. }
  508. .huojia-item {
  509. background: #99ccff;
  510. }
  511. .list-item {
  512. padding: 0px 10px;
  513. background-color: rgb(206, 198, 164);
  514. text-align: center;
  515. line-height: 35px;
  516. margin-left: 20px;
  517. border-radius: 10px;
  518. }
  519. }
  520. .cangku-mingchen {
  521. width: 100%;
  522. text-align: left;
  523. margin-left: 50px;
  524. }
  525. }
  526. }
  527. .body-content {
  528. // margin-top: 70px;
  529. display: flex;
  530. box-sizing: border-box;
  531. height: calc(100vh - 340px);
  532. overflow-x: hidden;
  533. overflow-y: scroll;
  534. // .left-table {
  535. // // width: 40%;
  536. // ::v-deep .el-table {
  537. // width: 40%;
  538. // }
  539. // }
  540. .right-view {
  541. z-index: 99;
  542. width: 100%;
  543. .goods-items {
  544. width: 100%;
  545. border: solid 2px rgb(202, 236, 247);
  546. display: flex;
  547. flex-direction: column-reverse;
  548. .show-demo {
  549. width: 100%;
  550. border-bottom: 1px solid bisque;
  551. // margin: 0 auto;
  552. text-align: center;
  553. .goods-level {
  554. display: flex;
  555. position: relative;
  556. margin-bottom: 6px;
  557. }
  558. .level-dsc {
  559. margin-top: 12px;
  560. position: absolute;
  561. bottom: 0;
  562. left: 10px;
  563. }
  564. .goods-list {
  565. display: flex;
  566. // justify-content: flex-start;
  567. flex-wrap: wrap-reverse;
  568. align-content: flex-start;
  569. margin-left: 50px;
  570. .goods-dsc {
  571. cursor: pointer;
  572. padding: 2px 6px;
  573. border-radius: 5px;
  574. background: #67c23a;
  575. margin-left: 12px;
  576. margin-top: 6px;
  577. box-sizing: border-box;
  578. .top-dsc {
  579. display: flex;
  580. justify-content: space-between;
  581. font-size: 12px;
  582. // height: 18px;
  583. line-height: 18px;
  584. .position > p {
  585. text-align: left;
  586. color: #fbe8ff;
  587. }
  588. .right-content {
  589. display: flex;
  590. align-items: center;
  591. p {
  592. height: 18px;
  593. line-height: 18px;
  594. margin-left: 5px;
  595. color: #fbe8ff;
  596. text-align: left;
  597. }
  598. }
  599. }
  600. .bottom-dsc {
  601. width: 100%;
  602. text-align: center;
  603. font-size: 18px;
  604. height: 45px;
  605. line-height: 45px;
  606. margin-top: 9px;
  607. color: #fbe8ff;
  608. }
  609. .goods-demo {
  610. display: block;
  611. width: 70px;
  612. height: 90px;
  613. border: 1px solid rgb(10, 9, 8);
  614. text-align: center;
  615. margin: 0;
  616. }
  617. .goods-code {
  618. text-align: center;
  619. width: 100%;
  620. height: 20px;
  621. line-height: 20px;
  622. }
  623. }
  624. }
  625. .goodshelf-name {
  626. margin: 15px 0px;
  627. }
  628. .shelf {
  629. width: 100%;
  630. height: 40px;
  631. line-height: 40px;
  632. text-align: center;
  633. }
  634. }
  635. // .shelf-pointer {
  636. // position: fixed;
  637. // right: 75px;
  638. // bottom: 35%;
  639. // cursor: pointer;
  640. // .pointer {
  641. // .pointer-item {
  642. // width: 45px;
  643. // height: 45px;
  644. // line-height: 45px;
  645. // border: 1px solid #fcfefd;
  646. // background-color: #fcb400;
  647. // border-radius: 50%;
  648. // text-align: center;
  649. // color: #fff0f3;
  650. // font-size: 18px;
  651. // margin-top: 10px;
  652. // }
  653. // }
  654. // }
  655. }
  656. }
  657. }
  658. }
  659. </style>