1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <template>
- <view>
- <u-navbar leftIconSize="0" :placeholder="true" bgColor="#fff">
- <view class="u-nav-slot" slot="left">
- <text>兑换大厅</text>
- </view>
- </u-navbar>
- <view class="core">
- <view class="flex core-list">
- <navigator url="/pages/goods/detail" class="core-list-item" hover-class="navigator-hover">
- <view class="flex iamge-wrap">
- <image src="../../static/logo.png" mode="scaleToFill"></image>
- </view>
- <view class="title">Apple iMac 24英寸 4.5K屏 新款八核M1芯片(7核图形处理</view>
- <view class="bean">900</view>
- </navigator>
- <view class="core-list-item"></view>
- </view>
- </view>
- <custom-tab-bar :activeValue="'core'" />
- </view>
- </template>
- <script>
- import env from '../../config/env.js'
- import CustomTabBar from '../../components/custom-tab-bar/custom-tab-bar.vue'
- import $http from '@/utils/request.js'
- export default {
- components: {
- CustomTabBar,
- },
- data() {
- return {
- };
- },
- onShow() {
- },
- methods: {
- },
- }
- </script>
- <style lang="scss" scoped>
- </style>
- <style lang="scss" scoped>
- .core {
- margin: 20rpx 0;
- &-list {
- justify-content: space-around;
- flex-wrap: wrap;
- &-item {
- width: 320rpx;
- box-sizing: border-box;
- padding: 0 14rpx;
- background-color: #FFFFFF;
- padding-bottom: 24rpx;
- border-radius: 10rpx;
- margin-bottom: 40rpx;
- .iamge-wrap {
- image {
- width: 150rpx;
- height: 200rpx;
- padding: 50rpx 0;
- }
- }
- .title {
- font-size: 24rpx;
- line-height: 40rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- }
- .bean {
- font-size: 24rpx;
- color: #EB7009;
- }
- }
-
- &-item:last-child{
- padding: 0;
- }
- }
- }
- </style>
|