goodsDetail.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818
  1. <template>
  2. <view class="box">
  3. <view class="spwBox">
  4. <swiper class="swiper" circular :autoplay="false" :indicator-dots="true" indicator-color="#CCCCCC" indicator-active-color="#D53533">
  5. <swiper-item v-for="(item,index) in info.ImgList">
  6. <view class="swiper-item">
  7. <img mode="aspectFit" :src="item.url" alt="" class="swiper-itemImg" v-if="item.bizType==1">
  8. <video :src="item.url" v-if="item.bizType==2" show-fullscreen-btn controls style="width: 100%;height: 100%;"></video>
  9. </view>
  10. </swiper-item>
  11. </swiper>
  12. </view>
  13. <view class="shopCont">
  14. <view class="shopCtop">
  15. <view class="goodsPrice">
  16. <view class="goodsPrice1" v-if="info.saleLabel">{{info.saleLabel}}</view>
  17. <view class="goodsPrice2">¥</view>
  18. <view class="goodsPrice3">{{info.salePrice?info.salePrice:info.scribingPrice}}</view>
  19. <view class="goodsPrice4" v-if="info.showLabel&&info.scribingPrice&&info.showLabel.indexOf('1')!=-1">¥{{info.scribingPrice}}</view>
  20. </view>
  21. <view class="Sold" v-if="info.showLabel&&info.showLabel.indexOf('3')!=-1">已售 {{info.saleQty}}</view>
  22. </view>
  23. <view class="goodsName">{{info.name}}</view>
  24. <view class="goodsMd" v-if="info.sellingPoint">{{info.sellingPoint}}</view>
  25. </view>
  26. <view class="modeBox">
  27. <view class="modeline">
  28. <view class="modelineLeft">配送方式</view>
  29. <view class="modeLineRight">{{info.distributionType==1?'到店取货':'到店使用'}}</view>
  30. </view>
  31. <view class="modeline" v-if="info.oneQty">
  32. <view class="modelineLeft">限购数量</view>
  33. <view class="modeLineRight" >{{info.oneQty}}</view>
  34. </view>
  35. <view class="modeline" v-if="info.afterService">
  36. <view class="modelineLeft">售后服务</view>
  37. <view class="modeLineRight">{{info.afterService}}</view>
  38. </view>
  39. </view>
  40. <!-- 服务流程 -->
  41. <view class="fuwuliucBox" v-if="info.showLabel&&info.showLabel.indexOf('4')!=-1">
  42. <view class="fwlcTitle">服务流程</view>
  43. <view class="fwlcxian">
  44. <view class="fwlcyuan"></view>
  45. <view class="fwHx"></view>
  46. <view class="fwlcyuan"></view>
  47. <view class="fwHx"></view>
  48. <view class="fwlcyuan"></view>
  49. <view class="fwHx"></view>
  50. <view class="fwlcyuan"></view>
  51. </view>
  52. <view class="fwTxt">
  53. <view class="fwTxtline">选择商品</view>
  54. <view class="fwTxtline">选择门店</view>
  55. <view class="fwTxtline">在线支付</view>
  56. <view class="fwTxtline">到店服务</view>
  57. </view>
  58. </view>
  59. <!-- 套餐内容 -->
  60. <view class="mealBox" v-if="info.bizType==3">
  61. <view class="fwlcTitle">套餐内容</view>
  62. <view class="mealLine" v-if="info.itemPackTimesDetails">
  63. <view class="mealTop">
  64. <view class="mealName">项目名称</view>
  65. <view class="mealTopRight">
  66. <view>数量</view>
  67. <view style="padding-left: 44rpx;">有效期</view>
  68. </view>
  69. </view>
  70. <view class="itemlinebOX">
  71. <view class="itemline" v-for="(item,index) in info.itemPackTimesDetails">
  72. <view class="itemname">{{item.flowName}}</view>
  73. <view>{{item.flowQty}}</view>
  74. <view v-if="item.expireNumber">{{item.expireNumber}}个月</view>
  75. <view v-else>永久</view>
  76. </view>
  77. </view>
  78. </view>
  79. <view class="mealLine" v-if="info.goodsPackTimesDetails">
  80. <view class="mealTop">
  81. <view class="mealName">商品名称</view>
  82. <view class="mealTopRight">
  83. <view>数量</view>
  84. <view style="padding-left: 44rpx;">有效期</view>
  85. </view>
  86. </view>
  87. <view class="itemlinebOX">
  88. <view class="itemline" v-for="(item,index) in info.goodsPackTimesDetails">
  89. <view class="itemname">{{item.flowName}}</view>
  90. <view>{{item.flowQty}}</view>
  91. <view v-if="item.expireNumber">{{item.expireNumber}}个月</view>
  92. <view v-else>永久</view>
  93. </view>
  94. </view>
  95. </view>
  96. </view>
  97. <!-- 商品详情 -->
  98. <view class="goodsDetail" v-if="info.details">
  99. <view class="goodsDetailTitle">商品详情</view>
  100. <!-- <view v-html="info.details" style="background: #fff;"></view> -->
  101. <rich-text :nodes="info.details" style="background: #fff;"></rich-text>
  102. </view>
  103. <view style="height: 120rpx;padding-bottom: env(safe-area-inset-bottom)"></view>
  104. <view class="bottomBox">
  105. <view class="bottomImgBox" @click="goINdex">
  106. <image src="../../static/timg/home.png" mode="" class="bottomImg"></image>
  107. <view class="bottomTxt">首页</view>
  108. </view>
  109. <view class="bottomImgBox" style="margin-left: 20rpx;">
  110. <image src="../../static/timg/share.png" mode="" class="bottomImg"></image>
  111. <view class="bottomTxt">分享</view>
  112. </view>
  113. <view class="bottomBtn" @click="ljbuy">立即购买</view>
  114. </view>
  115. <!-- 立即购买 -->
  116. <view class="buyBox" v-if="buyShow" @click="buyShow=false">
  117. <view class="buyCont" @click.stop="">
  118. <image src="../../static/timg/chahao.png" mode="" class="buyContCh" @click="buyShow=false"></image>
  119. <view class="goodsBox">
  120. <view class="hotGoodsLine" >
  121. <view>
  122. <image :src="info.ImgList[0].url" mode="" v-if="info.ImgList.length>0" class="hotGoodsLineImg"></image>
  123. <image src="../../static/timg/noimg.png" class="hotGoodsLineImg" v-else></image>
  124. </view>
  125. <view class="hotGoodsLineRIght">
  126. <view class="goodsName2">{{info.name}}</view>
  127. <view class="Sold" v-if="info.showLabel&&info.showLabel.indexOf('3')!=-1">
  128. 已售 {{info.saleQty}}</view>
  129. <view class="goodsPrice">
  130. <view class="goodsPrice11" v-if="info.saleLabel">{{info.saleLabel}}</view>
  131. <view class="goodsPrice22">¥</view>
  132. <view class="goodsPrice33">{{info.salePrice?info.salePrice:info.scribingPrice}}</view>
  133. <view class="goodsPrice44" v-if="info.showLabel&&info.scribingPrice&&info.showLabel.indexOf('1')!=-1">¥{{info.scribingPrice}}</view>
  134. </view>
  135. </view>
  136. </view>
  137. </view>
  138. <view class="buyNumBox">
  139. <view class="bugNUm">
  140. <view class="bugNUmLeft">
  141. <view class="buySl">数量</view>
  142. <view class="buyXg" v-if="info.oneQty">限购{{info.oneQty}}件</view>
  143. </view>
  144. <view class="numJsbox">
  145. <view class="numJj" @click="calculation(1)">-</view>
  146. <view class="goodsnum">
  147. <input type="number" value="" v-model="goodsnum" class="goodsnumInput"/>
  148. </view>
  149. <view class="numJj" @click="calculation(2)">+</view>
  150. </view>
  151. </view>
  152. <view class="buySHop" @click="ckShop">
  153. <view>服务门店</view>
  154. <view class="buyShopRight" >
  155. <view v-if="shopInfo.shopId">{{shopInfo.shopName}}</view>
  156. <view v-else>请选择</view>
  157. <image src="../../static/timg/icon_arrow_right.png" mode="" class="buyShopRightJt"></image>
  158. </view>
  159. </view>
  160. </view>
  161. <view class="buybtnBox">
  162. <view class="buyBtn" @click="goBuy">立即购买</view>
  163. </view>
  164. </view>
  165. </view>
  166. <!-- 手机号授权 -->
  167. <view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
  168. <view class="authorizCont" @click.stop="">
  169. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  170. <view class="authorizMs">您好,欢迎访问本店,授权手机号登录能获取我们最新的促销活动哦~</view>
  171. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  172. </view>
  173. <view style="text-align: center;padding-top: 56rpx;">
  174. <image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  175. </view>
  176. </view>
  177. <!-- <view :style="{color:colorX}">asdfas</view> -->
  178. </view>
  179. </template>
  180. <script>
  181. export default {
  182. components: {
  183. },
  184. data() {
  185. return {
  186. userInfo:'',
  187. goodsnum:1,
  188. buyShow:false,
  189. id:'',
  190. info:'',
  191. shopInfo:{
  192. shopName:'',
  193. shopId:''
  194. },
  195. authorizShow:false,
  196. code:'',
  197. wxOpenData:'',
  198. ext:'',
  199. }
  200. },
  201. onLoad(opt) {
  202. this.id=opt.id;
  203. //this.userInfo = uni.getStorageSync("userInfo");
  204. this.userInfo=this.$store.state.userInfo;
  205. this.wxOpenData=this.$store.state.wxOpenData;
  206. this.openGoodsDetailById();
  207. this.ext=this.$common.getExtStoreId();
  208. },
  209. onShow() {
  210. this.shopInfo=this.$store.state.ckshopInfo;
  211. console.log(this.shopInfo)
  212. },
  213. methods: {
  214. ckShop(){
  215. uni.navigateTo({
  216. url:'ckshopList?goodsId='+this.id
  217. })
  218. },
  219. openGoodsDetailById(){
  220. this.$http('openMall/openGoodsDetailById', {
  221. id:this.id,
  222. GoodsID:this.id,
  223. },'GET').then(res => {
  224. this.info=res.data;
  225. if(this.info.details){
  226. this.info.details = this.info.details.replace(/\<img/gi, '<img style="max-width:100%;height:auto" ');
  227. }
  228. this.shopInfo='';
  229. this.$store.commit('mutationsckshopInfo', '')
  230. this.szShop()
  231. })
  232. },
  233. ljbuy(){
  234. if(!this.userInfo){
  235. this.authorizShow=true
  236. }else{
  237. this.buyShow=true
  238. }
  239. },
  240. szShop(){
  241. if(this.userInfo){
  242. this.$http('openMall/openStoreList', {
  243. goodsId:this.id,
  244. // lat: '',
  245. // lng: '',
  246. }, 'GET').then(res => {
  247. var queryShopList = res.data
  248. //console.log('list+=', this.queryShopList);
  249. queryShopList.forEach(item=>{
  250. if(item.shopId==this.info.shopId){
  251. var item={
  252. shopId:this.info.shopId,
  253. shopName:this.info.shopName
  254. }
  255. this.shopInfo=item
  256. this.$store.commit('mutationsckshopInfo', item)
  257. }
  258. })
  259. })
  260. }
  261. },
  262. goINdex(){
  263. uni.switchTab({
  264. url:'../index/index'
  265. })
  266. },
  267. goBuy(){
  268. if(!this.shopInfo.shopId){
  269. uni.showToast({
  270. title: '请选择服务门店',
  271. icon: 'none',
  272. duration: 3000
  273. });
  274. return false;
  275. }
  276. var that=this;
  277. uni.setStorage({
  278. key: 'goodsDetail',
  279. data: that.info,
  280. success: function () {
  281. uni.navigateTo({
  282. url:'confirm?itemQty='+that.goodsnum+'&shopID='+that.shopInfo.shopId+'&shopName='+that.shopInfo.shopName
  283. })
  284. }
  285. });
  286. },
  287. calculation(type){
  288. if(type==1){
  289. if(this.goodsnum>1){
  290. this.goodsnum--
  291. }
  292. }else{
  293. console.log("+++")
  294. if(this.info.oneQty!=null){
  295. if(this.info.oneQty>this.goodsnum){
  296. this.goodsnum++
  297. }
  298. }else{
  299. this.goodsnum++
  300. }
  301. }
  302. },
  303. decryptPhoneNumber: function(e) {
  304. console.log(e);
  305. this.code=e.detail.code
  306. this.wxPhoneLogin()
  307. this.authorizShow=false;
  308. },
  309. wxPhoneLogin(){
  310. var that=this;
  311. this.$http('miniApp2/sys/wxPhoneLogin', {
  312. appId:this.ext.appId,
  313. unionId:this.ext.unionId,
  314. code:this.code,
  315. openId:this.wxOpenData.openid
  316. },'POST').then(res => {
  317. var data = res.data;
  318. if(data.loginInfo){
  319. this.userInfo=data.loginInfo.openUser;
  320. this.wxOpenData=data.loginInfo;
  321. this.$store.commit('mutationswxOpenData', data.loginInfo)
  322. this.$store.commit('mutationsuserInfo', this.userInfo)
  323. this.szShop()
  324. }
  325. })
  326. },
  327. }
  328. }
  329. </script>
  330. <style scoped lang="less">
  331. .box{
  332. background: #F4F5F7;
  333. min-height: 100vh;
  334. }
  335. .buySHop{
  336. display: flex;
  337. justify-content: space-between;
  338. font-size:28rpx ;
  339. color: #666666;
  340. padding-top: 30rpx;
  341. }
  342. .buybtnBox{
  343. width: 750rpx;
  344. height: 120rpx;
  345. background: #FFFFFF;
  346. box-shadow: 0px -2px 10px 0px rgba(153,153,153,0.2000);
  347. padding-top: 20rpx;
  348. }
  349. .buyBox{
  350. width: 750rpx;
  351. height: 100vh;
  352. position: fixed;
  353. left: 0;
  354. top: 0;
  355. background: rgba(0,0,0,0.5);
  356. }
  357. .buyBtn{
  358. width: 690rpx;
  359. height: 74rpx;
  360. background: #D53533;
  361. border-radius: 37rpx;
  362. text-align: center;
  363. line-height: 74rpx;
  364. color: #FFFFFF;
  365. font-size: 30rpx;
  366. margin-left: 30rpx;
  367. }
  368. .buyShopRightJt{
  369. width: 12rpx;
  370. height: 20rpx;
  371. margin-top: 8rpx;
  372. margin-left: 10rpx;
  373. }
  374. .buyShopRight{
  375. display: flex;
  376. }
  377. .bugNUm{
  378. border-top: 1px solid #EEEEEE;
  379. border-Bottom: 1px solid #EEEEEE;
  380. padding: 28rpx 0;
  381. display: flex;
  382. justify-content: space-between;
  383. }
  384. .buyXg{
  385. width: 110rpx;
  386. height: 36rpx;
  387. border-radius: 4rpx;
  388. border: 1px solid #F19D01;
  389. text-align: center;
  390. line-height: 36rpx;
  391. color: #F19D01;
  392. font-size: 24rpx;
  393. }
  394. .numJj{
  395. width: 44rpx;
  396. height: 44rpx;
  397. background: #F4F5F7;
  398. border-radius: 0px 6rpx 6rpx 0px;
  399. text-align: center;
  400. line-height: 44rpx;
  401. font-size: 32rpx;
  402. color: #999999;
  403. }
  404. .bugNUmLeft{
  405. display: flex;
  406. }
  407. .buySl{
  408. color: #666666;font-size: 28rpx;padding-right: 30rpx;
  409. }
  410. .goodsnum{
  411. width: 88rpx;
  412. height: 44rpx;
  413. background: #F4F5F7;
  414. line-height: 44rpx;
  415. text-align: center;
  416. font-weight: 500;
  417. color: #333333;
  418. font-size: 24rpx;
  419. margin: 0 4rpx;
  420. }
  421. .numJsbox{
  422. display: flex;
  423. }
  424. .buyCont{
  425. position: absolute;
  426. left: 0;
  427. bottom: 0;
  428. width: 750rpx;
  429. height: 688rpx;
  430. background: #FFFFFF;
  431. border-radius: 26rpx 26rpx 0px 0px;
  432. }
  433. .buyNumBox{
  434. padding: 30rpx;
  435. padding-top: 10rpx;
  436. padding-bottom: 70rpx;
  437. }
  438. .buyContCh{
  439. position: absolute;
  440. top: 53rpx;
  441. right: 36rpx;
  442. width: 36rpx;
  443. height: 36rpx;
  444. }
  445. .hotGoodsLine{
  446. margin-top: 30rpx;
  447. padding: 20rpx;
  448. background: #FFFFFF;
  449. border-radius: 16rpx;
  450. display: flex;
  451. }
  452. .hotGoodsLineImg{
  453. width: 208rpx;
  454. height: 194rpx;
  455. border-radius: 16rpx;
  456. border: 1px solid #EEEEEE;
  457. }
  458. .goodsName2{
  459. font-size: 28rpx;
  460. font-family: PingFangSC-Regular, PingFang SC;
  461. font-weight: 400;
  462. color: #333333;
  463. line-height: 40rpx;
  464. text-overflow: -o-ellipsis-lastline;
  465. overflow: hidden;
  466. text-overflow: ellipsis;
  467. display: -webkit-box;
  468. -webkit-line-clamp: 2;
  469. line-clamp: 2;
  470. -webkit-box-orient: vertical;
  471. min-height: 80rpx;
  472. width: 370rpx;
  473. }
  474. .hotGoodsLineRIght{
  475. padding-left: 24rpx;
  476. }
  477. .goodsPrice{
  478. display: flex;
  479. padding-top: 10rpx;
  480. }
  481. .goodsPrice11{
  482. font-size: 24rpx;
  483. font-weight: 400;
  484. color: #FF0000;
  485. padding-top: 8rpx;
  486. padding-right: 10rpx;
  487. }
  488. .goodsPrice22{
  489. font-size: 22rpx;
  490. font-weight: 400;
  491. color: #FF0000;
  492. padding-top: 8rpx;
  493. }
  494. .goodsPrice33{
  495. font-size: 32rpx;
  496. font-weight: 500;
  497. color: #FF0000;
  498. }
  499. .goodsPrice44{
  500. font-size: 24rpx;
  501. font-weight: 400;
  502. color: #999999;
  503. padding-top: 8rpx;
  504. padding-left: 5rpx;
  505. text-decoration:line-through;
  506. }
  507. .bottomBox{
  508. width: 750px;
  509. height: 120rpx;
  510. background: #FFFFFF;
  511. box-shadow: 0px -2px 10px 0px rgba(153,153,153,0.2000);
  512. position: fixed;left: 0;
  513. bottom: 0;
  514. display: flex;
  515. padding-bottom: env(safe-area-inset-bottom);
  516. }
  517. .bottomTxt{
  518. color: #666666;font-size: 22rpx;
  519. }
  520. .bottomImg{
  521. width: 48rpx;height: 48rpx;
  522. }
  523. .bottomImgBox{
  524. text-align: center;
  525. padding-top: 20rpx;
  526. padding-left: 40rpx;
  527. }
  528. .bottomBtn{
  529. width: 450rpx;
  530. height: 74rpx;
  531. background: #D53533;
  532. border-radius: 37rpx;
  533. line-height: 74rpx;
  534. text-align: center;
  535. color: #FFFFFF;
  536. font-size: 30rpx;
  537. margin-top: 23rpx;
  538. margin-left: 70rpx;
  539. }
  540. .goodsDetailTitle{
  541. color: #333333;
  542. font-size: 30rpx;
  543. font-weight: 500;
  544. background: #FFFFFF;
  545. padding: 20rpx 24rpx;
  546. }
  547. .goodsDetail{
  548. margin-top: 20rpx;
  549. padding-bottom: 30rpx;
  550. background: #FFFFFF;
  551. }
  552. .goodsDetail img{
  553. width: 750rpx;
  554. }
  555. .goodsDetail image{
  556. width: 750rpx;
  557. }
  558. .mealBox{
  559. background: #FFFFFF;
  560. padding: 20rpx 24rpx;
  561. margin-top: 20rpx;
  562. }
  563. .mealTopRight{
  564. display: flex;
  565. }
  566. .mealLine{
  567. margin-top: 20rpx;
  568. }
  569. .itemname{
  570. width: 441rpx;
  571. text-overflow: -o-ellipsis-lastline;
  572. overflow: hidden;
  573. text-overflow: ellipsis;
  574. display: -webkit-box;
  575. -webkit-line-clamp: 2;
  576. line-clamp: 2;
  577. -webkit-box-orient: vertical;
  578. }
  579. .itemline{
  580. display: flex;
  581. padding: 10rpx 20rpx;
  582. justify-content: space-between;
  583. line-height: 37rpx;
  584. font-size: 26rpx;
  585. color: #333333;
  586. }
  587. .itemlinebOX{
  588. border-radius: 0px 0px 10px 10px;
  589. border: 2Rpx solid #EEEEEE;
  590. padding: 10rpx 0;
  591. }
  592. .mealTop{
  593. display: flex;
  594. justify-content: space-between;
  595. height: 72rpx;
  596. background: #F19D01 linear-gradient(90deg, #FFF7EB 0%, #FFEFD5 100%);
  597. border-radius: 10rpx 10rpx 0px 0px;
  598. line-height: 72rpx;
  599. color: #333333;
  600. font-size: 26rpx;
  601. padding: 0 20rpx;
  602. }
  603. .fwlcTitle{
  604. color: #333333;font-size: 30rpx;font-weight: 500;
  605. }
  606. .fuwuliucBox{
  607. background: #FFFFFF;
  608. padding: 20rpx 24rpx;
  609. margin-top: 20rpx;
  610. }
  611. .fwlcxian{
  612. padding:30rpx 42rpx 10rpx 42rpx ;
  613. display: flex;
  614. }
  615. .fwlcyuan{
  616. width: 16rpx;
  617. height: 16rpx;
  618. background: #FF0000;
  619. border-radius: 50%;
  620. }
  621. .fwHx{
  622. height: 4rpx;
  623. background: #FF0000;
  624. width: 186rpx;
  625. margin-top: 7rpx;
  626. }
  627. .fwTxt{
  628. display: flex;
  629. justify-content: space-between;
  630. }
  631. .fwTxtline{
  632. color: #333333;
  633. line-height: 37px;
  634. font-size: 26rpx;
  635. }
  636. .swiper{
  637. width: 750rpx;
  638. height: 700rpx;
  639. background: #FFFFFF;
  640. border-bottom: 1px solid #EEEEEE;
  641. }
  642. .swiper-item{
  643. width: 750rpx;
  644. height: 700rpx;
  645. }
  646. .swiper-itemImg{
  647. width: 750rpx;
  648. height: 700rpx;
  649. }
  650. .shopCtop{
  651. display: flex;
  652. padding: 20rpx 24rpx;
  653. justify-content: space-between;
  654. background: #FFFFFF;
  655. }
  656. .goodsPrice{
  657. display: flex;
  658. }
  659. .goodsPrice1{
  660. font-size: 24rpx;
  661. font-weight: 400;
  662. color: #FF0000;
  663. padding-top: 14rpx;
  664. padding-right: 14rpx;
  665. }
  666. .goodsPrice2{
  667. font-size: 28rpx;
  668. font-weight: 400;
  669. color: #FF0000;
  670. padding-top: 10rpx;
  671. }
  672. .goodsPrice3{
  673. font-size: 40rpx;
  674. font-weight: 500;
  675. color: #FF0000;
  676. }
  677. .goodsPrice4{
  678. font-size: 24rpx;
  679. font-weight: 400;
  680. color: #999999;
  681. padding-top: 14rpx;
  682. text-decoration:line-through;
  683. padding-left: 10rpx;
  684. }
  685. .Sold{
  686. font-weight: 400;
  687. color: #999999;
  688. font-size: 24rpx;
  689. padding-top: 18rpx;
  690. }
  691. .goodsName{
  692. font-size: 30rpx;
  693. line-height: 42rpx;
  694. font-weight: 500;
  695. color: #333333;
  696. padding: 20rpx 24rpx;
  697. padding-top: 0;
  698. padding-bottom: 16rpx;
  699. }
  700. .goodsMd{
  701. font-weight: 400;
  702. color: #999999;
  703. font-size: 26rpx;
  704. padding: 0 24rpx;
  705. padding-bottom: 20rpx;
  706. }
  707. .shopCont{
  708. background: #FFFFFF;
  709. }
  710. .modeBox{
  711. margin-top:20rpx ;
  712. padding: 5rpx 0;
  713. background: #FFFFFF;
  714. }
  715. .modeline{
  716. display: flex;
  717. padding: 15rpx 24rpx;
  718. }
  719. .modelineLeft{
  720. color: #999999;
  721. font-size: 26rpx;
  722. width: 200rpx;
  723. }
  724. .modeLineRight{
  725. color: #333333;
  726. font-size: 26rpx;
  727. }
  728. .authorizBox{
  729. width: 100vw;
  730. height: 100vh;
  731. background: rgba(0, 0, 0, 0.5);
  732. position: fixed;
  733. top: 0;
  734. left: 0;
  735. }
  736. .authorizCont{
  737. margin-top: 30vh;
  738. width: 564rpx;
  739. height: 408rpx;
  740. background: #FFFFFF;
  741. border-radius: 24rpx;
  742. margin-left: 93rpx;
  743. position: relative;
  744. }
  745. .authorizCloseImg{
  746. width: 62rpx;
  747. height: 62rpx;
  748. }
  749. .sqLogoBox{
  750. width: 180rpx;
  751. height: 180rpx;
  752. background: #FFFFFF;
  753. border-radius: 90rpx;
  754. text-align: center;
  755. position: absolute;
  756. top: -50rpx;
  757. left: 192rpx;
  758. }
  759. .authorizName{
  760. color: #333333;
  761. line-height: 42rpx;
  762. font-size: 30rpx;
  763. text-align: center;
  764. padding-top: 58rpx;
  765. }
  766. .authorizMs{
  767. color: #999999;
  768. line-height: 36rpx;
  769. font-size: 26rpx;
  770. width: 452rpx;
  771. padding-top: 24rpx;
  772. text-align: center;
  773. margin-left: 56rpx;
  774. }
  775. .authorizContbutton{
  776. width: 422rpx;
  777. height: 88rpx;
  778. background: #D53533;
  779. border-radius: 44rpx;
  780. line-height: 88rpx;
  781. text-align: center;
  782. font-size:30rpx;
  783. color: #FFFFFF;
  784. margin-top: 62rpx;
  785. margin-left:71rpx;
  786. }
  787. </style>