product-details.vue 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509
  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. .btn-none{
  789. font-size: $font-size-34;
  790. line-height: 40rpx;
  791. color: #FF2A2A;
  792. font-weight: bold;
  793. }
  794. }
  795. }
  796. .wrap-info{
  797. float: left;
  798. width: 702rpx;
  799. padding: 24rpx 24rpx 0 24rpx;
  800. border-bottom: 1px solid #F8F8F8;
  801. .info-viewT{
  802. width: 100%;
  803. min-height: 40rpx;
  804. font-size: $font-size-28;
  805. color: $text-color;
  806. line-height: 40rpx;
  807. text-align: left;
  808. &.none{
  809. color: #999999;
  810. }
  811. .info-viewL{
  812. min-width: 350rpx;
  813. float: left;
  814. margin-bottom: 24rpx;
  815. }
  816. .info-viewR{
  817. min-width: 352rpx;
  818. float: left;
  819. margin-bottom: 24rpx;
  820. }
  821. }
  822. .info-viewB{
  823. width: 100%;
  824. height: auto;
  825. }
  826. .info-f{
  827. width: 50%;
  828. float: left;
  829. font-size: $font-size-28;
  830. color: $text-color;
  831. line-height: 40rpx;
  832. margin-bottom: 24rpx;
  833. text-align: left;
  834. }
  835. }
  836. }
  837. .product-seve{
  838. width: 702rpx;
  839. height: 90rpx;
  840. padding: 0 24rpx;
  841. background-color: #FFFFFF;
  842. position: relative;
  843. display: flex;
  844. line-height: 90rpx;
  845. border-bottom: 20rpx solid #F7F7F7;
  846. .title{
  847. line-height: 90rpx;
  848. display: inline-block;
  849. float: left;
  850. font-size: $font-size-28;
  851. color: $text-color;
  852. }
  853. .iconfont{
  854. color: #fea785;
  855. margin-right: 40rpx;
  856. font-size: $font-size-26;
  857. }
  858. .text{
  859. font-size: $font-size-26;
  860. color: #fea785;
  861. margin-left: 10rpx;
  862. }
  863. }
  864. .product-parameter{
  865. width: 702rpx;
  866. height: 90rpx;
  867. padding: 0 24rpx;
  868. background-color: #FFFFFF;
  869. position: relative;
  870. display: flex;
  871. border-bottom: 20rpx solid #F7F7F7;
  872. .title{
  873. line-height: 90rpx;
  874. display: inline-block;
  875. float: left;
  876. font-size: $font-size-28;
  877. color: #666666;
  878. }
  879. .name{
  880. float: right;
  881. line-height: 90rpx;
  882. display: inline-block;
  883. float: left;
  884. font-size: $font-size-28;
  885. color: $text-color;
  886. float: right;
  887. padding-right: 48rpx;
  888. overflow: hidden;
  889. text-overflow:ellipsis;
  890. white-space: nowrap;
  891. text-align: right;
  892. }
  893. .icon-xiayibu{
  894. line-height: 90rpx;
  895. display: inline-block;
  896. position: absolute;
  897. width: 48rpx;
  898. top: 0;
  899. right: 0;
  900. color: #b2b2b2;
  901. }
  902. }
  903. .product-supplier{
  904. width: 100%;
  905. height: 174rpx;
  906. padding: 30rpx 24rpx;
  907. box-sizing: border-box;
  908. background-color: #FFFFFF;
  909. position: relative;
  910. box-sizing: border-box;
  911. border-bottom: 20rpx solid #F7F7F7;
  912. .logo{
  913. width: 128rpx;
  914. height: 92rpx;
  915. float: left;
  916. border: 1px solid #efefef;
  917. border-radius: 6rpx;
  918. image{
  919. width: 100%;
  920. height: 100%;
  921. display: block;
  922. border-radius: 6rpx;
  923. }
  924. }
  925. .main{
  926. width: 470rpx;
  927. height: 92rpx;
  928. float: left;
  929. margin-left: 20rpx;
  930. .name{
  931. width: 100%;
  932. line-height: 46rpx;
  933. float: left;
  934. font-size: $font-size-28;
  935. color: $text-color;
  936. float: right;
  937. overflow: hidden;
  938. text-overflow:ellipsis;
  939. white-space: nowrap;
  940. text-align: left;
  941. }
  942. .massgs{
  943. width: 100%;
  944. line-height: 46rpx;
  945. float: left;
  946. font-size: $font-size-24;
  947. color: #999999;
  948. .label{
  949. float: left;
  950. }
  951. .p-stars{
  952. float: left;
  953. margin-left: 20rpx;
  954. }
  955. .acount{
  956. float: right;
  957. text{
  958. color: $color-system;
  959. }
  960. }
  961. }
  962. }
  963. .icon-xiayibu{
  964. line-height: 154rpx;
  965. display: inline-block;
  966. position: absolute;
  967. width: 48rpx;
  968. top: 0;
  969. right: 0;
  970. color: #b2b2b2;
  971. }
  972. }
  973. .product-details {
  974. background: #FFFFFF;
  975. border-bottom: 20rpx solid #F7F7F7;
  976. padding: 24rpx;
  977. &.service{
  978. border-bottom: none;
  979. }
  980. &.recommend{
  981. background-color: #F7F7F7;
  982. border-bottom: none;
  983. padding: 0;
  984. .title{
  985. .title-tab{
  986. background-color: #F7F7F7;
  987. color: $text-color;
  988. padding: 0 24rpx;
  989. }
  990. }
  991. }
  992. .title{
  993. width: 100%;
  994. box-sizing: border-box;
  995. // padding: 0 24rpx;
  996. .title-tab{
  997. width: 100%;
  998. height: 100rpx;
  999. background: #fff;
  1000. z-index: 10;
  1001. font-size: $font-size-30;
  1002. text-align: left;
  1003. color: $text-color;
  1004. line-height: 100rpx;
  1005. font-weight: 600;
  1006. box-sizing: border-box;
  1007. }
  1008. .title-msg{
  1009. width: 100%;
  1010. height: 236rpx;
  1011. padding: 18rpx;
  1012. background-color: rgba(225,86,22, 0.1);
  1013. color: $color-system;
  1014. box-sizing: border-box;
  1015. margin-bottom: 30rpx;
  1016. .tit{
  1017. line-height: 46rpx;
  1018. font-size: $font-size-24;
  1019. text-align: left;
  1020. }
  1021. .txt{
  1022. line-height: 38rpx;
  1023. font-size: $font-size-20;
  1024. text-align: justify;
  1025. }
  1026. }
  1027. }
  1028. .content{
  1029. width: 100%;
  1030. // background-color: #FFFFFF;
  1031. }
  1032. }
  1033. .isLower{
  1034. width: 100%;
  1035. height: 116rpx;
  1036. line-height: 116rpx;
  1037. text-align: center;
  1038. color: #000000;
  1039. font-size: $font-size-32;
  1040. font-weight: bold;
  1041. }
  1042. .bottom-btn{
  1043. width: 100%;
  1044. height: 110rpx;
  1045. position: fixed;
  1046. bottom: 0;
  1047. left: 0;
  1048. background: #FFFFFF;
  1049. z-index: 99;
  1050. .bottom-le{
  1051. width: 302rpx;
  1052. height: 86rpx;
  1053. padding:12rpx 24rpx;
  1054. float: left;
  1055. .item-bt{
  1056. width: 86rpx;
  1057. height: 100%;
  1058. margin-right:22rpx;
  1059. display: flex;
  1060. float: left;
  1061. flex-direction: column;
  1062. align-items: center;
  1063. font-size: $font-size-24;
  1064. color: $text-color;
  1065. line-height: 34rpx;
  1066. position: relative;
  1067. .animation-num{
  1068. font-size:$font-size-32 ;
  1069. color: #FF2A2A;
  1070. position: absolute;
  1071. top: -12rpx;
  1072. right: 4rpx;
  1073. font-weight: bold;
  1074. }
  1075. .animation{
  1076. animation: showAmnation 2.2s ease-in-out both;
  1077. }
  1078. .restion{
  1079. animation: hideAmnation 1s ease-in-out both;
  1080. }
  1081. .icon-num{
  1082. position: absolute;
  1083. right:-12rpx;
  1084. top: -9rpx;
  1085. }
  1086. .icon-num.goleft{
  1087. right: 4rpx;
  1088. }
  1089. &:last-child{
  1090. margin-right: 0;
  1091. }
  1092. image {
  1093. width: 40rpx;
  1094. height: 40rpx;
  1095. margin-bottom: 8rpx;
  1096. }
  1097. button.contact-btn{
  1098. width: 100%;
  1099. height: 100%;
  1100. margin: 0;
  1101. padding: 0;
  1102. display: flex;
  1103. flex-direction: column;
  1104. align-items: center;
  1105. box-sizing: border-box;
  1106. font-size: $font-size-24;
  1107. text-align: center;
  1108. text-decoration: none;
  1109. line-height: 34rpx;
  1110. border-radius: 0;
  1111. -webkit-tap-highlight-color: transparent;
  1112. overflow: hidden;
  1113. color: $text-color;
  1114. background-color:#FFFFFF;
  1115. }
  1116. }
  1117. }
  1118. .bottom-ri{
  1119. width: 400rpx;
  1120. height: 100%;
  1121. float: right;
  1122. display: flex;
  1123. box-sizing: border-box;
  1124. padding: 13rpx 20rpx 13rpx 0;
  1125. .btn{
  1126. flex: 1;
  1127. width: 200rpx;
  1128. line-height: 84rpx;
  1129. text-align: center;
  1130. font-size: $font-size-28;
  1131. color: #FFFFFF;
  1132. }
  1133. .btn-cart{
  1134. background-color: #ffe6dc;
  1135. color: $color-system;
  1136. border-radius: 42rpx 0 0 42rpx;
  1137. }
  1138. .btn-cart.disabled{
  1139. background-color: #E1E1E1;
  1140. }
  1141. .btn-bay{
  1142. background:linear-gradient(to right, #f28f31 0%, #e15616 100%);
  1143. border-radius: 0 42rpx 42rpx 0;
  1144. }
  1145. .btn-bay.disabled{
  1146. background-color: linear-gradient(135deg,rgba(242,143,49,0.5) 0%,rgba(225,86,22,0.5) 100%);;
  1147. }
  1148. }
  1149. }
  1150. .uni-badge--small {
  1151. -webkit-transform: scale(.8);
  1152. -ms-transform: scale(.8);
  1153. transform: scale(.8);
  1154. -webkit-transform-origin: center center;
  1155. -ms-transform-origin: center center;
  1156. transform-origin: center center;
  1157. }
  1158. .uni-badge {
  1159. font-family: 'Helvetica Neue', Helvetica, sans-serif;
  1160. -webkit-box-sizing: border-box;
  1161. box-sizing: border-box;
  1162. font-size: 12px;
  1163. line-height: 1;
  1164. display: inline-block;
  1165. padding: 3px 6px;
  1166. color: #333;
  1167. border-radius: 100px;
  1168. background-color: #f1f1f1;
  1169. }
  1170. .uni-badge-error {
  1171. color: #fff;
  1172. background-color: #dd524d;
  1173. }
  1174. /* 加入购物模态层*/
  1175. @keyframes showPopup {
  1176. 0% {
  1177. opacity: 0;
  1178. }
  1179. 100% {
  1180. opacity: 1;
  1181. }
  1182. }
  1183. @keyframes hidePopup {
  1184. 0% {
  1185. opacity: 1;
  1186. }
  1187. 100% {
  1188. opacity: 0;
  1189. }
  1190. }
  1191. @keyframes showLayer {
  1192. 0% {
  1193. transform: translateY(0);
  1194. }
  1195. 100% {
  1196. transform: translateY(-100%);
  1197. }
  1198. }
  1199. @keyframes hideLayer {
  1200. 0% {
  1201. transform: translateY(-100%);
  1202. }
  1203. 100% {
  1204. transform: translateY(0);
  1205. }
  1206. }
  1207. @keyframes showAmnation {
  1208. 0% {
  1209. top: -12rpx;
  1210. opacity: 0;
  1211. }
  1212. 50% {
  1213. top: -60rpx;
  1214. opacity: 1;
  1215. }
  1216. 100% {
  1217. top: -100rpx;
  1218. opacity: 0;
  1219. }
  1220. }
  1221. @keyframes hideAmnation {
  1222. 0% {
  1223. top: -100rpx;
  1224. opacity: 0;
  1225. }
  1226. 100% {
  1227. top: -12rpx;
  1228. opacity: 0;
  1229. }
  1230. }
  1231. .popup {
  1232. position: fixed;
  1233. top: 0;
  1234. width: 100%;
  1235. height: 100%;
  1236. z-index: 999;
  1237. display: none;
  1238. .mask{
  1239. position: fixed;
  1240. top: 0;
  1241. width: 100%;
  1242. height: 100%;
  1243. z-index: 21;
  1244. background-color: rgba(0, 0, 0, 0.6);
  1245. }
  1246. .layer {
  1247. position: fixed;
  1248. z-index: 22;
  1249. bottom: -294rpx;
  1250. width: 702rpx;
  1251. padding: 24rpx 24rpx 36rpx 24rpx;
  1252. height: 260rpx;
  1253. border-radius: 20rpx 20rpx 0 0;
  1254. background-color: #fff;
  1255. display: flex;
  1256. flex-wrap: wrap;
  1257. align-content: space-between;
  1258. .content {
  1259. width: 100%;
  1260. }
  1261. .btn {
  1262. width: 100%;
  1263. height: 88rpx;
  1264. margin-top: 20rpx;
  1265. .button {
  1266. width: 100%;
  1267. height: 88rpx;
  1268. color: #fff;
  1269. display: flex;
  1270. align-items: center;
  1271. justify-content: center;
  1272. background: $btn-confirm;
  1273. font-size: $font-size-28;
  1274. border-radius: 14rpx;
  1275. }
  1276. }
  1277. }
  1278. &.show {
  1279. display: block;
  1280. .mask{
  1281. animation: showPopup 0.2s linear both;
  1282. }
  1283. .layer {
  1284. animation: showLayer 0.2s linear both;
  1285. }
  1286. }
  1287. &.hide {
  1288. display: block;
  1289. .mask{
  1290. animation: hidePopup 0.2s linear both;
  1291. }
  1292. .layer {
  1293. animation: hideLayer 0.2s linear both;
  1294. }
  1295. }
  1296. &.none {
  1297. display: none;
  1298. }
  1299. &.service {
  1300. .row {
  1301. margin: 30upx 0;
  1302. .title {
  1303. font-size: 30upx;
  1304. margin: 10upx 0;
  1305. }
  1306. .description {
  1307. font-size: 28upx;
  1308. color: #999;
  1309. }
  1310. }
  1311. }
  1312. .layer-smimg{
  1313. width: 114rpx;
  1314. height: 114rpx;
  1315. float: left;
  1316. border-radius: 10rpx;
  1317. margin-right: 24rpx;
  1318. image{
  1319. width: 114rpx;
  1320. height: 114rpx;
  1321. border-radius: 10rpx;
  1322. }
  1323. }
  1324. .layer-nunbox{
  1325. justify-content: space-between;
  1326. align-items: center;
  1327. width: 536rpx;
  1328. height: auto;
  1329. float: left;
  1330. .layer-nunbox-t{
  1331. width: 100%;
  1332. height:44rpx;
  1333. position:relative;
  1334. display: flex;
  1335. margin-bottom: 10rpx;
  1336. .text{
  1337. font-size: $font-size-24;
  1338. line-height: 48rpx;
  1339. color: #999999;
  1340. }
  1341. .layer-nunbox-text{
  1342. line-height: 44rpx;
  1343. font-size: $font-size-28;
  1344. }
  1345. .number-box{
  1346. display: flex;
  1347. justify-content: center;
  1348. align-items: center;
  1349. .iconfont{
  1350. font-size: $font-size-32;
  1351. padding:0 18rpx;
  1352. font-size: $text-color;
  1353. }
  1354. .btn-input{
  1355. width: 62rpx;
  1356. height: 48rpx;
  1357. line-height: 48rpx;
  1358. background: #F8F8F8;
  1359. border-radius: 4rpx;
  1360. text-align: center;
  1361. font-size: $font-size-28;
  1362. }
  1363. }
  1364. .product-step{
  1365. position: absolute;
  1366. left: 45rpx;
  1367. bottom: 0;
  1368. height: 44rpx;
  1369. background: #FFFFFF;
  1370. }
  1371. }
  1372. .layer-nunbox-b{
  1373. width: 100%;
  1374. height:44rpx;
  1375. margin-top: 13rpx;
  1376. }
  1377. .text{
  1378. line-height: 44rpx;
  1379. font-size: $font-size-28;
  1380. .p{
  1381. color: #FF2A2A;
  1382. }
  1383. .p:first-child{
  1384. margin-left: 30rpx;
  1385. }
  1386. .p.sm{
  1387. font-size: $font-size-24;
  1388. }
  1389. }
  1390. }
  1391. }
  1392. .tui-popup-box {
  1393. position: relative;
  1394. box-sizing: border-box;
  1395. min-height: 220rpx;
  1396. padding:0rpx 24rpx 24rpx 24rpx;
  1397. .title{
  1398. font-size: $font-size-34;
  1399. color: $text-color;
  1400. line-height: 88rpx;
  1401. text-align: center;
  1402. float: left;
  1403. width: 100%;
  1404. height: 88rpx;
  1405. }
  1406. .content{
  1407. width: 100%;
  1408. height: auto;
  1409. float: left;
  1410. .content-tr{
  1411. width: 100%;
  1412. height: 58rpx;
  1413. line-height: 58rpx;
  1414. display: flex;
  1415. .content-td{
  1416. display: flex;
  1417. flex: 3;
  1418. font-size: $font-size-26;
  1419. color: #999999;
  1420. line-height: 58rpx;
  1421. text-align: left;
  1422. }
  1423. .content-th{
  1424. display: flex;
  1425. flex: 7;
  1426. font-size: $font-size-26;
  1427. color: #333333;
  1428. line-height: 58rpx;
  1429. text-align: left;
  1430. }
  1431. }
  1432. }
  1433. }
  1434. .tui-popup-btn {
  1435. width: 100%;
  1436. height: auto;
  1437. float: left;
  1438. margin-top: 24rpx;
  1439. .tui-button{
  1440. width: 100%;
  1441. height: 88rpx;
  1442. background: $btn-confirm;
  1443. line-height: 88rpx;
  1444. text-align: center;
  1445. color: #FFFFFF;
  1446. font-size: $font-size-28;
  1447. border-radius: 44rpx;
  1448. }
  1449. }
  1450. /*富文本样式*/
  1451. rich-text.p{
  1452. width: 702rpx !important;
  1453. padding: 0 24rpx;
  1454. text-align: justify;
  1455. }
  1456. rich-text.img{
  1457. width: 100%;
  1458. height: auto;
  1459. }
  1460. .Disclaimer {
  1461. background: rgba(225,86,22,0.1);
  1462. border-radius:20rpx;
  1463. padding:0 20rpx 20rpx 20rpx;
  1464. font-size: 20rpx;
  1465. color: #e15616;
  1466. margin-bottom: 30rpx
  1467. }
  1468. .Disclaimer span {
  1469. display: block;
  1470. padding: 20rpx 0;
  1471. text-align: left;
  1472. font-size: 24rpx;
  1473. }
  1474. .Disclaimer .text {
  1475. line-height:48rpx;
  1476. }
  1477. .brandinfo{
  1478. color: #333333;
  1479. line-height: 46rpx;
  1480. font-size: 26rpx;
  1481. }
  1482. .imgList{
  1483. width: 702rpx;
  1484. margin: auto;
  1485. height: 710rpx;
  1486. margin-bottom: 20rpx;
  1487. }
  1488. .imgList img{
  1489. width: 100%;
  1490. height: 100%;
  1491. }
  1492. .detailsText{
  1493. padding: 0 30rpx 30rpx 30rpx;
  1494. color: #333333;
  1495. font-size: 24rpx;
  1496. text-align: left;
  1497. }
  1498. </style>