金诚优选前端代码
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.

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