productdetails.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. <template>
  2. <view class="pages">
  3. <u-navbar
  4. title="产品详情"
  5. :placeholder="true"
  6. :autoBack="false"
  7. @leftClick="leftClick"
  8. :safeAreaInsetTop="true"
  9. >
  10. </u-navbar>
  11. <u-loading-page :loading="loadingPage"></u-loading-page>
  12. <u-swiper
  13. v-if="details.slideImgList.length>0"
  14. :list="details.slideImgList"
  15. height="700rpx"
  16. @change="e => currentNum = e.current"
  17. :autoplay="false"
  18. indicatorStyle="right: 20px"
  19. >
  20. <view
  21. slot="indicator"
  22. class="indicator-num"
  23. >
  24. <text class="indicator-num__text">{{ currentNum + 1 }}/{{ details.slideImgList.length }}</text>
  25. </view>
  26. </u-swiper>
  27. <view class="product-info view-wrap">
  28. <view class="red">
  29. <view class="" v-if="vuex_member_info.priceType>1">
  30. <text class="price">¥ <text class="price-num">{{details.vipPrice}}</text></text>
  31. <text class="vip-icon">VIP</text>
  32. <text class="exchangeCredit" v-if="details.isCredit==1">+{{details.exchangeCredit}}积分</text>
  33. </view>
  34. <view class="" v-else>
  35. <text v-if="details.isCredit==1&&details.exchangeType==0" class="price">¥ <text class="price-num">0</text></text>
  36. <text v-else class="price">¥ <text class="price-num">{{details.salePrice}}</text></text>
  37. <text class="exchangeCredit" v-if="details.isCredit==1">+{{details.exchangeCredit}}积分</text>
  38. </view>
  39. </view>
  40. <view class="u-flex u-row-between gray">
  41. <text v-if="vuex_member_info.priceType>1" class="line-through">¥ <text class="">{{details.salePrice}}</text></text>
  42. <text class="">库存 {{details.stock}}</text>
  43. </view>
  44. <view class="name">{{details.goodsName}}</view>
  45. </view>
  46. <view class="specification info-line u-flex view-wrap" v-if="details.specification">
  47. <view class="info-til">规格</view>
  48. <view class="info-con u-flex">{{details.specification}}</view>
  49. </view>
  50. <view class="addr view-wrap">
  51. <view class="addr-line u-flex">
  52. <view class="info-til">快递</view>
  53. <view class="info-con u-flex">
  54. 包邮
  55. </view>
  56. </view>
  57. <view class="addr-line u-flex" v-if="details.period">
  58. <view class="info-til">保质期</view>
  59. <view class="info-con u-flex">
  60. {{details.period|filterPeriod}}
  61. </view>
  62. </view>
  63. <!-- <view class="addr-line u-flex">
  64. <text class="addr-til">送至</text>
  65. <view class="addr-con u-flex u-flex-1">
  66. <view class="u-flex u-row-between u-flex-1">
  67. <text>贵阳市 南明区</text>
  68. <u-icon name="arrow-right" color="#676767" size="20"></u-icon>
  69. </view>
  70. </view>
  71. </view> -->
  72. </view>
  73. <view class="comment view-wrap u-flex u-row-between">
  74. <view class="left">
  75. <text class="til">评价</text>
  76. <text class="num">({{details.commentNum}})</text>
  77. </view>
  78. <view class="right u-flex" @click="$u.route('/shopping/comment',{id:details.id})">
  79. <text>查看全部</text>
  80. <u-icon name="arrow-right" color="#676767" size="20"></u-icon>
  81. </view>
  82. </view>
  83. <view class="detail view-wrap">
  84. <view class="til">详情</view>
  85. <view class="con">
  86. <!-- <view class="" v-html="details.detail"></view> -->
  87. <u-parse :content="details.detail"></u-parse>
  88. <!-- {{details.detail}} -->
  89. </view>
  90. </view>
  91. <view class="details-tool-wrap">
  92. <view class="details-tool u-flex u-row-between">
  93. <view class="left u-flex">
  94. <view class="icon-wrap" @click="shareShow=true">
  95. <u-icon name="share" color="#676767" size="30"></u-icon>
  96. 分享
  97. <!-- <button class="share-btn" data-name="shareBtn" open-type="share">
  98. <u-icon name="share" color="#676767" size="30"></u-icon>
  99. 分享
  100. </button> -->
  101. </view>
  102. <view class="icon-wrap" v-if="details.isCredit!=1" @click="$u.route('/shopping/cart')">
  103. <u-icon name="shopping-cart" color="#676767" size="30"></u-icon>
  104. 购物车
  105. <u-badge class="badge" numberType="overflow" type="error " max="99" :value="cartTotal" :absolute="true" :offset="[0,0]"></u-badge>
  106. </view>
  107. </view>
  108. <view class="right" v-if="details.stock>0">
  109. <view class="u-flex" v-if="details.isCredit==1">
  110. <view class="btn add-btn" @click="addCreditOrder(details.id)">立即兑换</view>
  111. </view>
  112. <view class=" u-flex" v-else>
  113. <view class="btn add-btn" @click="addCart(details.id)">加入购物车</view>
  114. <view class="btn buy-btn" @click="buyNow(details.id)">立即购买</view>
  115. </view>
  116. </view>
  117. <view class="right" v-else>
  118. <view class="btn gray">暂无库存</view>
  119. </view>
  120. </view>
  121. </view>
  122. <!-- 分享选择弹出内容 -->
  123. <view class="share-option" :class="{shareShow:shareShow}">
  124. <view class="overlay" v-if="shareShow" @click="shareShow=false"></view>
  125. <button class="share-option-item wx-share" data-name="shareBtn" open-type="share">
  126. 发送给朋友
  127. </button>
  128. <view class="share-option-item" @click="getPoster">生成海报</view>
  129. <view class="share-option-item" @click="shareShow=false">取消</view>
  130. </view>
  131. <u-popup :show="posterShow" @close="posterShow=false" ref="uni-popup">
  132. <view class="poster-wrap u-flex u-col-center">
  133. <view class="poster-inner">
  134. <view class="close-wrap" @click="posterShow=false">
  135. <u-icon name="close-circle" color="#fff" size="56rpx"></u-icon>
  136. </view>
  137. <view class="poster" id="poster" ref="poster" >
  138. <u--image :showLoading="true" :src="posterSrc" width="100%" height="65vh" mode="aspectFit"></u--image>
  139. </view>
  140. <!-- savePoster -->
  141. <view class="poster-btn" @click="saveImage">保存图片</view>
  142. </view>
  143. </view>
  144. </u-popup>
  145. <u-toast ref="uToast"></u-toast>
  146. </view>
  147. </template>
  148. <script>
  149. export default {
  150. components: {
  151. },
  152. data() {
  153. return {
  154. staticUrl:this.$commonConfig.staticUrl,
  155. loadingPage:true,
  156. id:'',
  157. cartTotal:0,
  158. currentNum:0,
  159. swiperList: [],
  160. details:{
  161. slideImgList:[]
  162. },
  163. hasAddr:false,
  164. shareShow:false,
  165. posterShow:false,
  166. mode:'aspectFill',
  167. wxml:'',
  168. posterStyle:{},
  169. posterSrc:''
  170. }
  171. },
  172. onLoad(page) {
  173. this.id = page.id;
  174. if(page.goodsId){
  175. this.id = page.goodsId;
  176. }
  177. const scene = decodeURIComponent(page.scene);
  178. scene&&uni.setStorage({
  179. key:'scene',
  180. data:scene
  181. });
  182. // console.log('this.id',this.id);
  183. this.getDetails(this.id);
  184. },
  185. onShow(){
  186. this.getCartList();
  187. this.getAddrList();
  188. this.goodsAddView(this.id)
  189. },
  190. methods: {
  191. leftClick(e){
  192. let pages = getCurrentPages();
  193. if(pages.length==1){
  194. uni.$u.route('/pages/index/index')
  195. }else{
  196. uni.navigateBack()
  197. };
  198. },
  199. getCartList(isAdd){
  200. this.$u.api.cartList().then(res=>{
  201. if(isAdd){
  202. if(res.data.total==this.cartTotal){
  203. this.$refs.uToast.show({
  204. type:"success",
  205. message:'已在购物车'
  206. });
  207. }
  208. }
  209. this.cartTotal = res.data.total;
  210. console.log('getCartList',res);
  211. }).catch(err=>{
  212. console.log('getCartList',err.data);
  213. })
  214. },
  215. getDetails(id){
  216. this.$u.api.memberGoodDetails({id:id}).then(res=>{
  217. this.loadingPage = false;
  218. // console.log('res',res.data);
  219. this.details = res.data;
  220. if(!res.data.slideImgList&&res.data.mainImg){
  221. this.details.slideImgList = [];
  222. this.details.slideImgList.push(res.data.mainImg)
  223. }
  224. }).catch(err=>{
  225. console.log('getDetails',err.data);
  226. })
  227. },
  228. goodsAddView(id){
  229. this.$u.api.goodsAddView({id:id}).then(res=>{
  230. // console.log('res',res.data);
  231. }).catch(err=>{
  232. console.log('goodsAddView',err.data);
  233. })
  234. },
  235. async addCart(id,buyNow){
  236. try {
  237. let authResult = await this.checkAuth();
  238. console.log('实名认证结果:', authResult);
  239. // 在此处可以继续执行需要进行实名认证的业务逻辑
  240. // 例如下单购买商品等操作
  241. } catch (err) {
  242. console.log('实名认证未通过:', err);
  243. return
  244. // 在此处可以处理用户未通过实名认证的情况
  245. // 例如返回上一页或者跳转到实名认证页等操作
  246. }
  247. this.checkAuth();
  248. this.$u.api.addCart({goodsId:id}).then(res=>{
  249. this.$refs.uToast.show({
  250. type:"success",
  251. message:res.msg
  252. });
  253. if(buyNow){
  254. uni.$u.route('/shopping/cart', {
  255. buyNowId: id,
  256. buyNowName:this.details.goodsName
  257. });
  258. }
  259. this.getCartList('isAdd');
  260. console.log('res',res.data);
  261. }).catch(err=>{
  262. console.log('addCart',err);
  263. })
  264. },
  265. async buyNow(id){
  266. try {
  267. let authResult = await this.checkAuth();
  268. console.log('实名认证结果:', authResult);
  269. // 在此处可以继续执行需要进行实名认证的业务逻辑
  270. // 例如下单购买商品等操作
  271. } catch (err) {
  272. console.log('实名认证未通过:', err);
  273. return
  274. // 在此处可以处理用户未通过实名认证的情况
  275. // 例如返回上一页或者跳转到实名认证页等操作
  276. }
  277. // this.addCart(id,'buyNow')//跳购物车
  278. let that = this;
  279. if(!this.hasAddr){
  280. uni.showModal({
  281. title: '温馨提示',
  282. content: '请先设置地址!',
  283. success: res => {
  284. if (res.confirm) {
  285. let url = encodeURIComponent(`/shopping/productdetails?id=${that.id}`) ;
  286. uni.$u.route('/center/addrlist', {
  287. from: 'productdetails',
  288. backUrl:url
  289. });
  290. }
  291. }
  292. })
  293. return
  294. }
  295. this.$u.vuex('buyNowGoods',[{goodsId:this.id,quantity:1}]);
  296. uni.$u.route('/shopping/submitorder', {fromPage: 'productdetails'});
  297. },
  298. async addCreditOrder(id){
  299. try {
  300. let authResult = await this.checkAuth();
  301. console.log('实名认证结果:', authResult);
  302. // 在此处可以继续执行需要进行实名认证的业务逻辑
  303. // 例如下单购买商品等操作
  304. } catch (err) {
  305. console.log('实名认证未通过:', err);
  306. return
  307. // 在此处可以处理用户未通过实名认证的情况
  308. // 例如返回上一页或者跳转到实名认证页等操作
  309. }
  310. let that = this;
  311. let creditGoods = [];
  312. creditGoods.push({id:that.details.id,quantity:1})
  313. // console.log('creditGoods',creditGoods);
  314. that.$u.vuex('cartGoods',creditGoods);
  315. uni.$u.route('/shopping/submitorder', {fromPage:'creditOrder'});
  316. },
  317. onShareAppMessage: function( options ){
  318. var that = this;
  319. // 设置菜单中的转发按钮触发转发事件时的转发内容
  320. var shareObj = {
  321. title: this.details.goodsName, // 默认是小程序的名称(可以写slogan等)
  322. path: '/shopping/productdetails', // 默认是当前页面,必须是以‘/'开头的完整路径
  323. imageUrl: '', //自定义图片路径,可以是本地文件路径、代码包文件路径或者网络图片路径,支持PNG及JPG,不传入 imageUrl 则使用默认截图。显示图片长宽比是 5:4
  324. success: function(res){
  325. // 转发成功之后的回调
  326. if(res.errMsg == 'shareAppMessage:ok'){
  327. }
  328. },
  329. fail: function(){
  330. // 转发失败之后的回调
  331. if(res.errMsg == 'shareAppMessage:fail cancel'){
  332. // 用户取消转发
  333. }else if(res.errMsg == 'shareAppMessage:fail'){
  334. // 转发失败,其中 detail message 为详细失败信息
  335. }
  336. },
  337. complete:function(){
  338. // 转发结束之后的回调(转发成不成功都会执行)
  339. }
  340. };
  341. // 来自页面内的按钮的转发
  342. if( options.from == 'button' ){
  343. var eData = options.target.dataset;
  344. console.log('options.target.dataset',options.target.dataset);
  345. console.log('id' ,this.details.id); // shareBtn
  346. // 此处可以修改 shareObj 中的内容
  347. shareObj.path = '/shopping/productdetails?id='+this.details.id;
  348. }
  349. // 返回shareObj
  350. return shareObj;
  351. },
  352. getAddrList(){
  353. this.$u.api.addrList().then(res=>{
  354. // this.dataList = res.data.rows;
  355. console.log('getAddrList',res);
  356. if( res.data.total>0){
  357. this.hasAddr = true;
  358. }else{
  359. this.hasAddr = false;
  360. }
  361. }).catch(err=>{
  362. console.log('getAddrList',err.data);
  363. })
  364. },
  365. checkAuth() {
  366. // console.log('details-----',this.details);
  367. let that = this;
  368. return new Promise((resolve, reject) => {
  369. console.log('vuex_member_info', this.vuex_member_info.isAuth);
  370. if (that.details.isBuy&&that.details.isBuy!=1) {
  371. uni.showModal({
  372. title: '温馨提示',
  373. content: '购买该商品需要实名认证,请先实名认证!',
  374. success: res => {
  375. if (res.confirm) {
  376. let url = encodeURIComponent(`/shopping/productdetails?id=${that.id}`);
  377. uni.$u.route('/center/factorauth', {
  378. from: 'productdetails',
  379. backUrl: url
  380. });
  381. reject('needAuth'); // 实名认证未通过,使用 reject 方法返回结果
  382. }
  383. }
  384. });
  385. } else {
  386. resolve('noNeedAuth'); // 实名认证已通过,使用 resolve 方法返回结果
  387. }
  388. });
  389. },
  390. // 海报相关开始
  391. getPoster(){
  392. this.posterShow = true;
  393. this.shareShow = false;
  394. this.$u.api.getPoster({goodsId:this.id}).then(res=>{
  395. this.posterSrc = res.data.imageUrl;
  396. // console.log('getPoster',res.data);
  397. }).catch(err=>{
  398. console.log('getPoster',err);
  399. })
  400. },
  401. saveImage() {
  402. let that = this;
  403. uni.showLoading({
  404. title: '保存中'
  405. });
  406. uni.downloadFile({
  407. url: this.posterSrc,
  408. success(res) {
  409. if (res.statusCode === 200) {
  410. uni.saveImageToPhotosAlbum({
  411. filePath: res.tempFilePath,
  412. success() {
  413. uni.showToast({
  414. title: '保存到相册成功',
  415. icon: 'success'
  416. });
  417. },
  418. fail(err) {
  419. console.log('保存图片失败',err);
  420. if (err.errMsg === 'saveImageToPhotosAlbum:fail auth deny') {
  421. uni.getSetting({
  422. success(res) {
  423. if (!res.authSetting['scope.writePhotosAlbum']) {
  424. uni.showModal({
  425. title: '提示',
  426. content: '您还没有授权访问相册,请前往设置页面打开权限。',
  427. confirmText: '去设置',
  428. success(res) {
  429. if (res.confirm) {
  430. uni.openSetting();
  431. }
  432. }
  433. });
  434. } else {
  435. uni.showToast({
  436. title: '保存图片失败',
  437. icon: 'none'
  438. });
  439. }
  440. }
  441. });
  442. } else {
  443. uni.showToast({
  444. title: '保存图片失败',
  445. icon: 'none'
  446. });
  447. }
  448. },
  449. complete() {
  450. uni.hideLoading();
  451. that.posterShow = false;
  452. }
  453. });
  454. } else {
  455. uni.showToast({
  456. title: '下载图片失败',
  457. icon: 'none'
  458. });
  459. }
  460. },
  461. fail() {
  462. uni.showToast({
  463. title: '下载图片失败',
  464. icon: 'none'
  465. });
  466. }
  467. });
  468. },
  469. // 海报相关结束
  470. }
  471. }
  472. </script>
  473. <style lang="scss" scoped>
  474. .indicator-num {
  475. padding: 2px 0;
  476. background-color: rgba(0, 0, 0, 0.35);
  477. border-radius: 100px;
  478. width: 35px;
  479. @include flex;
  480. justify-content: center;
  481. &__text {
  482. color: #FFFFFF;
  483. font-size: 12px;
  484. }
  485. }
  486. .product-info{
  487. .price-num{
  488. font-size: 60rpx;
  489. }
  490. .exchangeCredit{
  491. font-size: 60rpx;
  492. }
  493. .name{
  494. margin-top: 30rpx;
  495. font-size: 36rpx;
  496. font-weight: 600;
  497. color: #333;
  498. line-height: 50rpx;
  499. }
  500. }
  501. .info-line{
  502. margin-bottom: 20rpx;
  503. }
  504. .info-til{
  505. color: #999;
  506. margin-right: 40rpx;
  507. }
  508. .info-con{
  509. color: #666;
  510. }
  511. .addr{
  512. font-size: 30rpx;
  513. .addr-line:not(:last-child){
  514. margin-bottom: 20rpx;
  515. }
  516. }
  517. .comment{
  518. color: #999;
  519. .til{
  520. font-size: 30rpx;
  521. font-weight: 600;
  522. margin-right: 20rpx;
  523. color: #333;
  524. }
  525. }
  526. .detail{
  527. .til{
  528. font-size: 30rpx;
  529. color: #333;
  530. font-weight: 600;
  531. margin-bottom: 20rpx;
  532. }
  533. .con{
  534. // background-color: #F5F5F5;
  535. img{max-width: 100%;}
  536. }
  537. }
  538. .details-tool-wrap{
  539. height: 98rpx;
  540. .details-tool{
  541. position: fixed;
  542. left: 0;
  543. right: 0;
  544. bottom: 0;
  545. height: 98rpx;
  546. background-color: #fff;
  547. }
  548. .left{
  549. text-align: center;
  550. color: #666;
  551. font-size: 24rpx;
  552. .icon-wrap{
  553. position: relative;
  554. margin-left: 20rpx;
  555. }
  556. }
  557. .right{
  558. .btn{
  559. padding: 19rpx 40rpx;
  560. border-radius: 40rpx;
  561. color: #fff;
  562. margin-right: 20rpx;
  563. }
  564. .add-btn{
  565. background-color: #FFB100;
  566. }
  567. .buy-btn{
  568. background-color: #FF3C3F;
  569. }
  570. .gray{
  571. background-color: #ddd;
  572. color: #999;
  573. }
  574. }
  575. .share-btn{
  576. padding: 0;
  577. margin: 0;
  578. border: 0;
  579. font-size: 24rpx;
  580. color: #666;
  581. line-height: 1;
  582. background-color: transparent;
  583. outline: none;
  584. &::after{
  585. border: none;
  586. }
  587. }
  588. }
  589. .share-option{
  590. transform: translateY(100%);
  591. .overlay{
  592. position: fixed;
  593. left: 0;
  594. top: 0;
  595. width: 100vw;
  596. height: 100vh;
  597. background-color: rgba(0, 0, 0, 0.35);
  598. transform: translateY(-100%);
  599. }
  600. &.shareShow{
  601. transform: translateY(0);
  602. }
  603. position: fixed;
  604. width: 100%;
  605. left: 0;
  606. bottom: 0;
  607. z-index: 50;
  608. background-color: #fff;
  609. .share-option-item{
  610. position: relative;
  611. height: 46px;
  612. line-height: 46px;
  613. border: 0;
  614. background-color: #fff;
  615. text-align: center;
  616. border-radius: 0;
  617. border-bottom: 1px solid #eee;
  618. font-size: 30rpx;
  619. }
  620. .wx-share{
  621. border-bottom: 0;
  622. }
  623. }
  624. .poster-wrap{
  625. position: fixed;
  626. left: 0;
  627. top: 0;
  628. width: 100%;
  629. height: 100vh;
  630. .poster-inner{
  631. flex: 1;
  632. margin: 0 75rpx;
  633. .close-wrap{
  634. display: flex;
  635. justify-content: flex-end;
  636. margin-bottom: 16rpx;
  637. }
  638. }
  639. .poster{
  640. position: relative;
  641. // padding-bottom: 90rpx;
  642. background-color: transparent;
  643. .posterBg{
  644. position: absolute;
  645. left: 0;
  646. bottom: 0;
  647. right: 0;
  648. width: 100%;
  649. z-index: 1;
  650. }
  651. .placard{
  652. position: relative;
  653. z-index: 10;
  654. }
  655. .bottom{
  656. position: relative;
  657. z-index: 20;
  658. margin: 33rpx 40rpx 0;
  659. .left{
  660. margin-right: 58rpx;
  661. .price{
  662. font-size: 22rpx;
  663. font-weight: 600;
  664. color: #FF3538;
  665. line-height: 30rpx;
  666. margin-bottom: 10rpx;
  667. .num{
  668. font-size: 40rpx;
  669. font-weight: 600;
  670. margin-left: 5rpx;
  671. }
  672. }
  673. .goodsName{
  674. font-size: 30rpx;
  675. font-weight: 400;
  676. color: #333333;
  677. line-height: 38rpx;
  678. margin-bottom: 16rpx;
  679. }
  680. .slogan{
  681. font-size: 26rpx;
  682. font-weight: 600;
  683. line-height: 37rpx;
  684. }
  685. }
  686. .right{
  687. text-align: center;
  688. .imgTip{
  689. margin-top: 12rpx;
  690. font-size: 20rpx;
  691. font-weight: 400;
  692. color: #333333;
  693. line-height: 28rpx;
  694. }
  695. .qrcode{
  696. width: 108rpx;
  697. height:108rpx;
  698. }
  699. }
  700. }
  701. }
  702. .poster-btn{
  703. height: 88rpx;
  704. line-height: 88rpx;
  705. border-radius: 44rpx;
  706. text-align: center;
  707. color: #fff;
  708. margin-top: 40rpx;
  709. font-size: 32rpx;
  710. font-weight: 600;
  711. background: linear-gradient(90deg, #00DC84 0%, #00A447 100%);
  712. }
  713. }
  714. </style>