6.4
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<view class="set-default">
|
||||
<view>设为默认地址</view>
|
||||
<view>
|
||||
<u-switch v-model="checked" active-color="#FF770F" inactive-color="##A9A7A7" size="35"></u-switch>
|
||||
<u-switch v-model="checked" active-color="#FF770F" inactive-color="#A9A7A7" size="35"></u-switch>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -35,7 +35,6 @@ export default {
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.address-active {
|
||||
// min-height: 100vh;
|
||||
.user-info {
|
||||
border-top: 1rpx solid rgba(235,235,235,1);
|
||||
> view {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
</u-radio>
|
||||
</view>
|
||||
<view class="address-operate">
|
||||
<view>
|
||||
<view @click="editAddress">
|
||||
<img src="@/pageE/static/mine/24.png" />
|
||||
<view>编辑</view>
|
||||
</view>
|
||||
@@ -71,82 +71,82 @@ export default {
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.address {
|
||||
padding-top: 1rpx;
|
||||
padding: 1rpx 0 40rpx;
|
||||
.u-radio-group {
|
||||
display: block;
|
||||
}
|
||||
.address-item {
|
||||
background-color: #ffffff;
|
||||
margin-bottom: 20rpx;
|
||||
padding: 30rpx;
|
||||
.item-top {
|
||||
position: relative;
|
||||
padding-bottom: 30rpx;
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 690rpx;
|
||||
height: 2rpx;
|
||||
background: rgba(241,241,241,1);
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
transform: translate(-50%,0);
|
||||
}
|
||||
.user-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 30rpx;
|
||||
.user-name {
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: rgba(51,51,51,1);
|
||||
margin-right: 13rpx;
|
||||
.address-item {
|
||||
background-color: #ffffff;
|
||||
margin-bottom: 20rpx;
|
||||
padding: 30rpx;
|
||||
.item-top {
|
||||
position: relative;
|
||||
padding-bottom: 30rpx;
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 690rpx;
|
||||
height: 2rpx;
|
||||
background: rgba(241,241,241,1);
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
transform: translate(-50%,0);
|
||||
}
|
||||
.user-pnone {
|
||||
font-size: 28rpx;
|
||||
color: rgba(51,51,51,1);
|
||||
}
|
||||
}
|
||||
.user-address {
|
||||
font-size: 26rpx;
|
||||
color: rgba(51,51,51,1);
|
||||
}
|
||||
}
|
||||
.item-bottom {
|
||||
padding-top: 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.item-default {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 22rpx;
|
||||
.radio-default {
|
||||
color: rgba(255,119,15,1);
|
||||
}
|
||||
.radio-others {
|
||||
color:rgba(153,153,153,1);
|
||||
}
|
||||
}
|
||||
.address-operate {
|
||||
display: flex;
|
||||
font-size: 24rpx;
|
||||
color: rgba(152,152,152,1);
|
||||
> view {
|
||||
.user-info {
|
||||
display: flex;
|
||||
&:not(:last-child) {
|
||||
margin-right: 30rpx;
|
||||
align-items: center;
|
||||
margin-bottom: 30rpx;
|
||||
.user-name {
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: rgba(51,51,51,1);
|
||||
margin-right: 13rpx;
|
||||
}
|
||||
> img {
|
||||
height: 23rpx;
|
||||
margin-right: 15rpx;
|
||||
.user-pnone {
|
||||
font-size: 28rpx;
|
||||
color: rgba(51,51,51,1);
|
||||
}
|
||||
}
|
||||
.user-address {
|
||||
font-size: 26rpx;
|
||||
color: rgba(51,51,51,1);
|
||||
}
|
||||
}
|
||||
.item-bottom {
|
||||
padding-top: 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.item-default {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 22rpx;
|
||||
.radio-default {
|
||||
color: rgba(255,119,15,1);
|
||||
}
|
||||
.radio-others {
|
||||
color:rgba(153,153,153,1);
|
||||
}
|
||||
}
|
||||
.address-operate {
|
||||
display: flex;
|
||||
font-size: 24rpx;
|
||||
color: rgba(152,152,152,1);
|
||||
> view {
|
||||
display: flex;
|
||||
&:not(:last-child) {
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
> img {
|
||||
height: 23rpx;
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.address-btn {
|
||||
margin: 322rpx auto 40rpx;
|
||||
margin: 322rpx auto 0;
|
||||
width: 690rpx;
|
||||
height: 98rpx;
|
||||
background: rgba(255,119,15,1);
|
||||
|
||||
47
components/mine/article-list/index.vue
Normal file
47
components/mine/article-list/index.vue
Normal file
@@ -0,0 +1,47 @@
|
||||
<template>
|
||||
<view class="article-list">
|
||||
<view v-for="(item, index) in articleList" :key="index" class="list-item" @click="toDetailsPage()">
|
||||
<view>{{ type }}</view>
|
||||
<img src="@/pageE/static/mine/21.png" />
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
props: {
|
||||
articleList: Array,
|
||||
type: String
|
||||
},
|
||||
methods: {
|
||||
toDetailsPage() {
|
||||
uni.navigateTo({
|
||||
url: '/pageE/mine/ArticleDetails?title=' + this.type
|
||||
});
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.article-list {
|
||||
min-height: calc(100vh-var(--custom-bar-height));
|
||||
background-color: #ECECEC;
|
||||
.list-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 98rpx;
|
||||
border-top: 2rpx solid #EBEBEB;
|
||||
background-color: #ffffff;
|
||||
padding: 0 30rpx;
|
||||
font-size: 30rpx;
|
||||
color: rgba(51,51,51,1);
|
||||
> img {
|
||||
width: 14rpx;
|
||||
height: 24rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user