blob: 7216c2e833e011e85c3646bb6ec06a42d4a463b8 [file] [log] [blame]
/*!197
* {
* version: "0.4.0.20170207",
* create: "20170207145011",
* git: "origin-taobao/u4_v8_shared_sdk_jsfm-feature-0.19--027e045",
* digest: "4fd57e31e564370c775b265d3fdb4733"
* }
!*/
/******/ (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__) {
var __weex_template__ = __webpack_require__(173)
var __weex_style__ = __webpack_require__(174)
var __weex_script__ = __webpack_require__(175)
__weex_define__('@weex-component/2545712e41a9ef7852b8787c68bed645', [], function(__weex_require__, __weex_exports__, __weex_module__) {
__weex_script__(__weex_module__, __weex_exports__, __weex_require__)
if (__weex_exports__.__esModule && __weex_exports__.default) {
__weex_module__.exports = __weex_exports__.default
}
__weex_module__.exports.template = __weex_template__
__weex_module__.exports.style = __weex_style__
})
__weex_bootstrap__('@weex-component/2545712e41a9ef7852b8787c68bed645',undefined,undefined)
/***/ },
/***/ 173:
/***/ function(module, exports) {
module.exports = {
"type": "div",
"classList": [
"wrapper"
],
"children": [
{
"type": "text",
"classList": [
"text"
],
"style": {
"color": function () {return this.color}
},
"attr": {
"value": function () {return this.text}
}
}
]
}
/***/ },
/***/ 174:
/***/ function(module, exports) {
module.exports = {
"wrapper": {
"width": 750,
"position": "absolute",
"top": 0,
"left": 0,
"right": 0,
"bottom": 0,
"alignItems": "center",
"justifyContent": "center"
},
"text": {
"fontSize": 60,
"fontWeight": "bold",
"fontFamily": "\"Open Sans\", sans-serif"
}
}
/***/ },
/***/ 175:
/***/ function(module, exports) {
module.exports = function(module, exports, __weex_require__){'use strict';
module.exports = {
data: function () {return {
color: '#ff0000',
text: ''
}},
created: function created() {
var bundleUrl = this.$getConfig().bundleUrl;
nativeLog('bundleUrl = ' + bundleUrl);
if (bundleUrl.indexOf("tab1") > 0) {
this.color = '#ff0000';
this.text = 'This is Tab 1 Test.';
} else if (bundleUrl.indexOf("tab2") > 0) {
this.color = '#00ff00';
this.text = 'This is Tab 2 Test.';
} else if (bundleUrl.indexOf("tab3") > 0) {
this.color = '#0000ff';
this.text = 'This is Tab 3 Test.';
}
}
};}
/* generated by weex-loader */
/***/ }
/******/ });