|
@@ -66,6 +66,11 @@ import bottom_arrrow from "@/assets/img/bottom_arrrow.png";
|
|
|
import api from "@/api";
|
|
|
import { mapState } from 'vuex'
|
|
|
export default {
|
|
|
+ onLoad(query){
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
careVisible: false,
|
|
@@ -135,6 +140,24 @@ export default {
|
|
|
|
|
|
},
|
|
|
onShow() {
|
|
|
+ if( uni.getStorageSync("wx_video_account")!='1'){
|
|
|
+ wx.showModal({
|
|
|
+ title:' 关注财仝视频号查询更多教学',
|
|
|
+
|
|
|
+ }).then(res=>{
|
|
|
+ console.log(res)
|
|
|
+ res.confirm&&wx.openChannelsUserProfile({
|
|
|
+ finderUserName:"sphQVbhe9O04tqB",
|
|
|
+ success(result){
|
|
|
+ console.log(result)
|
|
|
+ uni.setStorageSync("wx_video_account","1")
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
if (typeof this.$mp.page.getTabBar === 'function' &&
|
|
|
this.$mp.page.getTabBar()) {
|
|
|
this.$mp.page.getTabBar().init()
|