product-details.vue 34 KB

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