苹果内购调整,苹果端隐藏vip相关内容
This commit is contained in:
@@ -122,9 +122,9 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- <view class="youKeL" style="margin-bottom: 80rpx;">
|
||||
<view class="youKeL" style="margin-bottom: 80rpx;" v-if="!isAndorid">
|
||||
<view @click="onPageJump('/pages/user/visitor')">免登陆体验</view>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
|
||||
<z-popup v-model="HealthOpen" type="center" :hideOnBlur="false">
|
||||
@@ -251,6 +251,7 @@
|
||||
quCodeList: [], // 国家区域码
|
||||
quCode: '86',
|
||||
submitClickNum:0, // 登陆按钮点击次数
|
||||
isAndorid : true
|
||||
};
|
||||
},
|
||||
//第一次加载
|
||||
@@ -264,6 +265,7 @@
|
||||
pname: 'com.tencent.mm',
|
||||
action: "weixin://"
|
||||
});
|
||||
this.getOS()
|
||||
// #endif
|
||||
},
|
||||
//页面显示
|
||||
@@ -277,6 +279,17 @@
|
||||
methods: {
|
||||
...mapMutations(['setUserInfo']),
|
||||
...mapMutations(['setHealthMes']),
|
||||
// 获得操作系统
|
||||
getOS() {
|
||||
let oprateOs = "";
|
||||
oprateOs = uni.getSystemInfoSync().platform;
|
||||
// console.log(oprateOs)
|
||||
if (oprateOs == "android") {
|
||||
this.isAndorid = true;
|
||||
} else {
|
||||
this.isAndorid = false;
|
||||
}
|
||||
},
|
||||
closeMusic() {
|
||||
this.$music.setCloseBgm() // 关闭音频
|
||||
uni.setStorage({
|
||||
|
||||
@@ -120,24 +120,24 @@
|
||||
</view>
|
||||
<view class="footer_item">
|
||||
<view class="footer_nav_item" @click="onYouAlert()">
|
||||
<image class="footer_nav_item_image" src="/static/tab/icon3_n.png" mode="aspectFit"></image>
|
||||
<text class="footer_nav_item_text">我的图书</text>
|
||||
<image class="footer_nav_item_image" src="/static/tab/order.png" mode="aspectFit"></image>
|
||||
<text class="footer_nav_item_text">我的订单</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="footer_item">
|
||||
<view class="footer_nav_item" @click="onYouAlert()">
|
||||
<image class="footer_nav_item_image" src="/static/tab/icon2_n.png" mode="aspectFit"></image>
|
||||
<text class="footer_nav_item_text">我的订单</text>
|
||||
<image class="footer_nav_item_image" src="/static/tab/tab_nor_03.png" mode="aspectFit"></image>
|
||||
<text class="footer_nav_item_text">太湖公益</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="footer_item">
|
||||
<view class="footer_nav_item" @click="selected=4">
|
||||
<image v-if="selected == 4" class="footer_nav_item_image footer_nav_item_image_scale"
|
||||
src="/static/tab/icon4_y.png" mode="aspectFit"></image>
|
||||
<image v-else class="footer_nav_item_image" src="/static/tab/icon4_n.png" mode="aspectFit">
|
||||
<image v-else class="footer_nav_item_image" src="/static/tab/tab_nor_04.png" mode="aspectFit">
|
||||
</image>
|
||||
<text class="footer_nav_item_text"
|
||||
:class="[selected == 4 ? 'footer_item_text_active' : '']">首页</text>
|
||||
:class="[selected == 4 ? 'footer_item_text_active' : '']">我的</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -335,12 +335,9 @@
|
||||
您还未登录,请先登录~
|
||||
</view>
|
||||
</u-modal>
|
||||
<!-- <z-navigation></z-navigation> -->
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -404,6 +401,7 @@
|
||||
//页面显示
|
||||
onShow() {
|
||||
// 隐藏原生的tabbar
|
||||
// uni.hideTabBar();
|
||||
this.tjProList = []
|
||||
this.getData();
|
||||
this.getTags()
|
||||
@@ -470,7 +468,7 @@
|
||||
'page': 1
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res, 'xinshu')
|
||||
// console.log(res, 'xinshu')
|
||||
this.newBookList = res.page.list
|
||||
}).catch(e => {
|
||||
console.log(e, '新书上市报错')
|
||||
@@ -513,7 +511,7 @@
|
||||
this.tjProList = this.tjProList.concat(res.page.records)
|
||||
this.totalPage = res.page.pages
|
||||
this.status = 3
|
||||
console.log(this.tjProList, '按标签检索结果')
|
||||
// console.log(this.tjProList, '按标签检索结果')
|
||||
} else {
|
||||
this.tjProList = []
|
||||
this.totalPage = 0
|
||||
@@ -1249,7 +1247,7 @@
|
||||
|
||||
|
||||
.footer_item_text_active {
|
||||
color: #079307;
|
||||
color: #258feb;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user