goodsDetail.vue 18 KB

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