Commit d88d4c0f authored by 王炽's avatar 王炽

666666

parent 6acd4111
...@@ -396,7 +396,7 @@ ...@@ -396,7 +396,7 @@
@go-to-shop="handleGoToShop" @go-to-shop="handleGoToShop"
/> --> /> -->
</view> </view>
<view class="zhankai-quanyi" @click="handleZhankaiClick"> <view class="zhankai-quanyi" @click="handleZhankaiClick" v-if="selectIdx != -1">
<image <image
v-if="isshowShouqi" v-if="isshowShouqi"
class="shouqi-quanyi-img" class="shouqi-quanyi-img"
...@@ -1473,9 +1473,9 @@ import YearGift from '../components/pointRightsCom/yearGift.vue'; ...@@ -1473,9 +1473,9 @@ import YearGift from '../components/pointRightsCom/yearGift.vue';
// const integralData = ref({}); // const integralData = ref({});
const quanyitiaozhuanInfo = ref({}); const quanyitiaozhuanInfo = ref({});
const selectIdx = ref(0);//权益选中id const selectIdx = ref(-1);//权益选中id
const isshowShouqi = ref(true);//是否收起权益 const isshowShouqi = ref(false);//是否收起权益
const isshowQuanyiDetail = ref(true);//是否显示权益详情 const isshowQuanyiDetail = ref(false);//是否显示权益详情
const swiperData = ref(integralData.value.swiper);//banner图片地方 const swiperData = ref(integralData.value.swiper);//banner图片地方
const vipLvIcons = ref(integralData.value.viplv.imgs);//会员等级图标 const vipLvIcons = ref(integralData.value.viplv.imgs);//会员等级图标
const vipLvNameImgs = ref(integralData.value.viplv.vipNameImgs);//会员等级名称图片 const vipLvNameImgs = ref(integralData.value.viplv.vipNameImgs);//会员等级名称图片
...@@ -1567,9 +1567,16 @@ import YearGift from '../components/pointRightsCom/yearGift.vue'; ...@@ -1567,9 +1567,16 @@ import YearGift from '../components/pointRightsCom/yearGift.vue';
} }
}) })
//isshowShouqi 为true 时,展示收起按详情,为false 时,展示查看详情
const handleZhankaiClick = () => { const handleZhankaiClick = () => {
isshowShouqi.value = !isshowShouqi.value; isshowShouqi.value = !isshowShouqi.value;
isshowQuanyiDetail.value = !isshowQuanyiDetail.value; isshowQuanyiDetail.value = !isshowQuanyiDetail.value;
// if(!isshowShouqi.value){
// selectIdx.value = -1;
// }
} }
//原始数值:(points.value/maxVal.value[memberInfo.value.grade])*100; //原始数值:(points.value/maxVal.value[memberInfo.value.grade])*100;
const getProgress = (index) => { const getProgress = (index) => {
...@@ -2166,7 +2173,14 @@ import YearGift from '../components/pointRightsCom/yearGift.vue'; ...@@ -2166,7 +2173,14 @@ import YearGift from '../components/pointRightsCom/yearGift.vue';
const handlePrivilegeClick = (item, index) => { const handlePrivilegeClick = (item, index) => {
selectIdx.value = index; selectIdx.value = index;
if(!isshowShouqi.value){
isshowShouqi.value = true;
}
if(!isshowQuanyiDetail.value){
isshowQuanyiDetail.value = true;
}
md.sensorLogTake({ md.sensorLogTake({
xcxClick: "积分服务页-首屏页面点击", xcxClick: "积分服务页-首屏页面点击",
pageName: "积分服务页-首屏", pageName: "积分服务页-首屏",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment