goodsDetail.vue 18 KB

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