Commit 0dc5db95 authored by hanfeng zhang's avatar hanfeng zhang

321

parent d88596f9
......@@ -170,7 +170,7 @@ export default Vue.extend({
},
methods: {
handleInput(e: any) {
const temp = this.inputValue;
// const temp = this.inputValue;
const value = e.target.value as string;
this.inputValue = value;
this.$emit("cellOnChange", Number(this.inputValue));
......
......@@ -9,9 +9,10 @@
<script>
import Vue from "vue";
const notCheckedIcon = require("@/assets/icons/not_checked_2.png");
const checkedIcon = require("@/assets/icons/checked.png");
import notCheckedIcon from '@/assets/icons/not_checked_2.png'
import checkedIcon from '@/assets/icons/checked.png'
// const notCheckedIcon = require("@/assets/icons/not_checked_2.png");
// const checkedIcon = require("@/assets/icons/checked.png");
export default Vue.extend({
props: ["checked"],
......
......@@ -32,16 +32,17 @@
<script lang="ts">
import Vue, { PropType } from "vue";
import { Field, Icon } from "vant";
import { Field } from "vant";
import { tType } from "./types";
const eyeOpenIcon = require("@/assets/icons/eye_open.png");
const eyeCloseIcon = require("@/assets/icons/eye_close.png");
import eyeOpenIcon from '@/assets/icons/eye_open.png'
import eyeCloseIcon from '@/assets/icons/eye_close.png'
// const eyeOpenIcon = require("@/assets/icons/eye_open.png");
// const eyeCloseIcon = require("@/assets/icons/eye_close.png");
export default Vue.extend({
components: {
Field,
Icon,
// Icon,
},
props: {
type: {
......
......@@ -9,7 +9,8 @@
<script lang="ts">
import Vue from "vue";
const closeIcon = require("@/assets/icons/close_large.png");
import closeIcon from '@/assets/icons/close_large.png'
// const closeIcon = require("@/assets/icons/close_large.png");
export default Vue.extend({
props: ["setOverlayShow"],
......
......@@ -52,14 +52,21 @@ export default Vue.extend({
async loginByCodeFunc(phone: string, code: string) {
return this.registerFunc(phone, code);
},
async loginByPwdFunc(phone: string, pwd: string) {},
async loginByPwdFunc(phone: string, pwd: string) {
console.log(phone,pwd);
},
async setPwdFunc(phone: string, code: string, pwd: string) {
console.log(phone,code,pwd);
this.$router.push({
name: "Home",
});
return 1;
},
async modifyPwdFunc(phone: string, originalPwd: string, newPwd: string) {},
async modifyPwdFunc(phone: string, originalPwd: string, newPwd: string) {
console.log(phone,originalPwd,newPwd);
},
},
});
</script>
......
......@@ -312,7 +312,7 @@ export default Vue.extend({
}
if (mistake) return;
} else if (this.currentStep === 3 && val === 1) {
const ret = await this.$service.nftService.publish({
await this.$service.nftService.publish({
fileHash: this.fileHash,
id: this.publish.id,
wallet: this.publish.wallet,
......
......@@ -56,7 +56,7 @@ export default Vue.extend({
},
methods: {
tagOnclick(item: any) {
if (!!this.picked.find((i) => i.id === item.id)) {
if (this.picked.find((i) => i.id === item.id)) {
this.picked = this.picked.filter((i) => i.id !== item.id);
return;
}
......
......@@ -59,7 +59,7 @@
</template>
<script lang="ts">
import { Uploader } from "vant";
import Vue from "vue";
import { mapMutations, mapState } from "vuex";
export default Vue.extend({
......@@ -69,7 +69,7 @@ export default Vue.extend({
components: {
"Layout-Child": () => import("@/layout/Child.vue"),
"app-btn": () => import("@/components/common/Btn.vue"),
Uploader,
},
computed: {
...mapState("create", ["fileName"]),
......@@ -96,7 +96,10 @@ export default Vue.extend({
fileHash: ret,
file: file
});
} catch (err) {}
} catch (err) {
console.log(err);
}
},
},
});
......
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