- 基于微信公众号开发的页面,PC版打开一片空白
基于微信公众号开发的页面,PC版打开一片空白,目前已知的是微信PC版本2.6.8.31可以打开页面,其它的打不开,什么原因,在线等???
2019-05-15 - webcSocket
我想知道,为什么连接webSocket的时候,感觉差不多一分钟多就断一次,不知道原因,每次断的时候刚好后台在推消息,我这边就收不到后台的推送消息。我写的是检测webSocket断了就重连一次,但还是没有解决问题,想知道为啥会过一分多钟就会断?有什么办法可以让它一直连接不断开?急急急 !!!在线等!!!希望各位大神,走过路过不要错过。(啊哈哈哈哈)
2018-06-27 - 微信小程序如何实现调起微信付款码展示给商家,商家扫描收款?
想问问大神这个功能实现的大概思路或者有没有API可以参考的?我没找到资料。谢谢各位大佬。
2018-05-17 - 滑动右边商品,对应左边的选项卡进行切换
-用原生或者wepy框架实现右边商品列表滚动,左边对应的选项卡也在进行切换。急急急急急!!在线等 谢谢各位。[图片] - 希望提供的能力
2018-05-02 - 小程序上线后form表单无法提交?
小程序在本地预览完全ok,form表单可以提交,但是上线后,点击提交按钮没有反应,大家有谁知道是真么原因吗? [代码]formSubmit: [代码][代码]function[代码] [代码](e) {[代码][代码] [代码][代码]var[代码] [代码]_this = [代码][代码]this[代码][代码];[代码][代码] [代码][代码]// console.log(_this.data.contact);[代码][代码] [代码][代码]if[代码] [代码](e.detail.value.userName != [代码][代码]""[代码] [代码]&& e.detail.value.tel != [代码][代码]""[代码] [代码]&& e.detail.value.qq != [代码][代码]""[代码] [代码]&& e.detail.value.wechat != [代码][代码]""[代码] [代码]&& e.detail.value.email != [代码][代码]""[代码] [代码]&& e.detail.value.company != [代码][代码]""[代码] [代码]&& e.detail.value.requirementdec != [代码][代码]""[代码] [代码]){[代码][代码] [代码][代码]wx.request({[代码][代码] [代码][代码]url: [代码][代码]'https://www.jshuaiweb.com/submitRequriement'[代码][代码],[代码][代码] [代码][代码]data:[代码][代码] [代码][代码]{[代码][代码] [代码][代码]username: e.detail.value.userName,[代码][代码] [代码][代码]tel: e.detail.value.tel,[代码][代码] [代码][代码]qq: e.detail.value.qq,[代码][代码] [代码][代码]wechat: e.detail.value.weChat,[代码][代码] [代码][代码]email: e.detail.value.email,[代码][代码] [代码][代码]company: e.detail.value.company,[代码][代码] [代码][代码]requirementdec: e.detail.value.requirementdec,[代码][代码] [代码][代码]calltype:_this.data.contact[代码][代码] [代码][代码]},[代码][代码] [代码][代码]method: [代码][代码]'POST'[代码][代码], [代码][代码]// OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT[代码][代码] [代码][代码]header: {[代码][代码] [代码][代码]'content-type'[代码][代码]: [代码][代码]'application/x-www-form-urlencoded; charset=UTF-8'[代码][代码] [代码][代码]},[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log(res)[代码][代码] [代码][代码]console.log([代码][代码]"弹出框"[代码][代码])[代码][代码] [代码][代码]wx.showToast({[代码][代码] [代码][代码]title: [代码][代码]'成功'[代码][代码],[代码][代码] [代码][代码]icon: [代码][代码]'succes'[代码][代码],[代码][代码] [代码][代码]duration: 1000,[代码][代码] [代码][代码]mask: [代码][代码]true[代码][代码] [代码][代码]})[代码][代码] [代码][代码]_this.setData({[代码][代码] [代码][代码]form_info: [代码][代码]''[代码][代码] [代码][代码]}) [代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail: [代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]// fail[代码][代码] [代码][代码]},[代码][代码] [代码][代码]complete: [代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]// complete[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码] [代码] [代码][代码]}[代码][代码]else[代码][代码]{[代码][代码] [代码][代码]console.log([代码][代码]"不能提交"[代码][代码]);[代码][代码] [代码][代码]if[代码] [代码](e.detail.value.userName == [代码][代码]""[代码][代码]){[代码][代码] [代码][代码]_this.setData({[代码][代码] [代码][代码]userNameHideOrShow:[代码][代码]"show"[代码][代码] [代码][代码]});[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]if[代码] [代码](e.detail.value.tel == [代码][代码]""[代码][代码]){[代码][代码] [代码][代码]_this.setData({[代码][代码] [代码][代码]telHideOrShow: [代码][代码]"show"[代码][代码] [代码][代码]});[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]if[代码] [代码](e.detail.value.qq == [代码][代码]""[代码][代码]) {[代码][代码] [代码][代码]_this.setData({[代码][代码] [代码][代码]changeQQ: [代码][代码]"show"[代码][代码] [代码][代码]});[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]if[代码] [代码](e.detail.value.wechat == [代码][代码]""[代码][代码]) {[代码][代码] [代码][代码]_this.setData({[代码][代码] [代码][代码]changeWechat: [代码][代码]"show"[代码][代码] [代码][代码]});[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]if[代码] [代码](e.detail.value.email == [代码][代码]""[代码][代码]) {[代码][代码] [代码][代码]_this.setData({[代码][代码] [代码][代码]changeEmail: [代码][代码]"show"[代码][代码] [代码][代码]});[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]if[代码] [代码](e.detail.value.company == [代码][代码]""[代码][代码]) {[代码][代码] [代码][代码]_this.setData({[代码][代码] [代码][代码]changeCompany: [代码][代码]"show"[代码][代码] [代码][代码]});[代码][代码] [代码][代码]}[代码][代码] [代码][代码]else[代码] [代码]if[代码] [代码](e.detail.value.requirementdec == [代码][代码]""[代码][代码]) {[代码][代码] [代码][代码]_this.setData({[代码][代码] [代码][代码]changeDesc: [代码][代码]"show"[代码][代码] [代码][代码]});[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码] [代码][代码]},[代码]
2018-03-16 - 左右滑动图片,滑到中间图片放大的效果
[图片] 就是这种效果的demo,哪位大神有,可不可以分享下?
2018-03-13 - scroll-view套video使其横向滚动,视频悬浮在手机上,怎么让它滚动?
<view class="most-new-content"> <view class="most-new-content-desc">{{mostNew[index].description}}</view> <scroll-view scroll-x="true" style=" white-space: nowrap; display: flex;height:100%;" > <!-- <view > --> <video class="section" poster="http://www.jshuaiweb.com/mini/jinyi/images/mostNew-1.png" src="http://tbm.alicdn.com/Uob6TqgDJuggjUaP6bv/NNtoO48LH9fensAkefH%40%40sdregop.mp4" danmu-list="{{danmuList}}" enable-danmu danmu-btn controls bindtap="bindfullscreenchange" objectFit='fill'> </video> <!-- </view> --> <image bindtap='touchStart' wx:for="{{mostNew[index].imgUrl}}" wx:key="index" src="{{item}}"></image> </scroll-view> </view>
2018-03-03