Commit 87441b14 authored by lvtz's avatar lvtz

add btndrag

parent 843eaa81
......@@ -97,13 +97,10 @@ button::after{
color: #C5C5C5;
}
.gohome {
width:97rpx;
height:97rpx;
width: 100%;
height: 100%;
border-radius: 50%;
box-shadow:0px 0px 14rpx 0rpx rgba(0, 0, 0, 0.17);
position: fixed;
bottom: 257rpx;
right: 24rpx;
background-color: rgba(255,255,255,1);
display: flex;
display: -webkit-flex;
......@@ -112,6 +109,7 @@ button::after{
flex-direction: column;
z-index: 100;
background-color: #fff;
position: relative;
}
.gohome image {
display:block;
......
......@@ -1177,4 +1177,6 @@ Page({
this.clockMemberListGet(this.data.oneSmallSort, 'init');
})
},
// 防止悬浮窗滚动页面滚动,无特殊意义
ture () { },
})
\ No newline at end of file
......@@ -9,6 +9,7 @@
"go-top": "../../components/goTop",
"list-loading": "../../../components/listloading",
"comment-editor": "../../../components/commenteditor",
"calender":"../../components/calendar"
"calender":"../../components/calendar",
"btn-drag":"../../../components/btndrag"
}
}
\ No newline at end of file
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
<image class="" src="{{imageRoot}}2b/common/home.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"
lazy-load="false" binderror="" bindload=""></image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">首页</view>
</view>
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex" slot="dragcontent">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<image class="" src="{{imageRoot}}2b/common/home.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"
lazy-load="false" binderror="" bindload=""></image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">首页</view>
</view>
</btn-drag>
<view class="search-box" hover-class="none" hover-stop-propagation="false">
<view class="ipt-box" hover-class="none" hover-stop-propagation="false">
<image class="ipt-iocn" src="{{imageRoot}}2b/themeindex/w-icon.png" mode="aspectFit|aspectFill|widthFix"
......
......@@ -1522,4 +1522,6 @@ Page({
url: `/business/pages/calendarclock/index?id=${this.data.id}&tid=${this.data.tid}&sid=${this.data.sid}&clockdate=${clockdate}`
})
},
// 防止悬浮窗滚动页面滚动,无特殊意义
ture () { },
})
\ No newline at end of file
......@@ -11,6 +11,7 @@
"go-top": "../../components/goTop",
"list-loading": "../../../components/listloading",
"comment-editor": "../../../components/commenteditor",
"calender":"../../components/calendar"
"calender":"../../components/calendar",
"btn-drag":"../../../components/btndrag"
}
}
\ No newline at end of file
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
<image class="" src="{{imageRoot}}2b/common/home.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">首页</view>
</view>
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex" slot="dragcontent">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<image class="" src="{{imageRoot}}2b/common/home.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">首页</view>
</view>
</btn-drag>
<view class="theme-index-container clearfix">
<view class="header-box" hover-class="none" hover-stop-propagation="false">
<view class="topbox" hover-class="none" hover-stop-propagation="false">
......
......@@ -444,4 +444,6 @@ Page({
}).catch(() => {
})
},
// 防止悬浮窗滚动页面滚动,无特殊意义
ture () { },
})
\ No newline at end of file
......@@ -2,6 +2,7 @@
"navigationBarTitleText": "打卡详情",
"usingComponents": {
"clock-item": "../../components/clockitem",
"comment-editor": "../../../components/commenteditor"
"comment-editor": "../../../components/commenteditor",
"btn-drag":"../../../components/btndrag"
}
}
\ No newline at end of file
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex">
<image class="" src="{{imageRoot}}2b/common/home.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="">
</image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
班级
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex" slot="dragcontent">
<image class="" src="{{imageRoot}}2b/common/home.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">班级</view>
</view>
</view>
</btn-drag>
<view class="clock-detail-container clearfix">
<clock-item
permission="{{permission}}"
......
......@@ -1362,5 +1362,7 @@ Page({
}).catch(() => {
this.data.submitting = false;
})
}
},
// 防止悬浮窗滚动页面滚动,无特殊意义
ture () { },
})
\ No newline at end of file
......@@ -10,6 +10,7 @@
"poster-box": "../../../components/posterbox",
"go-top": "../../components/goTop",
"list-loading": "../../../components/listloading",
"comment-editor": "../../../components/commenteditor"
"comment-editor": "../../../components/commenteditor",
"btn-drag":"../../../components/btndrag"
}
}
\ No newline at end of file
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
<image class="" src="{{imageRoot}}2b/common/home.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"
lazy-load="false" binderror="" bindload=""></image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">首页</view>
</view>
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex" slot="dragcontent">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<image class="" src="{{imageRoot}}2b/common/home.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">首页</view>
</view>
</btn-drag>
<view class="theme-index-container clearfix">
<view class="header-box" hover-class="none" hover-stop-propagation="false">
<view class="" hover-class="none" hover-stop-propagation="false" style="background: #00B1FC">
......
......@@ -264,4 +264,6 @@ Page({
url: `/business/pages/organizationalmgt/index?sid=${this.data.sid}`,
})
},
// 防止悬浮窗滚动页面滚动,无特殊意义
ture () { },
})
\ No newline at end of file
......@@ -3,6 +3,7 @@
"enablePullDownRefresh": true,
"usingComponents": {
"go-top": "../../../components/goTop",
"list-loading": "../../../components/listloading"
"list-loading": "../../../components/listloading",
"btn-drag":"../../../components/btndrag"
}
}
\ No newline at end of file
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
<image class="" src="{{imageRoot}}2b/common/home.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="">
</image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
首页
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex" slot="dragcontent">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<image class="" src="{{imageRoot}}2b/common/home.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="">
</image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
首页
</view>
</view>
</view>
</btn-drag>
<view class="potential-customer-container clearfix">
<view class="header-content" hover-class="none" hover-stop-propagation="false">
<view class="add-info not-set-add mb24" hover-class="none" hover-stop-propagation="false" wx:if="{{addInfo.content && addInfo.status == 0}}" bindtap="setad">
......
......@@ -1024,4 +1024,6 @@ Page({
this.clockMemberListGet(this.data.oneSmallSort, 'init');
})
},
// 防止悬浮窗滚动页面滚动,无特殊意义
ture () { },
})
\ No newline at end of file
......@@ -9,6 +9,7 @@
"go-top": "../../components/goTop",
"list-loading": "../../../components/listloading",
"comment-editor": "../../../components/commenteditor",
"calender":"../../../components/calendar"
"calender":"../../../components/calendar",
"btn-drag":"../../../components/btndrag"
}
}
\ No newline at end of file
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
<image class="" src="{{imageRoot}}2b/common/home.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"
lazy-load="false" binderror="" bindload=""></image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">首页</view>
</view>
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex" slot="dragcontent">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
<image class="" src="{{imageRoot}}2b/common/home.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"
lazy-load="false" binderror="" bindload=""></image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">首页</view>
</view>
</btn-drag>
<view class="search-box" hover-class="none" hover-stop-propagation="false">
<view class="ipt-box" hover-class="none" hover-stop-propagation="false">
<image class="ipt-iocn" src="{{imageRoot}}2b/themeindex/w-icon.png" mode="aspectFit|aspectFill|widthFix"
......
......@@ -1200,4 +1200,6 @@ Page({
this.clockListGet(this.data.oneSmallSort, 'init');
})
},
// 防止悬浮窗滚动页面滚动,无特殊意义
ture () { },
})
\ No newline at end of file
......@@ -10,6 +10,7 @@
"poster-box": "../../../components/posterbox",
"go-top": "../../components/goTop",
"list-loading": "../../../components/listloading",
"comment-editor": "../../../components/commenteditor"
"comment-editor": "../../../components/commenteditor",
"btn-drag":"../../../components/btndrag"
}
}
\ No newline at end of file
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
<image class="" src="{{imageRoot}}2b/common/home.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">首页</view>
</view>
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex" slot="dragcontent">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
<image class="" src="{{imageRoot}}2b/common/home.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">首页</view>
</view>
</btn-drag>
<view class="theme-index-container clearfix">
<view class="header-box" hover-class="none" hover-stop-propagation="false">
<view class="topbox" hover-class="none" hover-stop-propagation="false">
......
// 组件 悬浮按钮
/*
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
...
</btn-drag>
*/
/*其中,
tobottomDis='88' 悬浮窗距离底部距离 width='49' 悬浮窗宽度 height="49" 悬浮窗高度,单位px
bind:btnDragEvent='goindex'是向页面触发事件,该小程序触发事件都是相应页面事件,通过插槽引入,所以没有相应点击事件,可删
注意:catchtouchmove="ture" 是用来fix悬浮窗滚动导致页面滚动,在相应页面的js里应添加方法 true (){},否则可能报提示错误 Component "***" does not have a method "ture" to handle event "touchmove"
*/
let startPoint,endPoint;
Component({
/**
* 组件的属性列表
*/
properties: {
tobottomDis: {
type: Number,
value: 88
},
width: {
type: Number,
value: 49
},
height: {
type: Number,
value: 49
}
},
options: {
multipleSlots: true // 在组件定义时的选项中启用多slot支持
},
/**
* 组件的初始数据
*/
data: {
windowHeight: '',
windowWidth: '',
top: 0,
left: 0,
sideSpace: 15
},
attached (){
var that = this;
that.getSystemInfo()
},
/**
* 组件的方法列表
*/
methods: {
getSystemInfo(){
var that = this;
wx.getSystemInfo({
success(res) {
that.setData({
windowHeight: res.windowHeight,
windowWidth: res.windowWidth,
top: res.windowHeight-that.properties.tobottomDis-that.properties.height,
left: res.windowWidth-that.properties.width-that.data.sideSpace
})
}
})
},
setTouchStart(e){
startPoint = e.touches[0];
},
setTouchMove(e) {
endPoint = e.touches[e.touches.length - 1];
var translateX = endPoint.clientX - startPoint.clientX
var translateY = endPoint.clientY - startPoint.clientY
startPoint = endPoint
var buttonTop = this.data.top + translateY
var buttonLeft = this.data.left + translateX;
//判断移动是否超出屏幕
if (buttonLeft+this.properties.width + this.data.sideSpace*2> this.data.windowWidth+10){
buttonLeft = this.data.windowWidth-this.properties.width-this.data.sideSpace;
}
if (buttonLeft<=this.data.sideSpace){
buttonLeft = this.data.sideSpace;
}
if (buttonTop<=0){
buttonTop = 0
}
if (buttonTop + this.properties.height >= this.data.windowHeight){
buttonTop = this.data.windowHeight-this.properties.height;
}
this.setData({
top: buttonTop,
left: buttonLeft
})
},
setTouchEnd(e){
endPoint = e.changedTouches[0];
var translateX = endPoint.clientX - startPoint.clientX
var buttonLeft = this.data.left + translateX;
//判断显示在屏幕左右方向
if (buttonLeft+this.properties.width + this.data.sideSpace>= this.data.windowWidth/2){
buttonLeft = this.data.windowWidth-this.properties.width-this.data.sideSpace;
}
if (buttonLeft+this.properties.width < this.data.windowWidth/2){
buttonLeft = this.data.sideSpace;
}
this.setData({
left: buttonLeft
})
},
setTapEvent(){
this.triggerEvent("btnDragEvent");
//triggerEvent函数接受三个值:事件名称、数据、选项值
}
}
})
\ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="drag-box" style="top: {{top}}px; left: {{left}}px; width: {{width}}px; height: {{height}}px" bindtouchmove="setTouchMove" bindtouchstart="setTouchStart" bindtouchend="setTouchEnd" bindtap="setTapEvent" >
<slot name="dragcontent"></slot>
</view>
.drag-box{
display: flex;
justify-content: center;
align-items: center;
position: fixed ;
z-index: 999;
}
\ No newline at end of file
......@@ -2661,5 +2661,7 @@ Page({
this.selfClockGet();
})
}
}
},
// 防止悬浮窗滚动页面滚动,无特殊意义
ture () { },
})
\ No newline at end of file
......@@ -21,6 +21,7 @@
"activity-bar":"../../../components/activitybar",
"scoregetfeedback": "../../../components/scoregetfeedback",
"advertisement":"../../components/advertisement",
"sjdbottombar":"../../../components/sjdbottombar"
"sjdbottombar":"../../../components/sjdbottombar",
"btn-drag":"../../../components/btndrag"
}
}
\ No newline at end of file
......@@ -329,44 +329,15 @@
</sjd-contact>
<!-- <prize-get wx-if="{{adGetShow}}" bind:closeAdModal="closeAdModal" adInfo="{{adInfo}}" circleid="{{id}}">
</prize-get> -->
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate"
class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate"
class="createidform">
<button form-type="submit"
class="createidbutton">生成form</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
回到
</view>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
班级
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex" slot="dragcontent">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton"></button>
</form>
<view class="home-text" hover-class="none" hover-stop-propagation="false">回到</view>
<view class="home-text" hover-class="none" hover-stop-propagation="false">班级</view>
</view>
</view>
</btn-drag>
</view>
<go-top wx:if="{{backTopValue}}"></go-top>
<view class="" hover-class="none" hover-stop-propagation="false" data-editor="commenteditor">
......
......@@ -944,6 +944,7 @@ Page({
url: `/src/pages/sharemoretheme/index?id=${this.data.id}&tid=${theme.id}&pagefrom=`
})
}
}
},
// 防止悬浮窗滚动页面滚动,无特殊意义
ture () { },
})
\ No newline at end of file
......@@ -16,6 +16,7 @@
"go-top": "../../../components/goTop",
"comment-editor":"../../../components/commenteditor",
"activity-bar":"../../../components/activitybar",
"sjdbottombar":"../../../components/sjdbottombar"
"sjdbottombar":"../../../components/sjdbottombar",
"btn-drag":"../../../components/btndrag"
}
}
\ No newline at end of file
......@@ -389,37 +389,15 @@
<view class='poste_box' id='canvas-container' wx:if="{{canvasShow}}">
<canvas canvas-id="myCanvas" style="width:100%;height:1334rpx;" />
</view>
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goBusinessIndex">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
<view class="home-text" hover-class="none" hover-stop-propagation="false">机构</view>
<view class="home-text" hover-class="none" hover-stop-propagation="false">首页</view>
</view>
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goBusinessIndex" slot="dragcontent">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<view class="home-text" hover-class="none" hover-stop-propagation="false">机构</view>
<view class="home-text" hover-class="none" hover-stop-propagation="false">首页</view>
</view>
</btn-drag>
</view>
<view class="globalvideo-box {{fullScreen ? '' : 'fixed'}}" wx:if="{{videoshow}}" hover-class="none" hover-stop-propagation="false">
<cover-image bindtap="closeglobalvideo" class="globalvideo-close" src="{{imageRoot}}2c/common/closeicon.png?{{imageVersion}}"></cover-image>
......
......@@ -1089,5 +1089,7 @@ Page({
this.autoclosefeedback();
}
})
}
},
// 防止悬浮窗滚动页面滚动,无特殊意义
ture () { },
})
\ No newline at end of file
......@@ -8,6 +8,7 @@
"scoregetfeedback": "../../../components/scoregetfeedback",
"canvasdrawer": "/components/canvasdrawer/canvasdrawer",
"poster-box": "../../../components/posterbox",
"sjdbottombar":"../../../components/sjdbottombar"
"sjdbottombar":"../../../components/sjdbottombar",
"btn-drag":"../../../components/btndrag"
}
}
\ No newline at end of file
<wxs src="./../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex">
<image class="" src="{{imageRoot}}2c/common/home.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="">
</image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
班级
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex" slot="dragcontent">
<image class="" src="{{imageRoot}}2c/common/home.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<view class="home-text" hover-class="none" hover-stop-propagation="false">班级</view>
</view>
</view>
</btn-drag>
<view class="clock-detail-container clearfix" wx:if="{{hasData}}">
<clock-item
clock="{{clock}}"
......
......@@ -1391,4 +1391,6 @@ Page({
})
},
// 视频播放相关代码
// 防止悬浮窗滚动页面滚动,无特殊意义
ture () { },
})
\ No newline at end of file
......@@ -13,6 +13,7 @@
"scoregetfeedback": "../../../components/scoregetfeedback",
"advertisement":"../../components/advertisement",
"canvasdrawer": "/components/canvasdrawer/canvasdrawer",
"sjdbottombar":"../../../components/sjdbottombar"
"sjdbottombar":"../../../components/sjdbottombar",
"btn-drag":"../../../components/btndrag"
}
}
\ No newline at end of file
......@@ -350,42 +350,15 @@
<view class='poste_box' id='canvas-container' wx:if="{{canvasShow}}">
<canvas canvas-id="myCanvas" style="width:100%;height:1334rpx;"/>
</view>
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate"
class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
回到
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex" slot="dragcontent">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<view class="home-text" hover-class="none" hover-stop-propagation="false">回到</view>
<view class="home-text" hover-class="none" hover-stop-propagation="false">班级</view>
</view>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
班级
</view>
</view>
</btn-drag>
<view class="" hover-class="none" hover-stop-propagation="false" data-editor="commenteditor">
<comment-editor wx:if="{{commenteditor}}" prams="{{commentclock}}" bind:hidecommenteditor="hidecommenteditor" type="2c"></comment-editor>
</view>
......
......@@ -2465,4 +2465,6 @@ Page({
})
})
},
// 防止悬浮窗滚动页面滚动,无特殊意义
ture () { },
})
\ No newline at end of file
......@@ -20,6 +20,7 @@
"activity-bar":"../../../components/activitybar",
"scoregetfeedback": "../../../components/scoregetfeedback",
"advertisement":"../../components/advertisement",
"sjdbottombar":"../../../components/sjdbottombar"
"sjdbottombar":"../../../components/sjdbottombar",
"btn-drag":"../../../components/btndrag"
}
}
\ No newline at end of file
......@@ -270,44 +270,15 @@
</view>
<sjd-contact wx:if="{{concatDiaShow}}" address="{{circleInfo.clock_address}}" bind:closecontact="closecontact">
</sjd-contact>
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate"
class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate"
class="createidform">
<button form-type="submit"
class="createidbutton">生成form</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
回到
</view>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
班级
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex" slot="dragcontent">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<view class="home-text" hover-class="none" hover-stop-propagation="false">回到</view>
<view class="home-text" hover-class="none" hover-stop-propagation="false">班级</view>
</view>
</view>
</btn-drag>
</view>
<go-top wx:if="{{backTopValue}}"></go-top>
<view class="" hover-class="none" hover-stop-propagation="false" data-editor="commenteditor">
......
......@@ -1742,5 +1742,7 @@ Page({
this.autoclosefeedback();
}
})
}
},
// 防止悬浮窗滚动页面滚动,无特殊意义
ture () { },
})
\ No newline at end of file
......@@ -17,6 +17,7 @@
"w-countdown": "../../../dist/w-countdown/index",
"calender":"../../../components/calendar",
"activity-bar":"../../../components/activitybar",
"sjdbottombar":"../../../components/sjdbottombar"
"sjdbottombar":"../../../components/sjdbottombar",
"btn-drag":"../../../components/btndrag"
}
}
\ No newline at end of file
......@@ -94,44 +94,15 @@
</sjd-contact>
<!-- <prize-get wx-if="{{adGetShow}}" bind:closeAdModal="closeAdModal" adInfo="{{adInfo}}" circleid="{{id}}">
</prize-get> -->
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate"
class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate"
class="createidform">
<button form-type="submit"
class="createidbutton">生成form</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
回到
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex" slot="dragcontent">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<view class="home-text" hover-class="none" hover-stop-propagation="false">回到</view>
<view class="home-text" hover-class="none" hover-stop-propagation="false">班级</view>
</view>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
班级
</view>
</view>
</btn-drag>
</view>
<view class="footer-box clearfix" wx:if="{{!emptyPage}}">
<button open-type='share'></button>
......
......@@ -1497,5 +1497,6 @@ Page({
if (code == 200 && data) {}
})
},
// 防止悬浮窗滚动页面滚动,无特殊意义
ture () { },
})
\ No newline at end of file
......@@ -14,6 +14,7 @@
"go-top": "../../../components/goTop",
"list-loading": "../../../components/listloading",
"comment-editor": "../../../components/commenteditor",
"w-countdown": "../../../dist/w-countdown/index"
"w-countdown": "../../../dist/w-countdown/index",
"btn-drag":"../../../components/btndrag"
}
}
\ No newline at end of file
......@@ -94,44 +94,15 @@
</sjd-contact>
<!-- <prize-get wx-if="{{adGetShow}}" bind:closeAdModal="closeAdModal" adInfo="{{adInfo}}" circleid="{{id}}">
</prize-get> -->
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate"
class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate"
class="createidform">
<button form-type="submit"
class="createidbutton">生成form</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
回到
</view>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
班级
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex" slot="dragcontent">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<view class="home-text" hover-class="none" hover-stop-propagation="false">回到</view>
<view class="home-text" hover-class="none" hover-stop-propagation="false">班级</view>
</view>
</view>
</btn-drag>
</view>
<go-top wx:if="{{backTopValue}}"></go-top>
<view class="" hover-class="none" hover-stop-propagation="false" data-editor="commenteditor">
......
......@@ -2247,4 +2247,6 @@ Page({
})
})
},
// 防止悬浮窗滚动页面滚动,无特殊意义
ture () { },
})
\ No newline at end of file
......@@ -20,6 +20,7 @@
"activity-bar":"../../../components/activitybar",
"scoregetfeedback": "../../../components/scoregetfeedback",
"advertisement":"../../components/advertisement",
"sjdbottombar":"../../../components/sjdbottombar"
"sjdbottombar":"../../../components/sjdbottombar",
"btn-drag":"../../../components/btndrag"
}
}
\ No newline at end of file
......@@ -253,44 +253,15 @@
</sjd-contact>
<!-- <prize-get wx-if="{{adGetShow}}" bind:closeAdModal="closeAdModal" adInfo="{{adInfo}}" circleid="{{id}}">
</prize-get> -->
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate"
class="createidform">
<button form-type="submit" class="createidbutton">
<form report-submit="true" bindsubmit="formIdCreate"
class="createidform">
<button form-type="submit"
class="createidbutton">生成form</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
</button>
</form>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
回到
</view>
<view class="home-text" hover-class="none" hover-stop-propagation="false">
班级
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='49' height="49" catchtouchmove="ture">
<view class="gohome" hover-class="none" hover-stop-propagation="false" bindtap="goindex" slot="dragcontent">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
<button form-type="submit" class="createidbutton">生成form</button>
</form>
<view class="home-text" hover-class="none" hover-stop-propagation="false">回到</view>
<view class="home-text" hover-class="none" hover-stop-propagation="false">班级</view>
</view>
</view>
</btn-drag>
</view>
<go-top wx:if="{{backTopValue}}"></go-top>
<view class="" hover-class="none" hover-stop-propagation="false" data-editor="commenteditor">
......
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