摘要:
<view> <view class='btn-img'> <image class='image-full' src='../../imgs/index/tab6.png'></image> <contact-button class='section-tel' size="27" session 阅读全文
摘要:
<form action="${pageContext.servletContext.contextPath}/XXX/###" method="post" id="messageForm"> 姓名:<input name = "name" type="text" /> <button type=" 阅读全文
摘要:
Page( { data: { // text:"这是一个页面" storageContent: '', storageSyncContent: '' }, onLoad: function (options) { // 页面初始化 options为页面跳转所带来的参数 }, /** * 异步存储 阅读全文
摘要:
wx.login({ success: res => { var code = res.code; //返回code // 小程序appid var appId = 'wxd751fc845c90fbd8'; // 小程序密钥 var secret = '6af97b8d384a4c6d7028b7 阅读全文
摘要:
var that=this; wx.request({ url: 'http://www.didu86.com/Clothes-manager-web/queryiShopping', data: { appkey: '5e5ju20na345sdf4nw361qb9789asdf', key: " 阅读全文
摘要:
"enablePullDownRefresh": "true" /** * 页面相关事件处理函数--监听用户下拉动作 */ onPullDownRefresh: function () { }, /** * 页面上拉触底事件的处理函数 */ onReachBottom: function () { 阅读全文
摘要:
// 将对象的键添加到数组 var arr = Object.keys(site); //英文 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys 中文 https: 阅读全文
摘要:
// 商品详情页跳转函数 detailInto: function (e) { // console.log() var change = e.currentTarget.dataset.id; wx.navigateTo({ url: '../detail/detail?id=' + change 阅读全文
摘要:
// 购物车删除 deleteList(e) { const index = e.currentTarget.dataset.index; let carts = this.data.carts; carts.splice(index, 1); // 删除购物车列表里这个商品 this.setDat 阅读全文
摘要:
<view class="container"> <!-- menue --> <view class="aside flex"> <block wx:key="navList" wx:for="{{navList}}"> <view class="type-nav flexca" bindtap= 阅读全文