Commit a32d0c9b by sunerhu

1.修改了一些Bug

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