Commit 68dd4d7e authored by 郝聪敏's avatar 郝聪敏

fix: 修改ui不符合的地方

parent b7f2ca0f
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
</cr-swipe> </cr-swipe>
</div> </div>
<div class="activity-draw" v-if="status !== 'HAS_WINNING'"> <div class="activity-draw" v-if="status !== 'HAS_WINNING'">
<p class="activity-draw-tips" v-if="status === 'HAS_CHANCE'">您有次抽奖机会</p> <p class="activity-draw-tips" v-if="status === 'HAS_CHANCE'">您有1次抽奖机会</p>
<div class="activity-draw-button" @click="drawLottery">立即抽奖 100%领钱</div> <div class="activity-draw-button" @click="drawLottery">立即抽奖 100%领钱</div>
</div> </div>
<div class="activity-withdrawal"> <div class="activity-withdrawal">
......
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
<cr-button class="Avp-body-button" @click="drawLottery"> <cr-button class="Avp-body-button" @click="drawLottery">
完成投票抽红包 完成投票抽红包
</cr-button> </cr-button>
<p>最高<span>88888</span>元</p> <p>最高<span>18888</span>元</p>
</div> </div>
</div> </div>
</cr-popup> </cr-popup>
...@@ -592,7 +592,7 @@ export default { ...@@ -592,7 +592,7 @@ export default {
overflow-x: hidden; overflow-x: hidden;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
box-sizing: border-box; box-sizing: border-box;
padding: 9px 5px 24px; padding: 9px 0 24px;
width: 100%; width: 100%;
height: 98%; height: 98%;
border-radius: 14px; border-radius: 14px;
......
...@@ -237,10 +237,12 @@ export default { ...@@ -237,10 +237,12 @@ export default {
showPopups() { showPopups() {
if (this.readOnlyProperty.relation) return; if (this.readOnlyProperty.relation) return;
this.showPopup = true; this.showPopup = true;
if (!this.refreshed) { const timer = setTimeout(() => {
this.$refs.picker.refreshColumns(); this.$refs.picker.refreshColumns();
this.refreshed = true; }, 500);
} this.$once("hook:beforeDestroy", () => {
clearTimeout(timer);
});
}, },
async delFamily() { async delFamily() {
console.log(this.information); console.log(this.information);
......
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
computed: { computed: {
...mapState("user", ["familyList"]), ...mapState("user", ["familyList"]),
policyList() { policyList() {
if (!localStorage.get("mongoToken")) { if (!localStorage.get("mongoToken") || !this.familyList.length) {
// 未登录时返回默认徽章墙 // 未登录时返回默认徽章墙
const policyList = GOODS_LIST.filter(v => v.id !== "BNZJX001"); const policyList = GOODS_LIST.filter(v => v.id !== "BNZJX001");
return policyList; return policyList;
......
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