123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- <template>
- <view style="position: relative;">
- <!-- 胶囊 -->
- <mvBar :mysNavConfig="mysNavConfig"></mvBar>
- <view style="height: 180rpx;width: 100%; position: fixed;background-color: #FFFFFF;top: 0;z-index: 8;">
- </view>
- <view class="menu">
- <view class="menu-item" @click="topersoninfo()">
- <p>个人资料</p>
- </view>
- <view class="menu-item" @click="tomylocation()">
- <p>收货地址</p>
- </view>
- <view class="menu-item" @click="tomyaccount()">
- <p>社媒账号</p>
- </view>
- <view class="menu-item">
- <p class='lor'>提现绑定</p>
- </view>
- </view>
- </view>
- </template>
- <script>
- import mvBar from "@/components/mys_navBar/mysNavBar";
- export default {
- components: {
- mvBar,
- },
- data() {
- return {
- mysNavConfig: {
- /* 开启单页显示首页图标 */
- isHome: true,
- /* 固定导航 */
- navFixed: true,
- /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
- navTitle: {
- text: "我的信息",
- color: "",
- fontSize: "32rpx", // px upx rpx
- fontWeight: "normal", // 100 - 700
- },
- btnType: "type2",
- onLeftClick: '/pages/mycenter/mycenter',
- /* type2 按钮 */
- type2Config: {
- // 左图标
- leftPath: "/static/img/png2.png",
- // 右图标
- rightPath: "/static/img/png4.png",
- // 圆角
- radius: "40rpx",
- },
- },
- }
- },
- methods: {
- tomylocation() {
- uni.navigateTo({
- url: './mylocation'
- });
- },
- topersoninfo() {
- uni.navigateTo({
- url: './personinfo'
- });
- },
- tomyaccount() {
- uni.navigateTo({
- url: './myaccount'
- });
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- view {
- font-size: 14px;
- line-height: inherit;
- }
- .menu {
- position: fixed;
- top: 180rpx;
- border-bottom: #FCCF41;
- background-color: #FFFFFF;
- justify-content: space-around;
- height: 5%;
- width: 100%;
- display: flex;
- z-index: 10;
- }
- .menu-item p {
- font-weight: 600;
- &.lor {
- border-bottom: 5rpx solid #F0D232;
- color: #F0D232;
- padding-bottom: 15rpx;
- }
- }
- </style>
|