...
This commit is contained in:
@@ -75,17 +75,17 @@ const officialAccountDialogRef = ref();
|
||||
const orderActionList = ref([{
|
||||
title: '进行中',
|
||||
icon: assetsUrl('ic_order_progressing.png'),
|
||||
path: '/pages/mine/subs/order/order-list',
|
||||
path: '/pages/mine/subs/order/index',
|
||||
amount: 10
|
||||
}, {
|
||||
title: '已结束',
|
||||
icon: assetsUrl('ic_order_finish.png'),
|
||||
path: '/pages/mine/subs/order/order-list?index=1',
|
||||
path: '/pages/mine/subs/order/index?index=1',
|
||||
amount: 0
|
||||
}, {
|
||||
title: '全部订单',
|
||||
icon: assetsUrl('ic_order_all.png'),
|
||||
path: '/pages/mine/subs/order/order-list?index=2',
|
||||
path: '/pages/mine/subs/order/index?index=2',
|
||||
amount: 0
|
||||
}]);
|
||||
|
||||
@@ -108,7 +108,7 @@ const serviceList = [
|
||||
{
|
||||
title: '收货地址',
|
||||
icon: assetsUrl('ic_member_service_address.png'),
|
||||
path: '/pages/mine/subs/address/address-list'
|
||||
path: '/pages/mine/subs/address/index'
|
||||
}, {
|
||||
title: '联系商家',
|
||||
icon: assetsUrl('ic_member_service_contact.png'),
|
||||
|
@@ -93,7 +93,7 @@ const save = () => {
|
||||
|
||||
view:nth-of-type(1) {
|
||||
flex: 1;
|
||||
margin: 5rpx 20rpx 0 0;
|
||||
margin: 0 20rpx 0 0;
|
||||
}
|
||||
|
||||
textarea {
|
@@ -1,18 +1,18 @@
|
||||
<template>
|
||||
<view class='content'>
|
||||
<scroll-view :scroll-y='true'>
|
||||
<address-item v-for='(item,index) in addressList' :key='index' :item='item' />
|
||||
<item v-for='(item,index) in addressList' :key='index' :item='item' />
|
||||
</scroll-view>
|
||||
|
||||
<view class='bottom-button-view'>
|
||||
<button class='primary-button' @click.stop='goPath("add-address")'>+新增地址</button>
|
||||
<button class='primary-button' @click.stop='goPath("create")'>+新增地址</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script lang='ts' setup>
|
||||
|
||||
import AddressItem from './components/address-item.vue';
|
||||
import Item from './components/item.vue';
|
||||
import { goPath } from '@/utils';
|
||||
import { getAddressList } from '@/api/user';
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class='card-view' @click.stop='goPath("/pages/mine/subs/order/order-detail")'>
|
||||
<view class='card-view' @click.stop='goPath("/pages/mine/subs/order/detail")'>
|
||||
<view class='goods-info-view c-flex-row'>
|
||||
<image class='goods-image' :src='assetsUrl("test_bg.png")' />
|
||||
<view class='c-flex-column' style='flex: 1;'>
|
||||
|
@@ -2,8 +2,8 @@
|
||||
<view class='content'>
|
||||
<view class='top-card-view'>
|
||||
<image class='bg-image' :src='assetsUrl("test_bg.png")' />
|
||||
<image class='avatar-image' :src='assetsUrl("test_bg.png")' />
|
||||
<text>设计小仙女</text>
|
||||
<image class='avatar-image' :src='userInfo.image' />
|
||||
<text>{{userInfo.nickName}}</text>
|
||||
<text>会员卡</text>
|
||||
</view>
|
||||
|
||||
@@ -11,20 +11,20 @@
|
||||
<view class='c-flex-row'>
|
||||
<text>头像</text>
|
||||
<view class='avatar-view'>
|
||||
<image class='avatar-image' :src='assetsUrl("test_bg.png")' />
|
||||
<image class='avatar-image' :src='userInfo.image' />
|
||||
<button class='avatar-btn' open-type='chooseAvatar' />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class='c-flex-row'>
|
||||
<text class='nickname'>姓名</text>
|
||||
<input placeholder='请输入姓名' type='nickname' />
|
||||
<input placeholder='请输入姓名' type='nickname' v-model='userInfo.nickName' />
|
||||
</view>
|
||||
|
||||
<view class='divider' />
|
||||
<view class='c-flex-row'>
|
||||
<text>手机号</text>
|
||||
<input placeholder='15523653265' />
|
||||
<input placeholder='15523653265' v-model='userInfo.telephone'/>
|
||||
</view>
|
||||
|
||||
<view class='divider' />
|
||||
@@ -57,6 +57,10 @@
|
||||
|
||||
<script lang='ts' setup>
|
||||
import { assetsUrl } from '@/utils/assets';
|
||||
import { useUserStore } from '@/store';
|
||||
|
||||
const store= useUserStore()
|
||||
const {userInfo} = storeToRefs(store)
|
||||
|
||||
const currentGender = ref<number>(0);
|
||||
|
||||
|
Reference in New Issue
Block a user