diff --git a/manifest.json b/manifest.json
index eb91b9b..a65a0d6 100644
--- a/manifest.json
+++ b/manifest.json
@@ -85,8 +85,8 @@
"maps" : {},
"share" : {
"weixin" : {
- "appid" : "wx47134a8f15083734",
- "UniversalLinks" : "https://verification.nuttyreading.com/uni-universallinks/__UNI__9788EB5/"
+ "appid" : "wx6b17b40171dea988",
+ "UniversalLinks" : "https://verification.nuttyreading.com/uni-universallinks/__UNI__C7475A8/"
}
},
"payment" : {
@@ -96,8 +96,8 @@
"appleiap" : {},
"weixin" : {
"__platform__" : [ "ios", "android" ],
- "appid" : "wx47134a8f15083734",
- "UniversalLinks" : "https://verification.nuttyreading.com/uni-universallinks/__UNI__9788EB5/"
+ "appid" : "wx6b17b40171dea988",
+ "UniversalLinks" : "https://verification.nuttyreading.com/uni-universallinks/__UNI__C7475A8/"
}
},
"oauth" : {},
@@ -113,7 +113,7 @@
// "UIBackgroundModes" : [ "audio" ], // 背景播放音乐
"capabilities" : {
"entitlements" : {
- "com.apple.developer.associated-domains" : []
+ "com.apple.developer.associated-domains" : [ "applinks:verification.nuttyreading.com" ]
}
},
"idfa" : false,
diff --git a/pages.json b/pages.json
index 948b597..25b8781 100644
--- a/pages.json
+++ b/pages.json
@@ -531,6 +531,13 @@
"navigationBarTitleText": "webView预览页面",
"enablePullDownRefresh": false
}
+ },
+ {
+ "path": "pages/medicaldes/xueshuwebView",
+ "style": {
+ "navigationBarTitleText": "学术webView预览页面",
+ "enablePullDownRefresh": false
+ }
}
],
"globalStyle": {
diff --git a/pages/course/courseDetail.vue b/pages/course/courseDetail.vue
index bd91597..8c1a41a 100644
--- a/pages/course/courseDetail.vue
+++ b/pages/course/courseDetail.vue
@@ -5,7 +5,12 @@
>
-
+
+
+
+ 分享课程
+
+
+
+
+
+
@@ -603,7 +612,7 @@ export default {
},
computed: {
...mapState(["userInfo"]),
- },
+ },
//页面显示
onShow() {
// 隐藏原生的tabbar
@@ -619,7 +628,7 @@ export default {
onHide() {
this.selectGoodsData = {};
this.protocolShow = false;
- this.handleClickClose();
+ // this.handleClickClose();
this.$refs.commonSelectGoods.close();
// this.showSearchList = false
// this.searchList = []
@@ -638,6 +647,47 @@ export default {
},
//方法
methods: {
+ haveSelected(data) {
+ console.log(data, " 选择的是");
+ if (data.index == 0) {
+ // 分享到好友
+ uni.share({
+ provider: "weixin",
+ scene: "WXSceneSession",
+ type: 0,
+ href: this.$apkUrl,
+ title: "吴门医述",
+ summary: "我正在使用吴门医述提升自己,赶紧跟我一起来体验吧!",
+ imageUrl: "static/icon/home_icon_logo.png",
+ success: function (res) {
+ console.log("success:" + JSON.stringify(res));
+ },
+ fail: function (err) {
+ console.log("fail:" + JSON.stringify(err));
+ },
+ });
+ } else if (data.index == 1) {
+ // 分享到朋友圈
+ uni.share({
+ provider: "weixin",
+ scene: "WXSceneTimeline",
+ type: 0,
+ href: this.$apkUrl,
+ title: "吴门医述",
+ summary: "我正在使用吴门医述提升自己,赶紧跟我一起来体验吧!",
+ imageUrl: "static/icon/home_icon_logo.png",
+ success: function (res) {
+ console.log("success:" + JSON.stringify(res));
+ },
+ fail: function (err) {
+ console.log("fail:" + JSON.stringify(err));
+ },
+ });
+ }
+ },
+ newOnShare() {
+ this.$refs.share.open();
+ },
goToGoodsList(data) {
if (data.delFlag == -1) {
this.$commonJS.showToast("商品已下架");
@@ -662,19 +712,11 @@ export default {
},
//课程详情
async gotoDetail(v, video, index) {
- console.log("v at line 668:", v);
- // if (
- // this.cateList[this.currentCateIndex].isBuy == 1 ||
- // v.isAudition == 1 ||
- // this.vip.type != "0"
- // ) {
+ console.log("v at line 668:", v);
uni.navigateTo({
// url: '../bookShop/commodityDetail?id=' + item.id
url: `/pages/course/chapterDetail?navTitle=${this.pageTitle}&title=${v.title}&id=${v.id}&conditions=${v.conditions}&videoId=${video.id}`,
- });
- // } else {
- // this.$commonJS.showToast("请先购买课程");
- // }
+ });
},
handleClickSelectGoods(data) {
this.selectGoodsData = data;
@@ -2091,6 +2133,7 @@ export default {
}
}
}
+.curseSet{margin-right: 10px;}
.shitingLIst {
background-color: #fff;
padding: 20rpx;
diff --git a/pages/course/coursePrice.vue b/pages/course/coursePrice.vue
index 748e937..6d1160e 100644
--- a/pages/course/coursePrice.vue
+++ b/pages/course/coursePrice.vue
@@ -176,7 +176,7 @@
this.courseList[index].courseList = this.courseList[index].courseList.concat(_list)
this.courseList[index].subpage = res.res.current
this.courseList[index].pages = res.res.pages
- console.log(this.courseList[index].courseList, 'this.courseList[index]')
+ // console.log(this.courseList[index].courseList, 'this.courseList[index]')
}
}
diff --git a/pages/course/myCourse.vue b/pages/course/myCourse.vue
index 11b9dc3..36cfe10 100644
--- a/pages/course/myCourse.vue
+++ b/pages/course/myCourse.vue
@@ -303,7 +303,13 @@
// console.log(
this.cartList = res.cartList
this.isAddLink(val)
+ }).catch( e => {
+ console.log(e,'e')
+ uni.showToast({
+ title:`获取数据失败`,
+ icon:'error'
})
+ })
}
},
// 加入购物车
@@ -344,7 +350,13 @@
duration: 1000,
});
}
+ }).catch( e => {
+ console.log(e,'e')
+ uni.showToast({
+ title:`加入失败`,
+ icon:'error'
})
+ })
} else {
// 加入购物车
$http.request({
@@ -362,7 +374,13 @@
duration: 1000,
});
}
+ }).catch( e => {
+ console.log(e,'e')
+ uni.showToast({
+ title:`加入失败`,
+ icon:'error'
})
+ })
}
} else {
@@ -381,6 +399,12 @@
duration: 1000,
});
}
+ }).catch( e => {
+ console.log(e,'e')
+ uni.showToast({
+ title:`加入失败`,
+ icon:'error'
+ })
})
}
},
@@ -397,8 +421,8 @@
},
],
- navTitle: this.options.navTitle,
- title: this.options.title,
+ navTitle: val.productName,
+ title: val.productName,
typeId: 0,
}); // 这里转换成 字符串
@@ -420,12 +444,15 @@
this.getMyCourseList()
},
search(res){
- console.log('点了搜索')
- // if (this.curTagId == 0) {
+ // console.log('点了搜索')
+ if(!this.MyCourseList.flag){
this.MyCourseList.page = 1
this.MyCourseList.list = []
this.getMyCourseList()
- console.log(this.searchValue,'searchValue')
+ console.log(this.searchValue,'searchValue')
+ }else{
+ console.log('存在未执行完的程序')
+ }
},
focus(res){
this.oldValue = res
@@ -502,11 +529,17 @@
} else {
this.MyCourseList.status = 3 // 暂无数据
}
- console.log('status', this.MyCourseList.status)
+ // console.log('status--------------------', this.MyCourseList.list)
}
this.MyCourseList.flag = false
}).catch(e => {
+ this.MyCourseList.flag = false
+ this.MyCourseList.status = 3
console.log(e, '数据报错')
+ uni.showToast({
+ title:`获取数据失败`,
+ icon:'error'
+ })
});
},
getLearningCourseList() {
@@ -539,6 +572,11 @@
// this.LearningCourseList.flag = false
}).catch(e => {
console.log(e, '数据报错')
+ this.LearningCourseList.status = 3 // 暂无数据
+ uni.showToast({
+ title:`获取数据失败`,
+ icon:'error'
+ })
});
},
getExpiredCourseList() {
@@ -577,6 +615,11 @@
// this.ExpiredCourseList.flag = false
}).catch(e => {
console.log(e, '数据报错')
+ this.ExpiredCourseList.status = 3
+ uni.showToast({
+ title:`获取数据失败`,
+ icon:'error'
+ })
});
},
getUserInfo() {
@@ -618,8 +661,12 @@
}
})
- .catch(e => {
+ .catch(e => {
console.log('加入在学习', e)
+ uni.showToast({
+ title:'加入失败',
+ icon:'error'
+ })
})
},
delCollection(val, index){
diff --git a/pages/course/myCourseLearn.vue b/pages/course/myCourseLearn.vue
index de67c48..cd8d11f 100644
--- a/pages/course/myCourseLearn.vue
+++ b/pages/course/myCourseLearn.vue
@@ -69,33 +69,13 @@
您未购买此目录课程或已到期,购买后或开通 超级VIP 即可学习本目录课程
-
+
+
-
-
-
+
-
-
+
@@ -109,6 +89,8 @@
+
+
@@ -116,6 +98,7 @@
+
+
\ No newline at end of file
diff --git a/pages/mine/mine/index.vue b/pages/mine/mine/index.vue
index 56f3bc3..64dea9c 100644
--- a/pages/mine/mine/index.vue
+++ b/pages/mine/mine/index.vue
@@ -253,35 +253,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -341,6 +313,7 @@
+
@@ -397,10 +370,10 @@ export default {
type: "pageJump",
},
- // {
- // name: "分享APP",
- // type: "share",
- // },
+ {
+ name: "分享APP",
+ type: "share",
+ },
{
name: "关于我们",
diff --git a/pages/news/news.vue b/pages/news/news.vue
index b7c54df..7cfecf8 100644
--- a/pages/news/news.vue
+++ b/pages/news/news.vue
@@ -11,8 +11,8 @@
-
+
@@ -60,15 +60,14 @@
onShow() {
// 隐藏原生的tabbar
uni.hideTabBar();
- if(this.type == 1 && this.surl != ''){
- // this.surl = this.newsObj.url
- this.urlVisible = true
- this.news = {}
- }else{
+ // if(this.type == 1 && this.surl != ''){
+ // // this.surl = this.newsObj.url
+ // this.urlVisible = true
+ // this.news = {}
+ // }else{
this.getData();
this.urlVisible = false
- }
-
+ // }
},
onPullDownRefresh() {
diff --git a/pages/news/newsForwebview.vue b/pages/news/newsForwebview.vue
index 708c1b7..289100f 100644
--- a/pages/news/newsForwebview.vue
+++ b/pages/news/newsForwebview.vue
@@ -3,7 +3,7 @@
-
+
@@ -23,23 +23,27 @@
news: {
content: '',
title: ''
- },
+ },
source:'',
urlVisible:false,
surl:'',
type:null,
webviewStyles: {
progress: {
- color: '#FF3333'
+ color: '#55aaff'
}
},
+
};
},
//第一次加载
onLoad(e) {
// 隐藏原生的tabbar
- uni.hideTabBar();
- this.surl = e.url
+ uni.hideTabBar();
+ this.newsId = e.newsId
+ this.type = e.type
+ this.surl = e.url
+ this.source = e.source
console.log(e, '------')
// #ifdef APP-PLUS
const pages = getCurrentPages()
@@ -71,9 +75,6 @@
// this.surl = this.newsObj.url
this.urlVisible = true
this.news = {}
- }else{
- this.getData();
- this.urlVisible = false
}
diff --git a/pages/peanut/home.vue b/pages/peanut/home.vue
index db79165..e00abd7 100644
--- a/pages/peanut/home.vue
+++ b/pages/peanut/home.vue
@@ -521,15 +521,15 @@
},
newsClick(item) {
console.log('item', item)
- // if(item.type == 1){
- // uni.navigateTo({
- // url: `/pages/news/newsForwebview?newsId=${item.id}&url=${item.url}&type=${item.type}`
- // })
- // }else{
+ if(item.type == 1 && item.url != ''){
+ uni.navigateTo({
+ url: `/pages/news/newsForwebview?newsId=${item.id}&url=${item.url}&type=${item.type}`
+ })
+ }else{
uni.navigateTo({
url: `/pages/news/news?newsId=${item.id}&url=${item.url}&type=${item.type}`
})
- // }
+ }
// }
},
openURL(url) {
diff --git a/pages/peanut/mine.vue b/pages/peanut/mine.vue
index 722b809..44a9566 100644
--- a/pages/peanut/mine.vue
+++ b/pages/peanut/mine.vue
@@ -493,9 +493,9 @@ export default {
scene: "WXSceneSession",
type: 0,
href: this.$apkUrl,
- title: "疯子读书",
- summary: "我正在使用疯子读书提升自己,赶紧跟我一起来体验吧!",
- imageUrl: "static/fengziIcon.jpg",
+ title: "吴门医述",
+ summary: "我正在使用吴门医述提升自己,赶紧跟我一起来体验吧!",
+ imageUrl: "static/icon/home_icon_logo.png",
success: function (res) {
console.log("success:" + JSON.stringify(res));
},
@@ -510,9 +510,9 @@ export default {
scene: "WXSceneTimeline",
type: 0,
href: this.$apkUrl,
- title: "疯子读书",
- summary: "我正在使用疯子读书提升自己,赶紧跟我一起来体验吧!",
- imageUrl: "static/fengziIcon.jpg",
+ title: "吴门医述",
+ summary: "我正在使用吴门医述提升自己,赶紧跟我一起来体验吧!",
+ imageUrl: "static/icon/home_icon_logo.png",
success: function (res) {
console.log("success:" + JSON.stringify(res));
},
diff --git a/pages/taihu/index.vue b/pages/taihu/index.vue
index b92cd7e..62159ca 100644
--- a/pages/taihu/index.vue
+++ b/pages/taihu/index.vue
@@ -169,10 +169,17 @@
});
},
newsClick(item) {
- console.log(454545)
- uni.navigateTo({
- url: `/pages/news/news?newsId=${item.id}&url=${item.url}&type=${item.type}&source='taihuzhiguang'`
- })
+ // console.log(454545,item)
+ if(item.type == 1 && item.url != ''){
+ uni.navigateTo({
+ url: `/pages/news/newsForwebview?newsId=${item.id}&url=${item.url}&type=${item.type}`
+ })
+ }else{
+ uni.navigateTo({
+ url: `/pages/news/news?newsId=${item.id}&url=${item.url}&type=${item.type}&source='taihuzhiguang'`
+ })
+
+ }
},
getProData() {
if (!this.pObj.pFlag) {
diff --git a/pages/user/visitor.vue b/pages/user/visitor.vue
index 1f960ca..65ea2e4 100644
--- a/pages/user/visitor.vue
+++ b/pages/user/visitor.vue
@@ -656,7 +656,7 @@
href: this.$apkUrl,
title: "吴门医述",
summary: "我正在使用吴门医述提升自己,赶紧跟我一起来体验吧!",
- imageUrl: "static/fengziIcon.jpg",
+ imageUrl: "static/icon/home_icon_logo.png",
success: function(res) {
console.log("success:" + JSON.stringify(res));
},
@@ -673,7 +673,7 @@
href: this.$apkUrl,
title: "吴门医述",
summary: "我正在使用吴门医述提升自己,赶紧跟我一起来体验吧!",
- imageUrl: "static/fengziIcon.jpg",
+ imageUrl: "static/icon/home_icon_logo.png",
success: function(res) {
console.log("success:" + JSON.stringify(res));
},
diff --git a/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue b/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue
index 5be7624..1562aa1 100644
--- a/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue
+++ b/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue
@@ -40,25 +40,25 @@
data() {
return {
bottomData: [{
- text: '微信',
+ text: '微信消息',
icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/c2b17470-50be-11eb-b680-7980c8a877b8.png',
name: 'wx'
},
{
- text: '支付宝',
- icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/d684ae40-50be-11eb-8ff1-d5dcf8779628.png',
+ text: '朋友圈',
+ icon: 'http://ehh-public-01.oss-cn-beijing.aliyuncs.com/image/20240626131115.png',
name: 'wx'
},
- {
- text: 'QQ',
- icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/e7a79520-50be-11eb-b997-9918a5dda011.png',
- name: 'qq'
- },
- {
- text: '新浪',
- icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/0dacdbe0-50bf-11eb-8ff1-d5dcf8779628.png',
- name: 'sina'
- },
+ // {
+ // text: 'QQ',
+ // icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/e7a79520-50be-11eb-b997-9918a5dda011.png',
+ // name: 'qq'
+ // },
+ // {
+ // text: '新浪',
+ // icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/0dacdbe0-50bf-11eb-8ff1-d5dcf8779628.png',
+ // name: 'sina'
+ // },
// {
// text: '百度',
// icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/1ec6e920-50bf-11eb-8a36-ebb87efcf8c0.png',
diff --git a/unpackage/debug/android_debug.apk b/unpackage/debug/android_debug.apk
index 35aa471..c50c183 100644
Binary files a/unpackage/debug/android_debug.apk and b/unpackage/debug/android_debug.apk differ