Commit 3c4285a2 authored by wykolor's avatar wykolor

feat: 奖励金静态界面

parent 66fe232b
# test # GEEKBONUSH5
## 奖励金H5版本
## Project setup ## Project setup
``` ```
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve --open",
"build": "vue-cli-service build", "build": "vue-cli-service build",
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
"eslint": "^6.7.2", "eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.1.3", "eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-vue": "^7.0.0-0", "eslint-plugin-vue": "^7.0.0-0",
"less": "^4.1.1",
"less-loader": "^8.0.0",
"prettier": "^1.19.1", "prettier": "^1.19.1",
"sass": "^1.26.5", "sass": "^1.26.5",
"sass-loader": "^8.0.2", "sass-loader": "^8.0.2",
......
public/favicon.ico

16.6 KB | W: | H:

public/favicon.ico

4.19 KB | W: | H:

public/favicon.ico
public/favicon.ico
public/favicon.ico
public/favicon.ico
  • 2-up
  • Swipe
  • Onion skin
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> <link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="stylesheet" href="//at.alicdn.com/t/font_2425189_wpm8fbaoef8.css">
<title><%= htmlWebpackPlugin.options.title %></title> <title><%= htmlWebpackPlugin.options.title %></title>
<script src="https://ssl.captcha.qq.com/TCaptcha.js"></script>
</head> </head>
<body> <body>
<noscript> <noscript>
......
...@@ -7,8 +7,9 @@ ...@@ -7,8 +7,9 @@
font-family: Avenir, Helvetica, Arial, sans-serif; font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50; color: #2c3e50;
background: #f6f6f6;
min-height: 100vh;
} }
#nav { #nav {
......
// Color Palette
@black: #000;
@white: #fff;
@gray-1: #f7f8fa;
@gray-2: #f2f3f5;
@gray-3: #ebedf0;
@gray-4: #dcdee0;
@gray-5: #c8c9cc;
@gray-6: #969799;
@gray-7: #646566;
@gray-8: #323233;
@red: #ee0a24;
@blue: #1989fa;
@orange: #ff976a;
@orange-dark: #ed6a0c;
@orange-light: #fffbe8;
@green: #07c160;
// Gradient Colors
@gradient-red: linear-gradient(to right, #ff6034, #ee0a24);
@gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);
// Component Colors
@text-color: @gray-8;
@active-color: @gray-2;
@active-opacity: 0.7;
@disabled-opacity: 0.5;
@background-color: @gray-1;
@background-color-light: #fafafa;
@text-link-color: #576b95;
// Padding
@padding-base: 4px;
@padding-xs: @padding-base * 2;
@padding-sm: @padding-base * 3;
@padding-md: @padding-base * 4;
@padding-lg: @padding-base * 6;
@padding-xl: @padding-base * 8;
// Font
@font-size-xs: 10px;
@font-size-sm: 12px;
@font-size-md: 14px;
@font-size-lg: 16px;
@font-weight-bold: 500;
@line-height-xs: 14px;
@line-height-sm: 18px;
@line-height-md: 20px;
@line-height-lg: 22px;
@base-font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB',
'Microsoft Yahei', sans-serif;
@price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue, Arial,
sans-serif;
// Animation
@animation-duration-base: 0.3s;
@animation-duration-fast: 0.2s;
@animation-timing-function-enter: ease-out;
@animation-timing-function-leave: ease-in;
// Border
@border-color: @gray-3;
@border-width-base: 1px;
@border-radius-sm: 2px;
@border-radius-md: 4px;
@border-radius-lg: 8px;
@border-radius-max: 999px;
\ No newline at end of file
import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router"; import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router";
import Home from "../views/Home.vue"; import Bonus from "../views/bonus/index.vue";
const routes: Array<RouteRecordRaw> = [ const routes: Array<RouteRecordRaw> = [
{ {
path: "/", path: "/",
name: "Home", name: "Bonus",
component: Home component: Bonus
}, },
{
path: "/bonusDetail",
name: "bonusDetail",
component: () => import("../views/bonus-detail/index.vue")
},
{
path: "/withdraw",
name: "withdraw",
component: () => import("../views/withdraw/index.vue")
}
]; ];
const router = createRouter({ const router = createRouter({
......
const isiOS = () => {
const u = navigator.userAgent;
const iOs = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
return iOs;
};
const isAndroid = () => {
const u = navigator.userAgent;
const android = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1;
return android;
};
const postMessage = (data) => {
if (isAndroid()) {
window.ReactNativeWebView
&& window.ReactNativeWebView.onMessage
&& window.ReactNativeWebView.onMessage(JSON.stringify(data));
}
window.ReactNativeWebView
&& window.ReactNativeWebView.postMessage
&& window.ReactNativeWebView.postMessage(JSON.stringify(data));
};
if (isiOS() || isAndroid()) {
// const debugLog = console.log
// eslint-disable-next-line func-names
// console.log = function (...args) {
// postMessage({
// type: 'log',
// data: args
// })
// debugLog(...args)
// }
}
function install(Vue) {
const GEEK_NATVIE_NAME = 'GEEK_NATVIE_NAME';
// eslint-disable-next-line camelcase
const event_bus = new Vue();
// eslint-disable-next-line func-names
window.$geek_excuteJS = function (args) {
try {
const params = JSON.parse(args);
event_bus.$emit(GEEK_NATVIE_NAME, params);
} catch (error) {
event_bus.$emit(GEEK_NATVIE_NAME, args);
}
};
const nativeMixin = {
methods: {
listenNativeMessage(arg) {
const { method, data } = arg;
if (method) {
this[method] && this[method](data);
}
},
$nativeTitle(title) {
const message = {
type: 'title',
data: title,
};
postMessage(message);
},
$shareImg(base64Img, timeline = false) {
const message = {
type: timeline ? 'shareTimeline' : 'share',
data: {
type: 'img',
img: base64Img,
},
};
postMessage(message);
},
$shareText(txt, timeline = false) {
const message = {
type: timeline ? 'shareTimeline' : 'share',
data: {
type: 'text',
description: txt,
},
};
postMessage(message);
},
$shareNews({ title, url, description }, timeline = false) {
const message = {
type: timeline ? 'shareTimeline' : 'share',
data: {
type: 'news',
description,
webpageUrl: url,
title,
},
};
postMessage(message);
},
$playVieo(url) {
const message = {
type: 'video',
data: {
url,
},
};
postMessage(message);
},
$postMessage(message) {
postMessage(message);
},
$exitWebView(data) {
this.$postMessage({
type: 'exitWebview',
data
})
},
$shareReport(params) {
this.$postMessage({
type: 'reportShare',
params
})
}
},
created() {
event_bus.$on(GEEK_NATVIE_NAME, this.listenNativeMessage);
},
beforeDestroy() {
event_bus.$off('GEEK_NATVIE_NAME', this.listenNativeMessage);
},
};
Vue.mixin(nativeMixin);
}
export default install;
export function countDown(times: number, interval: number, callback: Function) {
let count = 0;
let timeCounter;
function _countDownStart() {
if (timeCounter == null) {
return false;
}
count++;
callback(times - count + 1);
if (count > times) {
clearTimeout(timeCounter);
} else {
timeCounter = setTimeout(_countDownStart, interval);
}
}
timeCounter = setTimeout(_countDownStart, interval);
}
\ No newline at end of file
<template>
<div class="home">
<img alt="Vue logo" src="../assets/logo.png" />
</div>
</template>
<script lang="ts">
import { Options, Vue } from "vue-class-component";
@Options({
components: {}
})
export default class Home extends Vue {}
</script>
<template>
<div>
<van-nav-bar title="奖励金收支明细" left-arrow @click-left="onClickLeft" />
<van-tabs v-model:active="active">
<van-tab title="支出">内32323容 34431</van-tab>
<van-tab title="收入">内容 25545454</van-tab>
</van-tabs>
</div>
</template>
<script lang="ts">
import { NavBar, Tab, Tabs } from "vant";
import { defineComponent } from "vue";
const BonusDetail = defineComponent({
data() {
return {
active: 0
};
},
components: {
[NavBar.name]: NavBar,
[Tab.name]: Tab,
[Tabs.name]: Tabs
},
methods: {
onClickLeft() {
this.$router.back();
}
}
});
export default BonusDetail;
</script>
<style lang="scss" scoped></style>
<template>
<div class="bonus">
<div class="bonus-account">
<van-row align="center">
<van-col span="12" style="opacity: 0.5;"
><i class="iconfont icon-qiandai">&nbsp;</i
><span>账户余额(元)</span></van-col
>
<van-col span="12" style="text-align: right" @click="withdrawRule"
><span>提现规则</span>&nbsp;<i class="iconfont icon-tishi"></i
></van-col>
</van-row>
<van-row style="margin: 0.8rem 0 2rem" align="center">
<van-col span="12" style="font-size: 2rem; font-weight: 600"
><span>¥1200.00</span></van-col
>
<van-col span="12" style="text-align: right"
><van-button
style="border-color: #fff"
round
color="inherit"
size="small"
type="primary"
to="bonusDetail"
>&nbsp;&nbsp;明细&nbsp;&nbsp;</van-button
></van-col
>
</van-row>
<van-row class="bonus-account-status">
<van-col span="8">
<label>累计收入</label>
<span>¥11334.00</span>
</van-col>
<van-col span="8">
<label>累计提现</label>
<span>¥00.00</span>
</van-col>
<van-col span="8">
<label>提现中</label>
<span>¥334.00</span>
</van-col>
</van-row>
</div>
<van-cell
center
title="可提现金额:¥12.00"
size="large"
style="border-radius: 0.5rem;"
:border="false"
>
<van-button color="#F1551E" round size="small" @click="withdraw"
>&nbsp;提现&nbsp;</van-button
>
</van-cell>
<!-- -->
<div class="bouns-record">
<van-row style="margin-bottom: 1rem">
<van-col span="12" class="tip">&emsp;奖励金提现金额</van-col>
<van-col span="12" style="text-align: right; font-weight: 550"
>总计:570.00元&nbsp;</van-col
>
</van-row>
<van-list
v-model:loading="state.loading"
:finished="state.finished"
finished-text="我是有底线的"
@load="onLoad"
>
<div
class="bonus-record-item"
v-for="item in state.bonusRecordList"
:key="item.id"
>
<div class="bonus-record-item-header">
<div class="bonus-record-item-header-status">
<i
class="iconfont"
:class="
item.status === 0
? 'icon-shijian'
: item.status === 1
? 'icon-jindutiaoqiandai'
: 'icon-xiazaishibai'
"
:style="{
color:
item.status === 0
? '#46BB36'
: item.status === 1
? '#027AFF'
: '#F1551E'
}"
></i>
<span>{{
item.status === 0
? "提现中"
: item.status === 1
? "提现成功"
: "提现失败"
}}</span>
<label v-if="item.status === 0">请耐心等候~</label>
</div>
<p class="bonus-record-item-apply-money">
{{ item.status === 1 ? "-" : "" }}¥{{ item.applyMoney }}
</p>
</div>
<ul class="bonus-record-item-detail">
<li>微信提现:{{ item.userName }}</li>
<li>申请时间:{{ item.applyTime }}</li>
<li>预计时间:{{ item.arrivalTime }}</li>
<li v-if="item.status === 2">失败原因:{{ item.errorReason }}</li>
</ul>
</div>
</van-list>
</div>
</div>
</template>
<script lang="ts">
// eslint-disable-next-line @typescript-eslint/no-explicit-any
declare const TencentCaptcha: any;
import { defineComponent, reactive } from "vue";
import { Dialog, Button, Col, Row, Cell, List } from "vant";
import { countDown } from "../../util/timer";
interface TencentCaptchaResponse {
ret: number;
ticket: string;
appid: string;
bizState: unknown;
randstr: string;
}
const Bonus = defineComponent({
setup() {
const state = reactive({
loading: false,
finished: false,
bonusRecordList: [
{
status: 0, // 提现中
userName: "王嘉尔",
applyTime: "2021-10-12 12:12:12",
arrivalTime: "2021-10-12 12:12:12",
applyMoney: 12.04
},
{
status: 1, // 提现成功
userName: "王嘉尔",
applyTime: "2021-10-12 12:12:12",
arrivalTime: "2021-10-12 12:12:12",
applyMoney: 12.02
},
{
status: 2, // 提现失败
userName: "王嘉尔",
applyTime: "2021-10-12 12:12:12",
arrivalTime: "2021-10-12 12:12:12",
applyMoney: 12.5,
errorReason: "账户异常"
}
]
});
const onLoad = () => {
// 异步更新数据
// setTimeout 仅做示例,真实场景中一般为 ajax 请求
setTimeout(() => {
for (let i = 0; i < 10; i++) {
// state.bonusRecordList.push();
}
// 加载状态结束
state.loading = false;
// 数据全部加载完成
if (state.bonusRecordList.length >= 40) {
state.finished = true;
}
}, 1000);
};
return {
state,
onLoad
};
},
components: {
[Button.name]: Button,
[Col.name]: Col,
[Row.name]: Row,
[Cell.name]: Cell,
[List.name]: List
},
data() {
return {
showTime: "获取验证码"
};
},
methods: {
onClickLeft() {
console.log("返回");
},
withdrawRule() {
Dialog.confirm({
title: "提现规则说明",
message: `1.当前只有转介绍收入可以在线提现;\n
2.提现前,确保已经绑定了微信,且微信已经实名认证;\n
3.每个学生,单日累计提现金额不超过500.00元;\n
4.每个家长,单日累计提现金额不超过1000.00元;\n
5.系统一般都是“秒到账”,具体到账时间,请以系统提示为准;\n
6.如需帮助请联系:400——8777389!`,
messageAlign: "left",
confirmButtonText: "我知道了",
cancelButtonText: "电话咨询",
theme: "round-button",
cancelButtonColor: "#DCDEE0",
confirmButtonColor: "#4288FF"
})
.then(() => {
console.log("确定");
})
.catch(() => {
console.log("取消");
});
},
getVerificationCode() {
//方法1: 直接生成一个验证码对象。
const captcha1 = new TencentCaptcha(
"2087826974",
(res: TencentCaptchaResponse) => {
const { ret } = res;
if (ret === 0) {
countDown(60, 1000, (time: number) => {
time === 0
? (this.showTime = `获取验证码`)
: (this.showTime = `${time} 后再获取`);
});
}
},
{
needFeedBack: false
}
);
captcha1.show();
},
withdraw() {
// Dialog.confirm({
// title: "绑定微信后才可提现"
// });
// this.$nativeBridge.$nativeTitle("我是重新设置的title");
}
}
});
export default Bonus;
</script>
<style lang="scss" scoped>
.bonus {
padding: 0.8rem;
.bonus-account {
padding: 0.8rem;
color: #fff;
background: url("../../assets/images/account-bg.png") no-repeat;
background-size: 100% 100%;
margin-bottom: 1rem;
.bonus-account-status {
text-align: center;
.van-col {
display: flex;
flex-direction: column;
justify-content: center;
label {
opacity: 0.5;
}
}
}
}
.bouns-record {
margin-top: 1rem;
color: #484c4f;
.van-row {
padding: 0 0.5rem;
.tip {
position: relative;
font-size: 1.1rem;
color: #484c4f;
font-weight: 550;
&::after {
content: "";
display: block;
height: 1.2rem;
width: 4px;
background: #027aff;
position: absolute;
border-radius: 2px;
left: 6px;
top: 3px;
}
}
}
.bonus-record-item {
background: #fff;
margin-bottom: 0.6rem;
padding: 0.3rem 0.7rem 0.7rem;
border-radius: 0.5rem;
.bonus-record-item-header {
display: flex;
justify-content: space-between;
align-items: center;
.bonus-record-item-header-status {
display: flex;
align-items: center;
i {
font-size: 2rem;
margin-right: 0.5rem;
}
span {
margin-right: 0.4rem;
font-weight: 600;
}
label {
color: #a6a8aa;
font-size: 0.9rem;
}
}
.bonus-record-item-apply-money {
color: #f1551e;
font-weight: 550;
}
}
.bonus-record-item-detail {
background: #f5faff;
opacity: 0.9;
padding: 0.8rem;
border-radius: 0.4rem;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #484c4f;
li {
line-height: 1.6em;
}
}
}
}
}
</style>
<template>
<div>
<van-nav-bar title="提现" left-arrow @click-left="onClickLeft" />
<h1>提现</h1>
</div>
</template>
<script lang="ts">
import { defineComponent } from "vue";
import { NavBar } from "vant";
const Withdraw = defineComponent({
components: {
[NavBar.name]: NavBar
},
methods: {
onClickLeft() {
this.$router.back();
}
}
});
export default Withdraw;
</script>
<style lang="scss" scoped></style>
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"sourceMap": true, "sourceMap": true,
"baseUrl": ".", "baseUrl": ".",
"useDefineForClassFields": true,
"noImplicitAny": false,
"types": [ "types": [
"webpack-env" "webpack-env"
], ],
......
module.exports.theme = {
// Color variables
"@black": "#000",
"@white": "#fff",
"@red": "#f44",
"@blue": "#1989fa",
"@orange": "#ff976a",
"@orange-dark": "#ed6a0c",
"@orange-light": "#fffbe8",
"@green": "#20C3D7",
"@gray": "#c8c9cc",
"@gray-light": "#e5e5e5",
"@gray-darker": "#7d7e80",
"@gray-dark": "#969799",
// Default colors
"@text-color": "#323233",
"@border-color": "#ebedf0",
"@active-color": "#f2f3f5",
"@background-color": "#f8f8f8",
"@background-color-light": "#fafafa",
// ActionSheet
"@action-sheet-max-height": "90%",
"@action-sheet-header-height": "44px",
"@action-sheet-header-font-size": "16px",
"@action-sheet-item-height": "50px",
"@action-sheet-item-background": "@white",
"@action-sheet-item-font-size": "16px",
"@action-sheet-item-text-color": "@text-color",
"@action-sheet-subname-color": "@gray-darker",
"@action-sheet-subname-font-size": "12px",
"@action-sheet-close-icon-size": "18px",
"@action-sheet-close-icon-color": "@gray-dark",
// Badge
"@badge-font-size": "14px",
"@badge-line-height": "1.4",
"@badge-text-color": "@gray-darker",
"@badge-padding": "20px 12px 20px 9px",
"@badge-active-color": "@active-color",
"@badge-background-color": "@background-color",
"@badge-selected-font-weight": "500",
"@badge-selected-text-color": "@text-color",
"@badge-selected-border-color": "@red",
"@badge-selected-background-color": "@white",
// BadgeGroup
"@badge-group-width": "85px",
// Button
"@button-mini-height": "22px",
"@button-mini-min-width": "50px",
"@button-mini-font-size": "10px",
"@button-mini-line-height": "20px",
"@button-small-height": "30px",
"@button-small-font-size": "12px",
"@button-small-min-width": "60px",
"@button-small-line-height": "28px",
"@button-normal-font-size": "14px",
"@button-large-height": "50px",
"@button-large-line-height": "48px",
"@button-default-height": "44px",
"@button-default-line-height": "42px",
"@button-default-font-size": "16px",
"@button-default-color": "@text-color",
"@button-default-background-color": "@white",
"@button-default-border-color": "@border-color",
"@button-primary-color": "@white",
"@button-primary-background-color": "@green",
"@button-primary-border-color": "@green",
"@button-info-color": "@white",
"@button-info-background-color": "@blue",
"@button-info-border-color": "@blue",
"@button-danger-color": "@white",
"@button-danger-background-color": "@red",
"@button-danger-border-color": "@red",
"@button-warning-color": "@white",
"@button-warning-background-color": "@orange",
"@button-warning-border-color": "@orange",
"@button-bottom-action-default-color": "@white",
"@button-bottom-action-default-background-color": "@orange",
"@button-bottom-action-primary-color": "@white",
"@button-bottom-action-primary-background-color": "@red",
"@button-border-width": "1px",
"@button-border-radius": "2px",
"@button-round-border-radius": "10em",
"@button-plain-background-color": "@white",
"@button-disabled-opacity": ".5",
// Cell
"@cell-font-size": "14px",
"@cell-line-height": "24px",
"@cell-vertical-padding": "10px",
"@cell-horizontal-padding": "15px",
"@cell-text-color": "@text-color",
"@cell-background-color": "@white",
"@cell-border-color": "@border-color",
"@cell-active-color": "@active-color",
"@cell-required-color": "@red",
"@cell-label-color": "@gray-dark",
"@cell-label-font-size": "12px",
"@cell-label-line-height": "18px",
"@cell-label-margin-top": "3px",
"@cell-value-color": "@gray-dark",
"@cell-icon-size": "16px",
"@cell-right-icon-color": "@gray-dark",
"@cell-large-vertical-padding": "12px",
"@cell-large-title-font-size": "16px",
"@cell-large-label-font-size": "14px",
// CellGroup
"@cell-group-background-color": "@white",
"@cell-group-title-color": "@gray-dark",
"@cell-group-title-padding": "15px 15px 5px",
"@cell-group-title-font-size": "14px",
"@cell-group-title-line-height": "16px",
// Checkbox
"@checkbox-size": "20px",
"@checkbox-border-color": "@gray-light",
"@checkbox-transition-duration": ".2s",
"@checkbox-label-margin": "10px",
"@checkbox-label-color": "@text-color",
"@checkbox-checked-icon-color": "@blue",
"@checkbox-disabled-icon-color": "@gray",
"@checkbox-disabled-label-color": "@gray",
"@checkbox-disabled-background-color": "@border-color",
// Collapse
"@collapse-item-transition-duration": ".3s",
"@collapse-item-content-padding": "15px",
"@collapse-item-content-font-size": "13px",
"@collapse-item-content-line-height": "1.5",
"@collapse-item-content-text-color": "@gray-dark",
"@collapse-item-content-background-color": "@white",
"@collapse-item-title-disabled-color": "@gray",
// Dialog
"@dialog-width": "85%",
"@dialog-font-size": "16px",
"@dialog-transition": ".3s",
"@dialog-border-radius": "4px",
"@dialog-background-color": "@white",
"@dialog-header-font-weight": "500",
"@dialog-header-padding-top": "25px",
"@dialog-header-isolated-padding": "25px 0",
"@dialog-message-padding": "25px",
"@dialog-message-font-size": "14px",
"@dialog-message-line-height": "1.5",
"@dialog-message-max-height": "60vh",
"@dialog-has-title-message-text-color": "@gray-darker",
"@dialog-has-title-message-padding-top": "12px",
"@dialog-confirm-button-text-color": "@blue",
// Info
"@info-size": "16px",
"@info-color": "@white",
"@info-padding": "0 3px",
"@info-font-size": "12px",
"@info-font-weight": "500",
"@info-border-width": "1px",
"@info-background-color": "@red",
"@info-font-family": "PingFang SC, Helvetica Neue, Arial, sans-serif",
// List
"@list-icon-size": "16px",
"@list-icon-margin-right": "5px",
"@list-text-color": "@gray-dark",
"@list-text-font-size": "13px",
"@list-text-line-height": "50px",
// NavBar
"@nav-bar-height": "46px",
"@nav-bar-background-color": "@white",
"@nav-bar-arrow-size": "16px",
"@nav-bar-icon-color": "@blue",
"@nav-bar-text-color": "@blue",
"@nav-bar-title-font-size": "16px",
"@nav-bar-title-text-color": "@text-color",
// Notify
"@notify-padding": "6px 15px",
"@notify-font-size": "14px",
"@notify-line-height": "20px",
// NumberKeyboard
"@number-keyboard-key-height": "54px",
"@number-keyboard-key-background": "#ebedf0",
// Overlay
"@overlay-background-color": "rgba(0, 0, 0, 0.7)",
// Panel
"@panel-background-color": "@white",
"@panel-header-value-color": "@red",
"@panel-footer-padding": "10px 15px",
// Radio
"@radio-size": "20px",
"@radio-border-color": "@gray-light",
"@radio-transition-duration": ".2s",
"@radio-label-margin": "10px",
"@radio-label-color": "@text-color",
"@radio-checked-icon-color": "@blue",
"@radio-disabled-icon-color": "@gray",
"@radio-disabled-label-color": "@gray",
"@radio-disabled-background-color": "@border-color",
// Rate
"@rate-horizontal-padding": "2px",
// Slider
"@slider-active-background-color": "@blue",
"@slider-inactive-background-color": "@gray-light",
"@slider-disabled-opacity": ".3",
"@slider-button-width": "20px",
"@slider-button-height": "20px",
"@slider-button-border-radius": "50%",
"@slider-button-background-color": "@white",
"@slider-button-box-shadow": "0 1px 2px rgba(0, 0, 0, .5)",
// Swipe
"@swipe-indicator": "6px",
// Switch
"@switch-width": "2em",
"@switch-height": "1em",
"@switch-node-size": "1em",
"@switch-node-z-index": "1",
"@switch-node-background-color": "@white",
"@switch-node-box-shadow":
"0 3px 1px 0 rgba(0, 0, 0, .05), 0 2px 2px 0 rgba(0, 0, 0, .1), 0 3px 3px 0 rgba(0, 0, 0, .05)",
"@switch-background-color": "@white",
"@switch-on-background-color": "@blue",
"@switch-transition-duration": ".3s",
"@switch-disabled-opacity": ".4",
"@switch-border": "1px solid rgba(0, 0, 0, .1)",
// SwitchCell
"@switch-cell-padding-top": "9px",
"@switch-cell-padding-bottom": "9px",
// Tab
"@tabs-line-height": "44px",
"@tabs-card-height": "30px",
// Tabbar
"@tabbar-height": "50px",
"@tabbar-background-color": "@white",
// TabbarItem
"@tabbar-item-font-size": "12px",
"@tabbar-item-text-color": "@gray-darker",
"@tabbar-item-active-color": "@blue",
"@tabbar-item-line-height": "1",
"@tabbar-item-icon-size": "18px",
"@tabbar-item-margin-bottom": "5px",
// Tag
"@tag-padding": ".2em .5em",
"@tag-font-size": "10px",
"@tag-medium-font-size": "12px",
"@tag-large-font-size": "14px",
"@tag-text-color": "@white",
"@tag-border-radius": ".2em",
"@tag-round-border-radius": ".8em",
// Toast
"@toast-max-width": "70%",
"@toast-font-size": "14px",
"@toast-text-color": "@white",
"@toast-line-height": "20px",
"@toast-border-radius": "4px",
"@toast-background-color": "rgba(@text-color, .88)",
"@toast-icon-size": "48px",
"@toast-text-min-width": "96px",
"@toast-text-padding": "8px 12px",
"@toast-default-padding": "15px",
"@toast-default-width": "90px",
"@toast-default-min-height": "90px",
"@toast-position-top-distance": "50px",
"@toast-position-bottom-distance": "50px",
// Search
"@search-background-color": "#f7f8fA",
// Stepper
"@stepper-active-color": "#e8e8e8",
"@stepper-background-color": "@active-color",
"@stepper-button-disabled-color": "#f7f8fa",
"@stepper-input-disabled-color": "@active-color",
"@stepper-border-radius": "4px"
};
const tsImportPluginFactory = require('ts-import-plugin') // const tsImportPluginFactory = require('ts-import-plugin')
const { merge } = require('webpack-merge') const { merge } = require('webpack-merge')
module.exports = { module.exports = {
chainWebpack: config => { devServer: {
config.module.rule('ts') hot: true,
.use('ts-loader') open: true,
.tap(options => { host: 'localhost',
options = merge(options, { port: 8080,
transpileOnly: true, https: false,
getCustomTransformers: () => ({ //以上的ip和端口是我们本机的;下面为需要跨域的
before: [ proxy: {//配置跨域
tsImportPluginFactory({ '/api': {
libraryName: 'vant', target: 'http://localhost:5001/api/',//这里后台的地址模拟的;应该填写你们真实的后台接口
libraryDirectory: 'es', ws: true,
style: true changOrigin: true,//允许跨域
}) pathRewrite: {
] '^/api': ''//请求的时候使用这个api就可以
}),
compilerOptions: {
module: 'es2015'
} }
}); }
return options; }
}) },
}, // chainWebpack: config => {
} // config.module.rule('ts')
\ No newline at end of file // .use('ts-loader')
// .tap(options => {
// options = merge(options, {
// transpileOnly: true,
// getCustomTransformers: () => ({
// before: [
// tsImportPluginFactory({
// libraryName: 'vant',
// libraryDirectory: 'es',
// style: true
// })
// ]
// }),
// compilerOptions: {
// module: 'es2015'
// }
// });
// return options;
// })
// },
}
\ No newline at end of file
...@@ -2890,6 +2890,13 @@ cookie@0.4.0: ...@@ -2890,6 +2890,13 @@ cookie@0.4.0:
resolved "https://registry.npm.taobao.org/cookie/download/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba" resolved "https://registry.npm.taobao.org/cookie/download/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba"
integrity sha1-vrQ35wIrO21JAZ0IhmUwPr6cFLo= integrity sha1-vrQ35wIrO21JAZ0IhmUwPr6cFLo=
copy-anything@^2.0.1:
version "2.0.3"
resolved "https://registry.npm.taobao.org/copy-anything/download/copy-anything-2.0.3.tgz?cache=0&sync_timestamp=1612447113795&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcopy-anything%2Fdownload%2Fcopy-anything-2.0.3.tgz#842407ba02466b0df844819bbe3baebbe5d45d87"
integrity sha1-hCQHugJGaw34RIGbvjuuu+XUXYc=
dependencies:
is-what "^3.12.0"
copy-concurrently@^1.0.0: copy-concurrently@^1.0.0:
version "1.0.5" version "1.0.5"
resolved "https://registry.npm.taobao.org/copy-concurrently/download/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0" resolved "https://registry.npm.taobao.org/copy-concurrently/download/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0"
...@@ -3573,7 +3580,7 @@ entities@^2.0.0: ...@@ -3573,7 +3580,7 @@ entities@^2.0.0:
resolved "https://registry.npm.taobao.org/entities/download/entities-2.2.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fentities%2Fdownload%2Fentities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" resolved "https://registry.npm.taobao.org/entities/download/entities-2.2.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fentities%2Fdownload%2Fentities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55"
integrity sha1-CY3JDruD2N/6CJ1VJWs1HTTE2lU= integrity sha1-CY3JDruD2N/6CJ1VJWs1HTTE2lU=
errno@^0.1.3, errno@~0.1.7: errno@^0.1.1, errno@^0.1.3, errno@~0.1.7:
version "0.1.8" version "0.1.8"
resolved "https://registry.npm.taobao.org/errno/download/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f" resolved "https://registry.npm.taobao.org/errno/download/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f"
integrity sha1-i7Ppx9Rjvkl2/4iPdrSAnrwugR8= integrity sha1-i7Ppx9Rjvkl2/4iPdrSAnrwugR8=
...@@ -4776,7 +4783,7 @@ human-signals@^1.1.1: ...@@ -4776,7 +4783,7 @@ human-signals@^1.1.1:
resolved "https://registry.npm.taobao.org/human-signals/download/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" resolved "https://registry.npm.taobao.org/human-signals/download/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3"
integrity sha1-xbHNFPUK6uCatsWf5jujOV/k36M= integrity sha1-xbHNFPUK6uCatsWf5jujOV/k36M=
iconv-lite@0.4.24, iconv-lite@^0.4.24: iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4:
version "0.4.24" version "0.4.24"
resolved "https://registry.npm.taobao.org/iconv-lite/download/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" resolved "https://registry.npm.taobao.org/iconv-lite/download/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
integrity sha1-ICK0sl+93CHS9SSXSkdKr+czkIs= integrity sha1-ICK0sl+93CHS9SSXSkdKr+czkIs=
...@@ -4820,6 +4827,11 @@ ignore@^4.0.3, ignore@^4.0.6: ...@@ -4820,6 +4827,11 @@ ignore@^4.0.3, ignore@^4.0.6:
resolved "https://registry.npm.taobao.org/ignore/download/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" resolved "https://registry.npm.taobao.org/ignore/download/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc"
integrity sha1-dQ49tYYgh7RzfrrIIH/9HvJ7Jfw= integrity sha1-dQ49tYYgh7RzfrrIIH/9HvJ7Jfw=
image-size@~0.5.0:
version "0.5.5"
resolved "https://registry.npm.taobao.org/image-size/download/image-size-0.5.5.tgz?cache=0&sync_timestamp=1615832918965&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fimage-size%2Fdownload%2Fimage-size-0.5.5.tgz#09dfd4ab9d20e29eb1c3e80b8990378df9e3cb9c"
integrity sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=
import-cwd@^2.0.0: import-cwd@^2.0.0:
version "2.1.0" version "2.1.0"
resolved "https://registry.npm.taobao.org/import-cwd/download/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9" resolved "https://registry.npm.taobao.org/import-cwd/download/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9"
...@@ -5239,6 +5251,11 @@ is-typedarray@~1.0.0: ...@@ -5239,6 +5251,11 @@ is-typedarray@~1.0.0:
resolved "https://registry.npm.taobao.org/is-typedarray/download/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" resolved "https://registry.npm.taobao.org/is-typedarray/download/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=
is-what@^3.12.0:
version "3.14.1"
resolved "https://registry.npm.taobao.org/is-what/download/is-what-3.14.1.tgz?cache=0&sync_timestamp=1615169709354&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-what%2Fdownload%2Fis-what-3.14.1.tgz#e1222f46ddda85dead0fd1c9df131760e77755c1"
integrity sha1-4SIvRt3ahd6tD9HJ3xMXYOd3VcE=
is-windows@^1.0.2: is-windows@^1.0.2:
version "1.0.2" version "1.0.2"
resolved "https://registry.npm.taobao.org/is-windows/download/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" resolved "https://registry.npm.taobao.org/is-windows/download/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
...@@ -5450,6 +5467,11 @@ kind-of@^6.0.0, kind-of@^6.0.2: ...@@ -5450,6 +5467,11 @@ kind-of@^6.0.0, kind-of@^6.0.2:
resolved "https://registry.npm.taobao.org/kind-of/download/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" resolved "https://registry.npm.taobao.org/kind-of/download/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd"
integrity sha1-B8BQNKbDSfoG4k+jWqdttFgM5N0= integrity sha1-B8BQNKbDSfoG4k+jWqdttFgM5N0=
klona@^2.0.4:
version "2.0.4"
resolved "https://registry.npm.taobao.org/klona/download/klona-2.0.4.tgz#7bb1e3affb0cb8624547ef7e8f6708ea2e39dfc0"
integrity sha1-e7Hjr/sMuGJFR+9+j2cI6i4538A=
launch-editor-middleware@^2.2.1: launch-editor-middleware@^2.2.1:
version "2.2.1" version "2.2.1"
resolved "https://registry.npm.taobao.org/launch-editor-middleware/download/launch-editor-middleware-2.2.1.tgz#e14b07e6c7154b0a4b86a0fd345784e45804c157" resolved "https://registry.npm.taobao.org/launch-editor-middleware/download/launch-editor-middleware-2.2.1.tgz#e14b07e6c7154b0a4b86a0fd345784e45804c157"
...@@ -5465,6 +5487,30 @@ launch-editor@^2.2.1: ...@@ -5465,6 +5487,30 @@ launch-editor@^2.2.1:
chalk "^2.3.0" chalk "^2.3.0"
shell-quote "^1.6.1" shell-quote "^1.6.1"
less-loader@^8.0.0:
version "8.0.0"
resolved "https://registry.npm.taobao.org/less-loader/download/less-loader-8.0.0.tgz?cache=0&sync_timestamp=1612197147564&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fless-loader%2Fdownload%2Fless-loader-8.0.0.tgz#cd7f10e3c13ca8f71244a11ee396405ae3ce9c82"
integrity sha1-zX8Q48E8qPcSRKEe45ZAWuPOnII=
dependencies:
klona "^2.0.4"
less@^4.1.1:
version "4.1.1"
resolved "https://registry.npm.taobao.org/less/download/less-4.1.1.tgz#15bf253a9939791dc690888c3ff424f3e6c7edba"
integrity sha1-Fb8lOpk5eR3GkIiMP/Qk8+bH7bo=
dependencies:
copy-anything "^2.0.1"
parse-node-version "^1.0.1"
tslib "^1.10.0"
optionalDependencies:
errno "^0.1.1"
graceful-fs "^4.1.2"
image-size "~0.5.0"
make-dir "^2.1.0"
mime "^1.4.1"
needle "^2.5.2"
source-map "~0.6.0"
levn@^0.3.0, levn@~0.3.0: levn@^0.3.0, levn@~0.3.0:
version "0.3.0" version "0.3.0"
resolved "https://registry.npm.taobao.org/levn/download/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" resolved "https://registry.npm.taobao.org/levn/download/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee"
...@@ -5625,7 +5671,7 @@ magic-string@^0.25.7: ...@@ -5625,7 +5671,7 @@ magic-string@^0.25.7:
dependencies: dependencies:
sourcemap-codec "^1.4.4" sourcemap-codec "^1.4.4"
make-dir@^2.0.0: make-dir@^2.0.0, make-dir@^2.1.0:
version "2.1.0" version "2.1.0"
resolved "https://registry.npm.taobao.org/make-dir/download/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" resolved "https://registry.npm.taobao.org/make-dir/download/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5"
integrity sha1-XwMQ4YuL6JjMBwCSlaMK5B6R5vU= integrity sha1-XwMQ4YuL6JjMBwCSlaMK5B6R5vU=
...@@ -5778,7 +5824,7 @@ mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.19, mime-types@~2.1.24: ...@@ -5778,7 +5824,7 @@ mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.19, mime-types@~2.1.24:
dependencies: dependencies:
mime-db "1.46.0" mime-db "1.46.0"
mime@1.6.0: mime@1.6.0, mime@^1.4.1:
version "1.6.0" version "1.6.0"
resolved "https://registry.npm.taobao.org/mime/download/mime-1.6.0.tgz?cache=0&sync_timestamp=1613584838235&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmime%2Fdownload%2Fmime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" resolved "https://registry.npm.taobao.org/mime/download/mime-1.6.0.tgz?cache=0&sync_timestamp=1613584838235&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmime%2Fdownload%2Fmime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1"
integrity sha1-Ms2eXGRVO9WNGaVor0Uqz/BJgbE= integrity sha1-Ms2eXGRVO9WNGaVor0Uqz/BJgbE=
...@@ -5980,6 +6026,15 @@ natural-compare@^1.4.0: ...@@ -5980,6 +6026,15 @@ natural-compare@^1.4.0:
resolved "https://registry.npm.taobao.org/natural-compare/download/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" resolved "https://registry.npm.taobao.org/natural-compare/download/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=
needle@^2.5.2:
version "2.6.0"
resolved "https://registry.npm.taobao.org/needle/download/needle-2.6.0.tgz#24dbb55f2509e2324b4a99d61f413982013ccdbe"
integrity sha1-JNu1XyUJ4jJLSpnWH0E5ggE8zb4=
dependencies:
debug "^3.2.6"
iconv-lite "^0.4.4"
sax "^1.2.4"
negotiator@0.6.2: negotiator@0.6.2:
version "0.6.2" version "0.6.2"
resolved "https://registry.npm.taobao.org/negotiator/download/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" resolved "https://registry.npm.taobao.org/negotiator/download/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"
...@@ -6418,6 +6473,11 @@ parse-json@^5.0.0: ...@@ -6418,6 +6473,11 @@ parse-json@^5.0.0:
json-parse-even-better-errors "^2.3.0" json-parse-even-better-errors "^2.3.0"
lines-and-columns "^1.1.6" lines-and-columns "^1.1.6"
parse-node-version@^1.0.1:
version "1.0.1"
resolved "https://registry.npm.taobao.org/parse-node-version/download/parse-node-version-1.0.1.tgz#e2b5dbede00e7fa9bc363607f53327e8b073189b"
integrity sha1-4rXb7eAOf6m8NjYH9TMn6LBzGJs=
parse5-htmlparser2-tree-adapter@^6.0.0: parse5-htmlparser2-tree-adapter@^6.0.0:
version "6.0.1" version "6.0.1"
resolved "https://registry.npm.taobao.org/parse5-htmlparser2-tree-adapter/download/parse5-htmlparser2-tree-adapter-6.0.1.tgz#2cdf9ad823321140370d4dbf5d3e92c7c8ddc6e6" resolved "https://registry.npm.taobao.org/parse5-htmlparser2-tree-adapter/download/parse5-htmlparser2-tree-adapter-6.0.1.tgz#2cdf9ad823321140370d4dbf5d3e92c7c8ddc6e6"
...@@ -7525,7 +7585,7 @@ sass@^1.26.5: ...@@ -7525,7 +7585,7 @@ sass@^1.26.5:
dependencies: dependencies:
chokidar ">=2.0.0 <4.0.0" chokidar ">=2.0.0 <4.0.0"
sax@~1.2.4: sax@^1.2.4, sax@~1.2.4:
version "1.2.4" version "1.2.4"
resolved "https://registry.npm.taobao.org/sax/download/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" resolved "https://registry.npm.taobao.org/sax/download/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
integrity sha1-KBYjTiN4vdxOU1T6tcqold9xANk= integrity sha1-KBYjTiN4vdxOU1T6tcqold9xANk=
...@@ -8378,7 +8438,7 @@ ts-pnp@^1.1.6: ...@@ -8378,7 +8438,7 @@ ts-pnp@^1.1.6:
resolved "https://registry.npm.taobao.org/ts-pnp/download/ts-pnp-1.2.0.tgz#a500ad084b0798f1c3071af391e65912c86bca92" resolved "https://registry.npm.taobao.org/ts-pnp/download/ts-pnp-1.2.0.tgz#a500ad084b0798f1c3071af391e65912c86bca92"
integrity sha1-pQCtCEsHmPHDBxrzkeZZEshrypI= integrity sha1-pQCtCEsHmPHDBxrzkeZZEshrypI=
tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0: tslib@^1.10.0, tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0:
version "1.14.1" version "1.14.1"
resolved "https://registry.npm.taobao.org/tslib/download/tslib-1.14.1.tgz?cache=0&sync_timestamp=1609887446826&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftslib%2Fdownload%2Ftslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" resolved "https://registry.npm.taobao.org/tslib/download/tslib-1.14.1.tgz?cache=0&sync_timestamp=1609887446826&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftslib%2Fdownload%2Ftslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
integrity sha1-zy04vcNKE0vK8QkcQfZhni9nLQA= integrity sha1-zy04vcNKE0vK8QkcQfZhni9nLQA=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment