修改页面

This commit is contained in:
2025-08-11 14:06:42 +08:00
parent 462073058e
commit 9c0be00fbd
31 changed files with 1180 additions and 309 deletions

View File

@ -27,7 +27,7 @@
return {
list: [
{
image: "http://jianbing-media.stnav.com/frontend/img/banner.png",
image: "https://jianbing-media.stnav.com/frontend/img/banner.png",
title: "昨夜星辰昨夜风,画楼西畔桂堂东",
},
],

View File

@ -9,28 +9,28 @@
<view class="u-absolute left-0 right-0 bg-white u-p-t-34 list">
<view>
<u-tabs :list="list" :is-scroll="true" :current="current" @change="change" inactive-color="#636363" :active-color="themeColor"></u-tabs>
<u-tabs :list="tab" :is-scroll="true" :current="current" @change="change" inactive-color="#636363" :active-color="themeColor"></u-tabs>
</view>
<view class="u-m-l-24 u-m-r-24">
<u-line color="#EEE" />
</view>
<view class="u-m-t-32 u-m-l-24 u-m-r-24">
<view class="row-start u-col-top u-m-b-42" v-for="(itme, index) in 10">
<view class="row-start u-col-top u-m-b-42" v-for="(item, index) in list">
<view>
<u-image :src="cloudPath + 'img/banner.png'" width="180" height="180" border-radius="20"></u-image>
<u-image :src="cloudPath + item.image" width="180" height="180" border-radius="20"></u-image>
</view>
<view class="u-m-l-18 w-full">
<view>小熊早餐必备煮蛋器</view>
<view>{{item.title}}</view>
<view class="u-m-t-4 text-7c">兑换66人</view>
<view class="u-m-t-42 row-between">
<view>
<text class="primary">100.00</text>
<view v-if="item.needMoney">
<text class="primary">{{item.point}}</text>
<text class="text-7c">积分+</text>
<text class="primary">100.00</text>
<text class="primary">{{item.money}}</text>
<text class="text-7c"></text>
</view>
<view>
<view class="flex1" style="display: flex;justify-content: flex-end;">
<u-button @click="toExchange" hover-class="none" :customStyle="{width: '145rpx', height: '61rpx', backgroundColor: themeColor, color: '#fff', border: 'none', borderRadius: '31rpx'}" :hair-line="false">兑换</u-button>
</view>
</view>
@ -45,7 +45,7 @@
export default {
data() {
return {
list: [
tab: [
{
name: '全部'
},
@ -53,7 +53,12 @@
name: '热门推荐'
}
],
current: 0
current: 0,
list: [
{image: 'img/banner.png', title: '小熊早餐必备煮蛋器', needMoney: true, point: 100, money: 200},
{image: 'img/banner.png', title: '满9-2优惠券', needMoney: false, point: 0, money: 0},
{image: 'img/banner.png', title: '满15-3优惠券', needMoney: false, point: 0, money: 0},
]
}
},
methods: {