Skip to content

Instantly share code, notes, and snippets.

Avatar
🗻
looking for a job.

limichange limichange

🗻
looking for a job.
View GitHub Profile
@limichange
limichange / taobao.js
Created Jun 14, 2019
处理淘宝价格数据
View taobao.js
const skuBase = _DATA_Detail.skuBase
const sku2info = a.sku2info
let result = ''
skuBase.props[0].values.forEach(type => {
const vid = type.vid
const { skuId } = skuBase.skus.find(item => {
return item.propPath.split(':')[1] === vid.toString()
})
View index.html
<video src="http://ali-pull.v.momocdn.com/momo/m_4e0473e8e2c7eb3614895551704521.m3u8"></video>
View test.md

asdfasdf

asdfas, aslkdfjlasdf

asdlfkjlaksdjf

asldfhkjasdhf

View index.html
<!doctype html>
<html lang="en" ng-app>
<head>
<meta charset="UTF-8">
<title>test</title>
<style>
.error {
background-color: red;
}
View index.html
<!doctype html>
<html lang="en" ng-app>
<head>
<meta charset="UTF-8">
<title>test</title>
</head>
<body>
<div ng-controller="HelloController">
<div ng-repeat="item in items">
<div>
View index.html
<!doctype html>
<html lang="en" ng-app>
<head>
<meta charset="UTF-8">
<title>test</title>
<style>
.menu-disabled-true {
color: gray;
}
</style>
View index.html
<!doctype html>
<html lang="en" ng-app>
<head>
<meta charset="UTF-8">
<title>test</title>
<style>
.selected {
background-color: lightgreen;
}
</style>
View index.html
<!doctype html>
<html lang="en" ng-app>
<head>
<meta charset="UTF-8">
<title>test</title>
<style>
.selected {
background-color: lightgreen;
}
</style>
View index.html
<!doctype html>
<html lang="en" ng-app>
<head>
<meta charset="UTF-8">
<title>test</title>
<style>
.selected {
background-color: lightgreen;
}
</style>
You can’t perform that action at this time.