摘要:
// 获取时间戳 function add0(m){return m<10?'0'+m:m } function format(shijianchuo) { //shijianchuo是整数,否则要parseInt转换 var time = new Date(shijianchuo); var y 阅读全文
摘要:
//html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title></ 阅读全文
摘要:
首先 npm install mockjs npm install vue-axios --save npm install qs.js --save //main.js import Vue from 'vue' import axios from 'axios' Vue.prototype.$h 阅读全文
摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>jQuery点击展开收缩树形菜单</title> <style type="text/css"> *{margin: 0;padding: 0} body{fo 阅读全文
摘要:
//app/main/res/layout <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_he 阅读全文
摘要:
//app.json "permission": { "scope.userLocation": { "desc": "你的位置信息将用于小程序位置接口的效果展示" } } <!--pages/map/map.wxml--> <view class='list-guide'> <!-- 这里的坐标本 阅读全文
摘要:
var replace_data = that.data.goods_jihe var result = []; //去重后的数组对象集合 var hash = {}; for (var i = 0; i < replace_data.length; i++) { var elem = replac 阅读全文
摘要:
//wxml <view class="wrap"> <live-player id="live-player-id" class='{{winstyle}}' src="rtmp://" mode="live/RTC" autoplay bindstatechange="playerstatech 阅读全文
摘要:
//wxml <view class="lists"> <van-radio-group value="{{ radio }}" bind:change="onChange"> <view class="list" id='wrapper' wx:for="{{cartItems}}" wx:key 阅读全文
摘要:
<!-- wxml --> <view class='cartMain'> <view wx:for="{{cartItems}}" wx:key="key" wx:for-index="index"> <view data-id="{{item.id}}" class='cart-box' dat 阅读全文