Commit 5c027b9f authored by 王炽's avatar 王炽

溯源游

parent 9e58fcad
...@@ -46,6 +46,12 @@ import { defineProps, defineEmits, ref, onMounted } from 'vue' ...@@ -46,6 +46,12 @@ import { defineProps, defineEmits, ref, onMounted } from 'vue'
import { showLoading, hideLoading } from '../../utils'; import { showLoading, hideLoading } from '../../utils';
import { fetchActivityStateJSON } from '../../api/integral'; import { fetchActivityStateJSON } from '../../api/integral';
const handleUpgrade_daikaiqi = () => {
uni.showToast({
title: '活动暂未开启',
icon: 'none'
})
}
// 定义组件名称 // 定义组件名称
defineOptions({ defineOptions({
name: 'suyuanyou' name: 'suyuanyou'
......
...@@ -627,9 +627,28 @@ import YearGift from '../components/pointRightsCom/yearGift.vue'; ...@@ -627,9 +627,28 @@ import YearGift from '../components/pointRightsCom/yearGift.vue';
const orderUpgrade = ref(false); const orderUpgrade = ref(false);
// const maxVal = ref([]); // const maxVal = ref([]);
const integralData = ref({ const integralData = ref({
"tupianBanben": "1017",
"tupianBanben": "1018",
"swiper": [ "swiper": [
], ],
"quanyitiaozhuanInfo":{
"suyuanyou":{
"qubaoming": {
"url": "https://member.feihe.com/memberH5/#/SyySignupInfo?activityCode=syy20250806&sceneCode=WXG01",
"type": 3
}
},
"shengrili":{
"qushiyong": {
"url": "subPackages/shopMainProcess/coupons/couponList",
"type": 2,
"extra": {
"appId": "wx4205ec55b793245e",
"envVersion": "release"
}
}
}
},
"vipLvInfo":[ "vipLvInfo":[
{ {
"currentLvTip":"currentLvTip0.png", "currentLvTip":"currentLvTip0.png",
...@@ -1453,7 +1472,7 @@ import YearGift from '../components/pointRightsCom/yearGift.vue'; ...@@ -1453,7 +1472,7 @@ import YearGift from '../components/pointRightsCom/yearGift.vue';
}); });
// const integralData = ref({}); // const integralData = ref({});
const quanyitiaozhuanInfo = ref({});
const selectIdx = ref(0);//权益选中id const selectIdx = ref(0);//权益选中id
const isshowShouqi = ref(true);//是否收起权益 const isshowShouqi = ref(true);//是否收起权益
const isshowQuanyiDetail = ref(true);//是否显示权益详情 const isshowQuanyiDetail = ref(true);//是否显示权益详情
...@@ -1767,6 +1786,7 @@ import YearGift from '../components/pointRightsCom/yearGift.vue'; ...@@ -1767,6 +1786,7 @@ import YearGift from '../components/pointRightsCom/yearGift.vue';
vipQuanyiData.value = integralData.value.qunyiInfo.vipLvsQuanyi; vipQuanyiData.value = integralData.value.qunyiInfo.vipLvsQuanyi;
tupianBanben.value = integralData.value.tupianBanben; tupianBanben.value = integralData.value.tupianBanben;
quanyiBgs.value = integralData.value.qunyiInfo.quanyiBgs; quanyiBgs.value = integralData.value.qunyiInfo.quanyiBgs;
quanyitiaozhuanInfo.value = integralData.value.quanyitiaozhuanInfo;
quanyiListIcon.value = []; quanyiListIcon.value = [];
imgInfos.value.forEach((element,index) => { imgInfos.value.forEach((element,index) => {
...@@ -2309,14 +2329,7 @@ import YearGift from '../components/pointRightsCom/yearGift.vue'; ...@@ -2309,14 +2329,7 @@ import YearGift from '../components/pointRightsCom/yearGift.vue';
break; break;
case 1000: case 1000:
jump({ jump(quanyitiaozhuanInfo?.value?.shengrili?.qushiyong);
type: 2,
url: "subPackages/shopMainProcess/coupons/couponList",
extra: {
appId: "wx4205ec55b793245e",
envVersion: "release"
}
})
//去使用 //去使用
break; break;
default: default:
...@@ -2329,14 +2342,7 @@ import YearGift from '../components/pointRightsCom/yearGift.vue'; ...@@ -2329,14 +2342,7 @@ import YearGift from '../components/pointRightsCom/yearGift.vue';
if(data.index < 3){ if(data.index < 3){
gotoGonglue(); gotoGonglue();
}else{ }else{
// jump({ jump(quanyitiaozhuanInfo?.value?.suyuanyou?.qubaoming);
// type: 2,
// url: "subPackages/shopMainProcess/coupons/couponList",
// extra: {
// appId: "wx4205ec55b793245e",
// envVersion: "release"
// }
// })
} }
}; };
......
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