product-details.vue 35 KB

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