product-details.vue 34 KB

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