更新
This commit is contained in:
parent
5ab6141612
commit
4d258a0c2e
@ -48,7 +48,7 @@
|
|||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.a_c_home{
|
.a_c_home{
|
||||||
width: 600rpx;
|
width: 600rpx;
|
||||||
height: 80vh;
|
height: 90vh;
|
||||||
// border: 1px solid red;
|
// border: 1px solid red;
|
||||||
position: relative;
|
position: relative;
|
||||||
.head_img{
|
.head_img{
|
||||||
|
16
pages.json
16
pages.json
@ -226,6 +226,22 @@
|
|||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"onReachBottomDistance": 300
|
"onReachBottomDistance": 300
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path" : "pages/redpacket/redpacket",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText" : "补贴红包",
|
||||||
|
"enablePullDownRefresh" : false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path" : "pages/redpacket/redpack_type",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText" : "红包余额",
|
||||||
|
"enablePullDownRefresh" : false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"subPackages": [{
|
"subPackages": [{
|
||||||
|
25
pages/redpacket/redpack_type.vue
Normal file
25
pages/redpacket/redpack_type.vue
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<template>
|
||||||
|
<view class="">
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad() {},
|
||||||
|
onShow() {},
|
||||||
|
methods: {},
|
||||||
|
onPullDownRefresh() {
|
||||||
|
uni.stopPullDownRefresh()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
|
||||||
|
</style>
|
292
pages/redpacket/redpacket.vue
Normal file
292
pages/redpacket/redpacket.vue
Normal file
@ -0,0 +1,292 @@
|
|||||||
|
<template>
|
||||||
|
<view class="">
|
||||||
|
<block v-for="(item, index) in info">
|
||||||
|
<block v-if="item.type==1">
|
||||||
|
<view class="type_name">无门槛实物通用红包<text class="n_count">(2张)</text></view>
|
||||||
|
<view class="r_list" v-for="(e, i) in item.list">
|
||||||
|
<view class="r_item" @click="change(index, i)">
|
||||||
|
<image class="r_bg" src="/static/active/red_packet.webp"></image>
|
||||||
|
<view class="r_body">
|
||||||
|
<view class="r_count">
|
||||||
|
<view class="rc_count">
|
||||||
|
<text class="rc_icon">¥</text>240
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="r_content">
|
||||||
|
<view class="r_name">现金抵扣红包</view>
|
||||||
|
<view>仅限平台指定商家商品可使用</view>
|
||||||
|
<view>有效期至 2026.01.15 24:00:00</view>
|
||||||
|
</view>
|
||||||
|
<view class="r_icon">
|
||||||
|
<u-icon v-if="changeRed.type == index && changeRed.id == i" name="checkmark-circle-fill" color="#FFF3CC" size="56rpx"></u-icon>
|
||||||
|
<u-icon v-else name="checkmark-circle" color="#FFF3CC" size="56rpx"></u-icon>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</block>
|
||||||
|
<block v-if="item.type==2">
|
||||||
|
<view class="type_name">不可使用红包<text class="n_count">(2张)</text></view>
|
||||||
|
<view class="none_list" v-for="(e, i) in item.list">
|
||||||
|
<view class="r_body">
|
||||||
|
<view class="r_count">
|
||||||
|
<view class="rc_count">
|
||||||
|
<text class="rc_icon">¥</text>200
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="r_content">
|
||||||
|
<view class="r_name">现金抵扣红包</view>
|
||||||
|
<view>仅限平台指定商家商品可使用</view>
|
||||||
|
<view>有效期至 2026.01.15 24:00:00</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<u-line dashed color="#999999"></u-line>
|
||||||
|
<view class="n_tips">本单不可用原因:未在平台指定店铺使用</view>
|
||||||
|
</view>
|
||||||
|
</block>
|
||||||
|
</block>
|
||||||
|
|
||||||
|
<view class="footer">
|
||||||
|
<view>已选 {{ changeRed.id!=-1?1:0 }} 张, 可减 <text class="red_i">¥</text> <text class="red_c">50</text></view>
|
||||||
|
<view class="btn" @click="comfirm">确定</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
info: [
|
||||||
|
{
|
||||||
|
type: 1, // 是否可以使用
|
||||||
|
name: '无门槛实物通用红包',
|
||||||
|
list: [1, 2]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 1, // 是否可以使用
|
||||||
|
name: '现金抵扣红包',
|
||||||
|
list: [1,2,3]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 2, // 是否可以使用, 2不可以使用
|
||||||
|
name: '不可使用红包',
|
||||||
|
list: [1]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
changeRed: {
|
||||||
|
type: -1,
|
||||||
|
id: -1,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad(option) {
|
||||||
|
const eventChannel = this.getOpenerEventChannel();
|
||||||
|
// 监听acceptDataFromOpenerPage事件,获取上一页面通过eventChannel传送到当前页面的数据
|
||||||
|
eventChannel.on('changeRedPacketInfo', (data) => {
|
||||||
|
console.log(data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
onShow() {},
|
||||||
|
methods: {
|
||||||
|
change(e, i) {
|
||||||
|
console.log(e, i);
|
||||||
|
if(this.changeRed.type==e&&this.changeRed.id==i){
|
||||||
|
this.changeRed = {
|
||||||
|
type: -1,
|
||||||
|
id: -1
|
||||||
|
}
|
||||||
|
}else this.changeRed = {
|
||||||
|
type: e,
|
||||||
|
id: i
|
||||||
|
}
|
||||||
|
},
|
||||||
|
comfirm(){
|
||||||
|
uni.$emit('changeRedPacket', { id: 1 });
|
||||||
|
uni.navigateBack()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onPullDownRefresh() {
|
||||||
|
uni.stopPullDownRefresh()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
page{
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
.type_name{
|
||||||
|
padding: 20rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
.n_count{
|
||||||
|
color: #7A7A7A;
|
||||||
|
font-size: 24rpx;
|
||||||
|
margin-left: 10rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.r_list {
|
||||||
|
padding: 0 20rpx 20rpx 20rpx;
|
||||||
|
|
||||||
|
.r_item {
|
||||||
|
height: 156rpx;
|
||||||
|
width: 710rpx;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.r_bg {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.r_body {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
.r_count {
|
||||||
|
flex: 2;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
color: #A46F32;
|
||||||
|
font-size: 44rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
.rc_count {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rc_icon {
|
||||||
|
font-size: 28rpx;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-bottom: 8rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.r_content {
|
||||||
|
flex: 4;
|
||||||
|
color: #FFF3CC;
|
||||||
|
font-size: 24rpx;
|
||||||
|
padding: 18rpx 10rpx 18rpx 40rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
.r_name {
|
||||||
|
font-size: 32rpx;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-bottom: 10rpx;
|
||||||
|
}
|
||||||
|
view{
|
||||||
|
width: 100%;
|
||||||
|
overflow: hidden; /* 隐藏超出宽度的文本 */
|
||||||
|
white-space: nowrap; /* 不换行 */
|
||||||
|
text-overflow: ellipsis; /* 文本末尾显示省略号 */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.r_icon {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.none_list{
|
||||||
|
margin: 0 20rpx 20rpx 20rpx;
|
||||||
|
background-color: #E2E2E2;
|
||||||
|
border-radius: 20rpx;
|
||||||
|
|
||||||
|
.r_body {
|
||||||
|
height: 156rpx;
|
||||||
|
width: 710rpx;
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
.r_count {
|
||||||
|
flex: 2;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
color: #333;
|
||||||
|
font-size: 44rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
.rc_count {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rc_icon {
|
||||||
|
font-size: 28rpx;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-bottom: 8rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.r_content {
|
||||||
|
flex: 5;
|
||||||
|
color: #333;
|
||||||
|
font-size: 24rpx;
|
||||||
|
padding: 18rpx 10rpx 18rpx 40rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
.r_name {
|
||||||
|
font-size: 32rpx;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-bottom: 10rpx;
|
||||||
|
}
|
||||||
|
view{
|
||||||
|
width: 100%;
|
||||||
|
overflow: hidden; /* 隐藏超出宽度的文本 */
|
||||||
|
white-space: nowrap; /* 不换行 */
|
||||||
|
text-overflow: ellipsis; /* 文本末尾显示省略号 */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.n_tips{
|
||||||
|
padding: 10rpx 30rpx 20rpx 30rpx;
|
||||||
|
color: #333;
|
||||||
|
font-size: 24rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.footer{
|
||||||
|
height: 130rpx;
|
||||||
|
padding: 30rpx;
|
||||||
|
width: 100%;
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
background-color: #F6F6F6;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 28rpx;
|
||||||
|
.red_i{
|
||||||
|
color: #FF421D;
|
||||||
|
margin-left: 20rpx;
|
||||||
|
}
|
||||||
|
.red_c{
|
||||||
|
color: #FF421D;
|
||||||
|
font-size: 44rpx;
|
||||||
|
}
|
||||||
|
.btn{
|
||||||
|
width: 128rpx;
|
||||||
|
height: 68rpx;
|
||||||
|
background-color: #EC693F;
|
||||||
|
border-radius: 34rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
@ -17,7 +17,7 @@
|
|||||||
<!-- 自定义顶部背景颜色 -->
|
<!-- 自定义顶部背景颜色 -->
|
||||||
<view class="new-users skeleton" :style="{visibility: showSkeleton ? 'hidden' : 'visible'}">
|
<view class="new-users skeleton" :style="{visibility: showSkeleton ? 'hidden' : 'visible'}">
|
||||||
<view class="head">
|
<view class="head">
|
||||||
<view class="user-card" :class="userInfo.svip_open && svip_switch_status == 1 ? 'svip-card' : ''">
|
<view class="user-card" style="padding-bottom: 0;" :class="userInfo.svip_open && svip_switch_status == 1 ? 'svip-card' : ''">
|
||||||
<view class="bg"></view>
|
<view class="bg"></view>
|
||||||
<view class="user-info">
|
<view class="user-info">
|
||||||
<view class="avatar-box" :class="{on:userInfo.is_svip > 0 && svip_switch_status == 1}">
|
<view class="avatar-box" :class="{on:userInfo.is_svip > 0 && svip_switch_status == 1}">
|
||||||
@ -61,7 +61,7 @@
|
|||||||
<view class="phone" v-if="!userInfo.phone && isLogin" @tap="bindPhone">绑定手机号</view>
|
<view class="phone" v-if="!userInfo.phone && isLogin" @tap="bindPhone">绑定手机号</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="num-wrapper skeleton-rect">
|
<!-- <view class="num-wrapper skeleton-rect">
|
||||||
<view class="num-item" @click="goMenuPage('/pages/users/user_goods_collection/index')">
|
<view class="num-item" @click="goMenuPage('/pages/users/user_goods_collection/index')">
|
||||||
<text class="num">{{userInfo.total_collect_product || 0}}</text>
|
<text class="num">{{userInfo.total_collect_product || 0}}</text>
|
||||||
<view class="txt">我的收藏</view>
|
<view class="txt">我的收藏</view>
|
||||||
@ -75,15 +75,31 @@
|
|||||||
<text class="num">{{userInfo.total_visit_product || 0}}</text>
|
<text class="num">{{userInfo.total_visit_product || 0}}</text>
|
||||||
<view class="txt">浏览记录</view>
|
<view class="txt">浏览记录</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="num-item" @click="goMenuPage('/pages/users/user_coupon/index')">
|
<view class="num-item" @click="goMenuPage('/pages/users/user_coupon/index')">
|
||||||
<text class="num">{{userInfo.total_coupon || 0}}</text>
|
<text class="num">{{userInfo.total_coupon || 0}}</text>
|
||||||
<view class="txt">优惠券</view>
|
<view class="txt">优惠券</view>
|
||||||
</view> -->
|
</view>
|
||||||
<view class="num-item" @click="goMenuPage('/pages/users/user_coupon/index')">
|
<view class="num-item" @click="goMenuPage('/pages/users/user_coupon/index')">
|
||||||
<text class="num">{{userInfo.total_coupon || 0}}</text>
|
<text class="num">{{userInfo.total_coupon || 0}}</text>
|
||||||
<view class="txt">购物券</view>
|
<view class="txt">购物券</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
|
<view class="packet_card">
|
||||||
|
<view class="p_d_item" @click="authTo('/pages/users/user_money/index')">
|
||||||
|
<view class="p_d_count">
|
||||||
|
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/e41f4202401201745498894.png"></image>
|
||||||
|
¥20000
|
||||||
|
</view>
|
||||||
|
<view>我的余额 (元)</view>
|
||||||
|
</view>
|
||||||
|
<view class="p_d_item" @click="authTo('/pages/redpacket/redpack_type')">
|
||||||
|
<view class="p_d_count">
|
||||||
|
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/d2868202401201750014779.png"></image>
|
||||||
|
¥200
|
||||||
|
</view>
|
||||||
|
<view>红包余额 (元)</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<navigator hover-class="none"
|
<navigator hover-class="none"
|
||||||
:url="userInfo.is_svip > 0 ? '/pages/annex/vip_center/index' : '/pages/annex/vip_paid/index'"
|
:url="userInfo.is_svip > 0 ? '/pages/annex/vip_center/index' : '/pages/annex/vip_paid/index'"
|
||||||
class="cardVipA acea-row row-between-wrapper"
|
class="cardVipA acea-row row-between-wrapper"
|
||||||
@ -1319,4 +1335,33 @@
|
|||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.packet_card{
|
||||||
|
height: 140rpx;
|
||||||
|
width: 710rpx;
|
||||||
|
background-color: rgba(#fff, 0.3);
|
||||||
|
margin: 0 auto;
|
||||||
|
border-radius: 20rpx 20rpx 0 0;
|
||||||
|
margin-top: 20rpx;
|
||||||
|
padding: 20rpx 40rpx;
|
||||||
|
color: #fff;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
.p_d_item{
|
||||||
|
font-size: 26rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
.p_d_count{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 38rpx;
|
||||||
|
image{
|
||||||
|
width: 53rpx;
|
||||||
|
height: 53rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
@ -363,7 +363,7 @@
|
|||||||
</checkbox-group>
|
</checkbox-group>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class='item acea-row row-between-wrapper'
|
<!-- <view class='item acea-row row-between-wrapper'
|
||||||
v-if="!seckillId && order_type != 3 && order_type != 4 && enabledPlatformCoupon">
|
v-if="!seckillId && order_type != 3 && order_type != 4 && enabledPlatformCoupon">
|
||||||
<view>平台优惠券<text @tap="showCoupon" class="iconfont icon-wenhao1"></text></view>
|
<view>平台优惠券<text @tap="showCoupon" class="iconfont icon-wenhao1"></text></view>
|
||||||
<block v-if="platformCoupon.length > 0">
|
<block v-if="platformCoupon.length > 0">
|
||||||
@ -376,7 +376,21 @@
|
|||||||
<block v-else>
|
<block v-else>
|
||||||
<view class='discount'>暂无优惠券</view>
|
<view class='discount'>暂无优惠券</view>
|
||||||
</block>
|
</block>
|
||||||
</view>
|
</view> -->
|
||||||
|
<view class='item acea-row row-between-wrapper'
|
||||||
|
v-if="platformConsumption.length > 0">
|
||||||
|
<view>红包抵扣<!-- <text @tap="showCoupon" class="iconfont icon-wenhao1"></text> --></view>
|
||||||
|
<block v-if="platformConsumption.length > 0">
|
||||||
|
<view class='discount money red_packet' @tap='couponTap3()'>
|
||||||
|
<text v-if="total_platform_coupon_price>0">-¥{{total_platform_coupon_price}}</text>
|
||||||
|
<text v-else>有补贴红包未选</text>
|
||||||
|
<text class='iconfont icon-jiantou'></text>
|
||||||
|
</view>
|
||||||
|
</block>
|
||||||
|
<block v-else>
|
||||||
|
<view class='discount'>暂无可用红包</view>
|
||||||
|
</block>
|
||||||
|
</view>
|
||||||
<view class='item acea-row row-between-wrapper' v-if="priceGroup.storePostage > 0">
|
<view class='item acea-row row-between-wrapper' v-if="priceGroup.storePostage > 0">
|
||||||
<view>运费:</view>
|
<view>运费:</view>
|
||||||
<view class='money'>+¥{{priceGroup.storePostage}}</view>
|
<view class='money'>+¥{{priceGroup.storePostage}}</view>
|
||||||
@ -503,6 +517,7 @@
|
|||||||
// 备注
|
// 备注
|
||||||
msgObj: {},
|
msgObj: {},
|
||||||
textareaStatus: true,
|
textareaStatus: true,
|
||||||
|
platformConsumption: [],
|
||||||
deliveryName: '快递配送',
|
deliveryName: '快递配送',
|
||||||
//支付方式
|
//支付方式
|
||||||
cartArr: [{
|
cartArr: [{
|
||||||
@ -1037,7 +1052,8 @@
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
// 默认选中
|
// 默认选中
|
||||||
that.product_type=res.data.order_type
|
that.product_type=res.data.order_type
|
||||||
that.is_take = false
|
that.is_take = false;
|
||||||
|
that.platformConsumption = res.data.platformConsumption;
|
||||||
res.data.order.forEach(el => {
|
res.data.order.forEach(el => {
|
||||||
if (el.order.isTake == 1) that.is_take = true
|
if (el.order.isTake == 1) that.is_take = true
|
||||||
el.isTake = 0
|
el.isTake = 0
|
||||||
@ -1183,6 +1199,17 @@
|
|||||||
this.$set(this, "coupon_number", this.subCoupon['0'].length);
|
this.$set(this, "coupon_number", this.subCoupon['0'].length);
|
||||||
this.$set(this, "coupon_amount", this.plant_coupon_amount);
|
this.$set(this, "coupon_amount", this.plant_coupon_amount);
|
||||||
},
|
},
|
||||||
|
couponTap3: function(item, index) {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/redpacket/redpacket',
|
||||||
|
success:(res)=> {
|
||||||
|
res.eventChannel.emit('changeRedPacketInfo', this.platformConsumption)
|
||||||
|
uni.$once('changeRedPacket', (data)=>{
|
||||||
|
console.log('选择红包', data);
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
car: function() {
|
car: function() {
|
||||||
let that = this;
|
let that = this;
|
||||||
that.animated = false;
|
that.animated = false;
|
||||||
@ -2583,4 +2610,12 @@
|
|||||||
height: 756rpx;
|
height: 756rpx;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
|
.red_packet{
|
||||||
|
color: #ff5c2d !important;
|
||||||
|
background-color: rgba(#ff5c2d, 0.3);
|
||||||
|
border-radius: 60rpx;
|
||||||
|
padding: 5rpx 10rpx;
|
||||||
|
padding-left: 20rpx;
|
||||||
|
font-size: 25rpx;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
BIN
static/active/red_packet.webp
Normal file
BIN
static/active/red_packet.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
Loading…
x
Reference in New Issue
Block a user