听书页面
This commit is contained in:
@@ -1,18 +1,23 @@
|
||||
<template>
|
||||
<view style="font-size: 28upx;">
|
||||
<!-- <z-nav-bar backState="2000" title="首页"></z-nav-bar> -->
|
||||
<view class="home_bg">
|
||||
<view class="home_bg" >
|
||||
<image src="../../static/icon/home_icon_1.png" mode="aspectFit" class="icon_hua_1"></image>
|
||||
<view v-if="showEbook" class="search_box" @click="onPageJump('./searchFor')">
|
||||
<text class="icon_search"></text>
|
||||
<text class="prompt">搜索...</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="home_nar" v-if="showEbook">
|
||||
<view class="hn_cl_tit dianzishu" @click="onPageJump('../eBook/bookList')">
|
||||
<!-- <view class="home_nar" v-if="showEbook"> -->
|
||||
<view class="home_nar">
|
||||
<view class="hn_cl_tit dianzishu" @click="onPageJump('../listen/home')">
|
||||
<image src="../../static/icon/home_bar_1.png" mode="aspectFit"></image>
|
||||
<text>听书</text>
|
||||
</view>
|
||||
<!-- <view class="hn_cl_tit dianzishu" @click="onPageJump('../eBook/bookList')">
|
||||
<image src="../../static/icon/home_bar_1.png" mode="aspectFit"></image>
|
||||
<text>电子书</text>
|
||||
</view>
|
||||
</view> -->
|
||||
<!-- <view class="hn_cl_tit" @click="onPageJump('../bookShop/bookShopIndex')"> -->
|
||||
<view class="hn_cl_tit chaoshi" @click="onPageJump('../bookShop/classify')">
|
||||
<image src="../../static/icon/home_bar_2.png" mode="aspectFit"></image>
|
||||
|
||||
@@ -55,9 +55,12 @@
|
||||
</view>
|
||||
|
||||
<view class="xiugai">
|
||||
<view class="nav_list" @click="onPageJump('../bookShop/orderList')">
|
||||
<view class="nav_list" @click="switchTab('../bookShop/orderList')">
|
||||
<text>我的订单</text>
|
||||
</view>
|
||||
<view class="nav_list" @click="onPageJump('../listen/home')">
|
||||
<text>我的听书</text>
|
||||
</view>
|
||||
<!-- <view v-if="showEbook" class="nav_list" @click="onPageJump('../eBook/bookBuy')">
|
||||
<text>电子书购买记录</text>
|
||||
</view> -->
|
||||
@@ -70,6 +73,7 @@
|
||||
<view class="nav_list" @click="onPageJump('../user/address')">
|
||||
<text>地址管理</text>
|
||||
</view>
|
||||
|
||||
<!-- <view class="nav_list" @click="onGoing()">
|
||||
<text>帮助与反馈</text>
|
||||
</view> -->
|
||||
@@ -127,6 +131,11 @@
|
||||
},
|
||||
//方法
|
||||
methods: {
|
||||
switchTab(url){
|
||||
uni.switchTab({
|
||||
url: url
|
||||
});
|
||||
},
|
||||
getData() {
|
||||
// 获取个人信息
|
||||
if (this.userInfo.id != undefined) {
|
||||
@@ -148,14 +157,14 @@
|
||||
//分享app
|
||||
onShare(){
|
||||
let shareData = {
|
||||
shareUrl:"https://sj.qq.com/appdetail/com.cn.nuttyreading?source=gdaq",
|
||||
shareUrl:"https://www.nuttyreading.com/nuttyreading.apk",
|
||||
shareTitle:"疯子读书",
|
||||
type:'0',
|
||||
shareContent:"疯子读书",
|
||||
shareContent:"疯子读书,请使用浏览器打开本链接,自动下载安装包",
|
||||
shareImg:"static/fengziIcon.jpg",
|
||||
appId : "wx47134a8f15083734", // 默认不传type的时候,必须传appId和appPath才会显示小程序图标1
|
||||
appPath : "https://sj.qq.com/appdetail/com.cn.nuttyreading?source=gdaq",
|
||||
appWebUrl : "https://sj.qq.com/appdetail/com.cn.nuttyreading?source=gdaq",
|
||||
appId : "wx47134a8f15083734", // 默认不传type的时候,必须传appId和appPath才会显示小程序图标
|
||||
appPath : "https://www.nuttyreading.com/nuttyreading.apk",
|
||||
appWebUrl : "https://www.nuttyreading.com/nuttyreading.apk",
|
||||
};
|
||||
// 调用
|
||||
let shareObj = appShare(shareData,res => {
|
||||
|
||||
@@ -329,7 +329,7 @@
|
||||
duration:2000
|
||||
});
|
||||
setTimeout(()=>{
|
||||
uni.navigateTo({
|
||||
uni.switchTab({
|
||||
url: '../bookShop/orderList'
|
||||
});
|
||||
},1000)
|
||||
|
||||
Reference in New Issue
Block a user