|
@ -8,7 +8,8 @@ |
|
|
<image src="../../static/popUpWindow/bg.png" mode="widthFix"></image> |
|
|
<image src="../../static/popUpWindow/bg.png" mode="widthFix"></image> |
|
|
</div> |
|
|
</div> |
|
|
<view class="popup-desc"> |
|
|
<view class="popup-desc"> |
|
|
{{ tip[type[$i18n.locale]] }} |
|
|
|
|
|
|
|
|
<!-- {{ tip.details }} --> |
|
|
|
|
|
<u-parse :content="tip.details"></u-parse> |
|
|
</view> |
|
|
</view> |
|
|
<view class="popup-btn"> |
|
|
<view class="popup-btn"> |
|
|
<view @click="close" class="">ok</view> |
|
|
<view @click="close" class="">ok</view> |
|
@ -45,13 +46,21 @@ |
|
|
methods: { |
|
|
methods: { |
|
|
//关闭 |
|
|
//关闭 |
|
|
close() { |
|
|
close() { |
|
|
uni.setStorageSync('clickPopUp', {}); //用户是否点击过关闭弹框 |
|
|
|
|
|
|
|
|
uni.setStorageSync('clickPopUp', 'true'); //用户是否点击过关闭弹框 |
|
|
this.$emit('close') |
|
|
this.$emit('close') |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//获取首页提示 |
|
|
//获取首页提示 |
|
|
getIndexTip() { |
|
|
getIndexTip() { |
|
|
this.request('getIndexTip').then(res => { |
|
|
|
|
|
|
|
|
// this.request('getIndexTip').then(res => { |
|
|
|
|
|
// if (res.code == 200) { |
|
|
|
|
|
// this.tip = res.result |
|
|
|
|
|
// } |
|
|
|
|
|
// }) |
|
|
|
|
|
|
|
|
|
|
|
this.request('getPromptNotice', {}, { |
|
|
|
|
|
us : this.$i18n.locale |
|
|
|
|
|
}).then(res => { |
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
this.tip = res.result |
|
|
this.tip = res.result |
|
|
} |
|
|
} |
|
@ -69,7 +78,7 @@ |
|
|
position: fixed; |
|
|
position: fixed; |
|
|
height: 100vh; |
|
|
height: 100vh; |
|
|
width: 750rpx; |
|
|
width: 750rpx; |
|
|
background: rgba(0, 0, 0, .1); |
|
|
|
|
|
|
|
|
background: rgba(0, 0, 0, 0.3); |
|
|
left: 0; |
|
|
left: 0; |
|
|
top: 0; |
|
|
top: 0; |
|
|
z-index: 1000; |
|
|
z-index: 1000; |
|
@ -77,7 +86,7 @@ |
|
|
|
|
|
|
|
|
.popup-content { |
|
|
.popup-content { |
|
|
position: relative; |
|
|
position: relative; |
|
|
width: 96%; |
|
|
|
|
|
|
|
|
width: 90%; |
|
|
margin: 0rpx auto; |
|
|
margin: 0rpx auto; |
|
|
background: white; |
|
|
background: white; |
|
|
border-radius: 15rpx; |
|
|
border-radius: 15rpx; |
|
|