油站小程序

This commit is contained in:
@QQNZX 2023-12-18 15:19:34 +08:00
parent f8a1fdea61
commit 4d5b7529e4
3 changed files with 9 additions and 8 deletions
gasStation-uni/pagesHome
Activity
PointsGoodsDetails
activeIn

View File

@ -7,11 +7,13 @@
<view class="my-icons"></view> <view class="my-icons"></view>
</view> </view>
<view class="mub"> <view class="mub">
<view class="mub-box" v-for="(item,index) in activityList" :key="index" <view class="mub-box" v-for="(item,index) in activityList" :key="index">
@click="intoOtherPage(item.name)"> <view class="right-box" v-if="index != 0">
<view class="right-box">
立即前往 立即前往
</view> </view>
<view class="right-box" v-if="index == 0">
最新活动
</view>
<view class="box-img" @click="intoOtherPage(item.name)"> <view class="box-img" @click="intoOtherPage(item.name)">
<image src="../../static/imgs/xfyl.png" v-if="item.name == '消费有礼活动'"></image> <image src="../../static/imgs/xfyl.png" v-if="item.name == '消费有礼活动'"></image>
<image src="../../static/imgs/zkyx.png" v-if="item.name == '折扣营销活动'"></image> <image src="../../static/imgs/zkyx.png" v-if="item.name == '折扣营销活动'"></image>
@ -22,8 +24,8 @@
</view> </view>
<view class="box-size"> <view class="box-size">
<view class="box-s-title">{{item.name || "活动标题"}}</view> <view class="box-s-title">{{item.name || "活动标题"}}</view>
<view class="box-s-size">{{item.des || "内容"}}</view> <view class="box-s-size">{{item.des || "内容"}}</view>
<!-- <view class="dis-box"> <!-- <view class="dis-box">
<view class="dian"></view> <view class="dian"></view>
<view class="h_size">适用用户普通会员银牌会员V2</view> <view class="h_size">适用用户普通会员银牌会员V2</view>
</view> </view>
@ -238,4 +240,4 @@
font-weight: 400; font-weight: 400;
color: #777777; color: #777777;
} }
</style> </style>

View File

@ -105,9 +105,7 @@
exchangeQuantity: '', exchangeQuantity: '',
exchangeMethod: '', exchangeMethod: '',
shippingType: '', shippingType: '',
amount: '', amount: '',
courierCompanies: '', courierCompanies: '',
theTrackingNumber: '' theTrackingNumber: ''

View File

@ -13,6 +13,7 @@
<image src="../../static/imgs/mjyh.png" v-if="title == '满减营销活动'"></image> <image src="../../static/imgs/mjyh.png" v-if="title == '满减营销活动'"></image>
<image src="../../static/imgs/xryl.png" v-if="title == '新人有礼活动'"></image> <image src="../../static/imgs/xryl.png" v-if="title == '新人有礼活动'"></image>
<image src="../../static/imgs/yqyl.png" v-if="title == '推荐有礼活动'"></image> <image src="../../static/imgs/yqyl.png" v-if="title == '推荐有礼活动'"></image>
<image src="../../static/imgs/chongzhi.png" v-if="title == '储值卡充值活动'"></image>
</view> </view>
<view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '消费有礼活动'"> <view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '消费有礼活动'">
<view class=" title-box">活动介绍</view> <view class=" title-box">活动介绍</view>