product-details.vue 34 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513
  1. <template>
  2. <view class="product" :style="{paddingTop:CustomBar+'px'}">
  3. <custom-p v-if="isHeaderPoduct"
  4. :systeminfo='systeminfo'
  5. :navbar-data='nvabarData'
  6. :headerBtnPosi ="headerBtnPosi"
  7. :headerColor="headerColor"
  8. :type="isShareType"
  9. :page='backPage'>
  10. </custom-p>
  11. <view class="product-topnav" v-if='isNavbarFiexd' :class="navbarFiexd" :style="{top:CustomBar +'px'}">
  12. <view class="search-input">
  13. <view class="gosearch-btn" :class="navbarFiexd" @click="this.$api.navigateTo(clickPath)">
  14. <view class="search-icon">
  15. <text class="iconfont icon-iconfonticonfontsousuo1"></text>
  16. </view>
  17. <view class="search-text">搜索其他二手商品</view>
  18. </view>
  19. </view>
  20. <view class="navbar">
  21. <view class="nav-item tui-skeleton-fillet" :class="{ current: tabCurrentIndex === 0 }" @click="tabClick(0)">
  22. <text>详情</text>
  23. <text class="line"></text>
  24. </view>
  25. <view class="nav-item tui-skeleton-fillet" :class="{ current: tabCurrentIndex === 1 }" @click="tabClick(1)">
  26. <text>品牌</text>
  27. <text class="line"></text>
  28. </view>
  29. <view class="nav-item tui-skeleton-fillet" :class="{ current: tabCurrentIndex === 2 }" @click="tabClick(2)">
  30. <text>推荐</text>
  31. <text class="line"></text>
  32. </view>
  33. </view>
  34. </view>
  35. <tui-skeleton v-if="skeletonShow" backgroundColor="#fafafa" borderRadius="10rpx" :isLoading ="true" :loadingType="5"></tui-skeleton>
  36. <view class="container-product tui-skeleton">
  37. <view class="container-product-main">
  38. <view class="product-top">
  39. <view class="banner-section">
  40. <uni-swiper-dot :info="productImage" :current="current" field="content" :mode="mode" >
  41. <swiper class="banner tui-banner tui-skeleton-rect" @change="swiperChange" :duration='800' :autoplay="false" :circular="true" >
  42. <swiper-item v-for="(item, index) in product.imageList" :key="index" class="banner-item">
  43. <image :src="item" @click="previewImg(index)" class="product-img" />
  44. </swiper-item>
  45. </swiper>
  46. <view class="swiper__dots-box">
  47. <tui-tag padding="12rpx 24rpx" type="translucent" shape="circleLeft" size="32rpx" :scaleMultiple="0.82" originRight>{{ current + 1 }}/{{ product.imageList.length }}</tui-tag>
  48. </view>
  49. </uni-swiper-dot>
  50. </view>
  51. <view class="product-wrap clearfix">
  52. <view class="wrap-top" >
  53. <view class="wrap-top-price">
  54. <second-price :product="product"></second-price>
  55. </view>
  56. <view class="p-title tui-skeleton-fillet">
  57. <view class="p-title-name">
  58. {{product.name == undefined ? '' : product.name}}
  59. </view>
  60. <button open-type="share" class="p-title-share tui-share-position" @tap="onShare">
  61. <view class=""><text class="iconfont icon-fenxiang1"></text></view>
  62. <view class="">分享</view>
  63. </button>
  64. </view>
  65. <view class="productRemarks" v-if="product.productRemarks!=''&&product.productRemarks!=null">
  66. <text class="text">{{product.productRemarks}}</text>
  67. </view>
  68. <view class="wrap-label" v-if="product.tagsList.length>0">
  69. <view class="label-a tui-skeleton-fillet" v-for="(label,index) in product.tagsList" :key="index">{{label}}</view>
  70. </view>
  71. </view>
  72. </view>
  73. <view class="product-seve">
  74. <text class="iconfont icon-wuyoutuihuo tui-skeleton-rect"><text class="text">无忧退货</text></text>
  75. <text class="iconfont icon-wuyoutuihuoi tui-skeleton-rect"><text class="text">快速退款</text></text>
  76. <text class="iconfont icon-wuyoutuihuo tui-skeleton-rect"><text class="text">正品保证</text></text>
  77. </view>
  78. </view>
  79. <view class="product-parameter" @click="showPopup">
  80. <text class="title">参数:</text>
  81. <text class="name">品牌 起订量 分类...</text>
  82. <text class="iconfont icon-xiayibu"></text>
  83. </view>
  84. </view>
  85. <view class="product-details productDetails0">
  86. <!-- 商品详情 -->
  87. <view class="title">
  88. <view class="title-tab">商品详情</view>
  89. </view>
  90. <view class="Disclaimer">
  91. <span >免责声明</span>
  92. <text class="text">
  93. 鉴于本商城提供的二手版块信息包括但不限于公司名称,商品的简介、性能、描述与说明,相关图片、视频等均由卖家自行提供,由卖家对其提供的信息承担相应法律责任。买家应自行甄别商品信息并查验商品性状。本商城对二手版块中买卖双方的交易不提供任何形式的担保与保证,特此声明!
  94. </text>
  95. </view>
  96. <view class="content tui-banner product-rich-text tui-skeleton-rect">
  97. <view class="contentHtml">
  98. <view class="detailsText" v-if="product.productDetails!=''||product.productDetails!=null" >{{product.productDetails}}</view>
  99. <view class="imgList" v-for="(item, index) in product.imageList" :key="index" :data-src="item">
  100. <img :src="item"/>
  101. </view>
  102. </view>
  103. </view>
  104. </view>
  105. <view class="product-details secondBrand productDetails1" v-if="product.brandInfo!=''&&product.brandInfo!=null">
  106. <!-- 品牌信息 -->
  107. <view class="title">
  108. <view class="title-tab">品牌信息</view>
  109. </view>
  110. <text class="brandinfo">
  111. {{product.brandInfo}}
  112. </text>
  113. </view>
  114. <view class="product-details recommend productDetails2">
  115. <!-- 相关推荐 -->
  116. <view class="title">
  117. <view class="title-tab">相关推荐</view>
  118. </view>
  119. <view class="content hot">
  120. <recommend :query-productid="product.productID" v-if="isRequest" ></recommend>
  121. </view>
  122. </view>
  123. </view>
  124. <!-- 商品参数 -->
  125. <tui-bottom-popup :radius="true" :show="popupShow" @close="hidePopup()">
  126. <view class="tui-popup-box clearfix">
  127. <view class="title">商品参数</view>
  128. <cm-parameter :product="product" :goodsData="goodsData" ></cm-parameter>
  129. <view class="tui-right-flex tui-popup-btn" :style="{ paddingBottom :isIphoneX ? '68rpx' : '0rpx' }">
  130. <view class="tui-flex-1">
  131. <view class="tui-button" @click="hidePopup()">收起</view>
  132. </view>
  133. </view>
  134. </view>
  135. </tui-bottom-popup>
  136. <!-- 侧边 -->
  137. <scroll-top :isScrollTop="isScrollTop" :bottom="200"></scroll-top>
  138. </view>
  139. </view>
  140. </template>
  141. <script>
  142. import { mapState,mapMutations } from 'vuex'
  143. import customP from '@/components/cm-module/headerNavbar/header-poduct' //自定义导航
  144. import secondPrice from "@/components/cm-module/productDetails/secondPrice.vue" //价格显示
  145. import authorize from '@/common/config/authorize.js'
  146. import uniStars from '@/components/uni-stars/uni-stars.vue'
  147. import tuiSkeleton from "@/components/tui-skeleton/tui-skeleton"
  148. import recommend from "@/components/cm-module/productDetails/secondRecommend" //相关推荐
  149. import cmParameter from "@/components/cm-module/productDetails/secondParameters.vue" //相关参数
  150. import wxLogin from "@/common/config/wxLogin.js"
  151. import { debounce } from '@/common/config/common.js'
  152. var isPreviewImg;
  153. export default{
  154. components:{
  155. uniStars,
  156. customP,
  157. tuiSkeleton,
  158. recommend,
  159. secondPrice,
  160. cmParameter,
  161. },
  162. data(){
  163. return{
  164. clickPath:'/search/pages/search/search-second',
  165. disabledTabNavList:[{name:'相关推荐'}],
  166. mode:'round',
  167. iconClass:'icon-aixin',
  168. iconColor:'#ff9100',
  169. specClass: '',//规格弹窗css类,控制开关动画
  170. isRequest:false,
  171. isScrollTop:false,
  172. current:0,
  173. isShareType:'',
  174. isHeaderPoduct:false,
  175. isNavbarFiexd:false,
  176. navbarFiexd:'none',
  177. isRecommend:false,
  178. isRarameter:true,
  179. isService:false,
  180. skeletonShow:true,
  181. disabled:false,
  182. isNoneDisabled:false,
  183. tabCurrentIndex:0,
  184. userID:'',
  185. productID:0,
  186. userIdentity:'',//用户类型
  187. goodsData:{},//自定义数据
  188. shop:{},//供应商信息
  189. product:{},//采美
  190. productImage:[],
  191. headerBtnPosi: this.setHeaderBtnPosi(), //获取设备顶部胶囊高度
  192. systeminfo: this.setSysteminfo(), //获取设备信息
  193. isIphoneX:this.$store.state.isIphoneX,
  194. windowHeight: '',
  195. headerColor:false,
  196. backPage:1,
  197. nvabarData: { //顶部自定义导航
  198. showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示
  199. title: '' // 导航栏 中间的标题
  200. },
  201. linkPath:'',
  202. popupShow:false,//参数弹窗
  203. CustomBar:this.CustomBar,// 顶部导航栏高度
  204. tabSelectFlag:false,
  205. sectionPropsArr: [],
  206. scrollTopArray:[],
  207. sectionTopRangeArr: [],
  208. winHeight:''
  209. }
  210. },
  211. computed: {
  212. ...mapState(['hasLogin','userInfo','isWxAuthorize'])
  213. },
  214. onLoad(option) {
  215. this.productID = option.id;//获取商品ID
  216. this.isShareType = option.type
  217. this.linkPath = option.path
  218. this.isHeaderPoduct = true
  219. if(option.page == 2){
  220. this.backPage = option.page
  221. }
  222. if(this.isShareType =='share'){
  223. if(this.isWxAuthorize){
  224. wxLogin.wxLoginAuthorize()
  225. }else{
  226. console.log(new Date +'用户未授权微信信息')
  227. }
  228. }
  229. },
  230. computed: {
  231. ...mapState(['hasLogin','isWxAuthorize'])
  232. },
  233. methods:{
  234. initData(){// 初始化商品详情查询
  235. this.SecondService.ProductDetail({productId:this.productID}).then(response =>{
  236. this.skeletonShow = false
  237. this.productImage=[];
  238. this.shop = response.data.shop
  239. this.product = response.data
  240. //处理商品图片列表
  241. this.product.imageList.forEach(item =>{
  242. this.productImage.push(item);
  243. })
  244. setTimeout(()=>{
  245. this.getSectionProps();
  246. },2000)
  247. this.isRequest = true
  248. }).catch(error =>{
  249. this.$util.msg(error.msg,2000);
  250. })
  251. },
  252. swiperChange(e) {//顶部商品图片切换
  253. const index = e.detail.current;
  254. this.current = index;
  255. },
  256. previewImg (index) {//顶部商品图片预览
  257. isPreviewImg = true
  258. let previewUrls = this.productImage
  259. uni.previewImage({
  260. current: index, //图片索引
  261. urls: previewUrls, //必须是http图片,本地图片无效
  262. longPressActions:''
  263. })
  264. },
  265. tabClick(index) {//商品详情&&供应商信息tab切换
  266. this.tabSelectFlag = true
  267. this.tabCurrentIndex = index;
  268. let classIndex = '.productDetails'+index;
  269. uni.createSelectorQuery().select('.container-product-main').boundingClientRect((data)=>{//最外层盒子节点
  270.   uni.createSelectorQuery().select(classIndex).boundingClientRect((res)=>{//最外层盒子节点
  271.     uni.pageScrollTo({
  272.       duration:300,//过渡时间必须为0,uniapp bug,否则运行到手机会报错
  273.       scrollTop:res.top - data.top - 150,//滚动到实际距离是元素距离顶部的距离减去最外层盒子的滚动距离
  274.     })
  275. setTimeout(()=>{
  276. this.tabSelectFlag = false;
  277. },500)
  278.   }).exec()
  279. }).exec()
  280. },
  281. handleContact(e){//跳转小程序客服
  282. },
  283. navToLogin(){
  284. if(this.isWxAuthorize){
  285. this.$store.commit('setLoginType',8)
  286. this.$store.commit('setLoginProductId',this.productID)
  287. this.$api.navigateTo(`/pages/login/login?id=${this.productID}`)
  288. }else{
  289. console.log(new Date +'用户未授权微信信息')
  290. this.$api.navigateTo('/pages/authorization/authorization?type=1')
  291. }
  292. },
  293. setHeaderBtnPosi(){
  294. // 获得胶囊按钮位置信息
  295. let headerBtnPosi = uni.getMenuButtonBoundingClientRect();
  296. return headerBtnPosi
  297. },
  298. setSysteminfo(){
  299. let systeminfo;
  300. uni.getSystemInfo({ // 获取设备信息
  301. success: (res) => {
  302. systeminfo = res
  303. },
  304. })
  305. return systeminfo
  306. },
  307. getOptionFn(e){
  308. this.isShareType = e.type
  309. },
  310. discard(){
  311. //丢弃
  312. },
  313. onShare(res){//分享转发
  314. if (res.from === 'button') {
  315. // 来自页面内转发按钮
  316. }
  317. return {
  318. title: `${this.product.name}`,
  319. path: `second/pages/product/product-details?type=share&id=${this.productID}`,
  320. imageUrl:`${this.product.imageList[0]}`
  321. }
  322. },
  323. showPopup(){
  324. this.popupShow = true
  325. },
  326. hidePopup(){
  327. this.popupShow = false
  328. },
  329. getSectionProps() {//获取每个tab对应区域的scrollTop值
  330. let className = '.product-details',
  331. sectionPropsArr = [];
  332. uni.createSelectorQuery().select('.container-product-main').boundingClientRect((data)=>{//最外层盒子节点
  333.   uni.createSelectorQuery().selectAll(className).boundingClientRect((res)=>{//最外层盒子节点
  334. res.forEach((item, index) => {
  335. sectionPropsArr.push({
  336. className: `${className}${index}`,
  337. scrollTop: item.top - data.top - 150
  338. })
  339. })
  340. this.sectionPropsArr = sectionPropsArr;
  341. this.sectionTopRangeArr = this.getSectionRange(sectionPropsArr);
  342.   }).exec()
  343. }).exec()
  344. },
  345. getSectionRange(arr) {// 获取每个tab对应区域的区间
  346. let sectionScrollTopList = [];
  347. for(let i = 0; i < arr.length; i++) {
  348. let thisScrollTop = arr[i].scrollTop;
  349. if(i < arr.length - 1) {
  350. let nextScrollTop = arr[i+1].scrollTop;
  351. if(i == 0) {
  352. sectionScrollTopList.push(`0-${thisScrollTop}`);
  353. } else if(i == arr.length - 1){
  354. sectionScrollTopList.push(`${thisScrollTop}-${nextScrollTop - this.winHeight}`);
  355. } else {
  356. sectionScrollTopList.push(`${thisScrollTop}-${nextScrollTop}`);
  357. }
  358. } else {
  359. sectionScrollTopList.push(`${thisScrollTop}-${thisScrollTop+500}`);
  360. }
  361. }
  362. return sectionScrollTopList;
  363. },
  364. activeTab: debounce((top, _this)=> {//当滑动时也能同步激活tab
  365. const { sectionTopRangeArr } = _this;
  366. if(sectionTopRangeArr.length > 0) {
  367. sectionTopRangeArr.forEach((item, index) => {
  368. let splitItem = item.split('-'),
  369. openInterval = Number(splitItem[0]),
  370. closedInterval = Number(splitItem[1]);
  371. if(top >= openInterval && top < closedInterval) {
  372. _this.tabCurrentIndex = index;
  373. }
  374. })
  375. }
  376. },100, true),
  377. getWinHeight() {
  378. this.winHeight = wx.getSystemInfoSync().windowHeight;
  379. },
  380. },
  381. onPullDownRefresh() {
  382. setTimeout(() => {
  383. this.initData()
  384. uni.stopPullDownRefresh()
  385. }, 200)
  386. },
  387. onPageScroll(e){//实时获取到滚动的值
  388. const { scrollTop } = e;
  389. if(!this.tabSelectFlag) {
  390. this.activeTab(scrollTop, this);
  391. }
  392. if(e.scrollTop>100){
  393. this.headerColor = true
  394. this.navbarFiexd = 'fixed'
  395. this.isNavbarFiexd = true
  396. this.nvabarData={
  397. showCapsule: 1,
  398. title: '商品详情',
  399. }
  400. }else{
  401. this.headerColor = false
  402. this.navbarFiexd = 'none'
  403. this.isNavbarFiexd = false
  404. this.nvabarData={
  405. showCapsule: 1,
  406. title: '',
  407. }
  408. }
  409. if(e.scrollTop>700){
  410. this.isScrollTop = true
  411. }else{
  412. this.isScrollTop = false
  413. }
  414. },
  415. onShareAppMessage(res){//分享转发
  416. if (res.from === 'button') {
  417. // 来自页面内转发按钮
  418. }
  419. return {
  420. title: `${this.product.name}`,
  421. path: `second/pages/product/product-details?type=share&id=${this.productID}`,
  422. imageUrl:`${this.product.imageList[0]}`
  423. }
  424. },
  425. onShow() {
  426. this.$api.getStorage().then((resolve) => {
  427. this.userID = resolve.userId ? resolve.userId : '';
  428. this.userIdentity = resolve.userIdentity ? resolve.userIdentity : 3
  429. if (isPreviewImg) {
  430. isPreviewImg = false;
  431. return;
  432. } else {
  433. this.initData();
  434. }
  435. }).catch(error =>{
  436. this.initData();
  437. })
  438. }
  439. }
  440. </script>
  441. <style lang="scss">
  442. page{
  443. background-color: #FFFFFF;
  444. }
  445. .product-topnav{
  446. width: 100%;
  447. height: 174rpx;
  448. box-sizing: border-box;
  449. background: #FFFFFF;
  450. z-index: 1000;
  451. position: fixed;
  452. opacity: 1;
  453. left: 0;
  454. &.fixed{
  455. animation: showFixedColor 0.1s ease-in-out both;
  456. }
  457. &.none{
  458. animation: hideFixedColor 0.1s ease-in-out both;
  459. }
  460. .navbar {
  461. width: 100%;
  462. height: 60rpx;
  463. box-sizing: border-box;
  464. padding: 0 24rpx;
  465. display: flex;
  466. .nav-item {
  467. display: flex;
  468. flex: 1;
  469. justify-content: center;
  470. align-items: center;
  471. height: 60rpx;
  472. font-size: $font-size-28;
  473. color: $text-color;
  474. position: relative;
  475. float: left;
  476. position: relative;
  477. .line{
  478. width: 60rpx;
  479. height: 2px;
  480. border-radius: 1px;
  481. background: #FFFFFF;
  482. position: absolute;
  483. bottom: 0;
  484. left: 50%;
  485. margin-left: -30rpx;
  486. }
  487. &.current{
  488. color:$color-system;
  489. .line{
  490. background: $color-system;
  491. }
  492. }
  493. }
  494. }
  495. .search-input{
  496. width: 100%;
  497. height: 114rpx;
  498. padding:24rpx;
  499. box-sizing: border-box;
  500. .gosearch-btn{
  501. width: 100%;
  502. height: 100%;
  503. border-radius: 40rpx;
  504. margin: 0 auto;
  505. font-size: 26rpx;
  506. line-height: 66rpx;
  507. color: #B2B2B2;
  508. position: relative;
  509. box-sizing: border-box;
  510. padding-left: 66rpx;
  511. &.fixed{
  512. background: rgba(70,70,70,0.1);
  513. }
  514. &.none{
  515. background: rgba(70,70,70,0.1);
  516. }
  517. .search-icon{
  518. width: 66rpx;
  519. height: 66rpx;
  520. position:absolute ;
  521. left: 0;
  522. top: 2rpx;
  523. text-align: center;
  524. line-height: 66rpx;
  525. .icon-iconfonticonfontsousuo1{
  526. margin:0 6rpx;
  527. font-size: $font-size-34;
  528. color: #B2B2B2;
  529. z-index: 10;
  530. }
  531. }
  532. .search-text{
  533. font-size: $font-size-24;
  534. line-height: 66rpx;
  535. color: #B2B2B2;
  536. }
  537. }
  538. }
  539. }
  540. .productRemarks{
  541. height: 36rpx;
  542. margin: 8rpx 0;
  543. width: 100%;
  544. float: left;
  545. .text{
  546. display: inline-block;
  547. padding: 0 18rpx;
  548. line-height: 32rpx;
  549. font-size: 20rpx;
  550. color: #FF2A2A;
  551. text-align: center;
  552. border-radius: 4rpx;
  553. background: #FFFFFF;
  554. border: 1px solid #FF2A2A;
  555. float: left;
  556. opacity: 0.8;
  557. }
  558. }
  559. .banner-section{
  560. width: 100%;
  561. height: 750rpx;
  562. position: relative;
  563. }
  564. .banner{
  565. width: 100%;
  566. height: 750rpx;
  567. .product-img{
  568. width: 750rpx;
  569. }
  570. image {
  571. width: 100%;
  572. height: 100%;
  573. }
  574. }
  575. .swiper__dots-box{
  576. position: absolute;
  577. color: #fff;
  578. bottom: 30rpx;
  579. right: 0;
  580. }
  581. .product-wrap{
  582. width: 100%;
  583. height: auto;
  584. padding: 24rpx 0 0 0;
  585. background-color: #FFFFFF;
  586. .wrap-top{
  587. width: 702rpx;
  588. padding: 0 24rpx;
  589. height: auto;
  590. float: left;
  591. padding-bottom:20rpx;
  592. &.none{
  593. .p-title{
  594. color:#999999
  595. }
  596. }
  597. .p-title{
  598. width: 100%;
  599. height: auto;
  600. float: left;
  601. .p-title-name{
  602. width:602rpx;
  603. // height: 96rpx;
  604. float: left;
  605. line-height: 46rpx;
  606. font-size: $font-size-34;
  607. color: $text-color;
  608. // -o-text-overflow: ellipsis;
  609. // text-overflow: ellipsis;
  610. // display: -webkit-box;
  611. // word-break: break-all;
  612. // -webkit-box-orient: vertical;
  613. // -webkit-line-clamp: 2;
  614. // overflow: hidden;
  615. }
  616. .p-title-share{
  617. width: 96rpx;
  618. height: 96rpx;
  619. float: right;
  620. text-align: center;
  621. color: #999999;
  622. font-size: $font-size-24;
  623. box-sizing: border-box;
  624. padding: 8rpx 0;
  625. .icon-fenxiang1{
  626. font-size: $font-size-34;
  627. }
  628. }
  629. }
  630. .wrap-main-text{
  631. line-height: 56rpx;
  632. color: #FF2A2A;
  633. font-size: $font-size-26;
  634. display: block;
  635. float: left;
  636. font-weight: normal;
  637. }
  638. .wrap-main-none{
  639. display: block;
  640. width: 256rpx;
  641. height: 44rpx;
  642. padding-left: 20rpx;
  643. border-radius: 11rpx;
  644. background: $btn-confirm;
  645. float: right;
  646. line-height: 44rpx;
  647. color: #FFFFFF;
  648. text-align: center;
  649. font-size: $font-size-24;
  650. }
  651. .p-price-none{
  652. height: 44rpx;
  653. line-height: 44rpx;
  654. float: left;
  655. font-size: $font-size-24;
  656. color: #666;
  657. text-decoration: line-through;
  658. margin-left: 8rpx;
  659. }
  660. .p-minBuy{
  661. height: 44rpx;
  662. line-height: 44rpx;
  663. float: right;
  664. padding: 0 18rpx;
  665. border-radius: 22rpx;
  666. background-color: #f7f7f7;
  667. color: #7F7F7F;
  668. font-size: 24rpx;
  669. text-align: center;
  670. .min-text{
  671. margin: 0 6rpx;
  672. }
  673. }
  674. .p-login{
  675. height: 56rpx;
  676. line-height: 56rpx;
  677. color: $color-system;
  678. font-size: $font-size-24;
  679. &.grade{
  680. .price-left{
  681. float: left;
  682. .none{
  683. display: block;
  684. font-size: $font-size-20;
  685. line-height: 48rpx;
  686. color: #4A4B54;
  687. float: left;
  688. font-weight: bold;
  689. margin-left: 5rpx;
  690. text{
  691. letter-spacing: 4rpx;
  692. font-size: $font-size-32;
  693. }
  694. }
  695. }
  696. }
  697. .p-no{
  698. float: left;
  699. margin-right: 5rpx;
  700. font-size: $font-size-28;
  701. color: $text-color;
  702. }
  703. .p-login-btn{
  704. display: block;
  705. height: 44rpx;
  706. padding: 0 10rpx 0 20rpx;
  707. border-radius: 11rpx;
  708. background: $btn-confirm;
  709. float: right;
  710. line-height: 44rpx;
  711. color: #FFFFFF;
  712. text-align: center;
  713. font-size: $font-size-24;
  714. }
  715. }
  716. }
  717. .wrap-label{
  718. float: left;
  719. width: 100%;
  720. box-sizing: border-box;
  721. .label-a{
  722. padding: 0 18rpx;
  723. line-height: 32rpx;
  724. font-size: $font-size-20;
  725. color:$color-system;
  726. text-align: center;
  727. border-radius: 6rpx;
  728. background:#ffe6dc;
  729. margin: 0 20rpx 15rpx 0;
  730. display: inline-block;
  731. }
  732. }
  733. .wrap-top-price{
  734. float: left;
  735. width: 100%;
  736. box-sizing: border-box;
  737. .wrap-main-item{
  738. width: 100%;
  739. height: 56rpx;
  740. .p-price{
  741. height: 56rpx;
  742. line-height: 56rpx;
  743. float: left;
  744. color: #FF2A2A;
  745. font-weight: bold;
  746. &.none{
  747. text-decoration: line-through;
  748. color: #999999;
  749. font-weight: normal;
  750. }
  751. .txt{
  752. margin:0 2rpx;
  753. }
  754. .txt.sm{
  755. font-size: $font-size-26;
  756. }
  757. .txt.big{
  758. font-size: $font-size-34;
  759. }
  760. }
  761. }
  762. .floor-item-act{
  763. height: 56rpx;
  764. text-align: center;
  765. box-sizing: border-box;
  766. float: left;
  767. padding:10rpx 0;
  768. margin-left: 10rpx;
  769. .floor-tags{
  770. height: 28rpx;
  771. border-radius: 6rpx;
  772. background-color: #FFFFFF;
  773. line-height: 28rpx;
  774. color: $color-system;
  775. text-align: center;
  776. display: inline-block;
  777. padding:0 16rpx;
  778. font-size: $font-size-20;
  779. border: 1px solid #E15616;
  780. float: right;
  781. }
  782. }
  783. .floor-item-btn{
  784. float: left;
  785. height: 40rpx;
  786. margin-top: 8rpx;
  787. .btn{
  788. line-height: 40rpx;
  789. padding: 0 20rpx;
  790. height: 40rpx;
  791. background: $btn-confirm;
  792. color: #FFFFFF;
  793. font-size: $font-size-20;
  794. border-radius: 4rpx;
  795. }
  796. }
  797. }
  798. .wrap-info{
  799. float: left;
  800. width: 702rpx;
  801. padding: 24rpx 24rpx 0 24rpx;
  802. border-bottom: 1px solid #F8F8F8;
  803. .info-viewT{
  804. width: 100%;
  805. min-height: 40rpx;
  806. font-size: $font-size-28;
  807. color: $text-color;
  808. line-height: 40rpx;
  809. text-align: left;
  810. &.none{
  811. color: #999999;
  812. }
  813. .info-viewL{
  814. min-width: 350rpx;
  815. float: left;
  816. margin-bottom: 24rpx;
  817. }
  818. .info-viewR{
  819. min-width: 352rpx;
  820. float: left;
  821. margin-bottom: 24rpx;
  822. }
  823. }
  824. .info-viewB{
  825. width: 100%;
  826. height: auto;
  827. }
  828. .info-f{
  829. width: 50%;
  830. float: left;
  831. font-size: $font-size-28;
  832. color: $text-color;
  833. line-height: 40rpx;
  834. margin-bottom: 24rpx;
  835. text-align: left;
  836. }
  837. }
  838. }
  839. .product-seve{
  840. width: 702rpx;
  841. height: 90rpx;
  842. padding: 0 24rpx;
  843. background-color: #FFFFFF;
  844. position: relative;
  845. display: flex;
  846. line-height: 90rpx;
  847. border-bottom: 20rpx solid #F7F7F7;
  848. .title{
  849. line-height: 90rpx;
  850. display: inline-block;
  851. float: left;
  852. font-size: $font-size-28;
  853. color: $text-color;
  854. }
  855. .iconfont{
  856. color: #fea785;
  857. margin-right: 40rpx;
  858. font-size: $font-size-26;
  859. }
  860. .text{
  861. font-size: $font-size-26;
  862. color: #fea785;
  863. margin-left: 10rpx;
  864. }
  865. }
  866. .product-parameter{
  867. width: 702rpx;
  868. height: 90rpx;
  869. padding: 0 24rpx;
  870. background-color: #FFFFFF;
  871. position: relative;
  872. display: flex;
  873. border-bottom: 20rpx solid #F7F7F7;
  874. .title{
  875. line-height: 90rpx;
  876. display: inline-block;
  877. float: left;
  878. font-size: $font-size-28;
  879. color: #666666;
  880. }
  881. .name{
  882. float: right;
  883. line-height: 90rpx;
  884. display: inline-block;
  885. float: left;
  886. font-size: $font-size-28;
  887. color: $text-color;
  888. float: right;
  889. padding-right: 48rpx;
  890. overflow: hidden;
  891. text-overflow:ellipsis;
  892. white-space: nowrap;
  893. text-align: right;
  894. }
  895. .icon-xiayibu{
  896. line-height: 90rpx;
  897. display: inline-block;
  898. position: absolute;
  899. width: 48rpx;
  900. top: 0;
  901. right: 0;
  902. color: #b2b2b2;
  903. }
  904. }
  905. .product-supplier{
  906. width: 100%;
  907. height: 174rpx;
  908. padding: 30rpx 24rpx;
  909. box-sizing: border-box;
  910. background-color: #FFFFFF;
  911. position: relative;
  912. box-sizing: border-box;
  913. border-bottom: 20rpx solid #F7F7F7;
  914. .logo{
  915. width: 128rpx;
  916. height: 92rpx;
  917. float: left;
  918. border: 1px solid #efefef;
  919. border-radius: 6rpx;
  920. image{
  921. width: 100%;
  922. height: 100%;
  923. display: block;
  924. border-radius: 6rpx;
  925. }
  926. }
  927. .main{
  928. width: 470rpx;
  929. height: 92rpx;
  930. float: left;
  931. margin-left: 20rpx;
  932. .name{
  933. width: 100%;
  934. line-height: 46rpx;
  935. float: left;
  936. font-size: $font-size-28;
  937. color: $text-color;
  938. float: right;
  939. overflow: hidden;
  940. text-overflow:ellipsis;
  941. white-space: nowrap;
  942. text-align: left;
  943. }
  944. .massgs{
  945. width: 100%;
  946. line-height: 46rpx;
  947. float: left;
  948. font-size: $font-size-24;
  949. color: #999999;
  950. .label{
  951. float: left;
  952. }
  953. .p-stars{
  954. float: left;
  955. margin-left: 20rpx;
  956. }
  957. .acount{
  958. float: right;
  959. text{
  960. color: $color-system;
  961. }
  962. }
  963. }
  964. }
  965. .icon-xiayibu{
  966. line-height: 154rpx;
  967. display: inline-block;
  968. position: absolute;
  969. width: 48rpx;
  970. top: 0;
  971. right: 0;
  972. color: #b2b2b2;
  973. }
  974. }
  975. .product-details {
  976. background: #FFFFFF;
  977. border-bottom: 20rpx solid #F7F7F7;
  978. padding: 24rpx;
  979. &.service{
  980. border-bottom: none;
  981. }
  982. &.recommend{
  983. background-color: #F7F7F7;
  984. border-bottom: none;
  985. padding: 0;
  986. .title{
  987. .title-tab{
  988. background-color: #F7F7F7;
  989. color: $text-color;
  990. padding: 0 24rpx;
  991. }
  992. }
  993. }
  994. .title{
  995. width: 100%;
  996. box-sizing: border-box;
  997. // padding: 0 24rpx;
  998. .title-tab{
  999. width: 100%;
  1000. height: 100rpx;
  1001. background: #fff;
  1002. z-index: 10;
  1003. font-size: $font-size-30;
  1004. text-align: left;
  1005. color: $text-color;
  1006. line-height: 100rpx;
  1007. font-weight: 600;
  1008. box-sizing: border-box;
  1009. }
  1010. .title-msg{
  1011. width: 100%;
  1012. height: 236rpx;
  1013. padding: 18rpx;
  1014. background-color: rgba(225,86,22, 0.1);
  1015. color: $color-system;
  1016. box-sizing: border-box;
  1017. margin-bottom: 30rpx;
  1018. .tit{
  1019. line-height: 46rpx;
  1020. font-size: $font-size-24;
  1021. text-align: left;
  1022. }
  1023. .txt{
  1024. line-height: 38rpx;
  1025. font-size: $font-size-20;
  1026. text-align: justify;
  1027. }
  1028. }
  1029. }
  1030. .content{
  1031. width: 100%;
  1032. // background-color: #FFFFFF;
  1033. }
  1034. }
  1035. .isLower{
  1036. width: 100%;
  1037. height: 116rpx;
  1038. line-height: 116rpx;
  1039. text-align: center;
  1040. color: #000000;
  1041. font-size: $font-size-32;
  1042. font-weight: bold;
  1043. }
  1044. .bottom-btn{
  1045. width: 100%;
  1046. height: 110rpx;
  1047. position: fixed;
  1048. bottom: 0;
  1049. left: 0;
  1050. background: #FFFFFF;
  1051. z-index: 99;
  1052. .bottom-le{
  1053. width: 302rpx;
  1054. height: 86rpx;
  1055. padding:12rpx 24rpx;
  1056. float: left;
  1057. .item-bt{
  1058. width: 86rpx;
  1059. height: 100%;
  1060. margin-right:22rpx;
  1061. display: flex;
  1062. float: left;
  1063. flex-direction: column;
  1064. align-items: center;
  1065. font-size: $font-size-24;
  1066. color: $text-color;
  1067. line-height: 34rpx;
  1068. position: relative;
  1069. .animation-num{
  1070. font-size:$font-size-32 ;
  1071. color: #FF2A2A;
  1072. position: absolute;
  1073. top: -12rpx;
  1074. right: 4rpx;
  1075. font-weight: bold;
  1076. }
  1077. .animation{
  1078. animation: showAmnation 2.2s ease-in-out both;
  1079. }
  1080. .restion{
  1081. animation: hideAmnation 1s ease-in-out both;
  1082. }
  1083. .icon-num{
  1084. position: absolute;
  1085. right:-12rpx;
  1086. top: -9rpx;
  1087. }
  1088. .icon-num.goleft{
  1089. right: 4rpx;
  1090. }
  1091. &:last-child{
  1092. margin-right: 0;
  1093. }
  1094. image {
  1095. width: 40rpx;
  1096. height: 40rpx;
  1097. margin-bottom: 8rpx;
  1098. }
  1099. button.contact-btn{
  1100. width: 100%;
  1101. height: 100%;
  1102. margin: 0;
  1103. padding: 0;
  1104. display: flex;
  1105. flex-direction: column;
  1106. align-items: center;
  1107. box-sizing: border-box;
  1108. font-size: $font-size-24;
  1109. text-align: center;
  1110. text-decoration: none;
  1111. line-height: 34rpx;
  1112. border-radius: 0;
  1113. -webkit-tap-highlight-color: transparent;
  1114. overflow: hidden;
  1115. color: $text-color;
  1116. background-color:#FFFFFF;
  1117. }
  1118. }
  1119. }
  1120. .bottom-ri{
  1121. width: 400rpx;
  1122. height: 100%;
  1123. float: right;
  1124. display: flex;
  1125. box-sizing: border-box;
  1126. padding: 13rpx 20rpx 13rpx 0;
  1127. .btn{
  1128. flex: 1;
  1129. width: 200rpx;
  1130. line-height: 84rpx;
  1131. text-align: center;
  1132. font-size: $font-size-28;
  1133. color: #FFFFFF;
  1134. }
  1135. .btn-cart{
  1136. background-color: #ffe6dc;
  1137. color: $color-system;
  1138. border-radius: 42rpx 0 0 42rpx;
  1139. }
  1140. .btn-cart.disabled{
  1141. background-color: #E1E1E1;
  1142. }
  1143. .btn-bay{
  1144. background:linear-gradient(to right, #f28f31 0%, #e15616 100%);
  1145. border-radius: 0 42rpx 42rpx 0;
  1146. }
  1147. .btn-bay.disabled{
  1148. background-color: linear-gradient(135deg,rgba(242,143,49,0.5) 0%,rgba(225,86,22,0.5) 100%);;
  1149. }
  1150. }
  1151. }
  1152. .uni-badge--small {
  1153. -webkit-transform: scale(.8);
  1154. -ms-transform: scale(.8);
  1155. transform: scale(.8);
  1156. -webkit-transform-origin: center center;
  1157. -ms-transform-origin: center center;
  1158. transform-origin: center center;
  1159. }
  1160. .uni-badge {
  1161. font-family: 'Helvetica Neue', Helvetica, sans-serif;
  1162. -webkit-box-sizing: border-box;
  1163. box-sizing: border-box;
  1164. font-size: 12px;
  1165. line-height: 1;
  1166. display: inline-block;
  1167. padding: 3px 6px;
  1168. color: #333;
  1169. border-radius: 100px;
  1170. background-color: #f1f1f1;
  1171. }
  1172. .uni-badge-error {
  1173. color: #fff;
  1174. background-color: #dd524d;
  1175. }
  1176. /* 加入购物模态层*/
  1177. @keyframes showPopup {
  1178. 0% {
  1179. opacity: 0;
  1180. }
  1181. 100% {
  1182. opacity: 1;
  1183. }
  1184. }
  1185. @keyframes hidePopup {
  1186. 0% {
  1187. opacity: 1;
  1188. }
  1189. 100% {
  1190. opacity: 0;
  1191. }
  1192. }
  1193. @keyframes showLayer {
  1194. 0% {
  1195. transform: translateY(0);
  1196. }
  1197. 100% {
  1198. transform: translateY(-100%);
  1199. }
  1200. }
  1201. @keyframes hideLayer {
  1202. 0% {
  1203. transform: translateY(-100%);
  1204. }
  1205. 100% {
  1206. transform: translateY(0);
  1207. }
  1208. }
  1209. @keyframes showAmnation {
  1210. 0% {
  1211. top: -12rpx;
  1212. opacity: 0;
  1213. }
  1214. 50% {
  1215. top: -60rpx;
  1216. opacity: 1;
  1217. }
  1218. 100% {
  1219. top: -100rpx;
  1220. opacity: 0;
  1221. }
  1222. }
  1223. @keyframes hideAmnation {
  1224. 0% {
  1225. top: -100rpx;
  1226. opacity: 0;
  1227. }
  1228. 100% {
  1229. top: -12rpx;
  1230. opacity: 0;
  1231. }
  1232. }
  1233. .popup {
  1234. position: fixed;
  1235. top: 0;
  1236. width: 100%;
  1237. height: 100%;
  1238. z-index: 999;
  1239. display: none;
  1240. .mask{
  1241. position: fixed;
  1242. top: 0;
  1243. width: 100%;
  1244. height: 100%;
  1245. z-index: 21;
  1246. background-color: rgba(0, 0, 0, 0.6);
  1247. }
  1248. .layer {
  1249. position: fixed;
  1250. z-index: 22;
  1251. bottom: -294rpx;
  1252. width: 702rpx;
  1253. padding: 24rpx 24rpx 36rpx 24rpx;
  1254. height: 260rpx;
  1255. border-radius: 20rpx 20rpx 0 0;
  1256. background-color: #fff;
  1257. display: flex;
  1258. flex-wrap: wrap;
  1259. align-content: space-between;
  1260. .content {
  1261. width: 100%;
  1262. }
  1263. .btn {
  1264. width: 100%;
  1265. height: 88rpx;
  1266. margin-top: 20rpx;
  1267. .button {
  1268. width: 100%;
  1269. height: 88rpx;
  1270. color: #fff;
  1271. display: flex;
  1272. align-items: center;
  1273. justify-content: center;
  1274. background: $btn-confirm;
  1275. font-size: $font-size-28;
  1276. border-radius: 14rpx;
  1277. }
  1278. }
  1279. }
  1280. &.show {
  1281. display: block;
  1282. .mask{
  1283. animation: showPopup 0.2s linear both;
  1284. }
  1285. .layer {
  1286. animation: showLayer 0.2s linear both;
  1287. }
  1288. }
  1289. &.hide {
  1290. display: block;
  1291. .mask{
  1292. animation: hidePopup 0.2s linear both;
  1293. }
  1294. .layer {
  1295. animation: hideLayer 0.2s linear both;
  1296. }
  1297. }
  1298. &.none {
  1299. display: none;
  1300. }
  1301. &.service {
  1302. .row {
  1303. margin: 30upx 0;
  1304. .title {
  1305. font-size: 30upx;
  1306. margin: 10upx 0;
  1307. }
  1308. .description {
  1309. font-size: 28upx;
  1310. color: #999;
  1311. }
  1312. }
  1313. }
  1314. .layer-smimg{
  1315. width: 114rpx;
  1316. height: 114rpx;
  1317. float: left;
  1318. border-radius: 10rpx;
  1319. margin-right: 24rpx;
  1320. image{
  1321. width: 114rpx;
  1322. height: 114rpx;
  1323. border-radius: 10rpx;
  1324. }
  1325. }
  1326. .layer-nunbox{
  1327. justify-content: space-between;
  1328. align-items: center;
  1329. width: 536rpx;
  1330. height: auto;
  1331. float: left;
  1332. .layer-nunbox-t{
  1333. width: 100%;
  1334. height:44rpx;
  1335. position:relative;
  1336. display: flex;
  1337. margin-bottom: 10rpx;
  1338. .text{
  1339. font-size: $font-size-24;
  1340. line-height: 48rpx;
  1341. color: #999999;
  1342. }
  1343. .layer-nunbox-text{
  1344. line-height: 44rpx;
  1345. font-size: $font-size-28;
  1346. }
  1347. .number-box{
  1348. display: flex;
  1349. justify-content: center;
  1350. align-items: center;
  1351. .iconfont{
  1352. font-size: $font-size-32;
  1353. padding:0 18rpx;
  1354. font-size: $text-color;
  1355. }
  1356. .btn-input{
  1357. width: 62rpx;
  1358. height: 48rpx;
  1359. line-height: 48rpx;
  1360. background: #F8F8F8;
  1361. border-radius: 4rpx;
  1362. text-align: center;
  1363. font-size: $font-size-28;
  1364. }
  1365. }
  1366. .product-step{
  1367. position: absolute;
  1368. left: 45rpx;
  1369. bottom: 0;
  1370. height: 44rpx;
  1371. background: #FFFFFF;
  1372. }
  1373. }
  1374. .layer-nunbox-b{
  1375. width: 100%;
  1376. height:44rpx;
  1377. margin-top: 13rpx;
  1378. }
  1379. .text{
  1380. line-height: 44rpx;
  1381. font-size: $font-size-28;
  1382. .p{
  1383. color: #FF2A2A;
  1384. }
  1385. .p:first-child{
  1386. margin-left: 30rpx;
  1387. }
  1388. .p.sm{
  1389. font-size: $font-size-24;
  1390. }
  1391. }
  1392. }
  1393. }
  1394. .tui-popup-box {
  1395. position: relative;
  1396. box-sizing: border-box;
  1397. min-height: 220rpx;
  1398. padding:0rpx 24rpx 24rpx 24rpx;
  1399. .title{
  1400. font-size: $font-size-34;
  1401. color: $text-color;
  1402. line-height: 88rpx;
  1403. text-align: center;
  1404. float: left;
  1405. width: 100%;
  1406. height: 88rpx;
  1407. }
  1408. .content{
  1409. width: 100%;
  1410. height: auto;
  1411. float: left;
  1412. .content-tr{
  1413. width: 100%;
  1414. height: 58rpx;
  1415. line-height: 58rpx;
  1416. display: flex;
  1417. .content-td{
  1418. display: flex;
  1419. flex: 3;
  1420. font-size: $font-size-26;
  1421. color: #999999;
  1422. line-height: 58rpx;
  1423. text-align: left;
  1424. }
  1425. .content-th{
  1426. display: flex;
  1427. flex: 7;
  1428. font-size: $font-size-26;
  1429. color: #333333;
  1430. line-height: 58rpx;
  1431. text-align: left;
  1432. }
  1433. }
  1434. }
  1435. }
  1436. .tui-popup-btn {
  1437. width: 100%;
  1438. height: auto;
  1439. float: left;
  1440. margin-top: 24rpx;
  1441. .tui-button{
  1442. width: 100%;
  1443. height: 88rpx;
  1444. background: $btn-confirm;
  1445. line-height: 88rpx;
  1446. text-align: center;
  1447. color: #FFFFFF;
  1448. font-size: $font-size-28;
  1449. border-radius: 44rpx;
  1450. }
  1451. }
  1452. /*富文本样式*/
  1453. rich-text.p{
  1454. width: 702rpx !important;
  1455. padding: 0 24rpx;
  1456. text-align: justify;
  1457. }
  1458. rich-text.img{
  1459. width: 100%;
  1460. height: auto;
  1461. }
  1462. .Disclaimer {
  1463. background: rgba(225,86,22,0.1);
  1464. border-radius:20rpx;
  1465. padding:0 20rpx 20rpx 20rpx;
  1466. font-size: 20rpx;
  1467. color: #e15616;
  1468. margin-bottom: 30rpx
  1469. }
  1470. .Disclaimer span {
  1471. display: block;
  1472. padding: 20rpx 0;
  1473. text-align: left;
  1474. font-size: 24rpx;
  1475. }
  1476. .Disclaimer .text {
  1477. line-height:48rpx;
  1478. }
  1479. .brandinfo{
  1480. color: #333333;
  1481. line-height: 46rpx;
  1482. font-size: 26rpx;
  1483. }
  1484. .imgList{
  1485. width: 702rpx;
  1486. margin: auto;
  1487. height: 710rpx;
  1488. margin-bottom: 20rpx;
  1489. }
  1490. .imgList img{
  1491. width: 100%;
  1492. height: 100%;
  1493. }
  1494. .detailsText{
  1495. padding: 0 30rpx 30rpx 30rpx;
  1496. color: #333333;
  1497. font-size: 24rpx;
  1498. text-align: left;
  1499. }
  1500. </style>