牛逼 哈哈哈~
请问页面带分享图标,算诱导分享吗?求助官方解答!这种属于诱导分享吗?请官方给与回答。再就是我们的分享功能10月10日前提交的。这个文字需要怎么修改?重新提交是不是就没有 参数[代码]shareTicket[代码]了?而且我们也并没有设计到必须点击分享才能进行下一步的操作。每次一要变现就被人举报,创业真是太他妈的难了 。一会说可以分享,一会说要封号。一会说10月10以前的保留功能,一会又说我诱导分享。明明就是免费领取的东西。总被同行举报真是太难了。来个人加我们客服要小程序代码,不给就举报我们。这毕了业创的都是什么鬼业啊。我看了别人家的程序都有这个分享按钮啊。就两个字都不行吗? 这个诱导已经取消了,可上面的分享按钮取消不了。
2018-12-03不用吧
正常使用的小程序是不是每年都要交300元认证费?否则第二年无法正常使用对吗?正常使用的小程序是不是每年都要交300元认证费?否则第二年无法正常使用对吗?
2018-11-21js没有任何事件,只要wxml里面有input,并且input里面有value,type=number。就会出现这个bug
坑爹bug,点击自动跳到打电话页面搞了大半天,终于把这个bug完美复现了。 如上面代码片段,安卓手机点击会跳到拨打电话的页面,100%会这样 ios没有这个问题。坑啊
2018-11-19你渲染得list里面肯定不止两个item
微信小程序做了分页,在第二页读取的数据不能覆盖上页数据情况下,上页数据会保留。[图片] [图片] 第二页JSON返回只有两条数据 WXML: <view class="container"> <view class="arrow"> <view class="arrow-left" bindtap='Lclickimg'> <image src='../images/arrow-left.png' style='width:30px;height:16px;margin-left:40%;' ></image> </view> <picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}" > <view class="picker" > 第 {{array[index]}} 页 </view> </picker> <view class="arrow-right" bindtap='Rclickimg'> <image src='../images/arrow-right.png' style='width:30px;height:16px;margin-left:44%;' ></image> </view> </view> <navigator class='nav' url='/pages/upload/upload?tname={{item.tname}}&tcontent={{item.tcontent}}&tid={{item.tid}}&price={{item.price}}&place={{item.place}}' wx:for="{{items}}" wx:key> <view class='item'> <view class='item-title'>{{item.tname}}</view> <view class='item-content'>{{item.tcontent}}</view> <view class='item-bottom'> <view>{{item.tm}}</view> <view>{{item.place}} </view> <view>{{item.tid}}</view> </view> <view class='item-price'> <view class='price'> {{item.price/100}}元/票 </view> </view> </view> </navigator> </view> JS: onShow: function() { var that = this; var index=that.data.index; wx.request({ url: 'http://localhost:8080/VoteSystemServer/User/CountRow', data:{ flag:1 }, method: 'GET', dataType: 'json', responseType: 'text', success:function(res){ var arr=res.data; var array = new Array(); for (let i = 0; i < arr.pageCount;i++){ array[i]=i+1; } that.setData({ array:array }) } }); //待审核页,传入 that.data.index wx.request({ url: 'http://localhost:8080/VoteSystemServer/User/doFindAll', data: { Type: 'status', SearchName: '审核通过', sign: '=', Page: parseInt(index) + parseInt(1) }, method: 'GET', dataType: 'json', responseType: 'text', success: function(res) { var arr = res.data; for (let i = 0; i < arr.length ; i++) { var tid = arr[i].tid; var tname = arr[i].tname; var tcontent = arr[i].tcontent; var tnumber = arr[i].tnumber; var name = arr[i].name; var phone = arr[i].phone; var wxname = arr[i].wxname; var tm = arr[i].tm; var status = arr[i].status; var price = arr[i].price; var url = arr[i].url; var province = arr[i].province; var city = arr[i].city; var region = arr[i].region; var place = province + city + region; var tid_data = "items[" + i + "].tid" var tname_data = "items[" + i + "].tname" var tcontent_data = "items[" + i + "].tcontent" var tnumber_data = "items[" + i + "].tnumber" var name_data = "items[" + i + "].name" var phone_data = "items[" + i + "].phone" var wxname_data = "items[" + i + "].wxname" var tm_data = "items[" + i + "].tm" var status_data = "items[" + i + "].status" var price_data = "items[" + i + "].price" var url_data = "items[" + i + "].url" var province_data = "items[" + i + "].province" var city_data = "items[" + i + "].city" var region_data = "items[" + i + "].region" var place_data = "items[" + i + "].place" that.setData({ id: i, [tid_data]: tid, [tname_data]: tname, [tcontent_data]: tcontent, [tm_data]: tm, [price_data]: price, [tid_data]: tid, [place_data]: place, [city_data]: city, [province_data]: province, [region_data]: region }) } }, fail: function(res) {}, complete: function(res) {}, }) } bindPickerChange: function (e) { console.log('picker发送选择改变,携带值为', e.detail.value); this.setData({ index: e.detail.value }); wx.startPullDownRefresh(); }, Lclickimg: function (e) { var that = this; var index = that.data.index; if (index > 0) { that.setData({ index: parseInt(index) - parseInt(1) }) console.log("索引:" + that.data.index); wx.startPullDownRefresh(); } }, Rclickimg: function (e) { var that = this; var len = that.data.array.length var index = that.data.index; if (index < len - 1) { that.setData({ index: parseInt(index) + parseInt(1) }) console.log("索引:" + that.data.index); wx.startPullDownRefresh(); } }, onPullDownRefresh: function () { this.onLoad(); var that = this; var index = that.data.index; wx.request({ url: 'http://localhost:8080/VoteSystemServer/User/CountRow', data: { flag: 1 }, method: 'GET', dataType: 'json', responseType: 'text', success: function (res) { var arr = res.data; var array = new Array(); for (let i = 0; i < arr.pageCount; i++) { array[i] = i + 1; } that.setData({ array: array }) } }); //待审核页,传入 that.data.index wx.request({ url: 'http://localhost:8080/VoteSystemServer/User/doFindAll', data: { Type: 'status', SearchName: '审核通过', sign: '=', Page: parseInt(index) + parseInt(1) }, method: 'GET', dataType: 'json', responseType: 'text', success: function (res) { var arr = res.data; for (let i = 0; i < arr.length; i++) { var tid = arr[i].tid; var tname = arr[i].tname; var tcontent = arr[i].tcontent; var tnumber = arr[i].tnumber; var name = arr[i].name; var phone = arr[i].phone; var wxname = arr[i].wxname; var tm = arr[i].tm; var status = arr[i].status; var price = arr[i].price; var url = arr[i].url; var province = arr[i].province; var city = arr[i].city; var region = arr[i].region; var place = province + city + region; var tid_data = "items[" + i + "].tid" var tname_data = "items[" + i + "].tname" var tcontent_data = "items[" + i + "].tcontent" var tnumber_data = "items[" + i + "].tnumber" var name_data = "items[" + i + "].name" var phone_data = "items[" + i + "].phone" var wxname_data = "items[" + i + "].wxname" var tm_data = "items[" + i + "].tm" var status_data = "items[" + i + "].status" var price_data = "items[" + i + "].price" var url_data = "items[" + i + "].url" var province_data = "items[" + i + "].province" var city_data = "items[" + i + "].city" var region_data = "items[" + i + "].region" var place_data = "items[" + i + "].place" that.setData({ id: i, [tid_data]: tid, [tname_data]: tname, [tcontent_data]: tcontent, [tm_data]: tm, [price_data]: price, [tid_data]: tid, icon: '', [place_data]: place, [city_data]: city, [province_data]: province, [region_data]: region }) } }, fail: function (res) { }, complete: function (res) {wx.stopPullDownRefresh() }, }) }, JSON返回值:第一页 [ { "city": "长沙市", "id": 24, "price": 30, "province": "湖南省", "region": "芙蓉区", "status": "审核通过", "tcontent": "帮忙投5号,每用户可投3票", "tid": "SGB2018111900001", "tm": "2018-11-19 08:27:36", "tname": "测试1901", "tnumber": 2, "url": "http://931248395.ax.nofollow.51wtp.com/index.php/toupiao/h5/detail?id=1910056&vid=931248395&from=timeline", "wxname": "oRPyJ5TTK7RR8XmwxJkVMuyg5WFA" }, { "city": "武汉市", "id": 23, "price": 10, "province": "湖北省", "region": "黄陂区", "status": "审核通过", "tcontent": "测试", "tid": "SGB2018111700005", "tm": "2018-11-17 21:54:31", "tname": "测试1703", "tnumber": 1, "url": "https://mp.weixin.qq.com/s/N7hU912MFI7AoQsqnn0QHA", "wxname": "oRPyJ5dnkYwOs_4Wn1DwipZ108Fk" }, { "city": "武汉市", "id": 22, "price": 15, "province": "湖北省", "region": "新洲区", "status": "审核通过", "tcontent": "投37", "tid": "SGB2018111700004", "tm": "2018-11-17 21:49:58", "tname": "测试1702", "tnumber": 2, "url": "http://chm.dachuw.com/aixin/plugin.php?id=tom_weixin_vote&mod=phb&vid=4&nav=1&from=timeline&isappinstalled=0", "wxname": "oRPyJ5TTK7RR8XmwxJkVMuyg5WFA" }, { "city": "武汉市", "id": 21, "price": 30, "province": "湖北省", "region": "武昌区", "status": "审核通过", "tcontent": "帮忙投第四,你奋斗的样子,真美!", "tid": "SGB2018111700003", "tm": "2018-11-17 21:19:10", "tname": "17测试", "tnumber": 3, "url": "https://mp.weixin.qq.com/s/7BEFvIjN9licgQJ85sbUbA", "wxname": "oRPyJ5dnkYwOs_4Wn1DwipZ108Fk" }, { "city": "武汉市", "id": 20, "price": 30, "province": "湖北省", "region": "江夏区", "status": "审核通过", "tcontent": "4", "tid": "SGB2018111700002", "tm": "2018-11-17 09:00:06", "tname": "4", "tnumber": 1, "url": "http://wx5443.vshangtong.com/?ac=votemb&tid=8377&id=3512&mbid=511975&from=groupmessage", "wxname": "oRPyJ5U-XHjNC0etLJpjcpg2L96g" }, { "city": "武汉市", "id": 19, "price": 30, "province": "湖北省", "region": "江夏区", "status": "审核通过", "tcontent": "3", "tid": "SGB2018111700001", "tm": "2018-11-17 00:01:34", "tname": "3", "tnumber": 1, "url": "http://wx5443.vshangtong.com/?ac=votemb&tid=8377&id=3512&mbid=511975&from=groupmessage", "wxname": "oRPyJ5U-XHjNC0etLJpjcpg2L96g" }, { "city": "武汉市", "id": 18, "price": 30, "province": "湖北省", "region": "江夏区", "status": "审核通过", "tcontent": "2", "tid": "SGB2018111600004", "tm": "2018-11-16 23:46:34", "tname": "2", "tnumber": 3, "url": "http://wx5443.vshangtong.com/?ac=votemb&tid=8377&id=3512&mbid=511975&from=groupmessage", "wxname": "oRPyJ5U-XHjNC0etLJpjcpg2L96g" }, { "city": "武汉市", "id": 17, "price": 30, "province": "湖北省", "region": "江夏区", "status": "审核通过", "tcontent": "1", "tid": "SGB2018111600003", "tm": "2018-11-16 22:26:52", "tname": "1", "tnumber": 1, "url": "http://wx5443.vshangtong.com/?ac=votemb&tid=8377&id=3512&mbid=511975&from=groupmessage", "wxname": "oRPyJ5U-XHjNC0etLJpjcpg2L96g" }, { "city": "undefined", "id": 13, "price": 30, "province": "undefined", "region": "undefined", "status": "审核通过", "tcontent": "测试", "tid": "SGB2018111600002", "tm": "2018-11-16 20:25:24", "tname": "测试", "tnumber": 1, "url": "http://wx5443.vshangtong.com/", "wxname": "undefined" }, { "city": "undefined", "id": 12, "price": 30, "province": "undefined", "region": "undefined", "status": "审核通过", "tcontent": "123456", "tid": "SGB2018111600001", "tm": "2018-11-16 19:55:04", "tname": "特别的", "tnumber": 3, "url": "http://wx5443.vshangtong.com/index.php", "wxname": "undefined" } ] JSON返回值:第二页 [ { "city": "武汉市", "id": 9, "price": 30, "province": "湖北省", "region": "黄陂区", "status": "审核通过", "tcontent": "测试", "tid": "SGB2018110800001", "tm": "2018-11-08 14:46:17", "tname": "测试", "tnumber": 5, "url": "https://www.baidu.com", "wxname": "oRPyJ5dnkYwOs_4Wn1DwipZ108Fk" }, { "city": "武汉市", "id": 7, "price": 30, "province": "湖北省", "region": "江夏区", "status": "审核通过", "tcontent": "测试1内容", "tid": "SGB2018110600001", "tm": "2018-11-06 16:33:58", "tname": "测试1", "tnumber": 1, "url": "1", "wxname": "oRPyJ5U-XHjNC0etLJpjcpg2L96g" } ]
2018-11-19可以
official-account组件关注公共号成功之后,能获取当前关注用户信息?official-account组件关注公共号成功之后,能获取当前关注用户信息?
2018-11-12没有,都是这么做的
formId问题根据公司运营需求,需要给用户推送多条模板消息, 但是现在fromId只在用户下单时才获取了一次。 请问如果再页面上各个部分都给加上form表单和button来获取formId的话,对小程序本身会有严重的影响吗? 如果有的话,可以详细描述一下吗?
2018-11-12可以自己写组件,用 image代替也可以
小程序单选框样式问题- 需求的场景描述(希望解决的问题) [图片]需求是这个样子的,实际却是这个样子的[图片] - 希望提供的能力 如何改变radio的大小和选中样式?
2018-11-12标签只能写在wxml吧。
请各位朋友给个思路- 需求的场景描述(希望解决的问题) [图片] 这直接输出 了怎么解决,按理说应该是 直接是一个样式的 - 希望提供的能力
2018-11-09onHide 可以啊
小程序能检测到微信进入后台的接口吗需求是这样的做了个公交刷票系统 进入二维码页面时,屏幕亮度会设置在0.9亮度 卸载页面和页面隐藏时会自动变回原来的屏幕亮度 以上没有问题 问题来了 当进入二维码页面,即屏幕亮度在0.9 直接将微信进入手机后台 屏幕亮度一直在0.9 屏幕亮度没办法恢复原来的亮度 直接切换到别的应用也是恢复不到原来的屏幕亮度 微信版本最新版 ios12
2018-11-09三个点上面有
分享有没有返回主页的API- 需求的场景描述(希望解决的问题) 分享打开小程序子页面后能主动返回主页 - 希望提供的能力 分享打开小程序的子页面能根据引导按钮进入小程序的主页,现在的打开主页隐藏太深。
2018-11-08