代码拉取完成,页面将自动刷新
// { "framework": "Vue" }
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ exports: {},
/******/ id: moduleId,
/******/ loaded: false
/******/ };
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ // Flag the module as loaded
/******/ module.loaded = true;
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {
'use strict';
var _App = __webpack_require__(1);
var _App2 = _interopRequireDefault(_App);
var _router = __webpack_require__(22);
var _router2 = _interopRequireDefault(_router);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
new Vue(Vue.util.extend({ el: '#root', router: _router2.default }, _App2.default));
_router2.default.push('/');
/***/ },
/* 1 */
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* styles */
__vue_styles__.push(__webpack_require__(2)
)
/* script */
__vue_exports__ = __webpack_require__(3)
/* template */
var __vue_template__ = __webpack_require__(21)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
__vue_options__.__file = "/Users/yangsui/Documents/前端weex/Weex-Court/src/App.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
for (var name in module) {
__vue_options__.style[name] = module[name]
}
})
module.exports = __vue_exports__
/***/ },
/* 2 */
/***/ function(module, exports) {
module.exports = {
"container": {
"backgroundColor": "#000000",
"position": "absolute",
"top": 0,
"left": 0,
"right": 0,
"bottom": 0
},
"logobg": {
"top": 0,
"position": "absolute"
},
"bg": {
"width": 750,
"height": 1336
},
"logo": {
"justifyContent": "center",
"alignItems": "center",
"marginTop": 112
},
"logoimg": {
"width": 330,
"height": 116
},
"formbox": {
"width": 750,
"justifyContent": "center",
"alignItems": "center",
"marginTop": 208
},
"inputbox": {
"borderBottomStyle": "solid",
"borderBottomColor": "rgba(255,255,255,0.4)",
"borderBottomWidth": 2,
"height": 100,
"justifyContent": "flex-start",
"alignItems": "center",
"width": 664,
"flexDirection": "row"
},
"phoneimg": {
"width": 36,
"height": 48,
"alignItems": "center",
"justifyContent": "center"
},
"inputright": {
"width": 604,
"alignItems": "center",
"position": "relative"
},
"phoneinput": {
"width": 580,
"height": 66,
"justifyContent": "flex-end",
"alignItems": "center",
"backgroundColor": "rgba(0,0,0,0)",
"placeholderColor": "rgba(255,255,255,0.4)",
"fontSize": 32,
"color": "#D8D8D8",
"borderTop": 0,
"borderLeft": 0,
"borderRight": 0,
"borderBottom": 0
},
"inputleft": {
"width": 60,
"alignItems": "center",
"justifyContent": "flex-start"
},
"pwdimg": {
"width": 40,
"height": 50,
"alignItems": "center",
"justifyContent": "center"
},
"loginbtn": {
"width": 750,
"alignItems": "center",
"justifyContent": "center",
"marginTop": 316,
"height": 100
},
"loginbutton": {
"backgroundColor": "#1DDB85",
"height": 100,
"width": 630,
"borderBottomLeftRadius": 200,
"borderBottomRightRadius": 200,
"borderTopLeftRadius": 200,
"borderTopRightRadius": 200,
"alignItems": "center",
"justifyContent": "center"
},
"denglu": {
"color": "#FFFFFF",
"fontSize": 38
},
"del_btn": {
"alignItems": "center",
"width": 32,
"height": 32,
"position": "absolute",
"top": 17,
"right": 0
},
"versiontext": {
"width": 750,
"alignItems": "center",
"justifyContent": "center",
"marginTop": 60
},
"version": {
"fontSize": 30,
"color": "#dddddd"
}
}
/***/ },
/* 3 */
/***/ function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global) {'use strict';
var _global = __webpack_require__(4);
var _global2 = _interopRequireDefault(_global);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var modal = weex.requireModule('modal'); //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var stream = weex.requireModule('stream');
var storage = weex.requireModule('storage');
module.exports = {
data: function data() {
return {
isLogin: false,
tabItems: [{
index: 0,
title: '订单',
titleColor: '#009F5C',
icon: '',
image: 'https://www.ikicker.cn/wxapp/weexImg/order1.5x.png',
selectedImage: 'https://www.ikicker.cn/wxapp/weexImg/ordersel2x.png',
src: 'pages/orderList/orderList.js',
visibility: 'visible',
cornerCount: ''
}, {
index: 1,
title: '球场',
titleColor: '#009F5C',
icon: '',
image: 'https://www.ikicker.cn/wxapp/weexImg/court1.5x.png',
selectedImage: 'https://www.ikicker.cn/wxapp/weexImg/courtsel1.5x.png',
src: 'pages/ballpark/ballpark.js',
visibility: 'hidden',
cornerCount: ''
}, {
index: 2,
title: '我的',
titleColor: '#009F5C',
icon: '',
image: 'https://www.ikicker.cn/wxapp/weexImg/myself2x.png',
selectedImage: 'https://www.ikicker.cn/wxapp/weexImg/myselfsel2x.png',
src: 'pages/Mine/Mine.js',
visibility: 'hidden',
cornerCount: ''
}],
userNumber: "",
userPassword: "",
opacity: "",
token_v: "",
version: weex.config.env.appVersion,
storager: ''
};
},
components: {
tabbar: __webpack_require__(13)
},
created: function created() {
var self = this;
global.url = 'http://103.235.224.221:9999';
storage.getItem('userdata', function (e) {
if (e.result == 'failed') {
self.isLogin = true;
console.log('没有缓存缓存穿');
} else {
console.log('有缓存');
self.isLogin = false;
var userinfor = e.data.split('&');
global.userid = userinfor[0];
global.token = userinfor[1];
console.log('首次-有缓存-' + global.userid + global.token);
var getOrderid = self.$getConfig().orderid;
var getCreateUserid = self.$getConfig().createuseid;
if (getOrderid != '') {
var params = { reseiveid: getOrderid, buyerid: getCreateUserid };
_global2.default.push('pages/orderList/orderdetail', params);
}
self.getCornMark();
}
});
console.log('不走缓存你走什么');
var baseURL = _global2.default.getBaseURL(self);
for (var i = 0; i < self.tabItems.length; i++) {
var tabItem = self.tabItems[i];
tabItem.src = baseURL + tabItem.src;
}
},
methods: {
tabBarOnClick: function tabBarOnClick(e) {
console.log('tabBarOnClick', e.index);
},
login: function login() {
var self = this;
if (!self.userNumber.match(/^1\d{10}$/)) {
modal.toast({
'message': '请填写正确的手机号',
'duration': 3
});
} else {
console.log(self.userPassword.length);
if (self.userPassword.length < 6 || self.userPassword.length > 16) {
modal.toast({
'message': '密码只能是6-16位',
'duration': 3
});
} else {
console.log('loginUrl' + global.url + '/v1.4/pay/applogin?phone=' + self.userNumber + '&password=' + self.userPassword);
stream.fetch({
method: 'GET',
type: 'json',
url: global.url + '/v1.4/pay/applogin?phone=' + self.userNumber + '&password=' + self.userPassword
}, function (ret) {
if (ret.data.result == 'ok') {
modal.toast({
'message': '' + ret.data.message,
'duration': 3
});
var userid = ret.data.userid;
var token = ret.data.token;
var userinfo = userid + '&' + token;
global.userid = userid;
global.token = token;
storage.setItem('userdata', userinfo, function (e) {});
self.isLogin = false;
self.getCornMark();
var album = weex.requireModule('module_event');
album.getUserid(global.userid);
} else {
modal.toast({
'message': '' + ret.data.message,
'duration': 3
});
}
}, function (response) {});
}
}
},
getCornMark: function getCornMark() {
var self = this;
// var params = {rows:1,seller_status:0}
// Global.getRequest('/v1.4/order/list4seller',params).then(res => {
// if (res.result == 'ok') {
// console.log('首页--count====='+res.beconfirm_count);
// self.tabItems[0].cornerCount = res.beconfirm_count;
// }
// }).catch(res => {})
stream.fetch({
method: 'GET',
type: 'json',
url: global.url + '/v1.4/order/list4seller?userid=' + global.userid + '&token=' + global.token + '&rows=1&seller_status=0'
}, function (ret) {
if (ret.data.result = 'ok') {
self.tabItems[0].cornerCount = ret.data.beconfirm_count;
}
}, function (response) {});
}
}
};
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
/***/ },
/* 4 */
/***/ function(module, exports, __webpack_require__) {
'use strict';
var _request = __webpack_require__(5);
var _request2 = _interopRequireDefault(_request);
var _navigator = __webpack_require__(12);
var _navigator2 = _interopRequireDefault(_navigator);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/**
* @author NSObject_Y 😘😘😘😘😘我男神快💋吻我
* @baseURL
*/
/**
* @author NSObject_Y 😘😘😘😘😘我男神快💋吻我
* @date 2017/05/20
* @description
*/
exports.getBaseURL = function (vm) {
return _navigator2.default.getBaseUrl(vm);
},
/**
* @author NSObject_Y 😘😘😘😘😘我男神快💋吻我
* @Request
*/
exports.getRequest = function (url, params, showProgressHUD) {
return _request2.default.get(url, params, showProgressHUD);
}, exports.postRequest = function (url, body) {
return _request2.default.post(url, body);
},
/**
* @author NSObject_Y 😘😘😘😘😘我男神快💋吻我
* @Navigator
*/
exports.push = function (url) {
var query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
return _navigator2.default.push(url, query);
}, exports.pop = function (url) {
var query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
return _navigator2.default.pop(url, query);
},
/**
@Author: NSObject_Y 😘😘😘😘😘我男神快💋吻我
@DateTime: 2017-05-25 13:55:38
@Description: 获取传值参数push——>
*/
exports.getParams = function () {
return _navigator2.default.getParams();
},
/**
@Author: NSObject_Y 😘😘😘😘😘我男神快💋吻我
@DateTime: 2017-05-25 13:56:01
@Description: 获取pop参数
*/
exports.setPopItem = function (paramsObj) {
var storage = weex.requireModule('storage');
console.log('此时的参数' + paramsObj);
if (paramsObj) {
var storageParams = JSON.stringify(paramsObj);
storage.setItem('paramsDic', storageParams, function (e) {
if (e.result == 'success') {
console.log('push--数据成功');
}
});
}
}, exports.getPopParams = function () {
var storage = weex.requireModule('storage');
return new Promise(function (resolve) {
storage.getItem('paramsDic', function (e) {
console.log('取缓存');
if (e.result == 'success') {
console.log(e.data);
var getParams = JSON.parse(e.data);
resolve(getParams);
}
});
});
},
/**
@Author: NSObject_Y 😘😘😘😘😘我男神快💋吻我
@DateTime: 2017-05-25 13:56:44
@Description: 获取角标
*/
exports.setCornerMarkItem = function (paramsObj) {
var storage = weex.requireModule('storage');
if (paramsObj) {
var storageParams = JSON.stringify(paramsObj);
storage.setItem('CornerMark', storageParams, function (e) {
if (e.result == 'success') {}
});
}
}, exports.getCornerMark = function () {
var storage = weex.requireModule('storage');
return new Promise(function (resolve) {
storage.getItem('CornerMark', function (e) {
if (e.result == 'success') {
var getParams = JSON.parse(e.data);
resolve(getParams);
}
});
});
},
//创建球场cache
//createCourt createPlace rule courtfresh editrule
exports.setCourtItem = function (key, paramsObj) {
var storage = weex.requireModule('storage');
if (paramsObj) {
var storageParams = JSON.stringify(paramsObj);
storage.setItem(key, storageParams, function (e) {
if (e.result == 'success') {
console.log('push--数据成功');
}
});
}
}, exports.getCourtCache = function (key) {
var storage = weex.requireModule('storage');
return new Promise(function (resolve) {
storage.getItem(key, function (e) {
console.log('取缓存');
if (e.result == 'success') {
console.log(e.data);
var getParams = JSON.parse(e.data);
resolve(getParams);
} else {
resolve("false");
}
});
});
};
/***/ },
/* 5 */
/***/ function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global) {'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _qs = __webpack_require__(6);
var _qs2 = _interopRequireDefault(_qs);
var _string = __webpack_require__(11);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/**
* @author NSObject_Y 😘😘😘😘😘我男神快💋吻我
* @date 2017/05/20
* @description 请求
*/
var stream = weex.requireModule('stream');
var progressModule = weex.requireModule('module_event');
var modal = weex.requireModule('modal');
var baseUrl = global.url;
function get(url, params, showProgressHUD) {
return new Promise(function (resolve, reject) {
var defaultParams = { userid: global.userid, token: global.token };
var fetchUrl = '';
if (params == '') {
fetchUrl = baseUrl + url + '?' + _qs2.default.stringify(defaultParams);
} else {
fetchUrl = baseUrl + url + '?' + _qs2.default.stringify(defaultParams) + '&' + _qs2.default.stringify(params);
}
console.log('request:', baseUrl + url + '?' + _qs2.default.stringify(defaultParams) + '&' + _qs2.default.stringify(params));
stream.fetch({
method: 'GET',
url: fetchUrl,
type: 'json'
}, function (res) {
if (showProgressHUD) {
progressModule.hideProgressHUD();
}
if (!res.ok) {
var errorMessage = 'error:' + res.status + res.statusText;
modal.toast({
message: errorMessage,
duration: 1
});
} else {
resolve(res.data);
}
}, function (progress) {
if (progress.readyState.OPENED == 1) {
if (showProgressHUD) {
progressModule.showProgressHUD();
}
}
});
});
}
function post(url, body) {
return new Promise(function (resolve, reject) {
stream.fetch({
method: 'POST',
url: baseUrl + url,
type: 'json',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(body)
}, function (res) {
progressModule.hideProgressHUD();
if (!res.ok) {
//失败
console.log(res);
var errorMessage = 'error:' + res.status + res.statusText;
modal.toast({
message: errorMessage,
duration: 1
});
} else {
resolve(res.data);
}
}, function (progress) {
if (progress.readyState.OPENED == 1) {
progressModule.showProgressHUD();
}
});
});
}
function del(url) {
return new Promise(function (resolve, reject) {
stream.fetch({
method: 'DELETE',
url: baseUrl + url,
type: 'json'
}, function (res) {
if (res.ok && res.data && res.data.code === 0) {
resolve(res.data);
} else {
reject(res.data);
}
}, function (progress) {
console.log('get in progress:' + progress.length);
});
});
}
function put(url, body) {
return new Promise(function (resolve, reject) {
stream.fetch({
method: 'PUT',
url: baseUrl + url,
type: 'json',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(body)
}, function (res) {
if (res.ok && res.data && res.data.code === 0) {
resolve(res.data);
} else {
reject(res.data);
}
}, function (progress) {
console.log('get in progress:' + progress.length);
});
});
}
exports.default = {
get: get, post: post, del: del, put: put
};
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
/***/ },
/* 6 */
/***/ function(module, exports, __webpack_require__) {
'use strict';
var stringify = __webpack_require__(7);
var parse = __webpack_require__(10);
var formats = __webpack_require__(9);
module.exports = {
formats: formats,
parse: parse,
stringify: stringify
};
/***/ },
/* 7 */
/***/ function(module, exports, __webpack_require__) {
'use strict';
var utils = __webpack_require__(8);
var formats = __webpack_require__(9);
var arrayPrefixGenerators = {
brackets: function brackets(prefix) { // eslint-disable-line func-name-matching
return prefix + '[]';
},
indices: function indices(prefix, key) { // eslint-disable-line func-name-matching
return prefix + '[' + key + ']';
},
repeat: function repeat(prefix) { // eslint-disable-line func-name-matching
return prefix;
}
};
var toISO = Date.prototype.toISOString;
var defaults = {
delimiter: '&',
encode: true,
encoder: utils.encode,
serializeDate: function serializeDate(date) { // eslint-disable-line func-name-matching
return toISO.call(date);
},
skipNulls: false,
strictNullHandling: false
};
var stringify = function stringify( // eslint-disable-line func-name-matching
object,
prefix,
generateArrayPrefix,
strictNullHandling,
skipNulls,
encoder,
filter,
sort,
allowDots,
serializeDate,
formatter
) {
var obj = object;
if (typeof filter === 'function') {
obj = filter(prefix, obj);
} else if (obj instanceof Date) {
obj = serializeDate(obj);
} else if (obj === null) {
if (strictNullHandling) {
return encoder ? encoder(prefix) : prefix;
}
obj = '';
}
if (typeof obj === 'string' || typeof obj === 'number' || typeof obj === 'boolean' || utils.isBuffer(obj)) {
if (encoder) {
return [formatter(encoder(prefix)) + '=' + formatter(encoder(obj))];
}
return [formatter(prefix) + '=' + formatter(String(obj))];
}
var values = [];
if (typeof obj === 'undefined') {
return values;
}
var objKeys;
if (Array.isArray(filter)) {
objKeys = filter;
} else {
var keys = Object.keys(obj);
objKeys = sort ? keys.sort(sort) : keys;
}
for (var i = 0; i < objKeys.length; ++i) {
var key = objKeys[i];
if (skipNulls && obj[key] === null) {
continue;
}
if (Array.isArray(obj)) {
values = values.concat(stringify(
obj[key],
generateArrayPrefix(prefix, key),
generateArrayPrefix,
strictNullHandling,
skipNulls,
encoder,
filter,
sort,
allowDots,
serializeDate,
formatter
));
} else {
values = values.concat(stringify(
obj[key],
prefix + (allowDots ? '.' + key : '[' + key + ']'),
generateArrayPrefix,
strictNullHandling,
skipNulls,
encoder,
filter,
sort,
allowDots,
serializeDate,
formatter
));
}
}
return values;
};
module.exports = function (object, opts) {
var obj = object;
var options = opts || {};
if (options.encoder !== null && options.encoder !== undefined && typeof options.encoder !== 'function') {
throw new TypeError('Encoder has to be a function.');
}
var delimiter = typeof options.delimiter === 'undefined' ? defaults.delimiter : options.delimiter;
var strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : defaults.strictNullHandling;
var skipNulls = typeof options.skipNulls === 'boolean' ? options.skipNulls : defaults.skipNulls;
var encode = typeof options.encode === 'boolean' ? options.encode : defaults.encode;
var encoder = encode ? (typeof options.encoder === 'function' ? options.encoder : defaults.encoder) : null;
var sort = typeof options.sort === 'function' ? options.sort : null;
var allowDots = typeof options.allowDots === 'undefined' ? false : options.allowDots;
var serializeDate = typeof options.serializeDate === 'function' ? options.serializeDate : defaults.serializeDate;
if (typeof options.format === 'undefined') {
options.format = formats.default;
} else if (!Object.prototype.hasOwnProperty.call(formats.formatters, options.format)) {
throw new TypeError('Unknown format option provided.');
}
var formatter = formats.formatters[options.format];
var objKeys;
var filter;
if (typeof options.filter === 'function') {
filter = options.filter;
obj = filter('', obj);
} else if (Array.isArray(options.filter)) {
filter = options.filter;
objKeys = filter;
}
var keys = [];
if (typeof obj !== 'object' || obj === null) {
return '';
}
var arrayFormat;
if (options.arrayFormat in arrayPrefixGenerators) {
arrayFormat = options.arrayFormat;
} else if ('indices' in options) {
arrayFormat = options.indices ? 'indices' : 'repeat';
} else {
arrayFormat = 'indices';
}
var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
if (!objKeys) {
objKeys = Object.keys(obj);
}
if (sort) {
objKeys.sort(sort);
}
for (var i = 0; i < objKeys.length; ++i) {
var key = objKeys[i];
if (skipNulls && obj[key] === null) {
continue;
}
keys = keys.concat(stringify(
obj[key],
key,
generateArrayPrefix,
strictNullHandling,
skipNulls,
encoder,
filter,
sort,
allowDots,
serializeDate,
formatter
));
}
return keys.join(delimiter);
};
/***/ },
/* 8 */
/***/ function(module, exports) {
'use strict';
var has = Object.prototype.hasOwnProperty;
var hexTable = (function () {
var array = [];
for (var i = 0; i < 256; ++i) {
array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
}
return array;
}());
exports.arrayToObject = function (source, options) {
var obj = options && options.plainObjects ? Object.create(null) : {};
for (var i = 0; i < source.length; ++i) {
if (typeof source[i] !== 'undefined') {
obj[i] = source[i];
}
}
return obj;
};
exports.merge = function (target, source, options) {
if (!source) {
return target;
}
if (typeof source !== 'object') {
if (Array.isArray(target)) {
target.push(source);
} else if (typeof target === 'object') {
target[source] = true;
} else {
return [target, source];
}
return target;
}
if (typeof target !== 'object') {
return [target].concat(source);
}
var mergeTarget = target;
if (Array.isArray(target) && !Array.isArray(source)) {
mergeTarget = exports.arrayToObject(target, options);
}
if (Array.isArray(target) && Array.isArray(source)) {
source.forEach(function (item, i) {
if (has.call(target, i)) {
if (target[i] && typeof target[i] === 'object') {
target[i] = exports.merge(target[i], item, options);
} else {
target.push(item);
}
} else {
target[i] = item;
}
});
return target;
}
return Object.keys(source).reduce(function (acc, key) {
var value = source[key];
if (Object.prototype.hasOwnProperty.call(acc, key)) {
acc[key] = exports.merge(acc[key], value, options);
} else {
acc[key] = value;
}
return acc;
}, mergeTarget);
};
exports.decode = function (str) {
try {
return decodeURIComponent(str.replace(/\+/g, ' '));
} catch (e) {
return str;
}
};
exports.encode = function (str) {
// This code was originally written by Brian White (mscdex) for the io.js core querystring library.
// It has been adapted here for stricter adherence to RFC 3986
if (str.length === 0) {
return str;
}
var string = typeof str === 'string' ? str : String(str);
var out = '';
for (var i = 0; i < string.length; ++i) {
var c = string.charCodeAt(i);
if (
c === 0x2D || // -
c === 0x2E || // .
c === 0x5F || // _
c === 0x7E || // ~
(c >= 0x30 && c <= 0x39) || // 0-9
(c >= 0x41 && c <= 0x5A) || // a-z
(c >= 0x61 && c <= 0x7A) // A-Z
) {
out += string.charAt(i);
continue;
}
if (c < 0x80) {
out = out + hexTable[c];
continue;
}
if (c < 0x800) {
out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
continue;
}
if (c < 0xD800 || c >= 0xE000) {
out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
continue;
}
i += 1;
c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
out += hexTable[0xF0 | (c >> 18)] + hexTable[0x80 | ((c >> 12) & 0x3F)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]; // eslint-disable-line max-len
}
return out;
};
exports.compact = function (obj, references) {
if (typeof obj !== 'object' || obj === null) {
return obj;
}
var refs = references || [];
var lookup = refs.indexOf(obj);
if (lookup !== -1) {
return refs[lookup];
}
refs.push(obj);
if (Array.isArray(obj)) {
var compacted = [];
for (var i = 0; i < obj.length; ++i) {
if (obj[i] && typeof obj[i] === 'object') {
compacted.push(exports.compact(obj[i], refs));
} else if (typeof obj[i] !== 'undefined') {
compacted.push(obj[i]);
}
}
return compacted;
}
var keys = Object.keys(obj);
keys.forEach(function (key) {
obj[key] = exports.compact(obj[key], refs);
});
return obj;
};
exports.isRegExp = function (obj) {
return Object.prototype.toString.call(obj) === '[object RegExp]';
};
exports.isBuffer = function (obj) {
if (obj === null || typeof obj === 'undefined') {
return false;
}
return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
};
/***/ },
/* 9 */
/***/ function(module, exports) {
'use strict';
var replace = String.prototype.replace;
var percentTwenties = /%20/g;
module.exports = {
'default': 'RFC3986',
formatters: {
RFC1738: function (value) {
return replace.call(value, percentTwenties, '+');
},
RFC3986: function (value) {
return value;
}
},
RFC1738: 'RFC1738',
RFC3986: 'RFC3986'
};
/***/ },
/* 10 */
/***/ function(module, exports, __webpack_require__) {
'use strict';
var utils = __webpack_require__(8);
var has = Object.prototype.hasOwnProperty;
var defaults = {
allowDots: false,
allowPrototypes: false,
arrayLimit: 20,
decoder: utils.decode,
delimiter: '&',
depth: 5,
parameterLimit: 1000,
plainObjects: false,
strictNullHandling: false
};
var parseValues = function parseQueryStringValues(str, options) {
var obj = {};
var parts = str.split(options.delimiter, options.parameterLimit === Infinity ? undefined : options.parameterLimit);
for (var i = 0; i < parts.length; ++i) {
var part = parts[i];
var pos = part.indexOf(']=') === -1 ? part.indexOf('=') : part.indexOf(']=') + 1;
var key, val;
if (pos === -1) {
key = options.decoder(part);
val = options.strictNullHandling ? null : '';
} else {
key = options.decoder(part.slice(0, pos));
val = options.decoder(part.slice(pos + 1));
}
if (has.call(obj, key)) {
obj[key] = [].concat(obj[key]).concat(val);
} else {
obj[key] = val;
}
}
return obj;
};
var parseObject = function parseObjectRecursive(chain, val, options) {
if (!chain.length) {
return val;
}
var root = chain.shift();
var obj;
if (root === '[]') {
obj = [];
obj = obj.concat(parseObject(chain, val, options));
} else {
obj = options.plainObjects ? Object.create(null) : {};
var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
var index = parseInt(cleanRoot, 10);
if (
!isNaN(index) &&
root !== cleanRoot &&
String(index) === cleanRoot &&
index >= 0 &&
(options.parseArrays && index <= options.arrayLimit)
) {
obj = [];
obj[index] = parseObject(chain, val, options);
} else {
obj[cleanRoot] = parseObject(chain, val, options);
}
}
return obj;
};
var parseKeys = function parseQueryStringKeys(givenKey, val, options) {
if (!givenKey) {
return;
}
// Transform dot notation to bracket notation
var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
// The regex chunks
var parent = /^([^[]*)/;
var child = /(\[[^[\]]*])/g;
// Get the parent
var segment = parent.exec(key);
// Stash the parent if it exists
var keys = [];
if (segment[1]) {
// If we aren't using plain objects, optionally prefix keys
// that would overwrite object prototype properties
if (!options.plainObjects && has.call(Object.prototype, segment[1])) {
if (!options.allowPrototypes) {
return;
}
}
keys.push(segment[1]);
}
// Loop through children appending to the array until we hit depth
var i = 0;
while ((segment = child.exec(key)) !== null && i < options.depth) {
i += 1;
if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
if (!options.allowPrototypes) {
return;
}
}
keys.push(segment[1]);
}
// If there's a remainder, just add whatever is left
if (segment) {
keys.push('[' + key.slice(segment.index) + ']');
}
return parseObject(keys, val, options);
};
module.exports = function (str, opts) {
var options = opts || {};
if (options.decoder !== null && options.decoder !== undefined && typeof options.decoder !== 'function') {
throw new TypeError('Decoder has to be a function.');
}
options.delimiter = typeof options.delimiter === 'string' || utils.isRegExp(options.delimiter) ? options.delimiter : defaults.delimiter;
options.depth = typeof options.depth === 'number' ? options.depth : defaults.depth;
options.arrayLimit = typeof options.arrayLimit === 'number' ? options.arrayLimit : defaults.arrayLimit;
options.parseArrays = options.parseArrays !== false;
options.decoder = typeof options.decoder === 'function' ? options.decoder : defaults.decoder;
options.allowDots = typeof options.allowDots === 'boolean' ? options.allowDots : defaults.allowDots;
options.plainObjects = typeof options.plainObjects === 'boolean' ? options.plainObjects : defaults.plainObjects;
options.allowPrototypes = typeof options.allowPrototypes === 'boolean' ? options.allowPrototypes : defaults.allowPrototypes;
options.parameterLimit = typeof options.parameterLimit === 'number' ? options.parameterLimit : defaults.parameterLimit;
options.strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : defaults.strictNullHandling;
if (str === '' || str === null || typeof str === 'undefined') {
return options.plainObjects ? Object.create(null) : {};
}
var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
var obj = options.plainObjects ? Object.create(null) : {};
// Iterate over the keys and setup the new object
var keys = Object.keys(tempObj);
for (var i = 0; i < keys.length; ++i) {
var key = keys[i];
var newObj = parseKeys(key, tempObj[key], options);
obj = utils.merge(obj, newObj, options);
}
return utils.compact(obj);
};
/***/ },
/* 11 */
/***/ function(module, exports, __webpack_require__) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /**
* @author NSObject_Y 😘😘😘😘😘我男神快💋吻我
* @date 2017/05/20
* @description 字符串操作
*/
exports.trim = trim;
exports.urlEncode = urlEncode;
exports.getQueryString = getQueryString;
exports.getQueryStringByName = getQueryStringByName;
exports.getQueryStringByIndex = getQueryStringByIndex;
var _qs = __webpack_require__(6);
var _qs2 = _interopRequireDefault(_qs);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function trim(str, isGlobal) {
var result = str.replace(/(^\s+)|(\s+$)/g, '');
if (isGlobal) {
result = result.replace(/\s/g, '');
}
return result;
}
/**
* param 将要转为URL参数字符串的对象
* key URL参数字符串的前缀
* encode true/false 是否进行URL编码,默认为true
* return URL参数字符串
*/
function urlEncode(param, key, encode) {
if (param == null) {
return '';
}
var paramStr = '';
var t = typeof param === 'undefined' ? 'undefined' : _typeof(param);
if (t == 'string' || t == 'number' || t == 'boolean') {
paramStr += '&' + key + '=' + (encode == null || encode ? encodeURIComponent(param) : param);
} else {
for (var i in param) {
var k = key == null ? i : key + (param instanceof Array ? '[' + i + ']' : '.' + i);
paramStr += urlEncode(param[i], k, encode);
}
}
return paramStr;
}
/**
* 获取QueryString的数组
* @returns {Array|{index: number, input: string}}
*/
function getQueryString() {
var result = weex.config.bundleUrl.match(new RegExp('[\?\&][^\?\&]+=[^\?\&]+', 'g'));
if (result) {
for (var i = 0; i < result.length; i++) {
result[i] = result[i].substring(1);
}
var ssss = result.join('&');
return _qs2.default.parse(ssss);
}
}
/**
* 根据QueryString参数名称获取值
* @param name
* @returns {string}
*/
function getQueryStringByName(name) {
name = name.replace(/[\[\]]/g, '\\$&');
var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)');
var results = regex.exec(weex.config.bundleUrl);
if (!results || !results[2]) {
console.log('empty');
return '';
}
console.log(name, decodeURIComponent(results[2].replace(/\+/g, ' ')));
return decodeURIComponent(results[2].replace(/\+/g, ' '));
}
/**
* 根据QueryString参数索引获取值
* @param index
* @returns {*}
*/
function getQueryStringByIndex(index) {
if (!index) {
return '';
}
var queryStringList = getQueryString();
if (index >= queryStringList.length) {
return '';
}
var result = queryStringList[index];
var startIndex = result.indexOf('=') + 1;
return result.substring(startIndex);
}
/***/ },
/* 12 */
/***/ function(module, exports, __webpack_require__) {
'use strict';
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /**
* @author NSObject_Y 😘😘😘😘😘我男神快💋吻我
* @date 2017/05/20
* @description 跳转
*/
var _qs = __webpack_require__(6);
var _qs2 = _interopRequireDefault(_qs);
var _string = __webpack_require__(11);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.getBaseUrl = function (vm) {
var bundleUrl = weex.config.bundleUrl;
console.log('第一次' + bundleUrl);
var nativeBase;
var isAndroidAssets = bundleUrl.indexOf('your_current_IP') >= 0 || bundleUrl.indexOf('cache') >= 0;
var isiOSAssets = bundleUrl.indexOf('file:///') >= 0 && bundleUrl.indexOf('CourtManager.app') > 0;
if (isAndroidAssets) {
// nativeBase = bundleUrl.substring(0, bundleUrl.indexOf('dist/') + 5);
if (bundleUrl.indexOf('file:') >= 0) {
var bundleUrlArray = bundleUrl.split('dist');
nativeBase = bundleUrlArray[0] + 'dist/';
} else {
nativeBase = 'file:///' + bundleUrl + '/dist/';
}
} else if (isiOSAssets) {
nativeBase = bundleUrl.substring(0, bundleUrl.indexOf('dist/') + 5);
console.log('ios------' + nativeBase);
} else {
var host = 'localhost:1337';
var matches = /\/\/([^\/]+?)\//.exec(weex.config.bundleUrl);
if (matches && matches.length >= 2) {
host = matches[1];
}
nativeBase = 'http://' + host + '/dist/';
// console.log('web------'+nativeBase);
}
var base = nativeBase;
if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object') {
base = h5Base;
}
console.log('最终的baseUrl---' + base);
return base;
};
/**
@Author: NSObject_Y 😘😘😘😘😘我男神快💋吻我
@DateTime: 2017-05-24 10:11:33
@Description: GIT BaseUrl
*/
// exports.getBaseUrl = function (vm) {
// var bundleUrl = weex.config.bundleUrl;
// console.log('第一次'+bundleUrl);
// var nativeBase;
// var isAndroidAssets = bundleUrl.indexOf('your_current_IP') >= 0 || bundleUrl.indexOf('file://assets/')>=0;
// var isiOSAssets = bundleUrl.indexOf('dist') >= 0 && bundleUrl.indexOf('http://127.0.0.1:1337') > 0;
// if (isAndroidAssets) {
// nativeBase = 'file://assets/';
// console.log('android------'+nativeBase);
// }else if (isiOSAssets) {
// // file:///var/mobile/Containers/Bundle/Application/{id}/WeexDemo.app/
// // file:///Users/{user}/Library/Developer/CoreSimulator/Devices/{id}/data/Containers/Bundle/Application/{id}/WeexDemo.app/
// nativeBase = bundleUrl.substring(0, bundleUrl.lastIndexOf('/') + 1);
// console.log('ios------'+nativeBase);
// }else {
// var host = 'localhost:1337';
// var matches = /\/\/([^\/]+?)\//.exec(weex.config.bundleUrl);
// if (matches && matches.length >= 2) {
// host = matches[1];
// }
// nativeBase = 'http://' + host + '/nsobjectys/textjs/raw/master/dist/';
// console.log('web------'+nativeBase);
// }
// // var h5Base = './vue.html?page=./' + vm.dir + '/build/';
// var base = nativeBase;
// if (typeof window === 'object') {
// base = h5Base;
// }
// console.log('最终的baseUrl---'+base);
// return base
// }
/**
* @author NSObject_Y 😘😘😘😘😘我男神快💋吻我
* @date 2017/05/20
* @description push
*/
exports.push = function (url) {
var query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var navigator = weex.requireModule('navigator');
var params = {
'url': query ? '' + this.getBaseUrl() + url + '.js?' + _qs2.default.stringify(query) : '' + this.getBaseUrl() + url + '.js',
'animated': 'true'
};
navigator.push(params, function () {});
};
/**
* @author NSObject_Y 😘😘😘😘😘我男神快💋吻我
* @date 2017/05/20
* @description pop
*/
exports.pop = function (url) {
var query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var navigator = weex.requireModule('navigator');
var params = {
'url': query ? '' + this.getBaseUrl() + url + '.js?' + _qs2.default.stringify(query) : '' + this.getBaseUrl() + url + '.js',
'animated': 'true'
};
navigator.pop(params, function () {});
};
/**
* @author NSObject_Y 😘😘😘😘😘我男神快💋吻我
* @date 2017/05/20
* @description getParams
*/
exports.getParams = function () {
return (0, _string.getQueryString)();
};
/***/ },
/* 13 */
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* styles */
__vue_styles__.push(__webpack_require__(14)
)
/* script */
__vue_exports__ = __webpack_require__(15)
/* template */
var __vue_template__ = __webpack_require__(20)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
__vue_options__.__file = "/Users/yangsui/Documents/前端weex/Weex-Court/src/include/tabbar.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
for (var name in module) {
__vue_options__.style[name] = module[name]
}
})
module.exports = __vue_exports__
/***/ },
/* 14 */
/***/ function(module, exports) {
module.exports = {
"wrapper": {
"width": 750,
"position": "absolute",
"top": 0,
"left": 0,
"right": 0,
"bottom": 0
},
"content": {
"position": "absolute",
"top": 0,
"left": 0,
"right": 0,
"bottom": 0,
"marginTop": 0,
"marginBottom": 88
},
"tabbar": {
"flexDirection": "row",
"position": "fixed",
"bottom": 0,
"left": 0,
"right": 0,
"height": 88
}
}
/***/ },
/* 15 */
/***/ function(module, exports, __webpack_require__) {
'use strict';
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
module.exports = {
props: {
tabItems: { default: [] },
selectedColor: { default: '#009F5C' },
unselectedColor: { default: '#000000' }
},
data: function data() {
return {
selectedIndex: 0
};
},
components: {
tabitem: __webpack_require__(16)
},
created: function created() {
this.select(this.selectedIndex);
},
methods: {
tabItemOnClick: function tabItemOnClick(e) {
this.selectedIndex = e.index;
this.select(e.index);
this.$emit('tabBarOnClick', e);
},
select: function select(index) {
for (var i = 0; i < this.tabItems.length; i++) {
var tabItem = this.tabItems[i];
if (i == index) {
tabItem.icon = tabItem.selectedImage;
tabItem.titleColor = this.selectedColor;
tabItem.visibility = 'visible';
} else {
tabItem.icon = tabItem.image;
tabItem.titleColor = this.unselectedColor;
tabItem.visibility = 'hidden';
}
}
}
}
};
/***/ },
/* 16 */
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* styles */
__vue_styles__.push(__webpack_require__(17)
)
/* script */
__vue_exports__ = __webpack_require__(18)
/* template */
var __vue_template__ = __webpack_require__(19)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
typeof __vue_exports__.default === "function"
) {
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
__vue_options__ = __vue_exports__ = __vue_exports__.default
}
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
__vue_options__.__file = "/Users/yangsui/Documents/前端weex/Weex-Court/src/include/tabitem.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
for (var name in module) {
__vue_options__.style[name] = module[name]
}
})
module.exports = __vue_exports__
/***/ },
/* 17 */
/***/ function(module, exports) {
module.exports = {
"container": {
"flex": 1,
"flexDirection": "column",
"alignItems": "center",
"justifyContent": "center",
"height": 88
},
"top-line": {
"position": "absolute",
"top": 0,
"left": 0,
"right": 0,
"height": 2
},
"corner": {
"position": "absolute",
"top": 0,
"left": 130,
"width": 36,
"height": 36,
"borderRadius": 18,
"backgroundColor": "#f14b4b"
},
"count": {
"width": 36,
"height": 36,
"marginTop": 5,
"fontSize": 23,
"textAlign": "center",
"color": "#FFFFFF"
},
"tab-icon": {
"marginTop": 5,
"width": 40,
"height": 40
},
"tab-text": {
"marginTop": 5,
"textAlign": "center",
"fontSize": 20
}
}
/***/ },
/* 18 */
/***/ function(module, exports) {
'use strict';
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
module.exports = {
props: {
cornerCount: { default: '' },
index: { default: 0 },
title: { default: '' },
titleColor: { default: '#000000' },
icon: { default: '' },
backgroundColor: { default: '#ffffff' }
},
methods: {
onclickitem: function onclickitem(e) {
var params = {
index: this.index
};
this.$emit('tabItemOnClick', params);
}
}
};
/***/ },
/* 19 */
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _c('div', {
staticClass: ["container"],
style: {
backgroundColor: _vm.backgroundColor
},
on: {
"click": _vm.onclickitem
}
}, [_c('image', {
staticClass: ["top-line"],
attrs: {
"src": "http://gtms03.alicdn.com/tps/i3/TB1mdsiMpXXXXXpXXXXNw4JIXXX-640-4.png"
}
}), _c('image', {
staticClass: ["tab-icon"],
attrs: {
"src": _vm.icon
}
}), (_vm.cornerCount != '') ? _c('div', {
staticClass: ["corner"]
}, [_c('text', {
staticClass: ["count"]
}, [_vm._v(_vm._s(_vm.cornerCount))])]) : _vm._e(), _c('text', {
staticClass: ["tab-text"],
style: {
color: _vm.titleColor
}
}, [_vm._v(_vm._s(_vm.title))])])
},staticRenderFns: []}
module.exports.render._withStripped = true
/***/ },
/* 20 */
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _c('div', {
staticClass: ["wrapper"]
}, [_vm._l((_vm.tabItems), function(item, i) {
return _c('embed', {
key: i,
staticClass: ["content"],
style: {
visibility: item.visibility
},
attrs: {
"src": item.src,
"type": "weex"
}
})
}), _c('div', {
staticClass: ["tabbar"],
appendAsTree: true,
attrs: {
"append": "tree"
}
}, _vm._l((_vm.tabItems), function(item) {
return _c('tabitem', {
key: item.index,
attrs: {
"index": item.index,
"icon": item.icon,
"title": item.title,
"titleColor": item.titleColor,
"cornerCount": item.cornerCount
},
on: {
"tabItemOnClick": _vm.tabItemOnClick
}
})
}))], 2)
},staticRenderFns: []}
module.exports.render._withStripped = true
/***/ },
/* 21 */
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return (_vm.isLogin) ? _c('div', {
staticClass: ["container"]
}, [_vm._m(0), _vm._m(1), _c('div', {
staticClass: ["formbox"]
}, [_c('div', {
staticClass: ["inputbox"]
}, [_vm._m(2), _c('div', {
staticClass: ["inputright"]
}, [_c('input', {
ref: "input",
staticClass: ["phoneinput"],
attrs: {
"type": "tel",
"placeholder": "请输入登录手机号",
"value": (_vm.userNumber)
},
on: {
"input": function($event) {
_vm.userNumber = $event.target.attr.value.trim()
}
}
})])]), _c('div', {
staticClass: ["inputbox"]
}, [_vm._m(3), _c('div', {
staticClass: ["inputright"]
}, [_c('input', {
ref: "input",
staticClass: ["phoneinput"],
attrs: {
"type": "password",
"placeholder": "请输入登录密码",
"value": (_vm.userPassword)
},
on: {
"input": function($event) {
_vm.userPassword = $event.target.attr.value
}
}
})])])]), _c('div', {
staticClass: ["loginbtn"]
}, [_c('div', {
staticClass: ["loginbutton"],
on: {
"click": _vm.login
}
}, [_c('text', {
staticClass: ["denglu"]
}, [_vm._v("登录")])])]), _c('div', {
staticClass: ["versiontext"]
}, [_c('text', {
staticClass: ["version"]
}, [_vm._v("踢球者(商户端) V" + _vm._s(_vm.version))])])]) : _c('div', {
staticStyle: {
flexDirection: "column"
}
}, [_c('tabbar', {
attrs: {
"tabItems": _vm.tabItems
},
on: {
"tabBarOnClick": _vm.tabBarOnClick
}
})], 1)
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _c('div', {
staticClass: ["logobg"]
}, [_c('image', {
staticClass: ["bg"],
attrs: {
"src": "https://www.ikicker.cn/wxapp/weexImg/logo.png"
}
})])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _c('div', {
staticClass: ["logo"]
}, [_c('image', {
staticClass: ["logoimg"],
attrs: {
"src": "https://www.ikicker.cn/wxapp/weexImg/weexlogo.png"
}
})])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _c('div', {
staticClass: ["inputleft"]
}, [_c('image', {
staticClass: ["phoneimg"],
attrs: {
"src": "https://www.ikicker.cn/wxapp/weexImg/phonebg.png"
}
})])
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _c('div', {
staticClass: ["inputleft"]
}, [_c('image', {
staticClass: ["pwdimg"],
attrs: {
"src": "https://www.ikicker.cn/wxapp/weexImg/pwdbg.png"
}
})])
}]}
module.exports.render._withStripped = true
/***/ },
/* 22 */
/***/ function(module, exports) {
// import Router from 'vue-router'
// import OrderList from '../pages/orderList/orderList.vue'
// import Ballpark from '../pages/ballpark/ballpark.vue'
// import orderList_select from '../pages/orderList/orderList_select.vue'
// import orderdetail from '../pages/orderList/orderdetail.vue'
// import Login from '../pages/login/login.vue'
// import Home from '../pages/home/home.vue'
// import Mine from '../pages/Mine/mine.vue'
// import CourtDetail from '../pages/Mine/courtDetail.vue'
// import CourtList from '../pages/Mine/courtList.vue'
// import IncomeList from '../pages/Mine/incomeList.vue'
// import IncomeDetail from '../pages/Mine/incomeDetail.vue'
// import SetInfo from '../pages/Mine/setInfo.vue'
// import ModificationName from '../pages/Mine/modificationName.vue'
// import ModificationPassword from '../pages/Mine/modificationPassword.vue'
// import parkdetail from '../pages/ballpark/parkdetail.vue'
// import order_status0 from '../pages/orderList/order_status0.vue'
// import practise from '../pages/orderList/practise.vue'
// import slider_basic from '../pages/ballpark/slider_basic.vue'
// import order_rule from '../pages/ballpark/order_rule.vue'
// import create_steps from '../pages/ballpark/create_steps.vue'
// import service from '../pages/ballpark/service.vue'
// import courtinfo from '../pages/ballpark/courtinfo.vue'
// import edit_court from '../pages/ballpark/edit_court.vue'
// import edit_rule from '../pages/ballpark/edit_rule.vue'
// // global.url='http://103.235.224.221:9999'
// // // global.url='http://www.ikicker.cn:9999'
// // global.userid=''
// // global.token=''
// // global.storager=''
// Vue.use(Router)
// export default new Router({
// routes: [
// {
// path: '/orderList',
// name: 'orderList',
// component: OrderList
// },
// {
// path: '/orderList_select',
// name: 'orderList_select',
// component: orderList_select
// },
// {
// path: '/login',
// name: 'login',
// component: Login
// },
// {
// path: '/home',
// name: 'home',
// component: Home
// },
// {
// path: '/ballpark',
// name: 'ballpark',
// component: Ballpark
// },
// {
// path: '/courtDetail/:groundid',
// name: 'courtDetail',
// component: CourtDetail
// },
// {
// path: '/courtinfo/:sendgid',
// name: 'courtinfo',
// component: courtinfo
// },
// {
// path: '/order_rule',
// name: 'order_rule',
// component: order_rule
// },
// {
// path: '/create_steps',
// name: 'create_steps',
// component: create_steps
// },
// {
// path: '/service',
// name: 'service',
// component: service
// },
// {
// path: '/courtList',
// name: 'courtList',
// component: CourtList
// },
// {
// path: '/incomeList',
// name: 'incomeList',
// component: IncomeList
// },
// {
// path: '/incomeDetail/:orderId',
// name: 'incomeDetail',
// component: IncomeDetail
// },
// {
// path: '/setInfo',
// name: 'setInfo',
// component: SetInfo
// },
// {
// path: '/modificationName/:userNname',
// name: 'modificationName',
// component: ModificationName
// },
// {
// path: '/modificationPassword',
// name: 'modificationPassword',
// component: ModificationPassword
// },
// {
// path: '/mine',
// name: 'mine',
// component: Mine
// },
// {
// path: '/orderdetail',
// name: 'orderdetail',
// component: orderdetail
// },
// {
// path: '/parkdetail/:courtinfor',
// name: 'parkdetail',
// component: parkdetail
// },
// {
// path: '/practise',
// name: 'practise',
// component: practise
// },
// {
// path: '/order_status0',
// name: 'order_status0',
// component: order_status0
// },
// {
// path: '/slider_basic/:imgs',
// name: 'slider_basic',
// component: slider_basic
// },
// {
// path: '/edit_court',
// name: 'edit_court',
// component: edit_court
// },
// {
// path: '/edit_rule',
// name: 'edit_rule',
// component: edit_rule
// },
// {
// path: '*',
// redirect: './'
// }
// ]
// })
"use strict";
/***/ }
/******/ ]);
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。