shop.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  1. <template>
  2. <view class="box">
  3. <view class="topbox">
  4. <view class="sstop">
  5. <image src="../../static/timg/icon_search@2x.png" mode="" class="sstopimg"></image>
  6. <input type="text" v-model="name" placeholder="请输入商品名称" class="sstopInput" @confirm="ssList">
  7. <image src="../../static/img/icon_close.png" mode="" @click="empty" v-if="inputChShow" class="inputCh"></image>
  8. </view>
  9. <scroll-view scroll-x="true" class="scroll-Y" >
  10. <view class="classificationBox">
  11. <view class="classification" v-for="(item,index) in categoryList" @click="topClick(index,item)">
  12. <view class="classificationName" :class="{classificationNameActive:topIndex==index}">{{item.name}}</view>
  13. <view class="classificationHx" v-if="topIndex==index"></view>
  14. </view>
  15. </view>
  16. </scroll-view>
  17. </view>
  18. <view style="height: 180rpx;"></view>
  19. <view class="paixuBox">
  20. <view class="paixuLine" @click="defaultpx" :class="{pxActive:defaultpxActive}">
  21. 默认排序
  22. </view>
  23. <view class="paixuLine" @click="xlPx(1)">
  24. <view :class="{pxActive:salessort}">销量</view>
  25. <view class="paixuLineTbBox">
  26. <view class="paixuLineTbtop" >
  27. <image v-if="salessorts" src="../../static/timg/icon_arrow_up_pre@2x.png" mode="" class="paixuLineTbtopIcon paixuLineTbtopIcons"></image>
  28. <image v-else src="../../static/timg/icon_arrow_up_def@2x.png" mode="" class="paixuLineTbtopIcon paixuLineTbtopIcons"></image>
  29. </view>
  30. <view class="paixuLineTbtop">
  31. <image v-if="salessortx" src="../../static/timg/icon_arrow_pre@2x.png" mode="" class="paixuLineTbtopIcon paixuLineTbtopIconx"></image>
  32. <image v-else src="../../static/timg/icon_arrow_def@2x.png" mode="" class="paixuLineTbtopIcon paixuLineTbtopIconx"></image>
  33. </view>
  34. </view>
  35. </view>
  36. <view class="paixuLine" @click="jgpx(1)">
  37. <view :class="{pxActive:pricesort}">价格</view>
  38. <view class="paixuLineTbBox">
  39. <view class="paixuLineTbtop" >
  40. <image v-if="pricesorts" src="../../static/timg/icon_arrow_up_pre@2x.png" mode="" class="paixuLineTbtopIcon paixuLineTbtopIcons"></image>
  41. <image v-else src="../../static/timg/icon_arrow_up_def@2x.png" mode="" class="paixuLineTbtopIcon paixuLineTbtopIcons"></image>
  42. </view>
  43. <view class="paixuLineTbtop">
  44. <image v-if="pricesortx" src="../../static/timg/icon_arrow_pre@2x.png" mode="" class="paixuLineTbtopIcon paixuLineTbtopIconx"></image>
  45. <image v-else src="../../static/timg/icon_arrow_def@2x.png" mode="" class="paixuLineTbtopIcon paixuLineTbtopIconx"></image>
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. <scroll-view scroll-Y="true" class="scroll-Y goodsSw" >
  51. <view class="goodsBox">
  52. <view class="hotGoodsLine" v-for="(item,index) in list" @click="goDetail(item)">
  53. <view>
  54. <image :src="item.url" v-if="item.url" mode="" @error="defImg()" class="hotGoodsLineImg"></image>
  55. <image v-else src="../../static/timg/noimg.png" mode="" class="hotGoodsLineImg"></image>
  56. </view>
  57. <view class="hotGoodsLineRIght">
  58. <view class="goodsName">{{item.name}}</view>
  59. <view class="timeTbox" v-if="item.goodsDownTime">
  60. <view class="timeK" style="margin-left: 0;">{{item.shengyuD}}</view>
  61. <view class="timeviewTxt" > 天</view>
  62. <view class="timeK">{{item.shengyuH}}</view>
  63. <view class="timeviewTxt"> 时</view>
  64. <view class="timeK">{{item.shengyuM}}</view>
  65. <view class="timeviewTxt" > 分 &nbsp;&nbsp; 后结束抢购</view>
  66. </view>
  67. <view class="hotGoodsLineRIghtBottom">
  68. <view class="goodsPrice">
  69. <view class="goodsPrice1">{{item.saleLabel}}</view>
  70. <view class="goodsPrice2">¥</view>
  71. <view class="goodsPrice3">{{item.salePrice?item.salePrice:item.scribingPrice}}
  72. <span v-if="item.categoryIds=='7B97D114-C419-42B2-9C1E-0B4CA284CDA0'">万</span>
  73. </view>
  74. <view class="goodsPrice4" v-if="item.showLabel&&item.scribingPrice">
  75. <span v-if="item.showLabel.indexOf('1')!=-1">¥{{item.scribingPrice}}</span>
  76. </view>
  77. </view>
  78. <view class="Sold" >
  79. <view v-if="item.showLabel&&item.showLabel.indexOf('3')!=-1">
  80. 已售 {{item.saleQty}}
  81. </view>
  82. </view>
  83. </view>
  84. </view>
  85. </view>
  86. <nodata v-if="list.length==0"></nodata>
  87. </view>
  88. </scroll-view>
  89. <!-- 手机号授权 -->
  90. <view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
  91. <view class="authorizCont" @click.stop="">
  92. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  93. <view class="authorizMs">您好,欢迎访问本店,授权手机号登录能获取我们最新的促销活动哦~</view>
  94. <button class="authorizContbutton" type="default" open-type="getPhoneNumber" @getphonenumber="decryptPhoneNumber">授权</button>
  95. </view>
  96. <view style="text-align: center;padding-top: 56rpx;">
  97. <image src="../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  98. </view>
  99. </view>
  100. </view>
  101. </template>
  102. <script>
  103. import nodata from '../../components/nodata/nodata.vue'
  104. export default {
  105. components: {
  106. nodata
  107. },
  108. data() {
  109. return {
  110. userInfo:'',
  111. salessort:false,
  112. salessorts:false,
  113. salessortx:false,
  114. pricesort:false,
  115. pricesorts:false,
  116. pricesortx:false,
  117. topIndex:0,
  118. categoryList:'',
  119. page:1,
  120. limit:10,
  121. name:'',
  122. categoryID:'',
  123. order:'',
  124. orderBy:'',
  125. list:[],
  126. defaultImg: require("../../static/timg/noimg.png"),
  127. defaultpxActive:false,
  128. authorizShow:false,
  129. code:'',
  130. wxOpenData:'',
  131. shopcategoryID:'',
  132. inputChShow:false,
  133. ext:'',
  134. }
  135. },
  136. watch:{
  137. name(val){
  138. console.log(val)
  139. if(val){
  140. this.inputChShow=true
  141. }
  142. },
  143. },
  144. onLoad(opt) {
  145. console.log(getApp().globalData.shopcategoryID)
  146. //this.userInfo = uni.getStorageSync("userInfo");
  147. this.shopcategoryID=getApp().globalData.shopcategoryID;
  148. if(this.shopcategoryID){
  149. this.categoryID=this.shopcategoryID
  150. }
  151. this.userInfo=this.$store.state.userInfo;
  152. this.wxOpenData=this.$store.state.wxOpenData;
  153. this.ext=this.$common.getExtStoreId();
  154. this.getcategoryList();
  155. this.getlistOpenGoodsPage();
  156. /* uni.getLocation({
  157. type: 'gcj02',
  158. success: function(res) {
  159. console.log(res)
  160. },
  161. fail(err) {
  162. console.log(err)
  163. }
  164. }); */
  165. },
  166. onShow() {
  167. var shopcategoryID = uni.getStorageSync("shopcategoryID")
  168. if(shopcategoryID){
  169. uni.removeStorageSync('shopcategoryID');
  170. if(this.categoryList){
  171. this.categoryList.forEach((item,index)=>{
  172. //console.log(item.id)
  173. if(item.id==shopcategoryID){
  174. this.topIndex=index
  175. }
  176. })
  177. this.categoryID=shopcategoryID;
  178. this.list=[];
  179. this.page=1;
  180. this.getlistOpenGoodsPage()
  181. }
  182. }
  183. },
  184. methods: {
  185. empty(){
  186. console.log("情况")
  187. this.name='';
  188. this.inputChShow=false;
  189. },
  190. decryptPhoneNumber: function(e) {
  191. console.log(e);
  192. this.code=e.detail.code
  193. this.wxPhoneLogin()
  194. this.authorizShow=false;
  195. },
  196. wxPhoneLogin(){
  197. var that=this;
  198. this.$http('miniApp2/sys/wxPhoneLogin', {
  199. appId:'wx33053a645546ec31',
  200. unionId:'EEADACCD-8A19-499D-8AD7-6975D2C93243',
  201. code:this.code,
  202. openId:this.wxOpenData.openid
  203. },'POST').then(res => {
  204. var data = res.data;
  205. if(data.loginInfo){
  206. this.userInfo=data.loginInfo.openUser;
  207. this.wxOpenData=data.loginInfo;
  208. this.$store.commit('mutationswxOpenData', data.loginInfo)
  209. this.$store.commit('mutationsuserInfo', this.userInfo)
  210. this.topIndex=1;
  211. this.list=[];
  212. this.page=1;
  213. this.getlistOpenGoodsPage()
  214. }
  215. })
  216. },
  217. xlPx(num){
  218. this.salessort=true;
  219. this.defaultpxActive=false;
  220. this.pricesort=false;
  221. this.pricesort=false;
  222. this.pricesorts=false;
  223. this.pricesortx=false;
  224. if(this.salessorts){
  225. num=2
  226. }
  227. if(num==1){
  228. this.salessorts=true;
  229. this.salessortx=false;
  230. this.orderBy='asc';
  231. }else{
  232. this.salessorts=false;
  233. this.salessortx=true;
  234. this.orderBy='desc';
  235. }
  236. this.order='SaleQty';
  237. this.list=[];
  238. this.page=1;
  239. this.getlistOpenGoodsPage()
  240. },
  241. jgpx(type){
  242. this.salessort=false;
  243. this.defaultpxActive=false;
  244. this.pricesort=true;
  245. this.salessort=false;
  246. this.salessorts=false;
  247. this.salessortx=false;
  248. if(this.pricesorts){
  249. type=2
  250. }
  251. if(type==1){
  252. this.pricesorts=true;
  253. this.pricesortx=false;
  254. this.orderBy='asc';
  255. }else{
  256. this.pricesorts=false;
  257. this.pricesortx=true;
  258. this.orderBy='desc';
  259. }
  260. this.order='SalePrice';
  261. this.list=[];
  262. this.page=1;
  263. this.getlistOpenGoodsPage()
  264. },
  265. defaultpx(){
  266. this.defaultpxActive=true;
  267. this.order='';
  268. this.orderBy='';
  269. this.salessort=false;
  270. this.salessorts=false;
  271. this.salessortx=false;
  272. this.pricesort=false;
  273. this.pricesorts=false;
  274. this.pricesortx=false;
  275. //this.topIndex=0;
  276. this.list=[];
  277. this.page=1;
  278. this.getlistOpenGoodsPage()
  279. },
  280. defImg(event){
  281. // console.log(event)
  282. /* let img = event.srcElement;
  283. img.src = this.defaultImg;
  284. img.onerror = null; //防止闪图 */
  285. },
  286. topClick(index,item){
  287. this.topIndex=index;
  288. this.list=[];
  289. this.page=1;
  290. this.categoryID=item.id;
  291. this.getlistOpenGoodsPage()
  292. },
  293. ssList(){
  294. this.topIndex=1;
  295. this.list=[];
  296. this.page=1;
  297. this.getlistOpenGoodsPage()
  298. },
  299. goDetail(item){
  300. // if(!this.userInfo){
  301. // this.authorizShow=true;
  302. // }else{
  303. // }
  304. uni.navigateTo({
  305. url:'goodsDetail?id='+item.id
  306. })
  307. },
  308. getcategoryList(){
  309. this.$http('openMall/categoryList', {
  310. unionId:this.ext.unionId
  311. },'GET').then(res => {
  312. this.categoryList=res.data;
  313. var obj={
  314. id:'',
  315. name:'全部'
  316. }
  317. this.categoryList.unshift(obj);
  318. if(this.shopcategoryID){
  319. //console.log(this.shopcategoryID)
  320. this.categoryList.forEach((item,index)=>{
  321. //console.log(item.id)
  322. if(item.id==this.shopcategoryID){
  323. this.topIndex=index
  324. }
  325. })
  326. }
  327. })
  328. },
  329. getlistOpenGoodsPage(){
  330. uni.showLoading({ title: '加载中'});
  331. var that=this;
  332. this.$http('openMall/listOpenGoodsPage', {
  333. page:this.page,
  334. limit:this.limit,
  335. name:this.name,
  336. categoryID:this.categoryID,
  337. orderBy:this.order,
  338. order:this.orderBy,
  339. unionId:this.ext.unionId
  340. },'GET').then(res => {
  341. uni.hideLoading();
  342. res.data.Items.forEach(item=>{
  343. if(item.goodsDownTime){
  344. item.shengyuM=''
  345. item.shengyuD=''
  346. item.shengyuH=''
  347. //console.log(item)
  348. //that.clock(item)
  349. let _this = this
  350. let today = new Date() // 当前时间
  351. let h = today.getHours()
  352. let m = today.getMinutes()
  353. let s = today.getSeconds()
  354. let stopTime = new Date(item.goodsDownTime.replace(/-/g, '/')) // 结束时间
  355. if (Number(new Date(item.goodsDownTime).getTime()) < Number(new Date().getTime())) {
  356. this.activityEnd = true
  357. return
  358. }
  359. let stopH = stopTime.getHours()
  360. let stopM = stopTime.getMinutes()
  361. let stopS = stopTime.getSeconds()
  362. let shenyu = stopTime.getTime() - today.getTime() // 倒计时毫秒数
  363. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  364. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  365. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  366. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  367. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  368. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  369. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  370. item.shengyuM=shengyuM;
  371. item.shengyuD=shengyuD;
  372. item.shengyuH=shengyuH;
  373. }
  374. })
  375. var data=res.data.Items;
  376. this.list=this.list.concat(data);
  377. console.log(this.list)
  378. })
  379. },
  380. clock(item){
  381. console.log(item)
  382. if(!item){
  383. return false;
  384. }
  385. let _this = this
  386. let today = new Date() // 当前时间
  387. let h = today.getHours()
  388. let m = today.getMinutes()
  389. let s = today.getSeconds()
  390. let stopTime = new Date(item.goodsDownTime.replace(/-/g, '/')) // 结束时间
  391. if (Number(new Date(item.goodsDownTime).getTime()) < Number(new Date().getTime())) {
  392. this.activityEnd = true
  393. return
  394. }
  395. let stopH = stopTime.getHours()
  396. let stopM = stopTime.getMinutes()
  397. let stopS = stopTime.getSeconds()
  398. let shenyu = stopTime.getTime() - today.getTime() // 倒计时毫秒数
  399. let shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)) // 转换为天
  400. let D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000)// 除去天的毫秒数
  401. let shengyuH = parseInt(D / (60 * 60 * 1000)) // 除去天的毫秒数转换成小时
  402. let H = D - shengyuH * 60 * 60 * 1000 // 除去天、小时的毫秒数
  403. let shengyuM = parseInt(H / (60 * 1000)) // 除去天的毫秒数转换成分钟
  404. let M = H - shengyuM * 60 * 1000// 除去天、小时、分的毫秒数
  405. let S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)// 除去天、小时、分的毫秒数转化为秒
  406. this.shengyuM=shengyuM;
  407. this.shengyuD=shengyuD;
  408. this.shengyuH=shengyuH;
  409. setTimeout(_this.clock, 500)
  410. },
  411. },
  412. onReachBottom(){
  413. this.page++;
  414. this.getlistOpenGoodsPage()
  415. //console.log("shanglas")
  416. },
  417. onPullDownRefresh(){
  418. this.list=[];
  419. this.page=1;
  420. this.getlistOpenGoodsPage();
  421. setTimeout(() => {
  422. uni.stopPullDownRefresh(); // 关闭下拉刷新
  423. }, 2000);
  424. }
  425. }
  426. </script>
  427. <style scoped lang="less">
  428. .timeTbox{
  429. height: 60rpx;
  430. display: flex;
  431. font-size: 24rpx;
  432. font-family: PingFangSC-Regular, PingFang SC;
  433. font-weight: 400;
  434. color: #764D49;
  435. }
  436. .timeviewTxt{
  437. line-height: 41rpx;
  438. padding-top: 10rpx;
  439. }
  440. .timeDivTxt{
  441. line-height: 60rpx;
  442. padding: 0 10rpx;
  443. }
  444. .timeK{
  445. height: 41rpx;
  446. line-height: 41rpx;
  447. color: #FFFFFF;
  448. width: 41rpx;
  449. text-align: center;
  450. background: #F03B3B;
  451. border-radius: 6rpx;
  452. margin-top: 9rpx;
  453. margin-left: 15rpx;
  454. margin-right: 15rpx;
  455. }
  456. .hotGoodsLineRIghtBottom{
  457. display: flex;
  458. justify-content: space-between;
  459. width: 470rpx;
  460. }
  461. .topbox{
  462. position: fixed;
  463. width: 750rpx;
  464. top: -1rpx;
  465. left: 0;
  466. z-index: 11;
  467. }
  468. .inputCh{
  469. width:40rpx;
  470. height: 40rpx;
  471. position: absolute;
  472. right: 40rpx;
  473. top: 40rpx;
  474. z-index: 11;
  475. }
  476. .pxActive{
  477. color: #FF0000 !important;
  478. }
  479. .paixuLineTbtopIcon{
  480. width: 16rpx;
  481. height: 8rpx;
  482. display: block;
  483. padding-left: 10rpx;
  484. }
  485. .paixuLineTbtopIconx{
  486. padding-bottom:24rpx;
  487. }
  488. .paixuLineTbtopIcons{
  489. padding-top: 8rpx;
  490. }
  491. .paixuLineTbBox{
  492. display: flex;
  493. flex-direction: column;
  494. justify-content: space-between;
  495. }
  496. .box{
  497. background: #F4F5F7;
  498. min-height: 100vh;
  499. }
  500. .sstopInput{
  501. width: 626rpx;
  502. height: 72rpx;
  503. background: #F4F5F7;
  504. border-radius: 36rpx;
  505. line-height: 72rpx;
  506. font-size: 28rpx;
  507. padding-left: 76rpx;
  508. }
  509. .sstop{
  510. position: relative;
  511. padding-top: 24rpx;
  512. padding-left: 24rpx;
  513. background: #ffffff;
  514. }
  515. .sstopimg{
  516. width: 40rpx;
  517. height: 40rpx;
  518. position: absolute;
  519. left: 44rpx;
  520. top: 40rpx;
  521. }
  522. .scroll-Y{
  523. background: #ffffff;
  524. width: 750rpx;
  525. }
  526. .goodsBox{
  527. min-height: calc(100vh - 280rpx);
  528. }
  529. .classificationBox{
  530. display: flex;
  531. padding-bottom: 12rpx;
  532. }
  533. .classificationName{
  534. white-space: nowrap;
  535. font-size: 28rpx;
  536. color: #3C3C3C;
  537. line-height: 40rpx;
  538. padding:24rpx 24rpx 8rpx 24rpx;
  539. font-weight: 400;
  540. }
  541. .classificationNameActive{
  542. font-weight: 500 !important;
  543. color: #FF0000 ;
  544. }
  545. .classificationHx{
  546. width: 40rpx;
  547. height: 4rpx;
  548. background: #FF0000;
  549. margin: 0 auto;
  550. }
  551. .paixuBox{
  552. width: 750rpx;
  553. height: 72rpx;
  554. background: #FFFFFF;
  555. margin-top: 20rpx;
  556. display: flex;
  557. justify-content: space-around;
  558. border-bottom: 1px solid #EEEEEE;
  559. }
  560. .paixuLine{
  561. line-height: 37rpx;font-size: 26rpx;color: #666666;padding-top: 18rpx;
  562. display: flex;
  563. }
  564. .hotGoodsLine{
  565. margin-top: 30rpx;
  566. padding:0rpx 20rpx;
  567. background: #FFFFFF;
  568. border-radius: 16rpx;
  569. display: flex;
  570. }
  571. .hotGoodsLineImg{
  572. width: 208rpx;
  573. height: 194rpx;
  574. border-radius: 16rpx;
  575. border: 1px solid #EEEEEE;
  576. display: block;
  577. }
  578. .goodsName{
  579. font-size: 28rpx;
  580. font-family: PingFangSC-Regular, PingFang SC;
  581. font-weight: 400;
  582. color: #333333;
  583. line-height: 40rpx;
  584. text-overflow: -o-ellipsis-lastline;
  585. overflow: hidden;
  586. text-overflow: ellipsis;
  587. display: -webkit-box;
  588. -webkit-line-clamp: 2;
  589. line-clamp: 2;
  590. -webkit-box-orient: vertical;
  591. }
  592. .hotGoodsLineRIght{
  593. padding-left: 24rpx;
  594. }
  595. .goodsPrice{
  596. display: flex;
  597. padding-top: 10rpx;
  598. }
  599. .goodsPrice1{
  600. font-size: 24rpx;
  601. font-weight: 400;
  602. color: #FF0000;
  603. padding-top: 8rpx;
  604. }
  605. .goodsPrice2{
  606. font-size: 22rpx;
  607. font-weight: 400;
  608. color: #FF0000;
  609. padding-top: 10rpx;
  610. }
  611. .goodsPrice3{
  612. font-size: 32rpx;
  613. font-weight: 500;
  614. color: #FF0000;
  615. }
  616. .goodsPrice4{
  617. font-size: 24rpx;
  618. font-weight: 400;
  619. color: #999999;
  620. padding-top: 8rpx;
  621. text-decoration:line-through;
  622. padding-left: 10rpx;
  623. }
  624. .Sold{
  625. font-weight: 400;
  626. color: #999999;
  627. font-size: 24rpx;
  628. padding-top: 20rpx;
  629. line-height: 30rpx;
  630. height: 30rpx;
  631. }
  632. .authorizBox{
  633. width: 100vw;
  634. height: 100vh;
  635. background: rgba(0, 0, 0, 0.5);
  636. position: fixed;
  637. top: 0;
  638. left: 0;
  639. }
  640. .authorizCont{
  641. margin-top: 30vh;
  642. width: 564rpx;
  643. height: 408rpx;
  644. background: #FFFFFF;
  645. border-radius: 24rpx;
  646. margin-left: 93rpx;
  647. position: relative;
  648. }
  649. .authorizCloseImg{
  650. width: 62rpx;
  651. height: 62rpx;
  652. }
  653. .sqLogoBox{
  654. width: 180rpx;
  655. height: 180rpx;
  656. background: #FFFFFF;
  657. border-radius: 90rpx;
  658. text-align: center;
  659. position: absolute;
  660. top: -50rpx;
  661. left: 192rpx;
  662. }
  663. .authorizName{
  664. color: #333333;
  665. line-height: 42rpx;
  666. font-size: 30rpx;
  667. text-align: center;
  668. padding-top: 58rpx;
  669. }
  670. .authorizMs{
  671. color: #999999;
  672. line-height: 36rpx;
  673. font-size: 26rpx;
  674. width: 452rpx;
  675. padding-top: 24rpx;
  676. text-align: center;
  677. margin-left: 56rpx;
  678. }
  679. .authorizContbutton{
  680. width: 422rpx;
  681. height: 88rpx;
  682. background: #D53533;
  683. border-radius: 44rpx;
  684. line-height: 88rpx;
  685. text-align: center;
  686. font-size:30rpx;
  687. color: #FFFFFF;
  688. margin-top: 62rpx;
  689. margin-left:71rpx;
  690. }
  691. </style>