product-details.vue 35 KB

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