摘要: 阅读全文
posted @ 2018-07-24 17:57 zcy1995 阅读(233) 评论(0) 推荐(0) 编辑
摘要: .textview{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap} 当然 有单行的省略 就有多行,不过多行的设置的有点复杂: .textview{ display: -webkit-box ; overflow: hi 阅读全文
posted @ 2018-07-24 17:56 zcy1995 阅读(143) 评论(0) 推荐(0) 编辑
摘要: js wx.request({ url: url + '/team!jfchongzhi.action?openid=' + openid + '&weibi=' + weibi, method: 'get', header: { 'Content-Type': 'application/json' 阅读全文
posted @ 2018-07-24 17:55 zcy1995 阅读(293) 评论(0) 推荐(0) 编辑
摘要: <swiper class="swiper" indicator-dots="true" autoplay="true" interval="5000" duration="1000" > <block wx:for="{{movies}}" wx:key="index"> <swiper-item 阅读全文
posted @ 2018-07-24 17:53 zcy1995 阅读(80) 评论(0) 推荐(0) 编辑
摘要: <view class="mask" catchtouchmove="preventTouchMove" wx:if="{{showModal}}"></view> <view class="modalDlg" wx:if="{{showModal}}"> <image src="/figures/ 阅读全文
posted @ 2018-07-24 17:52 zcy1995 阅读(130) 评论(0) 推荐(0) 编辑
摘要: public String yaoqing(){ jsonresult = new JsonResult(); String openid = request.getParameter("openid"); Peizhi peizhi = DAO.findbyid(Peizhi.class, 1); 阅读全文
posted @ 2018-07-24 17:48 zcy1995 阅读(236) 评论(0) 推荐(0) 编辑
摘要: <map id="map" longitude="116.715790" latitude="23.362490" markers="{{markers}}"scale="18" style="width: 100%; height: 300px;" bindtap="click"></map> c 阅读全文
posted @ 2018-07-24 17:48 zcy1995 阅读(96) 评论(0) 推荐(0) 编辑
摘要: public static JSONObject dizhi(String ak,String longitude,String latitude,String output){ String URL = "https://api.map.baidu.com/geocoder/v2/?ak="+ak 阅读全文
posted @ 2018-07-24 17:41 zcy1995 阅读(589) 评论(0) 推荐(0) 编辑
摘要: public static String juli(String latitudee,String longitudee,String ak,String diqu){ double latitude = Double.parseDouble(latitudee); double longitude 阅读全文
posted @ 2018-07-24 17:41 zcy1995 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 后台 要将数据库改为mb4 final Base64 base64 = new Base64();final String text = "字串文字";final byte[] textByte = text.getBytes("UTF-8");//编码final String encodedTex 阅读全文
posted @ 2018-07-24 17:36 zcy1995 阅读(7998) 评论(0) 推荐(0) 编辑
摘要: wxml: <view class="container" > <view class="section"> <text>手机号码</text> <input placeholder="请输入手机号码" type="number" maxlength="11" bindinput="inputPho 阅读全文
posted @ 2018-07-24 17:34 zcy1995 阅读(662) 评论(0) 推荐(0) 编辑
摘要: wxml部分: <image src='{{url1}}/{{m}}'style="width:32%;height:120px;margin-right:1%" bindtap='imgYu'data-src="{{url1}}/{{m}}" data-list="{{map1[adminfb.i 阅读全文
posted @ 2018-07-24 17:33 zcy1995 阅读(180) 评论(0) 推荐(0) 编辑
摘要: wxml部分: <view class='tupian'><image bindtap="chooseimage" style='width:33.33%;height:73px;' src="../../images/tupian.png" hidden='{{hiddentupian}}'/>< 阅读全文
posted @ 2018-07-24 17:31 zcy1995 阅读(145) 评论(0) 推荐(0) 编辑