| | |
| | | background: #fff; |
| | | |
| | | } |
| | | .component-bg{ |
| | | position: absolute; |
| | | left: 0; |
| | | right: 0; |
| | | bottom: 0; |
| | | top: 0; |
| | | width: 100%; |
| | | height: 100; |
| | | height: 100%; |
| | | z-index: -1; |
| | | } |
| | | .component-popup_input{ |
| | | margin: 0 auto; |
| | | margin-top: calc(50% + 200rpx); |
| | |
| | | /* $self-gray: #9a9da2; */ |
| | | :root { |
| | | :root,page { |
| | | --selfgray: #9a9da2; |
| | | --self_light_gray: #dce3e9; |
| | | --title_font_size: 60rpx; |
| | |
| | | font-family: PingFangSC-Regular, PingFang SC; |
| | | } |
| | | .topic-font{ |
| | | color: var(--topicolor); |
| | | color: var(--topicolor) !important; |
| | | } |
| | | .flex-wrap-normal{ |
| | | flex-wrap: nowrap; |
| | | } |
| | | .topic-gray{ |
| | | color: var(--topicgray); |
| | | } |
| | | .relative{ |
| | | position: relative; |
| | | } |
| | | .t-red{ |
| | | color: #CE3C39 !important; |
| | | } |
| | |
| | | "quickapp" : {}, |
| | | /* 快应用特有相关 */ |
| | | "mp-weixin" : { |
| | | "appid" : "wxafc5aaa0fc79532b", |
| | | "appid" : "wx3203fd935a6ffe09", |
| | | "setting" : { |
| | | "urlCheck" : false |
| | | "urlCheck" : false, |
| | | "es6" : true |
| | | }, |
| | | "usingComponents" : true, |
| | | "plugins" : { |
| | | "kdPlugin" : { |
| | | "version" : "1.1.2", |
| | | "provider" : "wx6885acbedba59c14" |
| | | } |
| | | } |
| | | "plugins" : {} |
| | | }, |
| | | "vueVersion" : "2" |
| | | } |
| | |
| | | 首页 |
| | | |
| | | </view> |
| | | <view class="flex m-t-20 user-info" v-if="currentInfo&&(currentInfo.id)"> |
| | | <view class="flex user-info" v-if="currentInfo&&(currentInfo.id)"> |
| | | <!-- 头像 --> |
| | | <image class="user-icon" v-if="!currentInfo.picture" src="../../static/imgs/home/home-shop-top-icon.png" |
| | | mode="aspectFit"></image> |
| | | <image class="user-icon" v-if="currentInfo.picture" :src="currentInfo.picture" mode="aspectFit"></image> |
| | | |
| | | <view class="name" style="margin-top: 12rpx;"> |
| | | <view class="name" > |
| | | <view class="t1">{{currentInfo.nickName || '-'}}</view> |
| | | <view class="t2 m-t-12">{{currentInfo.tel || '暂无电话'}}</view> |
| | | <view class="t2">{{currentInfo.tel || '暂无电话'}}</view> |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | <template> |
| | | <view class="main-container login-container img100" style="margin-top: 0rpx;"> |
| | | <view class="main-container login-container img100 relative" style="margin-top: 0rpx;"> |
| | | <!-- background-image:url('@/static/images/farmer/login/bg.png') --> |
| | | |
| | | <image class="component-bg" src="/static/images/farmer/login/bg.png" mode="scaleToFill" /> |
| | | <view class="t-login top-bg"> |
| | | <view class="nav-title">登录</view> |
| | | <view class="login"> |
| | |
| | | |
| | | .t-login .t-a { |
| | | position: relative; |
| | | |
| | | .get-code{ |
| | | position: absolute; |
| | | right: 40rpx; |
| | | top: 20rpx; |
| | | top: 25rpx; |
| | | } |
| | | } |
| | | |
| | |
| | | .login-container{ |
| | | min-height: 99vh; |
| | | background-image: url('@/static/images/farmer/login/bg.png'); |
| | | // background-image: url('@/static/images/farmer/login/bg.png'); |
| | | |
| | | .nav-title{ |
| | | font-weight: 400; |
| | | font-size: 32rpx; |
| | |
| | | 我的 |
| | | </view> --> |
| | | <!-- 背景图 --> |
| | | <view class="top-bg img100" :style="{'padding-top':(StatusBar)+'px','line-height':CustomBar+'rpx' }"> |
| | | <view class="top-bg img100 relative" :style="{'padding-top':(StatusBar)+'px','line-height':CustomBar+'rpx' }"> |
| | | <image class="component-bg" src="/static/images/farmer/user/bg.png" mode="scaleToFill" /> |
| | | |
| | | <view class="title" style="position: relative;"> |
| | | 我的 |
| | | |
| | | </view> |
| | | <view class="flex m-t-20 user-info" v-if="currentInfo&&(currentInfo.id)"> |
| | | <view class="flex user-info" v-if="currentInfo&&(currentInfo.id)"> |
| | | <!-- 头像 --> |
| | | <image class="user-icon" v-if="!currentInfo.picture" src="../../static/imgs/home/home-shop-top-icon.png" |
| | | mode="aspectFit"></image> |
| | | <image class="user-icon" v-if="currentInfo.picture" :src="currentInfo.picture" mode="aspectFit"></image> |
| | | |
| | | <view class="name" style="margin-top: 12rpx;"> |
| | | <view class="name"> |
| | | <view class="t1">{{currentInfo.nickName || '-'}}</view> |
| | | <view class="t2 m-t-12">{{currentInfo.tel || '暂无电话'}}</view> |
| | | <view class="t2">{{currentInfo.tel || '暂无电话'}}</view> |
| | | </view> |
| | | </view> |
| | | |
| | | |
| | | </view> |
| | | <view class="user-utils m-20"> |
| | |
| | | this.dto.picture = picture |
| | | } |
| | | |
| | | // #ifdef MP |
| | | |
| | | const { |
| | | code |
| | | } = await this.$http.request('post', "/api/current/user/update", { |
| | |
| | | // fullName: this.dto.nickName |
| | | } |
| | | }) |
| | | // #endif |
| | | |
| | | // // #ifndef MP |
| | | // if (!!this.dto.email) { |
| | | // if (!this.$util.isEmail(this.dto.email)) { |
| | |
| | | // // #endif |
| | | this.$message.hideLoading() |
| | | |
| | | // #ifdef MP |
| | | if (code == 0) { |
| | | this.$message.showToast('更新成功') |
| | | // this.$store.commit('updateInfo',this.dto) |
| | | // } |
| | | await this.$store.dispatch('getCurrentInfo'); |
| | | } |
| | | // #endif |
| | | |
| | | |
| | | |
| | | }, |
| | |
| | | |
| | | .user-info{ |
| | | padding: 28rpx 24rpx; |
| | | padding-bottom: 0rpx; |
| | | // background: #FFFFFF; |
| | | border-radius: 16rpx; |
| | | // line-height: 116rpx; |
| | |
| | | font-weight: 600; |
| | | font-size: 32rpx; |
| | | color: #000000; |
| | | .t1{ |
| | | line-height: 50rpx; |
| | | } |
| | | } |
| | | .user-icon{ |
| | | width: 116rpx; |
| | |
| | | <template> |
| | | <view class="main-container login-container img100" style="margin-top: 0rpx;"> |
| | | <view class="main-container login-container img100 relative" style="margin-top: 0rpx;"> |
| | | <image class="component-bg" src="/static/images/farmer/login/bg.png" mode="scaleToFill" /> |
| | | |
| | | <view class="t-login top-bg"> |
| | | <view class="nav-title">注册</view> |
| | |
| | | .get-code { |
| | | position: absolute; |
| | | right: 40rpx; |
| | | top: 20rpx; |
| | | top: 25rpx; |
| | | } |
| | | } |
| | | |
| | |
| | | </view> |
| | | <!-- 提交按钮 --> |
| | | <view class="line-gray" style="margin-bottom: 0px;"></view> |
| | | <view class="flex"> |
| | | <view class="flex flex-wrap-normal"> |
| | | <u-button type="default" class="w-fit flex1 " text="取消" |
| | | @click="()=>{$refs.popup_input.close()}"></u-button> |
| | | <view class="component-line-vert"></view> |
| | |
| | | .order-sale-list { |
| | | .order-sale-item { |
| | | margin-bottom: 20rpx; |
| | | padding: 28rpx; |
| | | padding: 22rpx; |
| | | |
| | | .title { |
| | | font-weight: 600; |
| | |
| | | |
| | | .form { |
| | | display: flex; |
| | | |
| | | flex-wrap: wrap; |
| | | .form-item { |
| | | flex: 1; |
| | | min-width: 40%; |