product-details.vue 35 KB

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