个人中心主页位置

This commit is contained in:
ghusermoon 2020-06-11 10:25:02 +08:00
parent 19aaa9960e
commit 2edbc371ed
26 changed files with 42 additions and 70 deletions

View File

@ -173,7 +173,7 @@ export default {
.coupon-btn {
margin-left: auto;
width: 85rpx;
height: 42rpx;
// height: 42rpx;
border: 2rpx solid rgba(255,120,15,1);
border-radius: 10rpx;
font-size: 26rpx;

View File

@ -207,27 +207,6 @@
{
"root": "pageE",
"pages":[
{
"path": "mine/MineIndex",
"style": {
"navigationBarTitleText": "我的",
"app-plus": {
"titleSize": "36px",
"titleNView": {
"titleColor": "#333333",
"backgroundColor": "#FFFFFF",
"buttons": [
{
"type": "none",
"text": "\ue502",
"float": "right",
"fontSize": "14"
}
]
}
}
}
},
{
"path": "tool/MineHistory",
"style": {
@ -667,37 +646,29 @@
"navigationBarTitleText": "首页",
"navigationStyle": "custom"
}
},
{
"path": "pages/mine/index",
"style": {
"navigationBarTitleText": "我的",
"app-plus": {
"titleSize": "36px",
"titleNView": {
"titleColor": "#333333",
"backgroundColor": "#FFFFFF",
"buttons": [
{
"type": "none",
"text": "\ue502",
"float": "right",
"fontSize": "14"
}
]
}
}
}
}
],
"tabBar": {
"color": "#999999",
"selectedColor": "#FF780F",
"backgroundColor": "#ffffff",
"fontSize": "12",
"iconWidth": "20",
"spacing": "7",
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/image/home.png",
"selectedIconPath": "static/image/home2.png",
"text": "首页"
}, {
"pagePath": "pages/API/index",
"iconPath": "static/image/mall.png",
"selectedIconPath": "static/image/mall2.png",
"text": "商城"
}, {
"pagePath": "pages/API/index",
"iconPath": "static/image/message.png",
"selectedIconPath": "static/image/message2.png",
"text": "消息"
}, {
"pagePath": "pageE/mine/MineIndex",
"iconPath": "static/image/mine.png",
"selectedIconPath": "static/image/mine2.png",
"text": "我的"
}]
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",

View File

@ -2,12 +2,12 @@
<view class="mine">
<view class="mine-top">
<view class="top">
<img src="../static/mine/23.png" class="avatar" @click="toOtherPage('/mine/MineInfo')" />
<image src="/static/image/mine/23.png" class="avatar" @click="toOtherPage('/mine/MineInfo')" />
<view class="user-info">
<view class="info-left">
<view class="user-nickname" @click="toOtherPage('/mine/MineInfo')">小同学</view>
<view class="user-medal" @click="toOtherPage('/mine/MedalIntroduction')">
<img src="../static/mine/13.png" />
<img src="/static/image/mine/13.png" />
<view class="rank-title">勋章</view>
</view>
</view>
@ -47,32 +47,32 @@
<view class="title-text">我的订单</view>
<view class="more" @click="toOtherPage('/order/Index')">
<view>查看全部订单</view>
<img src="../static/mine/21.png" />
<img src="/static/image/mine/21.png" />
</view>
</view>
<view class="content">
<view @click="toOtherPage('/order/Index?current=1')">
<img src="../static/mine/6.png" />
<img src="/static/image/mine/6.png" />
<view>待支付</view>
</view>
<view @click="toOtherPage('/order/Index?current=2')">
<img src="../static/mine/14.png" />
<img src="/static/image/mine/14.png" />
<view>已取消</view>
</view>
<view @click="toOtherPage('/order/Index?current=3')">
<img src="../static/mine/2.png" />
<img src="/static/image/mine/2.png" />
<view>待收货</view>
</view>
<view @click="toOtherPage('/order/Index?current=4')">
<img src="../static/mine/1.png" />
<img src="/static/image/mine/1.png" />
<view>试穿试送</view>
</view>
<view @click="toOtherPage('/order/Index?current=5')">
<img src="../static/mine/3.png" />
<img src="/static/image/mine/3.png" />
<view>待评价</view>
</view>
<view @click="toOtherPage('/order/Index?current=6')">
<img src="../static/mine/9.png" />
<img src="/static/image/mine/9.png" />
<view>售后</view>
</view>
</view>
@ -81,15 +81,15 @@
<view class="title">我的工具</view>
<view class="content">
<view @click="toOtherPage('/tool/SendWash')">
<img src="../static/mine/20.png" />
<img src="/static/image/mine/20.png" />
<view>送洗</view>
</view>
<view @click="toOtherPage('/tool/Manicure')">
<img src="../static/mine/19.png" />
<img src="/static/image/mine/19.png" />
<view>美甲</view>
</view>
<view @click="toOtherPage('/tool/MineHistory')">
<img src="../static/mine/18.png" />
<img src="/static/image/mine/18.png" />
<view>足迹</view>
</view>
</view>
@ -98,19 +98,19 @@
<view class="title">更多工具</view>
<view class="content">
<view @click="toOtherPage('/more/Address')">
<img src="../static/mine/17.png" />
<img src="/static/image/mine/17.png" />
<view>收货地址</view>
</view>
<view @click="toOtherPage('/more/AfterSalesHelp')">
<img src="../static/mine/9.png" />
<img src="/static/image/mine/9.png" />
<view>售后政策</view>
</view>
<view @click="toOtherPage('/more/MineHelp')">
<img src="../static/mine/16.png" />
<img src="/static/image/mine/16.png" />
<view>使用帮助</view>
</view>
<view @click="toOtherPage('/more/Complaints')">
<img src="../static/mine/15.png" />
<img src="/static/image/mine/15.png" />
<view>投诉意见</view>
</view>
</view>
@ -128,12 +128,12 @@ export default {
},
onLoad() {},
onNavigationBarButtonTap() {
console.log("setting");
this.toOtherPage("/setting/Index");
// console.log("setting");
this.toOtherPage("/pageE/setting/Index");
},
methods: {
toOtherPage(url) {
console.log(url);
// console.log(url);
uni.navigateTo({
url: '/pageE' + url
});
@ -160,6 +160,7 @@ export default {
border-radius: 50%;
border: 2rpx solid rgba(251,251,251,1);
margin-right: 30rpx;
flex-shrink: 0;
}
.user-info {
display: flex;

BIN
static/image/mine/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
static/image/mine/13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
static/image/mine/14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
static/image/mine/15.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

BIN
static/image/mine/16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

BIN
static/image/mine/17.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

BIN
static/image/mine/18.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

BIN
static/image/mine/19.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

BIN
static/image/mine/2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
static/image/mine/20.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

BIN
static/image/mine/21.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
static/image/mine/23.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

BIN
static/image/mine/3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
static/image/mine/6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
static/image/mine/9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB