group.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798
  1. <template>
  2. <view class="content">
  3. <!-- 自定义导航 -->
  4. <view class="zdyNavBox">
  5. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  6. <view class="zdyNav">
  7. <view class="zdyNavLeft">
  8. <div @click="goback" class="uni-page-head-btn"><i class="uni-btn-icon"
  9. style="color: #333333; font-size: 27px;" ></i></div>
  10. </view>
  11. <view class="xx" style="margin-left: -70rpx;" @click="goToSelectCarModel">
  12. <image src="/static/img/group2.png" style="width: 27rpx;height: 27rpx;"></image>
  13. </view>
  14. <view class="tab-box2" v-if="type!=2">车型件</view>
  15. <view class="tab-box" v-if="type==2">
  16. <span class="tab-box-title jian" :class="{clickbu:clickType==1}" @click="clickbu(1)">简易版</span>
  17. <span class="tab-box-title zhuan" :class="{clickbu:clickType==2}" @click="clickbu(2)">专业版</span>
  18. </view>
  19. <view v-if="param.length != 0 " class="zdyNavRight"></view>
  20. <view v-else style="width: 120rpx;"></view>
  21. </view>
  22. </view>
  23. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  24. <view style="height: 44px;"></view>
  25. <!-- <view v-if="type != 2" class="top">
  26. <view class="topCont">
  27. <view class="carBox">
  28. <view class="carTxt" v-if="!description">{{brand_name}}</view>
  29. <view class="carTxt" v-if="description">{{description}}</view>
  30. </view>
  31. <view class="vinBox">
  32. <view class="vinBox2">
  33. <view class="vinB">VIN</view>
  34. <view class="vinNum">{{vin}}</view>
  35. </view>
  36. <view v-if="chexingMesList.length != 0" class="vinBox2">
  37. <view class="vindetail" @click="goCarDetail()">车型详情</view>
  38. <image src="../../static/img/icon_arrow_blue_r@2x.png" mode=""
  39. style="width: 24rpx; height: 24rpx"></image>
  40. </view>
  41. </view>
  42. </view>
  43. </view> -->
  44. <!-- <view class="top" v-if="type !=2">
  45. <view class="carBox2">
  46. <view class="carTxt2" v-if="!description">{{brand_name}}</view>
  47. <view class="carTxt2" v-if="description">{{description}}</view>
  48. </view>
  49. </view> -->
  50. <view class="top" >
  51. <!-- <view class="carBox2">
  52. <view class="carTxt2" v-if="!description">{{brand_name}}</view>
  53. <view class="carTxt2" v-if="description">{{description}}</view>
  54. </view> -->
  55. <view class="head-box">
  56. <view class="searchBtn" @click="goOemSearch()">
  57. <image src="../../static/img/icon_search.png" class="searchImg"></image>
  58. <view class="searchTitle">搜索配件名称/OE号</view>
  59. </view>
  60. <view class="cardDetail" :class="{novin: vin ==undefined || vin=='undefined' || vin =='' }">
  61. <view class="image-box" v-if="vin ==undefined || vin=='undefined' || vin ==''">
  62. <image :src="imageicon" style="width: 78rpx;height: 78rpx;"></image>
  63. </view>
  64. <view class="detail" :class="{detailNoVin: vin ==undefined || vin=='undefined' || vin =='' }">
  65. <view class="code" v-if="vin !=undefined" >
  66. <view>{{vin}}</view>
  67. </view>
  68. <view class="head-this-title" >{{description}}</view>
  69. </view>
  70. </view>
  71. </view>
  72. </view>
  73. <!--车辆配置 -->
  74. <view class="mainBox" v-if="restrainShow">
  75. <view class="maintitle">{{caption}}</view>
  76. <view class="mainLine" v-for="(item,index) in restrains" @click="restrainsClick(item)">
  77. <view class="lineName">{{item.combine_cp}}</view>
  78. <image src="../../static/img/jt.png" mode="" class="mainLineJt"></image>
  79. </view>
  80. </view>
  81. <!-- 总组 -->
  82. <view class="mainBox" :style="{background: type==2 ? '#F4F5F7' : ''}" v-if="groupShow">
  83. <view class="mainBoxChildJian" v-if="type == 2 && clickType==1">
  84. <!-- 简版 -->
  85. <view class="childTitle">选择分类</view>
  86. <view class="jianShowContent">
  87. <view class="jianChildbox" v-for="item in groupList" @click="toDetail(item)">
  88. <view class="childBoxImage">
  89. <image :src="item.image" mode="aspectFit" style="width: 230rpx;height: 300rpx;"></image>
  90. </view>
  91. <view class="childBoxTitle">
  92. {{item.title}}
  93. </view>
  94. </view>
  95. </view>
  96. </view>
  97. <view class="mainBoxChildZhuan" style="margin-top: 20rpx;" v-if="clickType==2 || type != 2">
  98. <!-- 专业版 -->
  99. <view class="maintitle">{{caption}}</view>
  100. <view class="mainLine" v-for="(item,index) in zlist" @click="goTwo(item)">
  101. <view class="lineName">{{item.caption}}</view>
  102. <image src="../../static/img/jt.png" mode="" class="mainLineJt"></image>
  103. </view>
  104. </view>
  105. </view>
  106. </view>
  107. </template>
  108. <script>
  109. export default {
  110. data() {
  111. return {
  112. vin: '',
  113. iStatusBarHeight: '',
  114. restrains: '',
  115. zlist: '',
  116. brand_name: '',
  117. brand_id: '',
  118. access_time: '',
  119. zzTime: '',
  120. caption: '',
  121. restrainShow: false,
  122. groupShow: false,
  123. param: '',
  124. token: '',
  125. epc_id: '',
  126. chexingMesList: [],
  127. chexing: '',
  128. description: '',
  129. type: '',
  130. clickType:1,
  131. brand_id:'',
  132. groupList:[],
  133. imageicon:'',
  134. captionOld:'', //名称
  135. }
  136. },
  137. onLoad(opt) {
  138. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  139. this.vin = opt.vin;
  140. this.type = 2;
  141. if (opt.type == 2 && (this.vin == undefined || this.vin=='')) {
  142. this.token = opt.token;
  143. this.param = opt.param;
  144. this.access_time = opt.access_time;
  145. this.epc_id = opt.epc_id;
  146. this.description = opt.modelname;
  147. this.brand_id = opt.brand_id;
  148. this.imageicon = opt.imageicon;
  149. this.captionOld = opt.caption;
  150. //车型点选
  151. this.getModelGroup()
  152. this.getDataByBtnType()
  153. } else {
  154. this.vin = opt.vin
  155. this.getData()
  156. }
  157. },
  158. methods: {
  159. getModelGroup() {
  160. uni.showLoading({
  161. title: '加载中'
  162. });
  163. this.$http('advancedEpc/getModelGroup', {
  164. token: this.token,
  165. param: this.param,
  166. epc_id: this.epc_id,
  167. access_time: this.access_time
  168. }, 'GET').then(res => {
  169. uni.hideLoading();
  170. //console.log(res.data.number);
  171. if (res.data.number == 200 || res.data.number == 5212) {
  172. this.brand_name = res.data.result.brand_name;
  173. this.brand_id = res.data.result.brand_id;
  174. this.access_time = res.data.result.access_time;
  175. this.caption = res.data.result.caption
  176. this.epc_id = res.data.result.epc_id;
  177. if (res.data.result.restrains.length > 0) {
  178. this.restrains = res.data.result.restrains;
  179. this.restrainShow = true;
  180. } else {
  181. this.zzTime = res.data.result.access_time;
  182. this.zlist = res.data.result.list;
  183. this.restrainShow = false;
  184. this.groupShow = true;
  185. this.token = res.data.result.list[0].token;
  186. this.param = res.data.result.list[0].param;
  187. if (res.data.result.vehicle.description) {
  188. this.description = res.data.result.vehicle.description
  189. }
  190. }
  191. if (Object.keys(res.data.result.vehicle).length != 0) {
  192. this.chexingMesList = res.data.result.vehicle.tree;
  193. this.chexing = res.data.result.vehicle.description;
  194. }
  195. } else {
  196. uni.showToast({
  197. title: res.data.message,
  198. icon: 'none',
  199. duration: 3000
  200. });
  201. }
  202. });
  203. },
  204. getData() {
  205. uni.showLoading({
  206. title: '加载中'
  207. });
  208. this.$http('advancedEpc/getVinGroup', {
  209. vin: this.vin,
  210. }, 'GET').then(res => {
  211. uni.hideLoading();
  212. //console.log(res.data.number);
  213. if (res.data.number == 200 || res.data.number == 5212) {
  214. this.brand_name = res.data.result.brand_name;
  215. this.brand_id = res.data.result.brand_id;
  216. this.access_time = res.data.result.access_time;
  217. this.caption = res.data.result.caption
  218. this.epc_id = res.data.result.epc_id;
  219. if (res.data.result.restrains.length > 0) {
  220. this.restrains = res.data.result.restrains;
  221. this.restrainShow = true;
  222. } else {
  223. this.zzTime = res.data.result.access_time;
  224. this.zlist = res.data.result.list;
  225. this.restrainShow = false;
  226. this.groupShow = true;
  227. this.token = res.data.result.list[0].token;
  228. this.param = res.data.result.list[0].param;
  229. if (res.data.result.vehicle.description) {
  230. this.description = res.data.result.vehicle.description
  231. }
  232. }
  233. if(res.data.number == 200 || res.data.number == 5212){
  234. let data = res.data.result;
  235. this.brand_name = data.brand_name;
  236. this.brand_id = data.brand_id;
  237. this.epc_id = data.epc_id;
  238. this.getModelGroup()
  239. this.getDataByBtnType()
  240. }
  241. if (Object.keys(res.data.result.vehicle).length != 0) {
  242. this.chexingMesList = res.data.result.vehicle.tree;
  243. this.chexing = res.data.result.vehicle.description;
  244. }
  245. } else {
  246. uni.showToast({
  247. title: res.data.message,
  248. icon: 'none',
  249. duration: 3000
  250. });
  251. }
  252. });
  253. },
  254. restrainsClick(item) {
  255. this.param = item.param;
  256. this.token = item.token;
  257. this.getcarVinGroup()
  258. },
  259. getcarVinGroup() {
  260. uni.showLoading({
  261. title: '加载中'
  262. });
  263. this.$http('advancedEpc/getVinGroup', {
  264. vin: this.vin,
  265. access_time: this.access_time,
  266. param: this.param,
  267. token: this.token
  268. }, 'GET').then(res => {
  269. uni.hideLoading();
  270. //console.log(res.data.number);
  271. if (res.data.number == 200 || res.data.number == 5212) {
  272. this.brand_name = res.data.result.brand_name;
  273. this.access_time = res.data.result.access_time;
  274. this.caption = res.data.result.caption
  275. if (res.data.result.restrains.length > 0) {
  276. this.restrains = res.data.result.restrains;
  277. this.restrainShow = true;
  278. this.token = res.data.result.restrains[0].token;
  279. this.param = res.data.result.restrains[0].param;
  280. } else {
  281. this.token = res.data.result.list[0].token;
  282. this.param = res.data.result.list[0].param;
  283. this.zzTime = res.data.result.access_time;
  284. this.zlist = res.data.result.list;
  285. this.restrainShow = false;
  286. this.groupShow = true;
  287. if (res.data.result.vehicle.description) {
  288. this.description = res.data.result.vehicle.description
  289. }
  290. }
  291. if (Object.keys(res.data.result.vehicle).length != 0) {
  292. this.chexingMesList = res.data.result.vehicle.tree;
  293. this.chexing = res.data.result.vehicle.description;
  294. }
  295. } else {
  296. uni.showToast({
  297. title: res.data.message,
  298. icon: 'none',
  299. duration: 3000
  300. });
  301. }
  302. });
  303. },
  304. goCarDetail() {
  305. var that = this;
  306. uni.setStorage({
  307. key: 'chexing',
  308. data: that.chexing,
  309. success: function() {
  310. uni.setStorage({
  311. key: 'chexingMesList',
  312. data: that.chexingMesList,
  313. success: function() {
  314. uni.navigateTo({
  315. url: 'CarDetail'
  316. })
  317. }
  318. });
  319. }
  320. });
  321. },
  322. goOemSearch() {
  323. uni.navigateTo({
  324. url: 'OemSearch?brand=' + this.brand_name + '&epc_id=' + this.epc_id + '&vin=' + this.vin +
  325. '&param=' + this.param +
  326. '&token=' + this.token + '&access_time=' + this.access_time
  327. })
  328. },
  329. goback() {
  330. console.log('返回');
  331. uni.navigateBack({})
  332. },
  333. //返回选品牌
  334. goToSelectCarModel(){
  335. let vin = this.vin;
  336. if(vin ==undefined || vin =='' || vin == 'undefined' ){
  337. uni.navigateTo({url:'SelectCarModel'});
  338. }else{
  339. uni.navigateTo({url:'index'});
  340. }
  341. },
  342. goTwo(item) {
  343. var that = this;
  344. console.log(item);
  345. console.log("进来了");
  346. uni.setStorage({
  347. key: 'chexing',
  348. data: that.chexing,
  349. success: function() {
  350. uni.setStorage({
  351. key: 'chexingMesList',
  352. data: that.chexingMesList,
  353. success: function() {
  354. uni.navigateTo({
  355. url: 'modelTwo?vin=' + that.vin + '&zzTime=' + that
  356. .zzTime + '&param=' + item.param +
  357. '&token=' + item.token + '&epc_id=' + that.epc_id +
  358. '&description=' + that.description + '&type=' + that.type+"&image="+that.imageicon
  359. })
  360. }
  361. });
  362. }
  363. });
  364. },
  365. clickbu(type){
  366. this.clickType = type;
  367. },
  368. /**
  369. * 查询简版数据
  370. */
  371. getDataByBtnType(){
  372. uni.showLoading({
  373. title: '加载中'
  374. });
  375. this.$http('simpleEpc/getAllCata', {
  376. token: this.token,
  377. param: this.param,
  378. epc_id: this.epc_id,
  379. access_time: this.access_time,
  380. brand_id: this.brand_id,
  381. }, 'GET').then(res => {
  382. uni.hideLoading();
  383. //console.log(res.data.number);
  384. if (res.data.number == 200 || res.data.number == 5212) {
  385. //查询成功
  386. this.groupList = res.data.result.list;
  387. let size = Object.keys(res.data.result.list).length;
  388. if(size == 0){
  389. //没有简版
  390. this.type = 1;
  391. this.clickType = 2;
  392. }
  393. } else {
  394. uni.showToast({
  395. title: res.data.message,
  396. icon: 'none',
  397. duration: 3000
  398. });
  399. }
  400. });
  401. },
  402. toDetail(item){
  403. uni.removeStorageSync('epcChildren');
  404. uni.removeStorageSync('epcAllChildren');
  405. uni.setStorageSync('epcChildren', item);
  406. uni.setStorageSync('epcAllChildren', this.groupList);
  407. uni.navigateTo({
  408. url: 'epcSimpleDetailOne?type=2&token='+this.token+'&param='+this.param+'&access_time='+this.access_time+'&epc_id='
  409. +this.epc_id+'&brand_id='+this.brand_id+"&brand_name="+this.brand_name+"&caption="+this.captionOld+"&vin="+this.vin
  410. })
  411. }
  412. }
  413. }
  414. </script>
  415. <style scoped>
  416. .content {
  417. background: #ffffff;
  418. min-height: 100vh;
  419. padding-bottom: constant(safe-area-inset-bottom);
  420. padding-bottom: env(safe-area-inset-bottom);
  421. }
  422. .zdyNavBox {
  423. width: 100vw;
  424. background: #FFFFFF;
  425. position: fixed;
  426. top: 0;
  427. left: 0;
  428. z-index: 9999999;
  429. }
  430. .zdyNav {
  431. display: flex;
  432. justify-content: space-between;
  433. align-items: center;
  434. padding: 14rpx 6rpx;
  435. }
  436. .zdyNavLeft {
  437. width: 120rpx;
  438. }
  439. .zdyNavTitle {
  440. background: #FFFFFF;
  441. text-align: center;
  442. font-size: 32rpx;
  443. font-weight: bold;
  444. }
  445. .zdyNavRight {
  446. background: #FFFFFF;
  447. text-align: center;
  448. font-size: 28rpx;
  449. color: #3F90F7;
  450. width: 120rpx;
  451. }
  452. .top {
  453. padding: 20rpx 0;
  454. background-color: #ffffff;
  455. margin-bottom: 10rpx;
  456. }
  457. .topCont {
  458. width: 750rpx;
  459. height: 160rpx;
  460. background: #FFFFFF;
  461. }
  462. .carLogo {
  463. width: 72rpx;
  464. height: 72rpx;
  465. }
  466. .carTxt {
  467. font-size: 28rpx;
  468. font-family: PingFangSC-Medium, PingFang SC;
  469. font-weight: 500;
  470. color: #333333;
  471. line-height: 36rpx;
  472. width: 606rpx;
  473. }
  474. .carJt {
  475. width: 25rpx;
  476. height: 24rpx;
  477. margin-top: 6rpx;
  478. }
  479. .carBox {
  480. display: flex;
  481. justify-content: space-between;
  482. padding: 30rpx 24rpx 24rpx 34rpx;
  483. }
  484. .carBox2{
  485. background-color: #FFFFFF;
  486. padding: 30rpx 24rpx;
  487. }
  488. .carTxt2 {
  489. font-size: 28rpx;
  490. font-family: PingFangSC-Medium, PingFang SC;
  491. font-weight: 500;
  492. color: #333333;
  493. line-height: 36rpx;
  494. /* width: 606rpx; */
  495. height: 75rpx;
  496. /* 隐藏文字显示 ...超过2行省略 */
  497. overflow: hidden;
  498. -webkit-line-clamp: 2;
  499. text-overflow: ellipsis;
  500. display: -webkit-box;
  501. -webkit-box-orient: vertical;
  502. }
  503. .vinBox {
  504. display: flex;
  505. justify-content: space-between;
  506. padding-left: 34rpx;
  507. padding-right: 24rpx;
  508. }
  509. .vinBox2 {
  510. display: flex;
  511. align-items: center;
  512. }
  513. .vindetail {
  514. color: #3F90F7;
  515. font-size: 24rpx;
  516. margin-right: 10rpx;
  517. }
  518. .cardDetail{
  519. display: flex;
  520. flex-direction: row;
  521. width: 100%;
  522. height: 78rpx;
  523. margin: 20rpx 0;
  524. }
  525. .image-box{
  526. background-color: #ffffff;
  527. width: 80rpx;
  528. height: 80rpx;
  529. border-radius: 80rpx;
  530. }
  531. .detail{
  532. color: #333333;
  533. width: 500rpx;
  534. height: 78rpx;
  535. font-size: 20rpx;
  536. margin: 20rpx 10rpx;
  537. }
  538. .detailNoVin{
  539. display: flex;
  540. flex-direction: row;
  541. align-items: center;
  542. }
  543. .head-title{
  544. height: 24rpx;
  545. }
  546. .head-this-title{
  547. font-size: 28rpx;
  548. display: -webkit-box;
  549. -webkit-box-orient: vertical;
  550. -webkit-line-clamp: 2; /* 控制显示的行数 */
  551. overflow: hidden;
  552. text-overflow: ellipsis;
  553. }
  554. .novin{
  555. align-items: center;
  556. }
  557. .vinB {
  558. background: #F19D01;
  559. width: 60rpx;
  560. height: 30rpx;
  561. text-align: center;
  562. line-height: 30rpx;
  563. color: #FFFFFF;
  564. font-size: 22rpx;
  565. border-radius: 5rpx;
  566. }
  567. .vinNum {
  568. color: #999999;
  569. font-size: 24rpx;
  570. line-height: 30rpx;
  571. padding-left: 10rpx;
  572. }
  573. .mainBox {
  574. background: #FFFFFF;
  575. }
  576. .maintitle {
  577. font-size: 28rpx;
  578. font-family: PingFangSC-Medium, PingFang SC;
  579. font-weight: 500;
  580. color: #333333;
  581. text-align: center;
  582. line-height: 88rpx;
  583. border-bottom: 1px solid #EEEEEE;
  584. }
  585. .mainLineJt {
  586. width: 25rpx;
  587. height: 24rpx;
  588. margin-top: 8rpx;
  589. }
  590. .mainLine {
  591. display: flex;
  592. justify-content: space-between;
  593. border-bottom: 1px solid #EEEEEE;
  594. padding: 24rpx;
  595. }
  596. .lineName {
  597. font-size: 28rpx;
  598. font-family: PingFangSC-Regular, PingFang SC;
  599. font-weight: 400;
  600. color: #333333;
  601. line-height: 40rpx;
  602. }
  603. .tab-box{
  604. width: 360rpx;
  605. display: flex;
  606. height: 65rpx;
  607. background-color: #EFEFEF;
  608. border-radius: 10rpx;
  609. align-items: center;
  610. }
  611. .tab-box2{
  612. width: 360rpx;
  613. display: flex;
  614. height: 65rpx;
  615. align-items: center;
  616. justify-content: center;
  617. /* font-size: 32rpx;
  618. font-weight: bold; */
  619. }
  620. .tab-box-title{
  621. width: 175rpx;
  622. height: 55rpx;
  623. font-size: 28rpx;
  624. border-radius: 10rpx;
  625. font-weight: 400;
  626. text-align: center;
  627. line-height: 55rpx;
  628. margin: 0 5rpx;
  629. }
  630. .clickbu{
  631. background-color: #FFFFFF;
  632. font-weight: 700;
  633. }
  634. .tab-box-jian{
  635. }
  636. .tab-box-zhuan{
  637. }
  638. .head-box{
  639. width: 660rpx;
  640. height: 160rpx;
  641. margin: 10rpx auto;
  642. }
  643. .searchBtn{
  644. background-color: #F8FBFF;
  645. width: 100%;
  646. height: 80rpx;
  647. border-radius: 10rpx;
  648. display: flex;
  649. align-items: center;
  650. }
  651. .searchImg{
  652. width: 27rpx;
  653. height: 27rpx;
  654. margin: auto 20rpx;
  655. padding-top: 10rpx;
  656. }
  657. .searchTitle{
  658. font-size: 26rpx;
  659. color: #9E9E9E;
  660. padding-top: 10rpx;
  661. }
  662. .mainBoxChildJian{
  663. width:100%;
  664. padding: 10rpx;
  665. background: #ffffff;
  666. }
  667. .childTitle{
  668. /* text-align: center;
  669. font-size: 24rpx;
  670. font-weight: 700;
  671. margin-bottom: 10rpx; */
  672. font-size: 28rpx;
  673. font-family: PingFangSC-Medium, PingFang SC;
  674. font-weight: 500;
  675. color: #333333;
  676. text-align: center;
  677. line-height: 88rpx;
  678. margin-bottom: -20rpx;
  679. }
  680. .jianShowContent{
  681. display: grid;
  682. grid-template-columns: repeat(2, 1fr);
  683. background: #ffffff;
  684. place-items: center;
  685. }
  686. .jianChildbox{
  687. background: #ffffff;
  688. min-height: 200rpx;
  689. width: 345rpx;
  690. height: 421rpx;
  691. border-radius: 10rpx;
  692. margin: 6rpx 10rpx 10rpx 0rpx;
  693. /* box-shadow: 1rpx -1rpx 3rpx 1rpx #999999; */
  694. border: 1rpx solid #dddddd;
  695. }
  696. .childBoxImage{
  697. width: 230rpx;
  698. height: 300rpx;
  699. margin: 20rpx auto;
  700. }
  701. .childBoxTitle{
  702. font-size: 28rxp;
  703. text-align: center;
  704. margin-top: 20rpx;
  705. }
  706. </style>