shopdetail.vue 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626
  1. <template>
  2. <view>
  3. <view class="detail-header">
  4. <!-- <image :src="shop.imgUrl"></image>-->
  5. <view class="head">
  6. <view class="info">
  7. <view class="title">{{shop.storeName|truncate(10)}}</view>
  8. <view class="address">{{!shop.address || shop.address.address|truncate(15)}}</view>
  9. </view>
  10. <image class="shopIcon" :src="shop.storePicUrl"></image>
  11. <!-- <view class="card">-->
  12. <!-- </view>-->
  13. </view>
  14. <van-tabs :active="active" @change="onChange" sticky>
  15. <van-tab title="点 单">
  16. <view class="container">
  17. <scroll-view class="left-menu" scroll-y="true">
  18. <block v-for="(type, index) in types" :key="index">
  19. <view class="menu-item" :class="{ active: index === activeIndex }" @tap="scrollToElement('type_'+ (index+1))" >{{ type.productTypeName }}</view>
  20. </block>
  21. </scroll-view>
  22. <scroll-view class="right-content" scroll-y="true" style="height: calc(100vh - 100rpx);" @scroll="onScroll" :scroll-into-view="scrollIntoView">
  23. <block v-for="(type, index) in types" :key="index">
  24. <view style="font-weight: bolder;font-size: 30rpx;margin-left: 10rpx;margin-top: 2px" :id='"type_"+ (index+1)'>{{type.productTypeName}}</view>
  25. <block v-for="(product, idx) in getProjectsByType(index)" :key="idx">
  26. <!-- <van-card ></van-card>-->
  27. <my-card :product="product" card-height="200rpx" card-width="210px"></my-card>
  28. </block>
  29. </block>
  30. <view style="height: 60px; width: 100%;"></view>
  31. <!-- <block v-for="(product, index) in products" :key="index">-->
  32. <!-- <view class="product-item">{{ product.name }}</view>-->
  33. <!-- </block>-->
  34. </scroll-view>
  35. </view>
  36. </van-tab>
  37. <van-tab title="评 价">
  38. <view class="review-container">
  39. <!-- <view class="header">-->
  40. <!-- <view class="title">商品评论</view>-->
  41. <!-- <view class="filter">-->
  42. <!-- <text>默认时间排序</text>-->
  43. <!-- </view>-->
  44. <!-- </view>-->
  45. <view class="review-list">
  46. <view class="review-item" v-for="(review, index) in sortedReviews" :key="index">
  47. <view class="item-header">
  48. <view class="user-info">
  49. <image class="avatar" :src="review.avatar" mode="aspectFill"></image>
  50. <text class="username">{{ review.username }}</text>
  51. </view>
  52. <view class="rating">
  53. <van-rate :value="review.rating" readonly />
  54. </view>
  55. </view>
  56. <view class="review-content">{{ review.content }}</view>
  57. <view class="item-footer">
  58. <text class="date">{{ formatDate(review.date) }}</text>
  59. <view class="actions">
  60. <van-icon name="like-o" @click="like(index)" :class="{ liked: review.liked }" />
  61. <van-icon name="warning-o" @click="showActionSheet(index)" />
  62. </view>
  63. </view>
  64. </view>
  65. <view class="add-review-btn" @click="showReviewModal = true">我要评论</view>
  66. <van-popup :show="showReviewModal" position="bottom" round :close-on-click-overlay="true" @close="closeReviewModal">
  67. <view class="review-modal">
  68. <view class="modal-header">发表评论</view>
  69. <view class="modal-content">
  70. <van-rate :value="newReview.rating" size="25" allow-half void-color="#eee" @change="onRate"/>
  71. <van-field :value="contentValue" rows="4" autosize type="textarea" @change="onContentChange" maxlength="200" placeholder="请输入评论内容" show-word-limit />
  72. </view>
  73. <view class="modal-footer" >
  74. <van-button type="primary" size="small" @click="submitReview">发表</van-button>
  75. </view>
  76. </view>
  77. </van-popup>
  78. </view>
  79. <van-action-sheet :show="showSheet" :actions="actions" @select="onSelect" />
  80. </view>
  81. </van-tab>
  82. <van-tab title="监 控">
  83. <view v-if="active === 2" class="monitor-view">
  84. <!-- <video class="monitor-video" :src="videoSrc" :autoplay="true" :loop="true" :muted="true" :show-play-btn="false" :controls="false" :objectFit="fill" ></video> -->
  85. <view class="monitor-info">
  86. <!-- <image class="monitor-img" src="../static/vedio/1.jpg" mode="aspectFit"></image> -->
  87. <text class="monitor-text">请去PC端查看更多内容</text>
  88. <text class="monitor-text">......</text>
  89. </view>
  90. <!-- <video
  91. id="myVideo"
  92. :src="videoSrc"
  93. :controls="controls"
  94. :autoplay="autoplay"
  95. style="width: 100%; height: 300px;"
  96. ></video> -->
  97. <!-- <video></video>-->
  98. </view>
  99. </van-tab>
  100. <!-- <van-tab title="标签 4">内容 4</van-tab>-->
  101. </van-tabs>
  102. </view>
  103. <view v-show="active === 0">
  104. <view class="order">
  105. <view class="order-footer">
  106. <view class="discount-info" @click="showPop">
  107. <div class="icon-container">
  108. <van-icon name="balance-o" size="30"></van-icon>
  109. <div class="badge" v-show="total()>0">{{ total() }}</div>
  110. </div>^
  111. </view>
  112. <view class="order-action">
  113. <view class="order-detail" @click="showOrderDetail">
  114. <text>¥0</text>
  115. <text>免配送费</text>
  116. </view>
  117. <view class="pay-button" @click="navigateToPayment">
  118. <text v-show="checkedGoodsAmount()<0">¥{{ 20 }}起送</text>
  119. <text v-show="checkedGoodsAmount()>=
  120. 0">¥{{ checkedGoodsAmount()}}</text>
  121. </view>
  122. </view>
  123. </view>
  124. </view>
  125. </view>
  126. <!-- <view class="shop-container">-->
  127. <!-- <van-tabs :active="active " @change="onChange" swipeable sticky :ellipsis="false">-->
  128. <!-- <van-tab title="全部饮品" name='all' sticky>-->
  129. <!-- </van-tab>-->
  130. <!-- <van-tab v-for="(item,index) in types " :key="index" :title="item.name" :name='item.id' >-->
  131. <!--&lt;!&ndash; <my-menu-index :projects='projects'></my-menu-index>&ndash;&gt;-->
  132. <!-- </van-tab>-->
  133. <!-- </van-tabs>-->
  134. <!-- </view>-->
  135. </view>
  136. </template>
  137. <script>
  138. import {mapState,mapMutations,mapGetters} from'vuex'
  139. export default {
  140. onLoad(args) {
  141. console.log(args.shopID, 'shopdetail')
  142. this.shop=this.getShopById()(args.shopID)
  143. console.log(args,"啊啊啊")
  144. console.log(this.shop.address.address)
  145. this.distance=this.getDistance()(10)
  146. this.products=this.shop.products
  147. let types=this.shop.productTypes
  148. this.types=types
  149. // for (let i=0;i<types.length;i++){
  150. // this.types.push( { id: i+1, name: types[i] } )
  151. // }
  152. // console.log(this.getDistance()(10))
  153. // console.log(this.shop,"是吗")
  154. // console.log(this.projects)
  155. console.log(this.types)
  156. console.log(this.products)
  157. // console.log(this.getShopById(args.shopID)())
  158. },
  159. data() {
  160. return {
  161. videoSrc: '../../static/vedio/1.mp4',
  162. showReviewModal: false,
  163. newReview: {
  164. avatar: this.getAvatarUrl(), // 默认头像
  165. username: this.getUserName(),
  166. rating: 5,
  167. content: '',
  168. date: new Date().toISOString().slice(0, 10),
  169. liked: false
  170. },
  171. contentValue: '',
  172. reviews: [
  173. {
  174. avatar: '../../static/avator/1.jpg',
  175. username: '张三',
  176. rating: 5,
  177. content: '这家水果店的苹果真是太好吃了,甜度刚刚好,口感也很脆甜。',
  178. date: '2024-05-01',
  179. liked: false
  180. },
  181. {
  182. avatar: '../../static/avator/2.jpg',
  183. username: '李斯',
  184. rating: 4,
  185. content: '香蕉的品质一般,个头较小,但口感还可以。',
  186. date: '2024-04-28',
  187. liked: false
  188. },
  189. {
  190. avatar: '../../static/avator/3.jpg',
  191. username: '辛雨东',
  192. rating: 3,
  193. content: '橘子的甜度不够,希望下次能够更甜一些。',
  194. date: '2024-04-25',
  195. liked: false
  196. },
  197. {
  198. avatar: '../../static/avator/4.jpg',
  199. username: '默认名称200151024',
  200. rating: 5,
  201. content: '这家店的樱桃真是太棒了,个头大颗颗饱满,甜度也刚刚好,非常满意!',
  202. date: '2024-04-20',
  203. liked: false
  204. },{
  205. avatar: '../../static/avator/5.jpg',
  206. username: '李晓',
  207. rating: 4,
  208. content: '草莓新鲜可口,个头也很大,值得推荐。',
  209. date: '2024-04-20',
  210. liked: false
  211. },
  212. {
  213. avatar: '../../static/avator/6.jpg',
  214. username: '钱齐星',
  215. rating: 5,
  216. content: '西瓜非常甜脆,吃起来非常解渴,很满意。',
  217. date: '2024-04-20',
  218. liked: false
  219. },
  220. {
  221. avatar: '../../static/avator/7.jpg',
  222. username: '刘王雪',
  223. rating: 3,
  224. content: '柚子的味道不错,但个头偏小,希望可以选到更大的。',
  225. date: '2024-04-20',
  226. liked: false
  227. }
  228. ],
  229. showSheet: false,
  230. actions: [{ name: '我要举报' }, { name: '取消' }],
  231. currentIndex: -1,
  232. shop: {},
  233. projects: [],
  234. distance:0,
  235. active: 0,
  236. //
  237. types: [
  238. { id: '1', productName: '类型1' },
  239. { id: '2', productName: '类型2' },
  240. { id: '3', productName: '类型3' },
  241. // 其他类型...
  242. ],
  243. products: [
  244. { type: '1', name: '商品1' },
  245. { type: '1', name: '商品1' },
  246. { type: '1', name: '商品1' },
  247. { type: '1', name: '商品1' },
  248. { type: '1', name: '商品1' },
  249. { type: '1', name: '商品1' },
  250. { type: '1', name: '商品1' },
  251. { type: '1', name: '商品1' },
  252. { type: '1', name: '商品2' },
  253. { type: '1', name: '商品2' },
  254. { type: '1', name: '商品2' },
  255. { type: '1', name: '商品2' },
  256. { type: '1', name: '商品2' },
  257. { type: '2', name: '商品3' },
  258. { type: '2', name: '商品3' },
  259. { type: '2', name: '商品3' },
  260. { type: '2', name: '商品3' },
  261. { type: '2', name: '商品4' },
  262. { type: '2', name: '商品4' },
  263. { type: '2', name: '商品4' },
  264. { type: '2', name: '商品4' },
  265. { type: '3', name: '商品5' },
  266. // 其他商品...
  267. ],
  268. scrollIntoView: ''
  269. };
  270. },
  271. computed: {
  272. sortedReviews() {
  273. return this.reviews.sort((a, b) => new Date(b.date) - new Date(a.date))
  274. },
  275. newReviewContent() {
  276. return this.newReview.content.toString();
  277. },
  278. }, watch: {
  279. newReviewContent(newVal) {
  280. this.contentValue = newVal;
  281. }
  282. },
  283. methods: {
  284. ...mapGetters('m_shop',['getTypeById','getProductById']),
  285. ...mapGetters('m_user',['getUserName','getAvatarUrl']),
  286. onContentChange(event) {
  287. console.log(event)
  288. this.newReview.content = event.detail;
  289. },
  290. onRate(event) {
  291. console.log(event)
  292. this.newReview.rating = event.detail;
  293. },
  294. scrollToElement: function(target) {
  295. console.log('滚不滚')
  296. this.scrollIntoView = target; // 滚动到指定元素
  297. },submitReview() {
  298. console.log(this.newReview)
  299. // return
  300. if (this.newReview.content.trim() !== '') {
  301. console.log('来了')
  302. this.reviews.unshift(this.newReview);
  303. this.newReview = {
  304. avatar: this.getAvatarUrl(),
  305. username: this.getUserName(),
  306. rating: 5,
  307. content: '',
  308. date: new Date().toISOString().slice(0, 10),
  309. liked: false
  310. };
  311. this.showReviewModal = false;
  312. }
  313. console.log(this.reviews,"reviews")
  314. },
  315. closeReviewModal() {
  316. this.showReviewModal = false;
  317. this.newReview.content = '';
  318. },
  319. showPop() {
  320. },
  321. ...mapGetters('m_shop', {'getShopById':'getShopById', 'getDistance':'getDistance'}),
  322. ...mapGetters('m_proj',{'getProjects':'getProjects','getTypes':'getTypes'}),
  323. ...mapGetters('m_cart', {'total':'total','checkedGoodsAmount':'checkedGoodsAmount'}),//total:计算数量,checkedGoodsAmount:计算总价
  324. //
  325. getProjectsByType(idx){
  326. // console.log(idx)
  327. // console.log(this.products)
  328. let mp={
  329. 0:[1,2,4,5],
  330. 1:[3,2,4,6],
  331. 2:[8,9,7,6],
  332. 3:[10,11,12,13],
  333. 4:[14,15,16,10],
  334. 5:[10,3,13,2],
  335. }
  336. let ret=[]
  337. if (!mp[idx]) return
  338. for (let i=0;i<mp[idx].length;i++){
  339. ret.push(this.products[mp[idx][i]-1])
  340. }
  341. console.log(ret)
  342. return ret
  343. },
  344. onChange(event) {
  345. console.log(event)
  346. console.log(this.active)
  347. this.active = event.detail.index;
  348. console.log(this.active)
  349. },
  350. scrollToView(index) {
  351. const typeId = this.types[index].id;
  352. this.activeIndex = index;
  353. this.$nextTick(() => {
  354. uni.pageScrollTo({
  355. selector: `#type_${typeId}`,
  356. duration: 300
  357. });
  358. });
  359. },
  360. onScroll(event) {
  361. const scrollTop = event.detail.scrollTop;
  362. const types = this.types;
  363. let currentTypeIndex = 0;
  364. for (let i = 0; i < types.length; i++) {
  365. const typeId = types[i].id;
  366. const query = uni.createSelectorQuery();
  367. query.select('#type_' + typeId).boundingClientRect();
  368. query.exec((res) => {
  369. if (res && res[0] && res[0].top <= 0) {
  370. currentTypeIndex = i;
  371. }
  372. });
  373. }
  374. this.activeIndex = currentTypeIndex;
  375. },
  376. showOrderDetail() {
  377. // 显示订单详情界面的逻辑
  378. },
  379. pay() {
  380. // 付款逻辑
  381. },
  382. formatDate(dateStr) {
  383. const date = new Date(dateStr)
  384. const year = date.getFullYear()
  385. const month = String(date.getMonth() + 1).padStart(2, '0')
  386. const day = String(date.getDate()).padStart(2, '0')
  387. return `${year}-${month}-${day}`
  388. },
  389. like(index) {
  390. this.reviews[index].liked = !this.reviews[index].liked
  391. },
  392. showActionSheet(index) {
  393. this.currentIndex = index
  394. this.showSheet = true
  395. },
  396. onSelect(event) {
  397. if (event.detail.name === '我要举报') {
  398. // 执行举报操作
  399. console.log(`举报第${this.currentIndex + 1}条评论`)
  400. uni.showToast({
  401. title: '举报成功',
  402. icon: 'success',
  403. duration: 3000
  404. });
  405. }
  406. this.showSheet = false
  407. },
  408. navigateToPayment() {
  409. uni.navigateTo({
  410. url: '/subpkg/payment/payment?shopTitle=' + this.shop.storeName+'&shopId=' + this.shop.id
  411. });
  412. }
  413. },
  414. filters: {
  415. formatPrice(price) {
  416. return '¥' + price.toFixed(2);
  417. },
  418. // 字数过长用...限制
  419. truncate(value, length = 10) {
  420. if (!value) return '';
  421. if (value.length > length) {
  422. return value.slice(0, length) + '...';
  423. }
  424. return value;
  425. }
  426. }
  427. }
  428. </script>
  429. <style lang="scss">
  430. .icon-container {
  431. position: relative;
  432. display: inline-block;
  433. }
  434. .badge {
  435. position: absolute;
  436. top: -5px;
  437. right: -5px;
  438. background-color: red;
  439. color: white;
  440. border-radius: 50%;
  441. padding: 2px 6px;
  442. font-size: 12px;
  443. }
  444. page {
  445. background-color: #f5f5f5;
  446. //overflow: hidden;
  447. }
  448. .head{
  449. display: flex;
  450. align-items: center;
  451. justify-content: space-around;
  452. .info{
  453. //上下布局
  454. display: flex;
  455. flex-direction: column;
  456. align-items: center;
  457. .title{
  458. font-weight: bold;
  459. font-size: 40rpx;
  460. margin-bottom: 20rpx;
  461. }
  462. .address{
  463. font-size: 30rpx;
  464. color: #999;
  465. margin-bottom: 20rpx;
  466. }
  467. }
  468. image{
  469. width: 130rpx;
  470. height: 130rpx;
  471. border-radius: 2%;
  472. margin-right: 20rpx;
  473. margin-left: 20rpx;
  474. }
  475. }
  476. .header {
  477. display: flex;
  478. align-items: center;
  479. justify-content: center;
  480. width: 100%;
  481. height: 130rpx;
  482. position: fixed;
  483. top: 0;
  484. z-index: 900;
  485. background-color: #fff;
  486. box-shadow: 0 0 10rpx rgba(0, 0, 0, .05);
  487. .left {
  488. flex: 0 0 60%;
  489. display: flex;
  490. flex-direction: column;
  491. justify-content: center;
  492. .title {
  493. width: 90%;
  494. color: #343434;
  495. font-size: 30rpx;
  496. font-weight: bold;
  497. text-overflow: ellipsis;
  498. white-space: nowrap;
  499. overflow: hidden;
  500. }
  501. .address {
  502. width: 90%;
  503. color: #999;
  504. font-size: 26rpx;
  505. padding-top: 6rpx;
  506. text-overflow: ellipsis;
  507. white-space: nowrap;
  508. overflow: hidden;
  509. }
  510. }
  511. .right {
  512. flex: 0 0 35%;
  513. display: flex;
  514. flex-direction: column;
  515. align-items: flex-end;
  516. .type {
  517. display: flex;
  518. width: 180rpx;
  519. height: 60rpx;
  520. border-radius: 100rpx;
  521. align-items: center;
  522. justify-content: center;
  523. font-size: 26rpx;
  524. .name {
  525. background-color: #343434;
  526. color: #fff;
  527. width: 86rpx;
  528. border-radius: 100rpx;
  529. display: flex;
  530. align-items: center;
  531. justify-content: center;
  532. height: 54rpx;
  533. transition: all .3s;
  534. }
  535. .text {
  536. width: 86rpx;
  537. display: flex;
  538. align-items: center;
  539. justify-content: center;
  540. color: #fff;
  541. }
  542. }
  543. .more {
  544. color: #999;
  545. font-size: 24rpx;
  546. display: flex;
  547. align-items: center;
  548. padding-top: 6rpx;
  549. icon {
  550. padding-left: 4rpx;
  551. }
  552. }
  553. }
  554. }
  555. .goodsBox {
  556. width: 100%;
  557. display: flex;
  558. .left {
  559. flex: 0 0 28%;
  560. .menuList {
  561. overflow-y: scroll;
  562. padding-bottom: 20rpx;
  563. .menu {
  564. color: #999999;
  565. font-size: 26rpx;
  566. padding: 30rpx 10rpx;
  567. text-align: center;
  568. background-color: transparent;
  569. border-left: 6rpx solid transparent;
  570. transition: all 0.6s;
  571. }
  572. .active {
  573. font-weight: bold;
  574. background-color: #FFFFFF;
  575. }
  576. }
  577. }
  578. .right {
  579. flex: 0 0 72%;
  580. background-color: #FFFFFF;
  581. .swiperBpx {
  582. width: 95%;
  583. margin: 0 auto;
  584. padding-top: 14rpx;
  585. position: relative;
  586. swiper {
  587. height: 220rpx;
  588. .swiper-item {
  589. width: 100%;
  590. height: 100%;
  591. display: flex;
  592. align-items: center;
  593. justify-content: center;
  594. color: #FFFFFF;
  595. font-size: 56rpx;
  596. }
  597. }
  598. .swiperDots {
  599. position: absolute;
  600. left: 0;
  601. right: 0;
  602. bottom: 12rpx;
  603. display: flex;
  604. justify-content: center;
  605. height: 10rpx;
  606. .dot {
  607. margin: 0 5rpx;
  608. width: 25rpx;
  609. height: 4rpx;
  610. background: #fff;
  611. border-radius: 20rpx;
  612. transition: all 0.6s;
  613. opacity: 0.5;
  614. }
  615. .active {
  616. opacity: 1;
  617. }
  618. }
  619. }
  620. .goodsList{
  621. width: 95%;
  622. margin: 0 auto;
  623. .gheader{
  624. font-weight: bold;
  625. font-size: 26rpx;
  626. display: flex;
  627. height: 100rpx;
  628. align-items: center;
  629. }
  630. .goods{
  631. display: flex;
  632. position: relative;
  633. padding-bottom: 20rpx;
  634. margin-bottom: 20rpx;
  635. .left{
  636. flex: 0 0 30%;
  637. display: flex;
  638. .image{
  639. width: 140rpx;
  640. height: 140rpx;
  641. background-color: #f5f5f5;
  642. border-radius: 6rpx;
  643. overflow: hidden;
  644. position: relative;
  645. .icon{
  646. position: absolute;
  647. top: 0;
  648. left: 0;
  649. }
  650. .none{
  651. position: absolute;
  652. top: 0;
  653. left: 0;
  654. width: 100%;
  655. height: 100%;
  656. background-color: rgba(255,255,255,.6);
  657. display: flex;
  658. align-items: center;
  659. justify-content: center;
  660. font-size: 26rpx;
  661. color: #999;
  662. }
  663. }
  664. }
  665. .right{
  666. flex: 0 0 70%;
  667. .title{
  668. color:#343434;
  669. font-size:26rpx;
  670. font-weight:bold;
  671. }
  672. .intro{
  673. color:#999;
  674. font-size:24rpx;
  675. overflow: hidden;
  676. text-overflow: ellipsis;
  677. display: -webkit-box;
  678. -webkit-line-clamp: 2;
  679. -webkit-box-orient: vertical;
  680. padding-top: 4rpx;
  681. }
  682. .box{
  683. display:flex;
  684. align-items:center;
  685. padding-top: 10rpx;
  686. position: relative;
  687. .price{
  688. color:#343434;
  689. font-size:28rpx;
  690. font-weight:bold;
  691. flex: 0 0 50%
  692. }
  693. .button{
  694. flex: 0 0 50%;
  695. display: flex;
  696. justify-content: flex-end;
  697. .text{
  698. background-color: #d3aa79;
  699. color: #fff;
  700. font-size: 24rpx;
  701. padding: 4rpx 16rpx;
  702. border-radius: 100rpx;
  703. }
  704. }
  705. }
  706. }
  707. }
  708. }
  709. }
  710. }
  711. .footer{
  712. position:fixed;
  713. bottom: 140rpx;
  714. width:92%;
  715. left:0;
  716. right: 0;
  717. height:80rpx;
  718. margin: 0 auto;
  719. border-radius: 100rpx;
  720. background-color:#fff;
  721. display:flex;
  722. align-items:center;
  723. z-index:899;
  724. box-shadow: 0 0 20rpx rgba(0,0,0,.05);
  725. .label{
  726. color: #fff;
  727. width: 100%;
  728. height: 100%;
  729. display: flex;
  730. align-items: center;
  731. justify-content: center;
  732. }
  733. .left{
  734. flex: 0 0 70%;
  735. display: flex;
  736. align-items: center;
  737. justify-content: flex-end;
  738. height: 100%;
  739. .cart{
  740. position: absolute;
  741. width: 180rpx;
  742. height: 100%;
  743. left: 0;
  744. color: #343434;
  745. font-size: 26rpx;
  746. display: flex;
  747. align-items: center;
  748. justify-content: center;
  749. icon{
  750. padding-right: 8rpx;
  751. }
  752. text{
  753. position: absolute;
  754. top: -8rpx;
  755. right: -12rpx;
  756. background-color: #d3aa79;
  757. border-radius: 100%;
  758. width: 36rpx;
  759. height: 36rpx;
  760. display: flex;
  761. align-items: center;
  762. justify-content: center;
  763. color: #fff;
  764. font-size: 24rpx;
  765. }
  766. }
  767. .price{
  768. color:#343434;
  769. font-size:30rpx;
  770. padding-right: 30rpx;
  771. font-weight: bold;
  772. }
  773. }
  774. .right{
  775. flex: 0 0 30%;
  776. height: 100%;
  777. border-top-right-radius: 100rpx;
  778. border-bottom-right-radius: 100rpx;
  779. overflow: hidden;
  780. .button{
  781. width: 100%;
  782. height: 100%;
  783. color: #FFFFFF;
  784. display: flex;
  785. align-items: center;
  786. justify-content: center;
  787. background-color:#d3aa79;
  788. }
  789. .none{
  790. background-color:#bbbbbb;
  791. }
  792. }
  793. }
  794. .footerX{
  795. bottom: 166rpx;
  796. }
  797. .showPopBox{
  798. position: fixed;
  799. top: 0;
  800. left: 0;
  801. width: 100%;
  802. height: 100%;
  803. background-color: rgba(0,0,0,.5);
  804. z-index: 970;
  805. transition: all 0.3s;
  806. .bg{
  807. position: absolute;
  808. top: 0;
  809. left: 0;
  810. width: 100%;
  811. height: 100%;
  812. z-index: 971;
  813. }
  814. .showContent{
  815. position: absolute;
  816. z-index: 972;
  817. width: 100%;
  818. max-height: 600rpx;
  819. bottom: 120rpx;
  820. background-color: #fff;
  821. left: 0;
  822. .sheade{
  823. width: 100%;
  824. background-color: #f2f2f2;
  825. font-size: 24rpx;
  826. height: 56rpx;
  827. display: flex;
  828. align-items: center;
  829. .left{
  830. flex: 0 0 50%;
  831. .text{
  832. color: #999;
  833. padding-left: 20rpx;
  834. }
  835. }
  836. .right{
  837. flex: 0 0 50%;
  838. .text{
  839. color: #999;
  840. display: flex;
  841. align-items: center;
  842. justify-content: flex-end;
  843. padding-right: 20rpx;
  844. icon{
  845. padding-right: 6rpx;
  846. }
  847. }
  848. }
  849. }
  850. .sconten{
  851. max-height: 544rpx;
  852. overflow-y: scroll;
  853. .goods{
  854. width: 95%;
  855. margin: 0 auto;
  856. display: flex;
  857. align-items: center;
  858. border-bottom: 1px dashed #f5f5f5;
  859. height: 110rpx;
  860. .left{
  861. flex: 0 0 60%;
  862. .title{
  863. color:#343434;
  864. }
  865. .label{
  866. color:#999;
  867. font-size: 24rpx;
  868. }
  869. }
  870. .right{
  871. flex: 0 0 40%;
  872. display: flex;
  873. align-items: center;
  874. justify-content: flex-end;
  875. .price{
  876. flex: 0 0 40%;
  877. color:#343434;
  878. }
  879. .buy{
  880. display: flex;
  881. align-items: center;
  882. justify-content: center;
  883. flex: 0 0 60%;
  884. input{
  885. text-align: center;
  886. color:#343434;
  887. }
  888. text{
  889. color: #999;
  890. font-size: 24rpx;
  891. }
  892. }
  893. }
  894. }
  895. }
  896. }
  897. .infoContent{
  898. position: absolute;
  899. z-index: 972;
  900. width: 100%;
  901. max-height: 55vh;
  902. top: 130rpx;
  903. background-color: #fff;
  904. left: 0;
  905. overflow-y: scroll;
  906. padding-bottom: 20rpx;
  907. padding-top: 10rpx;
  908. .label{
  909. width: 95%;
  910. margin: 0 auto;
  911. padding: 12rpx 0;
  912. .title{
  913. color: #343434;
  914. font-size: 26rpx;
  915. }
  916. .text{
  917. color: #999;
  918. font-size: 24rpx;
  919. padding-top: 4rpx;
  920. }
  921. }
  922. .images{
  923. display: flex;
  924. align-items: center;
  925. flex-wrap: wrap;
  926. padding-top: 6rpx;
  927. .image{
  928. width: 200rpx;
  929. height: 200rpx;
  930. border: 2rpx solid #f5f5f5;
  931. background-color: #f5f5f5;
  932. margin-right: 20rpx;
  933. position: relative;
  934. .text{
  935. position: absolute;
  936. bottom: 0;
  937. left: 0;
  938. width: 100%;
  939. background-color: rgba(255,255,255,.6);
  940. height: 50rpx;
  941. display: flex;
  942. align-items: center;
  943. justify-content: center;
  944. color: #666;
  945. font-size: 26rpx;
  946. }
  947. }
  948. }
  949. }
  950. .goodsConten{
  951. position: absolute;
  952. z-index: 972;
  953. width: 80%;
  954. background-color: #fff;
  955. border-radius: 10rpx;
  956. padding-bottom: 20rpx;
  957. margin-top: -5vh;
  958. box-shadow: 0 10rpx 20rpx rgba(0,0,0,.06);
  959. .image{
  960. width: 100%;
  961. height: 320rpx;
  962. display: flex;
  963. align-items: center;
  964. justify-content: center;
  965. position: relative;
  966. icon{
  967. position: absolute;
  968. }
  969. }
  970. .title{
  971. width: 90%;
  972. margin: 0 auto;
  973. padding-top: 10rpx;
  974. padding-bottom: 10rpx;
  975. color: #343434;
  976. font-weight: bold;
  977. }
  978. .moreBox{
  979. width: 90%;
  980. margin: 0 auto;
  981. .label{
  982. padding-bottom: 10rpx;
  983. .stitle{
  984. padding-bottom: 10rpx;
  985. text{
  986. color: #999;
  987. font-size: 26rpx;
  988. }
  989. }
  990. .specBox{
  991. display: flex;
  992. flex-wrap: wrap;
  993. .spec{
  994. border: 1px solid #eee;
  995. padding: 8rpx 20rpx;
  996. margin-right: 12rpx;
  997. font-size: 24rpx;
  998. color: #999999;
  999. }
  1000. .active{
  1001. color: #FFFFFF;
  1002. }
  1003. }
  1004. }
  1005. .more{
  1006. padding-bottom: 20rpx;
  1007. .labtit{
  1008. color: #999;
  1009. font-size: 26rpx;
  1010. padding-top: 10rpx;
  1011. }
  1012. .intro{
  1013. color: #999;
  1014. font-size: 24rpx;
  1015. }
  1016. }
  1017. }
  1018. .gfooter{
  1019. border-top: 1px solid #f5f5f5;
  1020. padding-top: 20rpx;
  1021. .price{
  1022. width: 90%;
  1023. margin: 0 auto;
  1024. display: flex;
  1025. padding: 10rpx 0;
  1026. align-items: center;
  1027. justify-content: center;
  1028. .left{
  1029. flex: 0 0 65%;
  1030. .text{
  1031. color: #d3aa79;
  1032. font-size: 32rpx;
  1033. font-weight: bold;
  1034. display: flex;
  1035. align-items: center;
  1036. text{
  1037. text-decoration: line-through;
  1038. color: #999;
  1039. font-size: 26rpx;
  1040. margin-left: 10rpx;
  1041. font-weight: normal;
  1042. }
  1043. }
  1044. .label{
  1045. color: #999;
  1046. font-size: 24rpx;
  1047. }
  1048. }
  1049. .right{
  1050. flex: 0 0 35%;
  1051. display: flex;
  1052. justify-content: flex-end;
  1053. .buy{
  1054. display: flex;
  1055. align-items: center;
  1056. input{
  1057. text-align: center;
  1058. color:#343434;
  1059. }
  1060. }
  1061. }
  1062. }
  1063. .button{
  1064. width: 90%;
  1065. margin: 0 auto;
  1066. margin-top: 20rpx;
  1067. background-color: #d3aa79;
  1068. color: #fff;
  1069. height: 66rpx;
  1070. display: flex;
  1071. align-items: center;
  1072. justify-content: center;
  1073. border-radius: 100rpx;
  1074. font-size: 26rpx;
  1075. }
  1076. .none{
  1077. background-color: #cccccc;
  1078. }
  1079. }
  1080. }
  1081. }
  1082. .couponsIcon{
  1083. position: fixed;
  1084. bottom: 230rpx;
  1085. width: 100rpx;
  1086. height: 100rpx;
  1087. left: 60rpx;
  1088. }
  1089. .showCoupons{
  1090. position: fixed;
  1091. width: 100%;
  1092. height: 100%;
  1093. top: 0;
  1094. left: 0;
  1095. background-color: rgba(0,0,0,.5);
  1096. z-index: 999;
  1097. display: flex;
  1098. align-items: center;
  1099. justify-content: center;
  1100. .bg{
  1101. position: absolute;
  1102. width: 100%;
  1103. height: 100%;
  1104. top: 0;
  1105. left: 0;
  1106. z-index: 1000;
  1107. }
  1108. .coupons{
  1109. position: absolute;
  1110. width: 600rpx;
  1111. height: 568rpx;
  1112. border-radius: 10rpx;
  1113. z-index: 1001;
  1114. transition: all 0.6s;
  1115. margin-top: -10%;
  1116. .headerTitle{
  1117. position: absolute;
  1118. top: 76rpx;
  1119. width: 100%;
  1120. text-align: center;
  1121. color: #af8859;
  1122. font-size: 26rpx;
  1123. }
  1124. .listBox{
  1125. width: 72%;
  1126. margin: 0 auto;
  1127. margin-top: 50rpx;
  1128. position: absolute;
  1129. left: 0;
  1130. right: 0;
  1131. top: 100rpx;
  1132. height: 260rpx;
  1133. border-bottom-left-radius: 20%;
  1134. border-bottom-right-radius: 20%;
  1135. overflow: hidden;
  1136. .list{
  1137. display:flex;
  1138. align-items:center;
  1139. width:99%;
  1140. height:120rpx;
  1141. justify-content:center;
  1142. border-radius:4rpx;
  1143. position: relative;
  1144. overflow:hidden;
  1145. padding: 2rpx;
  1146. margin: 0 auto;
  1147. margin-bottom: 20rpx;
  1148. .left{
  1149. width:35%;
  1150. display:flex;
  1151. flex-direction:column;
  1152. align-items:center;
  1153. justify-content:center;
  1154. height:120rpx;
  1155. border:2rpx solid #f5f5f5;
  1156. border-right:none;
  1157. .price{
  1158. color:#d3aa79;
  1159. font-size:42rpx;
  1160. font-weight:500;
  1161. display:flex;
  1162. text{
  1163. font-size:26rpx;
  1164. padding-top:6rpx;
  1165. padding-right:2rpx;
  1166. }
  1167. }
  1168. .text{
  1169. color:#999;
  1170. font-size:22rpx;
  1171. }
  1172. }
  1173. .active{
  1174. position:absolute;
  1175. width:2rpx;
  1176. height:80rpx;
  1177. left:34%;
  1178. border-right:2rpx dashed #eee;
  1179. display:flex;
  1180. align-items:center;
  1181. justify-content:center;
  1182. .top{
  1183. width:20rpx;
  1184. height:20rpx;
  1185. background-color:#fff;
  1186. border-radius:100%;
  1187. position:absolute;
  1188. top:-30rpx;
  1189. border:2rpx solid #f5f5f5;
  1190. }
  1191. .buttom{
  1192. width:20rpx;
  1193. height:20rpx;
  1194. background-color:#fff;
  1195. border-radius:100%;
  1196. position:absolute;
  1197. bottom:-30rpx;
  1198. border:2rpx solid #f5f5f5;;
  1199. }
  1200. }
  1201. .right{
  1202. width:65%;
  1203. height:120rpx;
  1204. display:flex;
  1205. flex-direction:column;
  1206. justify-content:center;
  1207. border:2rpx solid #f5f5f5;
  1208. border-left:none;
  1209. .title{
  1210. color:#343434;
  1211. font-weight:500;
  1212. font-size:26rpx;
  1213. width:90%;
  1214. margin:0 auto;
  1215. overflow:hidden;
  1216. text-overflow:ellipsis;
  1217. white-space:nowrap;
  1218. }
  1219. .times{
  1220. color:#999;
  1221. font-size:24rpx;
  1222. padding-top:10rpx;
  1223. width:90%;
  1224. margin:0 auto;
  1225. overflow:hidden;
  1226. text-overflow:ellipsis;
  1227. white-space:nowrap;
  1228. }
  1229. }
  1230. }
  1231. }
  1232. .buttonBox{
  1233. width: 80%;
  1234. margin: 0 auto;
  1235. height: 70rpx;
  1236. display:flex;
  1237. align-items:flex-end;
  1238. justify-content:center;
  1239. position: absolute;
  1240. bottom: 36rpx;
  1241. left: 0;
  1242. right: 0;
  1243. .button{
  1244. background-color:#af8859;
  1245. width:100%;
  1246. height:100%;
  1247. display:flex;
  1248. align-items:center;
  1249. justify-content:center;
  1250. color:#fff;
  1251. border-radius:4rpx;
  1252. font-size: 26rpx;
  1253. }
  1254. }
  1255. .close{
  1256. position: absolute;
  1257. left: 0;
  1258. right: 0;
  1259. margin: 0 auto;
  1260. width: 100rpx;
  1261. display: flex;
  1262. align-items: center;
  1263. justify-content: center;
  1264. height: 100rpx;
  1265. }
  1266. }
  1267. }
  1268. .showShare{
  1269. position: fixed;
  1270. width: 100%;
  1271. height: 100%;
  1272. top: 0;
  1273. left: 0;
  1274. background-color: rgba(0,0,0,.5);
  1275. z-index: 999;
  1276. display: flex;
  1277. align-items: center;
  1278. justify-content: center;
  1279. .bg{
  1280. position: absolute;
  1281. width: 100%;
  1282. height: 100%;
  1283. top: 0;
  1284. left: 0;
  1285. z-index: 1000;
  1286. }
  1287. .share{
  1288. position: absolute;
  1289. width: 500rpx;
  1290. background-color: #FFFFFF;
  1291. border-radius: 10rpx;
  1292. z-index: 1001;
  1293. transition: all 0.6s;
  1294. .title{
  1295. font-weight: bold;
  1296. display: flex;
  1297. align-items: center;
  1298. justify-content: center;
  1299. padding: 38rpx 0 30rpx;
  1300. }
  1301. .box{
  1302. display: flex;
  1303. align-items: center;
  1304. justify-content: center;
  1305. padding-bottom: 38rpx;
  1306. .label{
  1307. flex: 0 0 45%;
  1308. display: flex;
  1309. align-items: center;
  1310. flex-direction: column;
  1311. justify-content: center;
  1312. position: relative;
  1313. .text{
  1314. font-size: 24rpx;
  1315. }
  1316. button{
  1317. position: absolute;
  1318. top: 0;
  1319. left: 0;
  1320. width: 100%;
  1321. height: 100%;
  1322. opacity: 0;
  1323. }
  1324. }
  1325. }
  1326. .haibao{
  1327. width: 90%;
  1328. margin: 0 auto;
  1329. display: flex;
  1330. flex-direction: column;
  1331. align-items: center;
  1332. image{
  1333. width: 400rpx;
  1334. height: 600rpx;
  1335. border: 1px solid #f5f5f5;
  1336. border-radius: 6rpx;
  1337. }
  1338. .save{
  1339. color: #FFFFFF;
  1340. width: 280rpx;
  1341. height: 60rpx;
  1342. border-radius: 100rpx;
  1343. font-size: 24rpx;
  1344. display: flex;
  1345. align-items: center;
  1346. justify-content: center;
  1347. margin: 30rpx 0;
  1348. }
  1349. }
  1350. }
  1351. }
  1352. .container {
  1353. display: flex;
  1354. }
  1355. .left-menu {
  1356. flex: 1;
  1357. }
  1358. .right-content {
  1359. flex: 2;
  1360. }
  1361. .menu-item {
  1362. padding: 10px;
  1363. border-bottom: 1px solid #ccc;
  1364. color: #333;
  1365. }
  1366. .menu-item.active {
  1367. color: red; /* 激活状态的颜色 */
  1368. }
  1369. .product-item {
  1370. padding: 10px;
  1371. border-bottom: 1px solid #ccc;
  1372. }
  1373. .order-footer {
  1374. position: fixed;
  1375. bottom: 0;
  1376. left: 0;
  1377. right: 0;
  1378. display: flex;
  1379. justify-content: space-between;
  1380. align-items: center;
  1381. background-color: #333;
  1382. color: #fff;
  1383. padding: 10px;
  1384. }
  1385. .discount-info {
  1386. font-size: 14px;
  1387. }
  1388. .order-action {
  1389. display: flex;
  1390. }
  1391. .order-detail {
  1392. background-color: #666;
  1393. padding: 15px 20px; /* 增加了padding */
  1394. border-radius: 20px 0 0 20px; /* 增加了圆角半径 */
  1395. font-size: 16px; /* 增加了字体大小 */
  1396. }
  1397. .pay-button {
  1398. background-color: #ff6700;
  1399. padding: 15px 20px; /* 增加了padding */
  1400. border-radius: 0 20px 20px 0; /* 增加了圆角半径 */
  1401. font-size: 18px; /* 增加了字体大小 */
  1402. }
  1403. .review-container {
  1404. padding: 20rpx;
  1405. background-color: #f7f7f7;
  1406. .add-review-btn {
  1407. margin-top: 20rpx;
  1408. background-color: #07c160;
  1409. color: #fff;
  1410. font-size: 28rpx;
  1411. text-align: center;
  1412. padding: 20rpx;
  1413. border-radius: 10rpx;
  1414. }
  1415. .review-modal {
  1416. background-color: #fff;
  1417. padding: 30rpx;
  1418. .modal-header {
  1419. font-size: 36rpx;
  1420. font-weight: bold;
  1421. text-align: center;
  1422. margin-bottom: 30rpx;
  1423. }
  1424. .modal-content {
  1425. margin-bottom: 30rpx;
  1426. }
  1427. .modal-footer {
  1428. text-align: right;
  1429. }
  1430. }
  1431. }
  1432. .header {
  1433. display: flex;
  1434. justify-content: space-between;
  1435. align-items: center;
  1436. margin-bottom: 20rpx;
  1437. .title {
  1438. font-size: 32rpx;
  1439. font-weight: bold;
  1440. }
  1441. .filter {
  1442. font-size: 26rpx;
  1443. color: #666;
  1444. }
  1445. }
  1446. .review-list {
  1447. background-color: #fff;
  1448. border-radius: 10rpx;
  1449. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
  1450. padding: 20rpx;
  1451. }
  1452. .review-item {
  1453. padding: 20rpx 0;
  1454. border-bottom: 1px solid #eee;
  1455. &:last-child {
  1456. border-bottom: none;
  1457. }
  1458. .item-header {
  1459. display: flex;
  1460. justify-content: space-between;
  1461. align-items: center;
  1462. margin-bottom: 10rpx;
  1463. .user-info {
  1464. display: flex;
  1465. align-items: center;
  1466. .avatar {
  1467. width: 60rpx;
  1468. height: 60rpx;
  1469. border-radius: 50%;
  1470. margin-right: 10rpx;
  1471. }
  1472. .username {
  1473. font-size: 28rpx;
  1474. color: #333;
  1475. }
  1476. }
  1477. .rating {
  1478. font-size: 24rpx;
  1479. color: #ffd21e;
  1480. }
  1481. }
  1482. .review-content {
  1483. font-size: 26rpx;
  1484. color: #666;
  1485. line-height: 1.5;
  1486. margin-bottom: 10rpx;
  1487. }
  1488. .item-footer {
  1489. display: flex;
  1490. justify-content: space-between;
  1491. align-items: center;
  1492. .date {
  1493. font-size: 24rpx;
  1494. color: #999;
  1495. }
  1496. .actions {
  1497. .van-icon-like-o,
  1498. .van-icon-warning-o {
  1499. font-size: 24rpx;
  1500. margin-left: 10rpx;
  1501. color: #999;
  1502. }
  1503. .liked {
  1504. color: #ff6600;
  1505. }
  1506. }
  1507. }
  1508. }
  1509. .monitor-view {
  1510. display: flex;
  1511. flex-direction: column;
  1512. align-items: center;
  1513. justify-content: center;
  1514. height: 800rpx;
  1515. }
  1516. .monitor-video {
  1517. width: 100%;
  1518. height: 300rpx;
  1519. }
  1520. .monitor-info {
  1521. display: flex;
  1522. flex-direction: column;
  1523. align-items: center;
  1524. margin-top: 20rpx;
  1525. }
  1526. .monitor-img {
  1527. width: 200rpx;
  1528. height: 200rpx;
  1529. }
  1530. .monitor-text {
  1531. margin-top: 30rpx;
  1532. font-size: 50rpx;
  1533. color: #666;
  1534. }
  1535. </style>