Commit 42937986 authored by hanfeng zhang's avatar hanfeng zhang

312

parent cd259232
...@@ -11,17 +11,17 @@ ...@@ -11,17 +11,17 @@
<div class="px-2 text-sm text-font-dark-blue"> <div class="px-2 text-sm text-font-dark-blue">
{{ text }} {{ text }}
</div> </div>
<app-icon <app-icon
v-if="labelIcon" v-if="labelIcon"
:name="labelIcon" :name="labelIcon"
color="#ED6F6F" color="#ED6F6F"
@click.native="$emit('clickIcon')" @click.native="$emit('clickIcon')"
size="18px" size="18px"
></app-icon> ></app-icon>
</div> </div>
<div class="right flex items-center overflow-hidden"> <div class="right flex items-center overflow-hidden">
<div v-if="type == 'click'" @click="eventEmit(type)"> <div v-if="type == 'click'" @click="eventEmit(type)">
<div class="flex items-center flex-row-reverse"> <div class="flex items-center ">
<div class="text-sm">{{ value }}</div> <div class="text-sm">{{ value }}</div>
<app-icon v-if="icon" :name="icon" class="self-center"></app-icon> <app-icon v-if="icon" :name="icon" class="self-center"></app-icon>
</div> </div>
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
@input="cellOnChange" @input="cellOnChange"
/> />
</div> </div>
<input <input
v-if="type === 'input-num'" v-if="type === 'input-num'"
:value="inputValue" :value="inputValue"
...@@ -198,7 +199,7 @@ export default Vue.extend({ ...@@ -198,7 +199,7 @@ export default Vue.extend({
handleClickCopy() { handleClickCopy() {
const btn = this.$refs.btn as HTMLElement; const btn = this.$refs.btn as HTMLElement;
new Clipboard(btn); new Clipboard(btn);
this.$toast('复制成功') this.$toast("复制成功");
}, },
onCancel() {}, onCancel() {},
onSelect(value: any) { onSelect(value: any) {
......
...@@ -5,5 +5,4 @@ export class Common extends Service { ...@@ -5,5 +5,4 @@ export class Common extends Service {
super() super()
} }
} }
...@@ -38,6 +38,7 @@ import Vue from 'vue'; ...@@ -38,6 +38,7 @@ import Vue from 'vue';
import { Badge } from 'vant'; import { Badge } from 'vant';
import { Empty } from 'vant'; import { Empty } from 'vant';
import {BreedingRhombusSpinner} from 'epic-spinners' import {BreedingRhombusSpinner} from 'epic-spinners'
Vue.use(Empty); Vue.use(Empty);
Vue.use(Badge) Vue.use(Badge)
export default Vue.extend({ export default Vue.extend({
......
...@@ -161,7 +161,6 @@ export default Vue.extend({ ...@@ -161,7 +161,6 @@ export default Vue.extend({
}, },
async created() { async created() {
this.nftData =await this.$service.nftService.getNFTdetail(parseInt(this.id)) this.nftData =await this.$service.nftService.getNFTdetail(parseInt(this.id))
console.log(this.nftData.wallet);
this.nftData.wallet == this.user.wallet? this.isOwner=true:this.isOwner=false this.nftData.wallet == this.user.wallet? this.isOwner=true:this.isOwner=false
await this.setMyCollection() await this.setMyCollection()
}, },
......
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