123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486 |
- <template>
- <view class="center">
- <view class="top">
- <image class="top-bg" src="../../static/img/top-bg.png" mode=""></image>
- <view class="top-top flex">
- <image class="ttop-left" src="../../static/img/log.png" mode=""></image>
- <view class="ttop-right">
- <view class="ttop-item">
- <image class="titem-image" src="../../static/img/sign.png" mode=""></image>
- <view class="titem-font">签到</view>
- </view>
- <view class="ttop-item">
- <image class="titem-image" src="../../static/img/message.png" mode=""></image>
- <view class="titem-font">消息</view>
- </view>
- </view>
- </view>
- <view class="top-main flex">
- <view class="search-box flex">
- <image class="search" src="../../static/img/search.png" mode=""></image>
- <view class="search-font">搜索</view>
- </view>
- <view class="cart flex">
- <view class="cart-font">分类</view>
- <image class="cart-image" src="../../static/img/cart.png" mode=""></image>
- </view>
- </view>
- </view>
- <view class="navbar flex">
- <view class="navbar-item">
- <image class="nitem-image" src="../../static/img/autotrophy.png" mode=""></image>
- <view class="nitem-font">趣豆自营</view>
- </view>
- <view class="navbar-item">
- <image class="nitem-image" src="../../static/img/integral.png" mode=""></image>
- <view class="nitem-font">积分商城</view>
- </view>
- <view class="navbar-item">
- <image class="nitem-image" src="../../static/img/replacement.png" mode=""></image>
- <view class="nitem-font">置换商城</view>
- </view>
- <view class="navbar-item">
- <image class="nitem-image" src="../../static/img/Hang.png" mode=""></image>
- <view class="nitem-font">挂售商城</view>
- </view>
- <view class="navbar-item">
- <image class="nitem-image" src="../../static/img/offline.png" mode=""></image>
- <view class="nitem-font">线下会馆</view>
- </view>
- </view>
- <view class="product"><image class="product-image" src="../../static/img/index-product.png" mode=""></image></view>
- <view class="shingle">
- <view class="shingle-top flex">
- <view class="shingle-title">艺术品挂牌交易区</view>
- <view class="shingle-btn">
- 查看更多趣豆会馆
- <text>></text>
- </view>
- </view>
- <view class="shingle-main">
- <view class="shingle-bg"><image src="../../static/img/sim-bg.png" mode=""></image></view>
- <view class="shinglem-title flex">
- <image class="address" src="../../static/img/address.png" mode=""></image>
- <view class="shingle-font">浙江馆</view>
- </view>
- <view class="shingle-mmain flex">
- <view class="smmain-item">
- <view class="smitem-top">开放中</view>
- <view class="smitem-bottom">状态</view>
- </view>
- <view class="shu"></view>
- <view class="smmain-item">
- <view class="smitem-top">纯平</view>
- <view class="smitem-bottom">馆长</view>
- </view>
- <view class="shu"></view>
- <view class="smmain-item">
- <view class="people flex">
- <view class="peopleitem" v-for="item in 1"><image src="../../static/img/busy.png" mode=""></image></view>
- <view class="peopleitem" v-for="item in 4"><image src="../../static/img/leisure.png" mode=""></image></view>
- </view>
- <view class="smitem-bottom">流畅</view>
- </view>
- </view>
- <image class="right-bottom" src="../../static/img/right-bottom.png" mode=""></image>
- </view>
- </view>
- <view class="good-title" v-if="dataList.length > 0"><image src="../../static/img/goodtitle.png" mode=""></image></view>
- <view class="main" v-if="dataList.length > 0">
- <view class="list-box-h">
- <view v-for="(item, index) in dataList" :key="index" class="guess-item" @click="navToDetailPage(item)">
- <image :src="item.image"></image>
- <view class="guess-box">
- <view class="title clamp2">{{ item.store_name }}</view>
- <view class="price-box flex">
- <view class="yuanprice">{{ item.ot_price }}</view>
- <image src="../../static/img/jiantou.png" mode=""></image>
- <view class="jiang">直降{{ (item.ot_price - item.price).toFixed(2) }}元</view>
- </view>
- <view class="price" v-if="item.integral != 0">¥{{ item.price }} + {{ item.integral }}消费补贴券</view>
- <view class="price" v-else>¥{{ item.price }}</view>
- <view class="btn">立即购买</view>
- </view>
- </view>
- </view>
- </view>
- <u-tabbar v-model="current" :list="tabbar" :mid-button="true"></u-tabbar>
- </view>
- </template>
- <script>
- import { tabbar } from '@/utils/tabbar.js'
- export default {
- data() {
- return {
- dataList: '',
- tabbar: tabbar,
- current: 0,
- };
- },
- onLoad() {},
- methods: {}
- };
- </script>
- <style lang="scss">
- page,
- .center {
- min-height: 100%;
- height: auto;
- background-color: #ffffff;
- }
- .top {
- position: relative;
- width: 100%;
- height: 692rpx;
- .top-bg {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- width: 100%;
- height: 100%;
- }
- .top-top {
- position: relative;
- z-index: 2;
- padding: 34rpx 34rpx 0 28rpx;
- .ttop-left {
- width: 180rpx;
- height: 60rpx;
- }
- .ttop-right {
- display: flex;
- align-items: center;
- .ttop-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-left: 46rpx;
- .titem-image {
- width: 36rpx;
- height: 36rpx;
- }
- .titem-font {
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #ffffff;
- margin-top: 14rpx;
- }
- }
- }
- }
- .top-main {
- position: relative;
- z-index: 2;
- padding: 30rpx;
- .search-box {
- width: 532rpx;
- background: #ffffff;
- border-radius: 10rpx;
- padding: 20rpx 20rpx 16rpx;
- .search {
- width: 34rpx;
- height: 34rpx;
- }
- .search-font {
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- }
- }
- .cart {
- width: 128rpx;
- background: #ffffff;
- border-radius: 10rpx;
- padding: 22rpx 20rpx 20rpx 20rpx;
- .cart-font {
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- }
- .cart-image {
- width: 28rpx;
- height: 20rpx;
- }
- }
- }
- }
- .navbar {
- margin-top: 42rpx;
- justify-content: space-around;
- .navbar-item {
- width: 20%;
- display: flex;
- flex-direction: column;
- align-items: center;
- .nitem-image {
- width: 90rpx;
- height: 90rpx;
- }
- .nitem-font {
- margin-top: 16rpx;
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #0c1732;
- }
- }
- }
- .product {
- width: 750rpx;
- height: 350rpx;
- margin-top: 50rpx;
- .product-image {
- width: 750rpx;
- height: 350rpx;
- }
- }
- .shingle {
- width: 690rpx;
- background: #efefef;
- border-radius: 10rpx;
- margin: 60rpx auto;
- padding: 28rpx 20rpx 40rpx;
- .shingle-top {
- padding-left: 2rpx;
- .shingle-title {
- font-size: 36rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #375afe;
- }
- .shingle-btn {
- width: 248rpx;
- height: 50rpx;
- border: 2rpx solid #375afe;
- border-radius: 10rpx;
- padding: 0 16rpx;
- text-align: left;
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #375afe;
- line-height: 50rpx;
- text {
- display: inline-block;
- padding-left: 10rpx;
- }
- }
- }
- .shingle-main {
- margin: 20rpx auto;
- width: 650rpx;
- height: 206rpx;
- position: relative;
- .shingle-bg {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- width: 650rpx;
- height: 206rpx;
- image {
- width: 650rpx;
- height: 206rpx;
- }
- }
- .shinglem-title {
- position: relative;
- z-index: 2;
- justify-content: center;
- height: 70rpx;
- .address {
- width: 28rpx;
- height: 30rpx;
- }
- .shingle-font {
- font-size: 36rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #ffffff;
- line-height: 70rpx;
- margin-left: 14rpx;
- }
- }
- .shingle-mmain {
- position: relative;
- z-index: 2;
- margin-top: 30rpx;
- .smmain-item {
- width: 33%;
- display: flex;
- flex-direction: column;
- align-items: center;
- .smitem-top {
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #ffffff;
- }
- .smitem-bottom {
- margin-top: 10rpx;
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #ffffff;
- }
- .people {
- justify-content: center;
- .peopleitem {
- width: 24rpx;
- height: 34rpx;
- image {
- width: 100%;
- height: 100%;
- }
- }
- }
- }
- .shu {
- width: 2rpx;
- height: 70rpx;
- background: #ffffff;
- }
- }
- .right-bottom {
- position: absolute;
- z-index: 2;
- right: 0;
- bottom: 0;
- width: 94rpx;
- height: 92rpx;
- }
- }
- }
- .good-title {
- width: 376rpx;
- height: 34rpx;
- margin: 44rpx auto 0;
- image {
- width: 100%;
- height: 100%;
- }
- }
- .guess-item {
- display: flex;
- width: 710rpx;
- height: 300rpx;
- background: #ffffff;
- box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
- border-radius: 10rpx;
- padding: 15rpx;
- padding-bottom: 150rpx;
- margin: 20rpx auto 0;
- position: relative;
- image {
- width: 200rpx;
- height: 200rpx;
- border-radius: 10rpx;
- }
- .guess-box {
- padding: 12rpx 0 0 24rpx;
- width: 436rpx;
- .title {
- font-size: 36rpx;
- padding-left: 4rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- width: 368rpx;
- line-height: 36rpx;
- .tuanF {
- display: inline-block;
- margin-right: 4rpx;
- position: relative;
- top: -6rpx;
- .tuan {
- display: flex;
- align-items: center;
- padding: 10rpx;
- height: 36rpx;
- background: #ffebe9;
- border-radius: 18rpx;
- .tuan-image {
- width: 18rpx;
- height: 18rpx;
- }
- .tuan-font {
- display: inline;
- font-size: 20rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #ff1135;
- margin-left: 2rpx;
- }
- }
- }
- }
- .ping-box {
- margin-top: 15rpx;
- justify-content: flex-start;
- .ping {
- margin-left: 10rpx;
- height: 39rpx;
- background: #fdf7eb;
- border-radius: 5rpx;
- font-size: 22rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #ff911f;
- display: flex;
- align-items: center;
- padding: 0 10rpx;
- }
- }
- .price-box {
- margin-top: 50rpx;
- justify-content: flex-start;
- .yuanprice {
- font-size: 26rpx;
- font-family: PingFang SC;
- font-weight: 500;
- text-decoration: line-through;
- color: #999999;
- padding-right: 6rpx;
- }
- image {
- width: 14rpx;
- height: 16rpx;
- }
- .jiang {
- padding-left: 2rpx;
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #b59467;
- }
- }
- .price {
- font-size: 36rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #ff1135;
- }
- .btn {
- width: 137rpx;
- height: 56rpx;
- background: linear-gradient(0deg, rgba(60, 237, 237, 0.99), #04b8ff, #375afe);
- border-radius: 28rpx;
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #ffffff;
- line-height: 56rpx;
- text-align: center;
- position: absolute;
- bottom: 10rpx;
- right: 25rpx;
- }
- }
- }
- </style>
|