| | |
| | | url: '/pages/webView/index', |
| | | success: function (res) { |
| | | res.eventChannel.emit('data', { |
| | | link: item.content |
| | | link: item.openContent || item.content |
| | | }); |
| | | } |
| | | }) |
| | |
| | | overflow : hidden; |
| | | text-overflow: ellipsis; |
| | | display: -webkit-box; |
| | | -webkit-line-clamp: 2; |
| | | -webkit-line-clamp: 1; |
| | | -webkit-box-orient: vertical; |
| | | } |
| | | .icon{ |
| | |
| | | .left { |
| | | flex: 1; |
| | | display: flex; |
| | | align-items: flex-end; |
| | | align-items: center; |
| | | margin-top: 12rpx; |
| | | |
| | | .name { |
| | | font-weight: 600; |
| | |
| | | }) |
| | | }, |
| | | methods: { |
| | | handleShare() { |
| | | let map = [ |
| | | '/pages/detailDis/product', |
| | | '/pages/detailDis/case', |
| | | '/pages/detailDis/realpic', |
| | | '/pages/consult/detail', |
| | | ] |
| | | const { info, path} = this.data |
| | | wx.navigateToMiniProgram({ |
| | | appId: 'wx208dd1edc0be24ee', |
| | | path: map[path], |
| | | envVersion: 'trial', |
| | | extraData: { |
| | | id: info.id, |
| | | origin: 'b' |
| | | } |
| | | }) |
| | | }, |
| | | handleEnjoy() { |
| | | const { |
| | | info |
| | |
| | | <!-- --> |
| | | <view wx:if="{{ showShare }}" class="shade_modal" style="padding-bottom: {{bottomLift}}px;"> |
| | | <view class="btns"> |
| | | <button open-type="share" class="item" bindtap="handleShare"> |
| | | <button class="item" bindtap="handleShare"> |
| | | <image src="../../static/icon/wechat.png"></image> |
| | | <view>小程序分享</view> |
| | | </button> |
| | |
| | | this.getDetail(options.id) |
| | | }, |
| | | handleDesign() { |
| | | wx.navigateTo({ |
| | | url: '/pages/design/design', |
| | | wx.navigateToMiniProgram({ |
| | | appId: 'wx208dd1edc0be24ee', |
| | | path: '/pages/consult/detail', |
| | | envVersion: 'trial', |
| | | extraData: { |
| | | id: this.data.info.id, |
| | | origin: 'b' |
| | | } |
| | | }) |
| | | }, |
| | | getDetail(id) { |
| | |
| | | <image class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image> |
| | | <view class="name">收藏</view> |
| | | </view> --> |
| | | <button open-type="share" class="item" bindtap="handleShare"> |
| | | <image class="icon" src="../../static/icon/detail_nav_share.png" mode="widthFix"></image> |
| | | <view class="name">分享</view> |
| | | </button> |
| | | <view class="sub_btn" bindtap="handleDesign"> |
| | | <image class="sheji" src="../../static/icon/ic_sheji.png" mode="widthFix"></image> |
| | | <view>免费预约专属设计</view> |
| | | <view>分享</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | |
| | | .bg_wrap { |
| | | width: 750rpx; |
| | | height: 400rpx; |
| | |
| | | position: fixed; |
| | | top: 0; |
| | | left: 0; |
| | | z-index: 1; |
| | | z-index: -1; |
| | | } |
| | | |
| | | .container { |
| | | padding: 26rpx 40rpx; |
| | | background-color: #fff; |
| | | .avatar { |
| | | margin-top: 260rpx; |
| | | width: 140rpx; |
| | | height: 140rpx; |
| | | border-radius: 50%; |
| | | border: 4rpx solid #FFFFFF; |
| | | position: relative; |
| | | z-index: 2; |
| | | } |
| | | .desc { |
| | | display: flex; |
| | |
| | | margin-bottom: 40rpx; |
| | | color: #333333; |
| | | position: relative; |
| | | .text{ |
| | | width: 100%; |
| | | overflow : hidden; |
| | | text-overflow: ellipsis; |
| | | display: -webkit-box; |
| | | -webkit-line-clamp: 1; |
| | | -webkit-box-orient: vertical; |
| | | } |
| | | .icon{ |
| | | position: absolute; |
| | | background: #F7F7F7; |
| | |
| | | } |
| | | image { |
| | | width: 32rpx; |
| | | height: 32rpx; |
| | | margin-right: 20rpx; |
| | | } |
| | | } |
| | |
| | | .left { |
| | | flex: 1; |
| | | display: flex; |
| | | align-items: flex-end; |
| | | |
| | | align-items: center; |
| | | margin-top: 12rpx; |
| | | .name { |
| | | font-weight: 600; |
| | | font-size: 36rpx; |
| | |
| | | display: flex; |
| | | justify-content: space-between; |
| | | margin-bottom: 60rpx; |
| | | |
| | | .card { |
| | | width: 320rpx; |
| | | height: 156rpx; |
| | | padding: 28rpx 40rpx; |
| | | background-color: #f7f7f7; |
| | | border-radius: 8rpx; |
| | | font-size: 26rpx; |
| | | color: #333333; |
| | | position: relative; |
| | | .bg{ |
| | | width: 100%; |
| | | height: 100%; |
| | | position: absolute; |
| | | z-index: -1; |
| | | top: 0; |
| | | left: 0; |
| | | |
| | | } |
| | | .num { |
| | | color: var(--themeColor); |
| | | margin-top: 8rpx; |
| | |
| | | |
| | | .line { |
| | | display: flex; |
| | | align-items: flex-start; |
| | | font-size: 30rpx; |
| | | margin-bottom: 40rpx; |
| | | margin-bottom: 42rpx; |
| | | .icon { |
| | | width: 30rpx; |
| | | margin-top: 6rpx; |
| | | } |
| | | .label { |
| | | color: #777777; |
| | | margin-left: 24rpx; |
| | | margin-right: 44rpx; |
| | | width: 140rpx; |
| | | } |
| | | .val{ |
| | | flex: 1; |
| | |
| | | border-radius: 8rpx; |
| | | flex: 1; |
| | | image{ |
| | | width: 36rpx; |
| | | width: 32rpx; |
| | | margin-right: 12rpx; |
| | | } |
| | | } |
| | |
| | | font-size: 26rpx; |
| | | color: #999999; |
| | | text-align: center; |
| | | } |
| | | } |
| | | .card_wrap{ |
| | | position: fixed; |
| | | border-radius: 8rpx; |
| | | top: 50%; |
| | | left: 75rpx; |
| | | transform: translate(0, -50%); |
| | | width: 600rpx; |
| | | background-color: rgba(0, 0, 0, .2); |
| | | z-index: 999; |
| | | .img1{ |
| | | image{ |
| | | width: 600rpx; |
| | | border-radius: 8rpx ; |
| | | } |
| | | } |
| | | .btns{ |
| | | margin-top: 30rpx; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | width: 100%; |
| | | .btn{ |
| | | width: 290rpx; |
| | | height: 88rpx; |
| | | border-radius: 8rpx; |
| | | border: 2rpx solid #FFFFFF; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | color: #fff; |
| | | } |
| | | .save{ |
| | | border: none; |
| | | background: linear-gradient( 180deg, #E0B49C 0%, #B68B74 100%); |
| | | } |
| | | } |
| | | } |
| | |
| | | <view class="tag">导购</view> |
| | | <!-- <view class="tag">5年经验</view> --> |
| | | </view> |
| | | <image bind:tap="showQrcode" class="qrcode" src="../../static/icon/mingpian_erweima@2x.png" mode="widthFix"></image> |
| | | <image wx:if="{{ userInfo.qrcodeImgFull }}" bind:tap="showQrcode" class="qrcode" src="../../static/icon/mingpian_erweima@2x.png" mode="widthFix"></image> |
| | | </view> |
| | | <view class="desc"> |
| | | <image src="../../static/icon/mingpian_ic_edit@2x.png" mode="widthFix"></image> |
| | | <view>{{userInfo.slogans}}</view> |
| | | <view class="text">{{userInfo.slogans}}</view> |
| | | <view class="icon"></view> |
| | | </view> |
| | | <view class="static"> |
| | | <view class="card"> |
| | | <image src="../../static/images/mingpian_bg_nianxian.png" class="bg"></image> |
| | | <view>从业年限</view> |
| | | <view class="num">{{userInfo.jobDate||'0'}}</view> |
| | | <view class="num">{{ info.jobDate || '5' }}</view> |
| | | </view> |
| | | <view class="card"> |
| | | <image src="../../static/images/mingpian_bg_kehu.png" class="bg"></image> |
| | | <view>服务客户</view> |
| | | <view class="num">{{userInfo.costomerNum||'0'}}</view> |
| | | <view class="num" wx:if="{{ info.costomerNum || info.costomerNum == 0 }}">{{ info.costomerNum || '--' }}+</view> |
| | | <view wx:else class="num">--</view> |
| | | </view> |
| | | </view> |
| | | <view class="guide"> |
| | |
| | | <image class="avatar" src="{{userInfo.imgurlFull ? userInfo.imgurlFull : '../../static/images/default_avatar.png'}}"></image> |
| | | <view class="content"> |
| | | <view class="name">{{userInfo.name}}</view> |
| | | <view class="desc">导购 | {{userInfo.jobDate ||'0'}}年经验</view> |
| | | <view class="desc">导购 | {{userInfo.jobDate ||'5'}}年经验</view> |
| | | </view> |
| | | </view> |
| | | <image class="qrcode" src="{{userInfo.qrcodeImgFull}}"></image> |
| | |
| | | position: fixed; |
| | | top: 0; |
| | | left: 0; |
| | | z-index: 1; |
| | | z-index: -1; |
| | | } |
| | | .container { |
| | | padding: 26rpx 40rpx; |
| | | background-color: #fff; |
| | | } |
| | | .container .avatar { |
| | | margin-top: 260rpx; |
| | |
| | | height: 140rpx; |
| | | border-radius: 50%; |
| | | border: 4rpx solid #FFFFFF; |
| | | position: relative; |
| | | z-index: 2; |
| | | } |
| | | .container .desc { |
| | | display: flex; |
| | |
| | | color: #333333; |
| | | position: relative; |
| | | } |
| | | .container .desc .text { |
| | | width: 100%; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | display: -webkit-box; |
| | | -webkit-line-clamp: 1; |
| | | -webkit-box-orient: vertical; |
| | | } |
| | | .container .desc .icon { |
| | | position: absolute; |
| | | background: #F7F7F7; |
| | |
| | | } |
| | | .container .desc image { |
| | | width: 32rpx; |
| | | height: 32rpx; |
| | | margin-right: 20rpx; |
| | | } |
| | | .name_wrap { |
| | |
| | | .name_wrap .left { |
| | | flex: 1; |
| | | display: flex; |
| | | align-items: flex-end; |
| | | align-items: center; |
| | | margin-top: 12rpx; |
| | | } |
| | | .name_wrap .left .name { |
| | | font-weight: 600; |
| | |
| | | width: 320rpx; |
| | | height: 156rpx; |
| | | padding: 28rpx 40rpx; |
| | | background-color: #f7f7f7; |
| | | border-radius: 8rpx; |
| | | font-size: 26rpx; |
| | | color: #333333; |
| | | position: relative; |
| | | } |
| | | .static .card .bg { |
| | | width: 100%; |
| | | height: 100%; |
| | | position: absolute; |
| | | z-index: -1; |
| | | top: 0; |
| | | left: 0; |
| | | } |
| | | .static .card .num { |
| | | color: var(--themeColor); |
| | |
| | | } |
| | | .guide .line { |
| | | display: flex; |
| | | align-items: flex-start; |
| | | font-size: 30rpx; |
| | | margin-bottom: 40rpx; |
| | | margin-bottom: 42rpx; |
| | | } |
| | | .guide .line .icon { |
| | | width: 30rpx; |
| | | margin-top: 6rpx; |
| | | } |
| | | .guide .line .label { |
| | | color: #777777; |
| | | margin-left: 24rpx; |
| | | margin-right: 44rpx; |
| | | width: 140rpx; |
| | | } |
| | | .guide .line .val { |
| | | flex: 1; |
| | |
| | | flex: 1; |
| | | } |
| | | .footer .btn image { |
| | | width: 36rpx; |
| | | width: 32rpx; |
| | | margin-right: 12rpx; |
| | | } |
| | | .modal { |
| | |
| | | font-size: 26rpx; |
| | | color: #999999; |
| | | text-align: center; |
| | | } |
| | | .card_wrap { |
| | | position: fixed; |
| | | border-radius: 8rpx; |
| | | top: 50%; |
| | | left: 75rpx; |
| | | transform: translate(0, -50%); |
| | | width: 600rpx; |
| | | background-color: rgba(0, 0, 0, 0.2); |
| | | z-index: 999; |
| | | } |
| | | .card_wrap .img1 image { |
| | | width: 600rpx; |
| | | border-radius: 8rpx ; |
| | | } |
| | | .card_wrap .btns { |
| | | margin-top: 30rpx; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | width: 100%; |
| | | } |
| | | .card_wrap .btns .btn { |
| | | width: 290rpx; |
| | | height: 88rpx; |
| | | border-radius: 8rpx; |
| | | border: 2rpx solid #FFFFFF; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | color: #fff; |
| | | } |
| | | .card_wrap .btns .save { |
| | | border: none; |
| | | background: linear-gradient(180deg, #E0B49C 0%, #B68B74 100%); |
| | | } |
| | |
| | | "query": "", |
| | | "launchMode": "default", |
| | | "scene": null |
| | | }, |
| | | { |
| | | "name": "", |
| | | "pathName": "pages/consult/detail", |
| | | "query": "id=1813577799402684418", |
| | | "launchMode": "default", |
| | | "scene": null |
| | | } |
| | | ] |
| | | } |