Explorar el Código

点击头像跳转到登录

yxb
DESKTOP-2IO5MST\huting hace 1 año
padre
commit
a32ed7e37f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      pages/user/user.vue

+ 2
- 1
pages/user/user.vue Ver fichero

@@ -8,7 +8,8 @@
<!-- <view class="content"> -->
<view class="head" :style="{ marinTop: margin + 'px' }">
<view class="avatar">
<image :src="`${$imgUrl}user/icon-avatar.png`" :class="!state.data.opId ? 'unlogin' : ''">
<image :src="`${$imgUrl}user/icon-avatar.png`" :class="!state.data.opId ? 'unlogin' : ''"
@click="$util.navTo('/login/login')">
</image>

<view v-if="!state.data.opId" class="name" @click="$util.navTo('/login/login')">

Cargando…
Cancelar
Guardar