1 Star 0 Fork 0

HenryHE/NGMusicStore

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.bundle.js 45.26 KB
一键复制 编辑 原始数据 按行查看 历史
HenryHe 提交于 2018-08-05 20:51 . fix git-pages deployment
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875
webpackJsonp([1,5],{
/***/ 329:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Article; });
/**
* @description: article类
*/
var Article = (function () {
function Article(title, link, votes) {
this.title = title;
this.link = link;
this.votes = votes || '0';
this.randomColor = "rgba(" + Math.random() * 255 + ", " + Math.random() * 255 + ", " + Math.random() * 255 + ", " + Math.random() + ")";
}
// 方法
Article.prototype.votesUp = function () {
this.votes = (parseInt(this.votes, 10) + 1).toString();
return false;
};
Article.prototype.votesDown = function () {
if (parseInt(this.votes, 10) === 0) {
return false;
}
this.votes = (parseInt(this.votes, 10) - 1).toString();
return false;
};
return Article;
}());
//# sourceMappingURL=/Users/henryhe/Desktop/WorkBench/henryhe/BenchMark_5_1-31/FrontEndDev/nodePJ/angularPJ/SimpleReddit/src/article.model.js.map
/***/ }),
/***/ 330:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Product; });
var Product = (function () {
/**
*
* @param sku
* @param name
* @param imageUrl
* @param department
* @param price
*/
function Product(sku, name, imageUrl, department, price) {
this.sku = sku;
this.name = name;
this.imageUrl = imageUrl;
this.department = department;
this.price = price;
}
return Product;
}());
//# sourceMappingURL=/Users/henryhe/Desktop/WorkBench/henryhe/BenchMark_5_1-31/FrontEndDev/nodePJ/angularPJ/SimpleReddit/src/product.model.js.map
/***/ }),
/***/ 331:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_angular_http__ = __webpack_require__(306);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyformComponent; });
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var MyformComponent = (function () {
function MyformComponent(http) {
this.http = http;
this.loading = false;
this.isPlay = 'none';
this.content = '';
this.canvas = document.createElement('canvas');
this.canvas.width = 120;
this.canvas.height = 120;
console.log($);
}
MyformComponent.prototype.onSubmit = function (it) {
this.example = it.value;
this.contentList = [];
this.currentPage = 1;
this.contentCount = 1;
it.value = ''; // 清空
this.makeRequest();
};
MyformComponent.prototype.onFocus = function (it) {
// alert(it)
// it.value = '';
};
// soreContentList(): Object[] {
// if (this.contentList) {
// return this.contentList.sort((a: Object, b: Object) => a.idx - b.idx);
// }
// }
/***
* @description: 获取音乐列表
*/
MyformComponent.prototype.makeRequest = function () {
var _this = this;
this.loading = true;
this.http.request("https://www.tikitiki.cn/search.do?keyword=" + this.example + "&page=" + this.currentPage + "&type=2").subscribe(function (res) {
_this.getAllDownloadUrls(res.text());
// const start = res.text().substring(res.text().search(/downloadurl.do/g));
// const link = start.substring(0, start.search('"'));
// this.content = `https://www.tikitiki.cn/${link.replace(/amp;/g, '')}`;
});
};
MyformComponent.prototype.clickToPlay = function (lk) {
var _this = this;
this.http.request(lk).subscribe(function (res) {
// console.log(res);
// this.content = res.url;
_this.content = res.url;
});
this.isPlay = 'block';
};
/***
* @description: 获取当前链接中所有可用的下载链接
* downloadurl.do?quality=s320&amp;id=34364901&amp;type=2
*/
MyformComponent.prototype.getAllDownloadUrls = function (str) {
var _this = this;
var count = this.contentList.length;
var len = 0;
(str.match(/downloadurl.do\?(\w|\d|&|;|=)+/g)).forEach(function (e, id) {
_this.contentList.push({
link: "https://www.tikitiki.cn/" + e.replace(/amp;/g, ''),
idx: _this.contentCount++,
title: '',
author: '',
img: ''
});
len++;
});
var reg1 = new RegExp(/Stitle/g);
// title
(str.match(/<div class="Stitle mdui-panel-item-title">[\s\S]+<\/div>/g)[0].split('</div>').forEach(function (e, index) {
if (reg1.test(e)) {
var title = (e.split('title">')[1]);
if (title) {
_this.contentList[count++]['title'] = title;
}
}
}));
// author <div class="Ssinger mdui-panel-item-summary">群星
var reg2 = new RegExp(/Ssinger/g);
count = this.contentList.length - len;
// title
(str.match(/<div class="Ssinger mdui-panel-item-summary">[\s\S]+<\/div>/g)[0].split('</div>').forEach(function (e, index) {
if (reg2.test(e)) {
var title = (e.split('summary">')[1]);
if (title) {
_this.contentList[count]['author'] = title;
_this.contentList[count]['img'] = _this.text2img(title);
count++;
}
}
}));
};
MyformComponent.prototype.text2img = function (name) {
var dataUrl = '';
var text = name.charAt(0) || 'M';
var fontSize = 60;
var fontWeight = '10';
var context = this.canvas.getContext('2d');
context.fillStyle = '#F7F7F9';
context.fillRect(0, 0, this.canvas.width, this.canvas.height);
context.fillStyle = '#60c598';
context.font = fontWeight + ' ' + fontSize + 'px sans-serif';
context.textAlign = 'center';
context.textBaseline = 'middle';
context.fillText(text, fontSize, fontSize);
dataUrl = this.canvas.toDataURL('image/png');
// console.log(dataUrl)
return dataUrl;
};
MyformComponent.prototype.nextPage = function () {
if (this.example) {
this.currentPage++;
this.makeRequest();
}
};
MyformComponent.prototype.previousPage = function () {
if (this.example) {
this.currentPage--;
if (this.currentPage < 1) {
this.currentPage = 1;
}
this.makeRequest();
}
};
MyformComponent.prototype.ngOnInit = function () {
};
MyformComponent = __decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_6" /* Component */])({
selector: 'app-myform',
template: __webpack_require__(687),
styles: [__webpack_require__(678)]
}),
__metadata('design:paramtypes', [(typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__node_modules_angular_http__["b" /* Http */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__node_modules_angular_http__["b" /* Http */]) === 'function' && _a) || Object])
], MyformComponent);
return MyformComponent;
var _a;
}());
//# sourceMappingURL=/Users/henryhe/Desktop/WorkBench/henryhe/BenchMark_5_1-31/FrontEndDev/nodePJ/angularPJ/SimpleReddit/src/myform.component.js.map
/***/ }),
/***/ 332:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__model_product_model__ = __webpack_require__(330);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StoreComponent; });
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var StoreComponent = (function () {
function StoreComponent() {
this.productList = [new __WEBPACK_IMPORTED_MODULE_1__model_product_model__["a" /* Product */]('NICEHAT1', 'A NICE BLACK HAT', 'https://gw.alipayobjects.com/zos/rmsportal/vUxYuDdsbBBcMDxSGmwc.svg', ['Men', 'Accessories', 'Hats'], 29.99),
new __WEBPACK_IMPORTED_MODULE_1__model_product_model__["a" /* Product */]('NICEHAT2', 'A NICE BLACK HAT', 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg', ['Men', 'Accessories', 'Hats'], 29.99),
new __WEBPACK_IMPORTED_MODULE_1__model_product_model__["a" /* Product */]('NICEHAT3', 'A NICE BLACK HAT', 'https://gw.alipayobjects.com/zos/rmsportal/tXlLQhLvkEelMstLyHiN.svg', ['Men', 'Accessories', 'Hats'], 29.99),
new __WEBPACK_IMPORTED_MODULE_1__model_product_model__["a" /* Product */]('NICEHAT4', 'A NICE BLACK HAT', 'https://gw.alipayobjects.com/zos/rmsportal/qggKjIGNFlVmMpwDUXPU.svg', ['Men', 'Accessories', 'Hats'], 29.99),
new __WEBPACK_IMPORTED_MODULE_1__model_product_model__["a" /* Product */]('NICEHAT5', 'A NICE BLACK HAT', 'https://gw.alipayobjects.com/zos/rmsportal/dgjVqwkJvptQEtlfctvk.svg', ['Men', 'Accessories', 'Hats'], 29.99)];
}
StoreComponent.prototype.productWasSelected = function (pt) {
console.log('product clicked', pt);
};
StoreComponent.prototype.ngOnInit = function () {
};
StoreComponent = __decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_6" /* Component */])({
selector: 'app-store',
template: __webpack_require__(690),
styles: [__webpack_require__(681)]
}),
__metadata('design:paramtypes', [])
], StoreComponent);
return StoreComponent;
}());
//# sourceMappingURL=/Users/henryhe/Desktop/WorkBench/henryhe/BenchMark_5_1-31/FrontEndDev/nodePJ/angularPJ/SimpleReddit/src/store.component.js.map
/***/ }),
/***/ 333:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__model_article_model__ = __webpack_require__(329);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return VoteComponent; });
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var VoteComponent = (function () {
function VoteComponent() {
this.articleList = [new __WEBPACK_IMPORTED_MODULE_1__model_article_model__["a" /* Article */]('henryhe', 'https://github.com/Hongwing', '2')];
}
// 文章排序
VoteComponent.prototype.sortArticleList = function () {
return this.articleList.sort(function (a, b) { return parseInt(b.votes, 10) - parseInt(a.votes, 10); });
};
// 添加一篇文章
VoteComponent.prototype.addAnArticle = function (title, link) {
console.log("Your article is title:" + title.value + " | link:" + link.value);
// 校验
if (!title.value || !link.value) {
return false;
}
this.articleList.push(new __WEBPACK_IMPORTED_MODULE_1__model_article_model__["a" /* Article */](title.value, link.value));
title.value = '';
link.value = '';
// 文章数据保存
return true;
};
VoteComponent.prototype.ngOnInit = function () {
};
VoteComponent = __decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_6" /* Component */])({
selector: 'app-vote',
template: __webpack_require__(691),
styles: [__webpack_require__(682)]
}),
__metadata('design:paramtypes', [])
], VoteComponent);
return VoteComponent;
}());
//# sourceMappingURL=/Users/henryhe/Desktop/WorkBench/henryhe/BenchMark_5_1-31/FrontEndDev/nodePJ/angularPJ/SimpleReddit/src/vote.component.js.map
/***/ }),
/***/ 392:
/***/ (function(module, exports) {
function webpackEmptyContext(req) {
throw new Error("Cannot find module '" + req + "'.");
}
webpackEmptyContext.keys = function() { return []; };
webpackEmptyContext.resolve = webpackEmptyContext;
module.exports = webpackEmptyContext;
webpackEmptyContext.id = 392;
/***/ }),
/***/ 393:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(482);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__environments_environment__ = __webpack_require__(519);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_app_module__ = __webpack_require__(514);
if (__WEBPACK_IMPORTED_MODULE_2__environments_environment__["a" /* environment */].production) {
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__angular_core__["a" /* enableProdMode */])();
}
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_3__app_app_module__["a" /* AppModule */]);
//# sourceMappingURL=/Users/henryhe/Desktop/WorkBench/henryhe/BenchMark_5_1-31/FrontEndDev/nodePJ/angularPJ/SimpleReddit/src/main.js.map
/***/ }),
/***/ 513:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppComponent; });
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var AppComponent = (function () {
// articleList: Object[];
function AppComponent() {
// this.articleList = [new Article('henryhe', 'https://github.com/Hongwing', '2')];
}
// // 文章排序
// sortArticleList(): Object[] {
// return this.articleList.sort((a: Article, b: Article) => parseInt(b.votes, 10) - parseInt(a.votes, 10));
// }
// // 添加一篇文章
// addAnArticle(title: HTMLInputElement, link: HTMLInputElement): boolean {
// console.log(`Your article is title:${title.value} | link:${link.value}`)
// // 校验
// if (!title.value || !link.value) {
// return false;
// }
// this.articleList.push(new Article(title.value, link.value));
// title.value = '';
// link.value = '';
// // 文章数据保存
// return true;
// }
AppComponent.prototype.ngOnInit = function () {
};
AppComponent = __decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_6" /* Component */])({
selector: 'app-root',
template: __webpack_require__(684),
styles: [__webpack_require__(675)]
}),
__metadata('design:paramtypes', [])
], AppComponent);
return AppComponent;
}());
//# sourceMappingURL=/Users/henryhe/Desktop/WorkBench/henryhe/BenchMark_5_1-31/FrontEndDev/nodePJ/angularPJ/SimpleReddit/src/app.component.js.map
/***/ }),
/***/ 514:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(147);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(473);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_http__ = __webpack_require__(306);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__app_component__ = __webpack_require__(513);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__article_item_article_item_component__ = __webpack_require__(515);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__article_list_article_list_component__ = __webpack_require__(516);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__angular_router__ = __webpack_require__(502);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_routes_myRoute__ = __webpack_require__(520);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__angular_common__ = __webpack_require__(83);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__vote_vote_component__ = __webpack_require__(333);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__store_store_component__ = __webpack_require__(332);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__product_list_product_list_component__ = __webpack_require__(518);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__product_item_product_item_component__ = __webpack_require__(517);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__myform_myform_component__ = __webpack_require__(331);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var AppModule = (function () {
function AppModule() {
}
AppModule = __decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1__angular_core__["b" /* NgModule */])({
declarations: [
__WEBPACK_IMPORTED_MODULE_4__app_component__["a" /* AppComponent */],
__WEBPACK_IMPORTED_MODULE_5__article_item_article_item_component__["a" /* ArticleItemComponent */],
__WEBPACK_IMPORTED_MODULE_6__article_list_article_list_component__["a" /* ArticleListComponent */],
__WEBPACK_IMPORTED_MODULE_10__vote_vote_component__["a" /* VoteComponent */],
__WEBPACK_IMPORTED_MODULE_11__store_store_component__["a" /* StoreComponent */],
__WEBPACK_IMPORTED_MODULE_12__product_list_product_list_component__["a" /* ProductListComponent */],
__WEBPACK_IMPORTED_MODULE_13__product_item_product_item_component__["a" /* ProductItemComponent */],
__WEBPACK_IMPORTED_MODULE_14__myform_myform_component__["a" /* MyformComponent */]
],
imports: [
__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__["a" /* BrowserModule */],
__WEBPACK_IMPORTED_MODULE_2__angular_forms__["a" /* FormsModule */],
__WEBPACK_IMPORTED_MODULE_3__angular_http__["a" /* HttpModule */],
__WEBPACK_IMPORTED_MODULE_7__angular_router__["a" /* RouterModule */].forRoot(__WEBPACK_IMPORTED_MODULE_8_routes_myRoute__["a" /* routes */]) // route
],
providers: [
{
provide: __WEBPACK_IMPORTED_MODULE_9__angular_common__["a" /* LocationStrategy */],
useClass: __WEBPACK_IMPORTED_MODULE_9__angular_common__["b" /* HashLocationStrategy */]
}
],
bootstrap: [__WEBPACK_IMPORTED_MODULE_4__app_component__["a" /* AppComponent */]]
}),
__metadata('design:paramtypes', [])
], AppModule);
return AppModule;
}());
//# sourceMappingURL=/Users/henryhe/Desktop/WorkBench/henryhe/BenchMark_5_1-31/FrontEndDev/nodePJ/angularPJ/SimpleReddit/src/app.module.js.map
/***/ }),
/***/ 515:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__model_article_model__ = __webpack_require__(329);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ArticleItemComponent; });
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var ArticleItemComponent = (function () {
function ArticleItemComponent() {
// this.title = 'Angular 2';
// this.link = 'https://github.com/Hongwing';
// this.votes = '520'
// this.article = new Article('Angular 2', 'https://github.com/Hongwing');
}
// 顶
ArticleItemComponent.prototype.voteUp = function () {
// this.article.votes = (parseInt(this.article.votes, 10) + 1).toString();
this.article.votesUp();
return false; // 禁止冒泡
};
// 踩
ArticleItemComponent.prototype.voteDown = function () {
// if (parseInt(this.article.votes, 10) === 0) {
// return false;
// }
// this.article.votes = (parseInt(this.article.votes, 10) - 1).toString();
this.article.votesDown();
return false; // 禁止冒泡
};
ArticleItemComponent.prototype.ngOnInit = function () {
};
__decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["l" /* Input */])(),
__metadata('design:type', String)
], ArticleItemComponent.prototype, "randomColor", void 0);
__decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["l" /* Input */])(),
__metadata('design:type', (typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__model_article_model__["a" /* Article */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__model_article_model__["a" /* Article */]) === 'function' && _a) || Object)
], ArticleItemComponent.prototype, "article", void 0);
ArticleItemComponent = __decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_6" /* Component */])({
selector: 'app-article-item',
template: __webpack_require__(685),
styles: [__webpack_require__(676)]
}),
__metadata('design:paramtypes', [])
], ArticleItemComponent);
return ArticleItemComponent;
var _a;
}());
//# sourceMappingURL=/Users/henryhe/Desktop/WorkBench/henryhe/BenchMark_5_1-31/FrontEndDev/nodePJ/angularPJ/SimpleReddit/src/article-item.component.js.map
/***/ }),
/***/ 516:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ArticleListComponent; });
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var ArticleListComponent = (function () {
function ArticleListComponent() {
}
ArticleListComponent.prototype.ngOnInit = function () {
};
ArticleListComponent = __decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_6" /* Component */])({
selector: 'app-article-list',
template: __webpack_require__(686),
styles: [__webpack_require__(677)]
}),
__metadata('design:paramtypes', [])
], ArticleListComponent);
return ArticleListComponent;
}());
//# sourceMappingURL=/Users/henryhe/Desktop/WorkBench/henryhe/BenchMark_5_1-31/FrontEndDev/nodePJ/angularPJ/SimpleReddit/src/article-list.component.js.map
/***/ }),
/***/ 517:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__model_product_model__ = __webpack_require__(330);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ProductItemComponent; });
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var ProductItemComponent = (function () {
function ProductItemComponent() {
}
ProductItemComponent.prototype.showDepartment = function () {
var str = '';
for (var key in this.product.department) {
var element = this.product.department[key];
str += element + " " + (parseInt(key, 10) === this.product.department.length - 1 ? '' : '>') + " ";
}
return str;
};
ProductItemComponent.prototype.ngOnInit = function () {
};
__decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["l" /* Input */])(),
__metadata('design:type', (typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__model_product_model__["a" /* Product */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__model_product_model__["a" /* Product */]) === 'function' && _a) || Object)
], ProductItemComponent.prototype, "product", void 0);
__decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["l" /* Input */])(),
__metadata('design:type', Boolean)
], ProductItemComponent.prototype, "selected", void 0);
ProductItemComponent = __decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_6" /* Component */])({
selector: 'app-product-item',
template: __webpack_require__(688),
styles: [__webpack_require__(679)]
}),
__metadata('design:paramtypes', [])
], ProductItemComponent);
return ProductItemComponent;
var _a;
}());
//# sourceMappingURL=/Users/henryhe/Desktop/WorkBench/henryhe/BenchMark_5_1-31/FrontEndDev/nodePJ/angularPJ/SimpleReddit/src/product-item.component.js.map
/***/ }),
/***/ 518:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_angular_common_src_facade_async__ = __webpack_require__(405);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ProductListComponent; });
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var ProductListComponent = (function () {
function ProductListComponent() {
this.onProductSelected = new __WEBPACK_IMPORTED_MODULE_1__node_modules_angular_common_src_facade_async__["a" /* EventEmitter */]();
}
ProductListComponent.prototype.clicked = function (pt) {
this.currentProduct = pt;
this.onProductSelected.emit(pt);
};
ProductListComponent.prototype.isSelected = function (pt) {
if (!this.currentProduct || !pt) {
return false;
}
return this.currentProduct.sku === pt.sku;
};
ProductListComponent.prototype.ngOnInit = function () {
};
__decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["l" /* Input */])(),
__metadata('design:type', Array)
], ProductListComponent.prototype, "productList", void 0);
__decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_3" /* Output */])(),
__metadata('design:type', (typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1__node_modules_angular_common_src_facade_async__["a" /* EventEmitter */] !== 'undefined' && __WEBPACK_IMPORTED_MODULE_1__node_modules_angular_common_src_facade_async__["a" /* EventEmitter */]) === 'function' && _a) || Object)
], ProductListComponent.prototype, "onProductSelected", void 0);
ProductListComponent = __decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_6" /* Component */])({
selector: 'app-product-list',
template: __webpack_require__(689),
styles: [__webpack_require__(680)]
}),
__metadata('design:paramtypes', [])
], ProductListComponent);
return ProductListComponent;
var _a;
}());
//# sourceMappingURL=/Users/henryhe/Desktop/WorkBench/henryhe/BenchMark_5_1-31/FrontEndDev/nodePJ/angularPJ/SimpleReddit/src/product-list.component.js.map
/***/ }),
/***/ 519:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return environment; });
// The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses `environment.ts`, but if you do
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
// The list of which env maps to which file can be found in `angular-cli.json`.
var environment = {
production: false
};
//# sourceMappingURL=/Users/henryhe/Desktop/WorkBench/henryhe/BenchMark_5_1-31/FrontEndDev/nodePJ/angularPJ/SimpleReddit/src/environment.js.map
/***/ }),
/***/ 520:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_app_vote_vote_component__ = __webpack_require__(333);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_app_store_store_component__ = __webpack_require__(332);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_app_myform_myform_component__ = __webpack_require__(331);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return routes; });
var routes = [
{
path: '',
redirectTo: 'home',
pathMatch: 'full'
},
{
path: 'shopping',
component: __WEBPACK_IMPORTED_MODULE_1_app_store_store_component__["a" /* StoreComponent */]
},
{
path: 'myform',
component: __WEBPACK_IMPORTED_MODULE_2_app_myform_myform_component__["a" /* MyformComponent */]
},
{
path: 'home',
component: __WEBPACK_IMPORTED_MODULE_0_app_vote_vote_component__["a" /* VoteComponent */]
}
];
//# sourceMappingURL=/Users/henryhe/Desktop/WorkBench/henryhe/BenchMark_5_1-31/FrontEndDev/nodePJ/angularPJ/SimpleReddit/src/myRoute.js.map
/***/ }),
/***/ 675:
/***/ (function(module, exports) {
module.exports = "#sr-form {\n width: 45%;\n margin-top: 50px;\n}\n\n#sr-list {\n width: 50%;\n margin-top: 50px;\n}\n"
/***/ }),
/***/ 676:
/***/ (function(module, exports) {
module.exports = "#article-container {\n border: 1px solid rgba(0, 0, 0, .05);\n box-shadow: 0 0 20px 2px rgba(0, 0, 0, .05);\n height: 180px;\n margin: 25px auto;\n padding: 1.5rem;\n}\n\n#article-container:hover {\n box-shadow: 0 0 20px 2px rgba(0, 0, 0, .1);\n}\n\n#votes {\n /* background-color: antiquewhite; */\n display: -ms-flexbox;\n display: flex; \n -ms-flex-pack: center; \n justify-content: center; \n -ms-flex-align: center; \n align-items: center;\n}\n\n#thumb {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-pack: distribute;\n justify-content: space-around;\n}"
/***/ }),
/***/ 677:
/***/ (function(module, exports) {
module.exports = ""
/***/ }),
/***/ 678:
/***/ (function(module, exports) {
module.exports = "#text::before {\n content: '《';\n color: red;\n}\n\n#text::after {\n content: '》';\n color: red;\n}\n\n#list {\n margin: .5rem auto 2rem;\n}\n\n#list-item:hover {\n border: 5px dashed rgba(0, 0, 0, .15);\n}"
/***/ }),
/***/ 679:
/***/ (function(module, exports) {
module.exports = "/* .content {\n margin: 1.2rem auto;\n border: 1px dashed;\n box-shadow: 0 0 8px 1px;\n} */\n\n.isClicked {\n box-shadow: 0 0 20px 2px rgba(0, 0, 0, .25) !important;\n}\n\n.item-box {\n box-shadow: 0 0 20px 2px rgba(0, 0, 0, .05);\n}\n\n.item-box:hover {\n box-shadow: 0 0 20px 2px rgba(0, 0, 0, .15);\n}"
/***/ }),
/***/ 680:
/***/ (function(module, exports) {
module.exports = "#container {\n width: 65%;\n margin: 1.5rem auto;\n}"
/***/ }),
/***/ 681:
/***/ (function(module, exports) {
module.exports = "#container {\n width: 65%;\n margin: 1.5rem auto;\n}"
/***/ }),
/***/ 682:
/***/ (function(module, exports) {
module.exports = "#sr-form {\n width: 45%;\n margin-top: 50px;\n}\n\n#sr-list {\n width: 50%;\n margin-top: 50px;\n}\n"
/***/ }),
/***/ 684:
/***/ (function(module, exports) {
module.exports = "<div class=\"ui menu\">\n <div class=\"ui container\">\n <a class=\"item\" [routerLink]=\"['home']\">\n <i class=\"home icon\"></i> SimpleReddit\n </a>\n <a class=\"item\" [routerLink]=\"['shopping']\">\n <i class=\"trademark icon\"></i>Store\n </a>\n <a class=\"item\" [routerLink]=\"['myform']\">\n <i class=\"trophy icon\"></i>Form\n </a>\n </div>\n</div>\n<!-- route area -->\n<router-outlet></router-outlet>"
/***/ }),
/***/ 685:
/***/ (function(module, exports) {
module.exports = "<div id=\"article-container\" class=\"ui grid container\">\n <div class=\"four wide column center aligned votes\" id=\"votes\" [ngStyle]=\"{'background-color': article.randomColor}\">\n <div class=\"ui statistic\">\n <div class=\"value\">\n {{ article.votes}}\n </div>\n <div class=\"label\">\n Points\n </div>\n </div>\n </div>\n \n <div class=\"twelve wide column\" id=\"thumb\">\n <div>\n <a href=\"{{ link }}\" class=\"ui large header\" style=\"width: 100%;\">\n {{ article.title }}\n </a>\n <div style=\"margin: 10px auto; color: rgba(0, 0, 0, .2); font-weight: bolder;\">{{ article.link }}</div>\n </div>\n <ul class=\"ui big horizontal list voters\" style=\"width: 100%;\">\n <li class=\"item\">\n <a href (click)=\"voteUp()\">\n <i class=\"arrow up icon\"></i> upvote\n </a>\n </li>\n <li class=\"item\">\n <a href (click)=\"voteDown()\">\n <i class=\"arrow down icon\"></i> downvote\n </a>\n </li>\n </ul>\n </div>\n</div>\n"
/***/ }),
/***/ 686:
/***/ (function(module, exports) {
module.exports = "<p>\n article-list works!\n</p>\n"
/***/ }),
/***/ 687:
/***/ (function(module, exports) {
module.exports = "<div class=\"ui raised segment center aligned header\" style=\"width: 65%; margin: 2rem auto;\">\n <h2 class=\"ui header\">\n MD Music&Store\n </h2>\n\n <div id=\"text\" class=\"ui meta\">{{ example }}</div>\n\n <!-- <form #f=\"ngForm\" (ngSubmit)=\"onSubmit(f.value)\" class=\" ui form segment\" style=\"width: 50%;margin: 2.2rem auto; box-shadow: 0 0 10px 2px rgba(0 , 0, 0, .15); padding: 1rem;\">\n <div class=\"field\" style=\"margin: 1rem auto;\">\n <label for=\"skuInput\">SKU</label>\n <input type=\"text\" id=\"skuInput\" placeholder=\"SKU\" name=\"sku\" ngModel>\n </div>\n\n <button class=\"ui button primary\" type=\"submit\">Search</button>\n </form> -->\n\n <form class=\"ui large form segment\">\n <div class=\"field\">\n <label for=\"title\">MMS</label>\n <input type=\"text\" name=\"sku\" #sku>\n </div>\n\n <button (click)=\"onSubmit(sku)\" class=\"ui positive button\">提交</button>\n </form>\n</div>\n\n<div class=\"ui container\" style=\"margin: .5rem auto 6rem;\" [ngStyle]=\"{'display': isPlay}\">\n <div style=\"text-align: center;\">\n <video controls=\"\" autoplay=\"\" name=\"media\" [src]=\"content\">\n <source [src]=\"content\" type=\"audio/mpeg\">\n </video>\n </div>\n\n <!-- <video controls=\"\" autoplay=\"\" name=\"media\"><source src=\"http://m8.music.126.net/20180729214750/f8b5438232d98d8c480886057d5439ce/ymusic/cefc/32ef/d21e/ad9e26fdf4df3535da05b84915c57e89.mp3\" type=\"audio/mpeg\"></video> -->\n </div>\n\n<div class=\"ui container\" id=\"list\">\n <div class=\"ui center aligned segment\" *ngFor=\"let ct of contentList\" (click)=\"clickToPlay(ct.link)\" id=\"list-item\">\n <div>{{ ct.idx }}</div>\n <div class=\"ui image\">\n <img [src]=\"ct.img\" style=\"border-radius: 50%;\" alt=\"music\">\n </div>\n <a [href]=\"ct.link\" class=\"item\" target=\"_blank\">\n <i class=\"music icon\"></i>\n {{ ct.title }} {{ ct.author }}\n <i class=\"fa fa-music fa-2x\"></i>\n </a>\n </div>\n</div>\n\n<div class=\"ui container\" style=\"margin: .5rem auto 2rem;\">\n <div style=\"text-align: center;\">\n <!-- <button class=\"ui button\" (click)=\"previousPage()\">上一页</button> -->\n <button class=\"ui button\" (click)=\"nextPage()\">下一页</button>\n </div>\n</div>\n\n<div class=\"ui container\">\n <canvas style=\"display: none;\" id=\"mycanvas\"></canvas>\n</div>\n\n\n"
/***/ }),
/***/ 688:
/***/ (function(module, exports) {
module.exports = "<!-- <div class=\"content\">\n <div class=\"ui segment\">\n {{ product.sku}} | {{ product.name}}\n </div>\n</div> -->\n\n<div class=\"ui container item-box\" [ngClass]=\"{'isClicked': selected}\" style=\"width: 85%; margin: .5rem auto;padding: 2.5rem;\">\n <div class=\"ui relaxed divided items\">\n <div class=\"item\">\n <div class=\"ui small image\">\n <img [src]=\"product.imageUrl\" alt=\"#\">\n </div>\n <div class=\"content\">\n <a class=\"header\">{{ product.name }}</a>\n <div class=\"meta\">\n <a>{{ product.sku }}</a>\n <a style=\"color: red;\">{{ product.price }}</a>\n </div>\n <div class=\"description\" style=\"color: orange;\">\n {{ showDepartment() }}\n </div>\n <div class=\"extra\">\n <img [src]=\"product.imageUrl\" alt=\"#\" class=\"ui circular avatar image\">\n </div>\n </div>\n </div>\n </div>\n</div>\n"
/***/ }),
/***/ 689:
/***/ (function(module, exports) {
module.exports = "\n<div id=\"container\" style=\"margin-top: 4rem;\">\n <app-product-item *ngFor=\"let item of productList\" [product]=\"item\" (click)=\"clicked(item)\" [selected]=\"isSelected(item)\"></app-product-item>\n</div>"
/***/ }),
/***/ 690:
/***/ (function(module, exports) {
module.exports = "<div class=\"ui center aligned header\" style=\"margin: 2rem auto;\">\n <h1>Book Ng Store</h1>\n <div class=\"description\" ngNonBindable>\n this is an {{ example }}\n </div>\n</div>\n\n<!-- Responsive Layout -->\n<!-- <div class=\"ui segment\" id=\"container\">\n <div class=\"ui two column stackable grid\">\n <div class=\"column\">\n <div class=\"ui segment\">Content</div>\n </div>\n <div class=\"column\">\n <div class=\"ui segment\">Content</div>\n </div>\n <div class=\"three column row\">\n <div class=\"column\">\n <div class=\"ui segment\">Content</div>\n </div>\n <div class=\"column\">\n <div class=\"ui segment\">Content</div>\n </div>\n <div class=\"column\">\n <div class=\"ui segment\">Content</div>\n </div>\n </div>\n <div class=\"ten wide column\">\n <div class=\"ui segment\">Content</div>\n </div>\n <div class=\"six wide column\">\n <div class=\"ui segment\">Content</div>\n </div>\n </div>\n</div> -->\n\n<app-product-list [productList]=\"productList\" (onProductSelected)=\"productWasSelected($event)\"></app-product-list>"
/***/ }),
/***/ 691:
/***/ (function(module, exports) {
module.exports = "<div class=\"ui container\" id=\"sr-form\">\n <form class=\"ui large form segment\">\n <h3 class=\"ui header\">Add a Link</h3>\n \n <div class=\"field\">\n <label for=\"title\">Title: </label>\n <input type=\"text\" name=\"title\" #newtitle>\n </div>\n \n <div class=\"field\">\n <label for=\"link\">Link: </label>\n <input type=\"url\" name=\"link\" #newlink>\n </div>\n\n <button (click)=\"addAnArticle(newtitle, newlink)\" class=\"ui positive button\">提交</button>\n </form>\n \n</div>\n\n<div class=\"ui container\" id=\"sr-list\">\n <app-article-item id=\"gl-article\" *ngFor=\"let article of sortArticleList()\" [article]=\"article\"></app-article-item>\n</div>"
/***/ }),
/***/ 725:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(393);
/***/ })
},[725]);
//# sourceMappingURL=main.bundle.map
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/hongwing/NGMusicStore.git
git@gitee.com:hongwing/NGMusicStore.git
hongwing
NGMusicStore
NGMusicStore
master

搜索帮助