微信小程序
Qiaer_
热爱web前端技术
展开
-
微信小程序获取当前所在城市
data: {imgs: [],ak: "",//填写申请到的akprovince: '',city: '',district: '',},onLoad: function(options) {this.getLocation();},getLocation: function() {var that= this;wx.getLocati原创 2017-12-02 23:27:39 · 2080 阅读 · 1 评论 -
微信小程序 wxml中style translate使用rpx单位无效
wxss文件中正常使用rpx单位wxml中的style属性 必须在前面加空格 比如<view class="View" style="transform: translateX('空格'300rpx);">view>原创 2018-02-08 16:53:19 · 6879 阅读 · 0 评论