update
This commit is contained in:
parent
2c55a30a27
commit
f8da4a1ed7
2
package-lock.json
generated
2
package-lock.json
generated
@ -2350,7 +2350,7 @@
|
||||
"dev": true
|
||||
},
|
||||
"vue-loader-v16": {
|
||||
"version": "npm:vue-loader@16.8.3",
|
||||
"version": "npm:vue-loader-v16@16.8.3",
|
||||
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz",
|
||||
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
|
||||
"dev": true,
|
||||
|
||||
@ -2,7 +2,11 @@ const AutoPrefixer = require("autoprefixer");
|
||||
const px2rem = require("postcss-px2rem");
|
||||
module.exports = ({ file }) => {
|
||||
let remUnit; // 判断条件 请自行调整 我使用的是 mand-mobile ui 没有对vant引入进行测试
|
||||
if (file && file.dirname && file.dirname.indexOf("vant") > -1) { remUnit = 37.5; } else { remUnit = 75; }
|
||||
if (file && file.dirname && file.dirname.indexOf("vant") > -1) {
|
||||
remUnit = 37.5;
|
||||
} else {
|
||||
remUnit = 75;
|
||||
}
|
||||
return {
|
||||
plugins: [
|
||||
px2rem({ remUnit: remUnit, }),
|
||||
|
||||
@ -17,12 +17,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="notice">
|
||||
<span class="icon"
|
||||
><img src="../assets/img/laba.png" alt="" srcset=""
|
||||
/></span>
|
||||
<span class="num"
|
||||
>活动已有{{ store.state.userAccount.participantNum }}人参与</span
|
||||
>
|
||||
<span class="icon"><img src="../assets/img/laba.png" alt="" srcset="" /></span>
|
||||
<span class="num">活动已有{{ store.state.userAccount.participantNum }}人参与</span>
|
||||
</div>
|
||||
<div class="cloud_left_2"></div>
|
||||
<div class="icon_left_2"></div>
|
||||
@ -37,11 +33,7 @@
|
||||
<div class="cloud_right_3"></div>
|
||||
<div class="icon_right_1"></div>
|
||||
<div class="select_box"></div>
|
||||
<div
|
||||
class="draw_btn"
|
||||
:class="isDraw ? 'is_draw' : ''"
|
||||
@click="drawBtn"
|
||||
></div>
|
||||
<div class="draw_btn" :class="isDraw ? 'is_draw' : ''" @click="drawBtn"></div>
|
||||
<div class="rule_btn" @click="showRluesBtn"></div>
|
||||
<div class="prize_btn" @click="showMyPrizePop"></div>
|
||||
<div class="rule_btn_text"></div>
|
||||
@ -55,22 +47,12 @@
|
||||
<img src="../assets/img/activity_title.png" alt="" />
|
||||
</div>
|
||||
<div class="activity_list">
|
||||
<div
|
||||
class="activity_li"
|
||||
v-for="(item, index) in activityList"
|
||||
:key="index"
|
||||
:style="{
|
||||
'background-image': 'url(' + item.banner + ')',
|
||||
}"
|
||||
v-show="item.show"
|
||||
>
|
||||
<div
|
||||
class="btn"
|
||||
:style="{
|
||||
'background-image': 'url(' + item.btnImg + ')',
|
||||
}"
|
||||
@click="activityBtn(item)"
|
||||
></div>
|
||||
<div class="activity_li" v-for="(item, index) in activityList" :key="index" :style="{
|
||||
'background-image': 'url(' + item.banner + ')',
|
||||
}" v-show="item.show">
|
||||
<div class="btn" :style="{
|
||||
'background-image': 'url(' + item.btnImg + ')',
|
||||
}" @click="activityBtn(item)"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -222,8 +204,8 @@ const redpacket = (prizeId) => {
|
||||
service
|
||||
.post(
|
||||
process.env.VUE_APP_API +
|
||||
"/cms-activity/cms88/redpacket/receive/" +
|
||||
redpacketId,
|
||||
"/cms-activity/cms88/redpacket/receive/" +
|
||||
redpacketId,
|
||||
{}
|
||||
)
|
||||
.then((res) => {
|
||||
@ -455,9 +437,9 @@ const activityBtn = (item) => {
|
||||
|
||||
if (item.id == 3) {
|
||||
console.log("生日专享页面");
|
||||
console.log("跳转:", "https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_MxCbQgYb&uuid="+store.state.userAccount.uuid);
|
||||
console.log("跳转:", "https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_MxCbQgYb&uuid=" + store.state.userAccount.uuid);
|
||||
window.location.href =
|
||||
"https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_MxCbQgYb&uuid="+store.state.userAccount.uuid;
|
||||
"https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_MxCbQgYb&uuid=" + store.state.userAccount.uuid;
|
||||
}
|
||||
|
||||
if (item.id == 4) {
|
||||
@ -565,8 +547,8 @@ const getIsAddService = (id) => {
|
||||
service
|
||||
.post(
|
||||
process.env.VUE_APP_API +
|
||||
"/cms-activity/cms88/qywx/isadded/" +
|
||||
isInActivityDate,
|
||||
"/cms-activity/cms88/qywx/isadded/" +
|
||||
isInActivityDate,
|
||||
{}
|
||||
)
|
||||
.then((res) => {
|
||||
@ -712,8 +694,8 @@ const deleteData = (type) => {
|
||||
service
|
||||
.post(
|
||||
process.env.VUE_APP_API +
|
||||
"/cms-activity/cms88/redpacket/delete/" +
|
||||
type,
|
||||
"/cms-activity/cms88/redpacket/delete/" +
|
||||
type,
|
||||
{}
|
||||
)
|
||||
.then((res) => {
|
||||
@ -1104,6 +1086,7 @@ const deleteData = (type) => {
|
||||
@include box(530px, 594px);
|
||||
@include bg_pos("../assets/img/pop/got_luckyBag_pop.png");
|
||||
position: relative;
|
||||
|
||||
.go_index_btn {
|
||||
@include pos(394px, 92px, 79px, 389px);
|
||||
@include bg_pos("../assets/img/pop/to_index_btn.png");
|
||||
|
||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user