金诚优选前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

656 lines
21 KiB

  1. <template>
  2. <view>
  3. <lf-nav :spreadOut="true" :showIcon="true" bgColor="white" title="在线商城订单" @changeHeight="e => nav_height = e"></lf-nav>
  4. <view class="lf-row-between lf-bg-white">
  5. <view class="online-tab" :class="online_tab==0?'online-active':''" @click="online_tab = 0">线上订单</view>
  6. <view class="online-tab" :class="online_tab==1?'online-active':''" @click="online_tab = 1">线下订单</view>
  7. </view>
  8. <view v-if="online_tab == 0">
  9. <view class="special_tab">
  10. <u-tabs :list="tab_list" active-color="#15716E" inactive-color='#777777' :is-scroll="true" :current="current" @change="tabChange"></u-tabs>
  11. </view>
  12. <view class="lf-p-30 lf-flex lf-w-100 lf-bg-white lf-m-b-30">
  13. <u-icon name="search" class="search-icon"></u-icon>
  14. <input class="rom-search" type="text" placeholder="请输入商品名称" />
  15. </view>
  16. <swiper :style="{height: autoHeight, width: '750rpx'}" :current="current" @change="swiperChange">
  17. <swiper-item v-for="(tabItem, tabIndex) in tab_list" :key="tabIndex">
  18. <scroll-view :style="{height: autoHeight}" class="com" :scroll-y="true" :refresher-enabled="true" :refresher-triggered="tabItem.isRefresher" @scrolltolower="onScrolltolower" @refresherrefresh="onRefresherrefresh">
  19. <view v-for="(item2,index2) of tabItem.list" :key="index2" class="online-card">
  20. <view class="lf-font-24 lf-color-777">
  21. 订单编号783974398749328
  22. </view>
  23. <view class="lf-m-t-30">
  24. <text class="lf-iconfont icon-Group- lf-font-28"></text>
  25. <text class="lf-color-black lf-font-28 lf-font-bold lf-m-l-10">精品超市</text>
  26. <text class="lf-iconfont icon-xiangyou lf-font-24 lf-m-l-10"></text>
  27. </view>
  28. <view v-for="i of 5">
  29. <view class="lf-m-t-30" style="display: flex;">
  30. <image class="content-img" src="https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png" mode="aspectFill"></image>
  31. <view class="lf-m-l-15">
  32. <view class="lf-color-333 lf-font-26 lf-line-2" style="max-width: 480rpx;">爱他美较大婴儿配方奶粉较大婴儿配方奶粉较大婴儿配方奶粉2段 900g</view>
  33. <view class="lf-font-24 lf-color-777 lf-m-t-14 lf-row-between">
  34. <view>1900g</view>
  35. <view class="lf-font-32 lf-color-price">385</view>
  36. </view>
  37. </view>
  38. </view>
  39. <view class="lf-row-between lf-m-t-30 lf-m-b-50">
  40. <view class="lf-font-24 lf-color-777">订单关闭</view>
  41. <view class="lf-color-price lf-font-24">删除订单</view>
  42. </view>
  43. </view>
  44. </view>
  45. <view class="loading-more lf-m-b-10">
  46. <text :class="{'loading-more-text': tabItem.loadingClass}" v-if="tabItem.list.length">{{tabItem.loadingText}}</text>
  47. <lf-nocontent v-else></lf-nocontent>
  48. <!-- <view>
  49. {{tabItem.list.length}}
  50. </view> -->
  51. </view>
  52. </scroll-view>
  53. </swiper-item>
  54. </swiper>
  55. </view>
  56. <view v-else>
  57. <view class="special_tab">
  58. <u-tabs :list="tab_list" active-color="#15716E" inactive-color='#777777' :is-scroll="true" :current="current" @change="tabChange"></u-tabs>
  59. </view>
  60. <view class="lf-p-30 lf-flex lf-w-100 lf-bg-white lf-m-b-30">
  61. <u-icon name="search" class="search-icon"></u-icon>
  62. <input class="rom-search" type="text" placeholder="请输入商品名称" />
  63. </view>
  64. <swiper :style="{height: autoHeight, width: '750rpx'}" :current="current" @change="swiperChange">
  65. <swiper-item v-for="(tabItem, tabIndex) in tab_list" :key="tabIndex">
  66. <scroll-view :style="{height: autoHeight}" class="com" :scroll-y="true" :refresher-enabled="true" :refresher-triggered="tabItem.isRefresher" @scrolltolower="onScrolltolower" @refresherrefresh="onRefresherrefresh">
  67. <view v-for="(item2,index2) of tabItem.list" :key="index2" class="online-card">
  68. <view class="lf-font-24 lf-color-777">
  69. 订单编号783974398749328
  70. </view>
  71. <view class="lf-m-t-30">
  72. <text class="lf-iconfont icon-Group- lf-font-28"></text>
  73. <text class="lf-color-black lf-font-28 lf-font-bold lf-m-l-10">精品超市</text>
  74. <text class="lf-iconfont icon-xiangyou lf-font-24 lf-m-l-10"></text>
  75. </view>
  76. <view v-for="i of 5">
  77. <view class="lf-m-t-30" style="display: flex;">
  78. <image class="content-img" src="https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png" mode="aspectFill"></image>
  79. <view class="lf-m-l-15">
  80. <view class="lf-color-333 lf-font-26 lf-line-2" style="max-width: 480rpx;">爱他美较大婴儿配方奶粉较大婴儿配方奶粉较大婴儿配方奶粉2段 900g</view>
  81. <view class="lf-font-24 lf-color-777 lf-m-t-14 lf-row-between">
  82. <view>1900g</view>
  83. <view class="lf-font-32 lf-color-price">385</view>
  84. </view>
  85. </view>
  86. </view>
  87. <view class="lf-row-between lf-m-t-30 lf-m-b-50">
  88. <view class="lf-font-24 lf-color-777">订单关闭</view>
  89. <view class="lf-color-price lf-font-24">删除订单</view>
  90. </view>
  91. </view>
  92. </view>
  93. <view class="loading-more lf-m-b-10">
  94. <text :class="{'loading-more-text': tabItem.loadingClass}" v-if="tabItem.list.length">{{tabItem.loadingText}}</text>
  95. <lf-nocontent v-else></lf-nocontent>
  96. <!-- <view>
  97. {{tabItem.list.length}}
  98. </view> -->
  99. </view>
  100. </scroll-view>
  101. </swiper-item>
  102. </swiper>
  103. </view>
  104. </view>
  105. </template>
  106. <script>
  107. export default {
  108. data() {
  109. return {
  110. online_tab: 0,
  111. tab_list: [
  112. {
  113. id: 1,
  114. name: '全部',
  115. list: [
  116. {
  117. id: 10,
  118. original_price: "4111.00",
  119. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  120. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  121. price: "2412.00",
  122. product_id: 1008,
  123. sale: 0,
  124. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  125. },
  126. {
  127. id: 10,
  128. original_price: "4111.00",
  129. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  130. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  131. price: "2412.00",
  132. product_id: 1008,
  133. sale: 0,
  134. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  135. },
  136. {
  137. id: 10,
  138. original_price: "4111.00",
  139. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  140. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  141. price: "2412.00",
  142. product_id: 1008,
  143. sale: 0,
  144. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  145. },
  146. {
  147. id: 10,
  148. original_price: "4111.00",
  149. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  150. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  151. price: "2412.00",
  152. product_id: 1008,
  153. sale: 0,
  154. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  155. }
  156. ],
  157. isRefresher: false,
  158. loadingClass: false,
  159. loadingText: '正在加载中',
  160. page: 1,
  161. isPage: true
  162. },
  163. {
  164. id: 2,
  165. name: '代付款',
  166. list: [
  167. {
  168. id: 10,
  169. original_price: "4111.00",
  170. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  171. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  172. price: "2412.00",
  173. product_id: 1008,
  174. sale: 0,
  175. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  176. },
  177. {
  178. id: 10,
  179. original_price: "4111.00",
  180. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  181. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  182. price: "2412.00",
  183. product_id: 1008,
  184. sale: 0,
  185. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  186. },
  187. {
  188. id: 10,
  189. original_price: "4111.00",
  190. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  191. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  192. price: "2412.00",
  193. product_id: 1008,
  194. sale: 0,
  195. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  196. }
  197. ],
  198. isRefresher: false,
  199. loadingClass: true,
  200. loadingText: '正在加载中',
  201. page: 1,
  202. isPage: true
  203. },
  204. {
  205. id: 3,
  206. name: '拼团中',
  207. list: [
  208. {
  209. id: 10,
  210. original_price: "4111.00",
  211. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  212. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  213. price: "2412.00",
  214. product_id: 1008,
  215. sale: 0,
  216. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  217. },
  218. {
  219. id: 10,
  220. original_price: "4111.00",
  221. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  222. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  223. price: "2412.00",
  224. product_id: 1008,
  225. sale: 0,
  226. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  227. },
  228. {
  229. id: 10,
  230. original_price: "4111.00",
  231. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  232. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  233. price: "2412.00",
  234. product_id: 1008,
  235. sale: 0,
  236. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  237. }
  238. ],
  239. isRefresher: false,
  240. loadingClass: true,
  241. loadingText: '正在加载中',
  242. page: 1,
  243. isPage: true
  244. },
  245. {
  246. id: 4,
  247. name: '待提货',
  248. list: [
  249. {
  250. id: 10,
  251. original_price: "4111.00",
  252. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  253. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  254. price: "2412.00",
  255. product_id: 1008,
  256. sale: 0,
  257. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  258. },
  259. {
  260. id: 10,
  261. original_price: "4111.00",
  262. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  263. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  264. price: "2412.00",
  265. product_id: 1008,
  266. sale: 0,
  267. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  268. },
  269. {
  270. id: 10,
  271. original_price: "4111.00",
  272. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  273. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  274. price: "2412.00",
  275. product_id: 1008,
  276. sale: 0,
  277. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  278. }
  279. ],
  280. isRefresher: false,
  281. loadingClass: true,
  282. loadingText: '正在加载中',
  283. page: 1,
  284. isPage: true
  285. },
  286. {
  287. id: 5,
  288. name: '待发货',
  289. list: [
  290. {
  291. id: 10,
  292. original_price: "4111.00",
  293. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  294. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  295. price: "2412.00",
  296. product_id: 1008,
  297. sale: 0,
  298. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  299. },
  300. {
  301. id: 10,
  302. original_price: "4111.00",
  303. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  304. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  305. price: "2412.00",
  306. product_id: 1008,
  307. sale: 0,
  308. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  309. },
  310. {
  311. id: 10,
  312. original_price: "4111.00",
  313. picture: "https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png",
  314. pictures: ["https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png"],
  315. price: "2412.00",
  316. product_id: 1008,
  317. sale: 0,
  318. title: "三亚悦榕庄(Banyan Tree Sanya Resort and Spa)"
  319. }
  320. ],
  321. isRefresher: false,
  322. loadingClass: true,
  323. loadingText: '正在加载中',
  324. page: 1,
  325. isPage: true
  326. }
  327. ],
  328. current: 0,
  329. windowHeight: 0,
  330. loadingClass: false,
  331. loadingText: '没有更多数据啦~',
  332. scrollH: '',
  333. nav_height: '',
  334. }
  335. },
  336. computed: {
  337. autoHeight(){
  338. return `calc(${this.scrollH}px - ${this.nav_height}px - 86rpx - 120rpx - 120rpx)`;
  339. }
  340. },
  341. onLoad(){
  342. let info = uni.getSystemInfoSync();
  343. this.scrollH = info.screenHeight;
  344. },
  345. methods: {
  346. tabChange(index){
  347. this.current = index;
  348. this.clearTabItem();
  349. this.getData();
  350. },
  351. getData() {
  352. let tab_item = this.tab_list[this.current];
  353. let isPage = false;
  354. tab_item.isPage = isPage;
  355. if(!isPage){
  356. tab_item.loadingClass = false;
  357. tab_item.loadingText = '没有更多数据啦~';
  358. }
  359. tab_item.isRefresher = false;
  360. },
  361. // 滑块下标值变化
  362. swiperChange(event){
  363. this.current = event.detail.current;
  364. if(event.detail.source == '') return; // 如果是被动出发,没有事件类型则不做处理
  365. },
  366. // 页面触底,加载下一页
  367. onScrolltolower(){
  368. let tab_item = this.tab_list[this.current];
  369. if(tab_item.isPage){
  370. tab_item.page = tab_item.page + 1;
  371. this.getData();
  372. }
  373. },
  374. // scroll-view 下拉刷新
  375. onRefresherrefresh(){
  376. this.$u.throttle(() => {
  377. this.clearTabItem();
  378. this.getData();
  379. }, 200);
  380. },
  381. clearTabItem(){
  382. let tab_item = this.tab_list[this.current];
  383. tab_item.page = 1;
  384. tab_item.isPage = true;
  385. tab_item.isRefresher = true;
  386. tab_item.loadingClass = true;
  387. tab_item.loadingText = '正在加载中';
  388. tab_item.list = [];
  389. this.$set(this.tab_list, this.current, tab_item);
  390. // this.$refs.uWaterfallFather[this.current].clear();
  391. }
  392. }
  393. }
  394. </script>
  395. <style>
  396. page {
  397. background-color: #F8F8F8;
  398. }
  399. </style>
  400. <style scoped lang="scss">
  401. .content-img {
  402. width: 130rpx;
  403. height: 130rpx;
  404. border-radius: 5rpx;
  405. }
  406. .online-card {
  407. width: 686rpx;
  408. height: auto;
  409. background: #FFFFFF;
  410. border-radius: 20rpx;
  411. margin-bottom: 30rpx;
  412. padding: 30rpx;
  413. }
  414. .online-tab {
  415. width: 375rpx;
  416. height: 90rpx;
  417. display: flex;
  418. align-items: center;
  419. justify-content: center;
  420. color: #555555;
  421. font-size: 32rpx;
  422. }
  423. .online-active {
  424. background: #15716E;
  425. color: #FFFFFF;
  426. border-radius: 45rpx 45rpx 0rpx 0rpx;
  427. }
  428. //tab相关
  429. .search-icon {
  430. position: relative;
  431. bottom: 0;
  432. left: 54rpx;
  433. }
  434. /deep/.input-placeholder{
  435. color: #777;
  436. font-size: 28rpx;
  437. }
  438. .rom-search {
  439. width: 686rpx;
  440. height: 60rpx;
  441. background: #F4F8F8;
  442. border-radius: 30rpx;
  443. padding-left: 74rpx;
  444. font-size: 28rpx;
  445. }
  446. .goods-rom {
  447. border-radius: 20rpx;
  448. width: 333rpx;
  449. height: 497rpx;
  450. background-color: white;
  451. box-shadow: 0px 2rpx 8rpx 1rpx rgba(0, 0, 0, 0.1);
  452. &:nth-child(2n) {
  453. margin-right: 0;
  454. }
  455. &:nth-child(n + 3) {
  456. margin-top: 20rpx;
  457. }
  458. }
  459. .introduct {
  460. padding: 0 0 30rpx 32rpx;
  461. }
  462. .com{
  463. width: 100%;
  464. height: 100%;
  465. box-sizing: border-box;
  466. padding: 0rpx 28rpx;
  467. }
  468. .shop-head {
  469. width: 100%;
  470. height: 400rpx;
  471. position: relative;
  472. }
  473. .shop-flex {
  474. display: flex;
  475. padding: 30rpx;
  476. }
  477. .shop-title {
  478. width: 686rpx;
  479. height: 274rpx;
  480. border-radius: 20rpx;
  481. background-color: white;
  482. box-shadow: 0rpx 2rpx 8rpx 1rpx rgba(0, 0, 0, 0.1);
  483. margin: 0 auto;
  484. position: relative;
  485. top: -32rpx;
  486. }
  487. .shop-img {
  488. width: 90rpx;
  489. height: 90rpx;
  490. margin-right: 15rpx;
  491. }
  492. .shop-function {
  493. width: 80rpx;
  494. height: 80rpx;
  495. border-radius: 50%;
  496. font-size: 40rpx;
  497. }
  498. .function-total {
  499. display: flex;
  500. justify-content: space-between;
  501. padding: 0 65rpx 0 65rpx;
  502. }
  503. /deep/.u-scroll-box {
  504. display: flex;
  505. justify-content: center;
  506. align-items: center;
  507. border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
  508. }
  509. /deep/.special_tab .u-tabs .u-scroll-box .u-tab-bar {
  510. background-color: #15716E!important;
  511. width: 80rpx!important;
  512. position: absolute;
  513. height: 10rpx;
  514. left: 0;
  515. border-radius: 8rpx 8rpx 0px 0px!important;
  516. bottom: -12rpx;
  517. }
  518. /deep/ .u-tab-item {
  519. font-size: 28rpx!important;
  520. }
  521. //价格筛选伪类
  522. // /deep/.special_tab .u-tab-item:nth-child(4n) ::after{
  523. // font-size: 48rpx!important;
  524. // content: '';
  525. // color: red;
  526. // }
  527. // loading加载
  528. .loading-more {
  529. align-items: center;
  530. justify-content: center;
  531. padding-top: 10px;
  532. padding-bottom: 10px;
  533. text-align: center;
  534. font-size: 28rpx;
  535. color: #999;
  536. }
  537. .loading-more-text::before {
  538. content: '';
  539. width: 20px;
  540. height: 20px;
  541. display: inline-block;
  542. vertical-align: middle;
  543. -webkit-animation: weuiLoading 1s steps(12, end) infinite;
  544. animation: weuiLoading 1s steps(12, end) infinite;
  545. background-repeat: no-repeat;
  546. background-image: url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E");
  547. background-size: 100%;
  548. }
  549. @keyframes weuiLoading {
  550. 0% {
  551. transform: rotate3d(0, 0, 1, 0deg);
  552. }
  553. 100% {
  554. transform: rotate3d(0, 0, 1, 360deg);
  555. }
  556. }
  557. .list-warter {
  558. border-radius: 20rpx;
  559. margin: 10px 5px;
  560. margin-top: 0px;
  561. background-color: #ffffff;
  562. // padding: 8px;
  563. position: relative;
  564. overflow: hidden;
  565. box-shadow: 0rpx 2rpx 8rpx 1rpx rgba(0, 0, 0, 0.1);
  566. }
  567. .u-close {
  568. position: absolute;
  569. top: 32rpx;
  570. right: 32rpx;
  571. }
  572. .list-image {
  573. width: 100%;
  574. border-radius: 4px;
  575. }
  576. .list-title {
  577. font-size: 28rpx;
  578. font-weight: bold;
  579. color: $u-main-color;
  580. }
  581. .list-label{
  582. position: absolute;
  583. bottom: 0;
  584. right: 0;
  585. background-color: rgba(0,0,0,0.5);
  586. width: 140rpx;
  587. height: 48rpx;
  588. border-radius: 20rpx 0rpx 0rpx 0rpx;
  589. font-size: 22rpx;
  590. color: #FFFFFF;
  591. line-height: 48rpx;
  592. text-align: center;
  593. }
  594. .list-tag {
  595. display: flex;
  596. margin-top: 5px;
  597. }
  598. .list-tag-owner {
  599. background-color: $u-type-error;
  600. color: #FFFFFF;
  601. display: flex;
  602. align-items: center;
  603. padding: 4rpx 14rpx;
  604. border-radius: 50rpx;
  605. font-size: 20rpx;
  606. line-height: 1;
  607. }
  608. .list-tag-text {
  609. border: 1px solid $u-type-primary;
  610. color: $u-type-primary;
  611. margin-left: 10px;
  612. border-radius: 50rpx;
  613. line-height: 1;
  614. padding: 4rpx 14rpx;
  615. display: flex;
  616. align-items: center;
  617. border-radius: 50rpx;
  618. font-size: 20rpx;
  619. }
  620. .list-price {
  621. font-size: 30rpx;
  622. color: $u-type-error;
  623. margin-top: 5px;
  624. display: flex;
  625. align-items: center;
  626. }
  627. </style>