product-details.vue 52 KB

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