Browse Source

上传

master
前端-胡立永 4 days ago
parent
commit
ccebef02ee
3 changed files with 23 additions and 13 deletions
  1. +21
    -11
      pages/index/agreement.vue
  2. +1
    -1
      pages/index/article.vue
  3. +1
    -1
      pages/index/home.vue

+ 21
- 11
pages/index/agreement.vue View File

@ -34,13 +34,24 @@
icon-size="30rpx"
activeColor="#ecb864"
:name="1"></uv-checkbox>
<view>
我已仔细阅读并已同意以下
<text@click="$refs.checkboxPopup.open('bottom')">
{{ privacyPolicyList.length }}项条款
</text>
</view>
<view @click="$refs.popup.openContent(item.details)"
v-for="(item, index) in privacyPolicyList"
:key="item.id"
class="privacy"
v-if="index < 3"
> {{ item.title }} </view>
<text
class="privacy"
v-if="privacyPolicyList.length > 3"
@click="$refs.checkboxPopup.open('bottom')">
{{ privacyPolicyList.length }}项条款
</text>
<!-- <text @click="$refs.popup.open('user_ys_one')">全球隐私声明1</text>
<text @click="$refs.popup.open('user_ys_two')">全球隐私声明2</text>
@ -126,11 +137,11 @@
return
}
if(!this.checkboxValue.length){
// uni.showToast({
// title:'',
// icon: 'none'
// })
this.$refs.popup.openkeys()
uni.showToast({
title:'请同意隐私政策',
icon: 'none'
})
// this.$refs.popup.openkeys()
return
}
@ -183,9 +194,8 @@
view{
line-height: 50rpx;
}
text{
.privacy{
color: #1e52ff;
line-height: 50rpx;
}
}
.uni-color-btn{


+ 1
- 1
pages/index/article.vue View File

@ -14,7 +14,7 @@
<image :src="configList.img_11"
class="content-bg"
mode="aspectFill"></image>
mode="scaleToFill"></image>
<view class="article">
<uv-parse :content="articleList[index].details"></uv-parse>


+ 1
- 1
pages/index/home.vue View File

@ -14,7 +14,7 @@
<image :src="configList.img_11"
class="content-bg"
mode="aspectFill"></image>
mode="scaleToFill"></image>
<view class=""
v-html="$utils.stringFormatHtml(question[index].title)">


Loading…
Cancel
Save