Commit a32d0c9b by sunerhu

1.修改了一些Bug

parent 00c49ff6
......@@ -13,7 +13,7 @@
<link rel="stylesheet" href="./static/font/iconfont.css">
<!--preload-links-->
<!--app-context-->
<script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
<script src="https://unpkg.com/jweixin-module/lib/index.js"></script>
</head>
<body>
<div id="app"><!--app-html--></div>
......
......@@ -63,8 +63,17 @@
}else{
this.queryById(null,uni.getStorageSync('cffp_userId'))
}
this.norebound()
},
methods: {
// 禁止微信浏览器回弹效果
norebound(){
// #ifdef H5
document.body.addEventListener("touchmove",function(e)
e.preventDefault();
,passive:false)
// #endif
},
save(){
if(this.applyParam.personalSignOssPath){
this.saveApplyInfo();
......
......@@ -131,9 +131,7 @@
import BootPage from "@/components/bootpage/bootpage.vue";
import UniShareWx from "@/uni_modules/uni-share-wx/index.vue";
import dataHandling from "@/util/dataHandling";
// import {
// hshare
// } from '@/util/fiveshare'
import {hshare} from '@/util/fiveshare'
import {
nanoid
} from 'nanoid';
......@@ -495,16 +493,16 @@
})
},
// H5 自定义分享
// getshareData(){
// let data = {
// title:this.courseInfo.fileTitle,
// desc:'加入我们开启学习之旅',
// link: window.location.href,//分享链接
// imgUrl: this.courseInfo.displayImage, //图片
// }
// var url = window.location.href.split('#')[0]
// hshare(data,url)
// },
getshareData(){
let data = {
title:this.courseInfo.fileTitle,
desc:'加入我们开启学习之旅',
link: window.location.href,//分享链接
imgUrl: this.courseInfo.displayImage, //图片
}
var url = window.location.href.split('#')[0]
hshare(data,url)
},
},
onLoad(option) {
this.fileId = option.fileId;
......@@ -522,7 +520,7 @@
localStorage.setItem('h5_userId', '')
}
uni.setStorageSync('h5_coursesharing', this.coursesharing);
// this.getshareData()
this.getshareData()
}
let dataForm = uni.getStorageSync('userinfodataForm')
this.realName = dataForm.realName
......
......@@ -36,10 +36,10 @@
<text style="color: #F15A1F;">{{(Number(nowSumCommissionAmount)).toFixed(2)}}</text>
<text>{{getName(timeFlag)}}获得积分</text>
</view>
<view class="">
<!-- <view class="">
<text style="color: #0A2F99;">{{(Number(prePercent)).toFixed(2)}}%</text>
<text>{{getInfo(timeFlag)}}得分</text>
</view>
</view> -->
</view>
<view class="point_content">
<view class="title">
......@@ -201,10 +201,10 @@
.statistics_wrapper{
margin: 30rpx;
display: flex;
justify-content: space-around;
view{
display: flex;
flex-wrap: wrap;
justify-content: space-around;
font-size: 36rpx;
width: 33%;
overflow: hidden;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment