Merge remote-tracking branch 'origin/master'
| | |
| | | * 组件的方法列表 |
| | | */ |
| | | methods: { |
| | | |
| | | callPhone() { |
| | | wx.makePhoneCall({ |
| | | phoneNumber: this.data.users.phone |
| | | }) |
| | | }, |
| | | jumpCard() { |
| | | wx.navigateTo({ |
| | | url: '/pages/store/staff?id=' + this.data.users.iamId, |
| | | }) |
| | | }, |
| | | } |
| | | }) |
| | |
| | | align-items: center; |
| | | justify-content: center; |
| | | margin-left: 70rpx; |
| | | font-size: 20rpx; |
| | | color: #333333; |
| | | .icon{ |
| | | margin-bottom: 4rpx; |
| | | width: 44rpx; |
| | | height: 44rpx; |
| | | } |
| | |
| | | <view class="desc">导购|{{ users.jobDate || 1 }}年经验</view> |
| | | </view> |
| | | <view class="btns"> |
| | | <view class="item"> |
| | | <image class="icon" src="../../static/icon/mingpian_bg_nianxian@2x.png"></image> |
| | | <view bindtap="jumpCard" class="item"> |
| | | <image class="icon" src="../../static/icon/ic_mingpian.png"></image> |
| | | <text>名片</text> |
| | | </view> |
| | | <view class="item"> |
| | | <image class="icon" src="../../static/icon/mingpian_bg_nianxian@2x.png"></image> |
| | | <text>名片</text> |
| | | <view bindtap="callPhone" class="item"> |
| | | <image class="icon" src="../../static/icon/ic_dianhua.png"></image> |
| | | <text>打电话</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | align-items: center; |
| | | justify-content: center; |
| | | margin-left: 70rpx; |
| | | font-size: 20rpx; |
| | | color: #333333; |
| | | } |
| | | .user .btns .item .icon { |
| | | margin-bottom: 4rpx; |
| | | width: 44rpx; |
| | | height: 44rpx; |
| | | } |
| | |
| | | { |
| | | "usingComponents": { |
| | | "idCard": "../../components/idCard/index" |
| | | }, |
| | | "navigationBarTitleText": "资讯" |
| | | } |
| | |
| | | this.setData({ |
| | | bottomLift: app.bottomLift |
| | | }) |
| | | this.getDetail(options.id) |
| | | this.getDetail(options.id, options.userId || '') |
| | | }, |
| | | handleDesign() { |
| | | wx.navigateTo({ |
| | | url: '/pages/design/design', |
| | | }) |
| | | }, |
| | | getDetail(id) { |
| | | getProductNewsInfo({ id }).then(res => { |
| | | getDetail(id, userId) { |
| | | getProductNewsInfo({ id, salesId: userId || null }).then(res => { |
| | | this.setData({ info: res.data }) |
| | | wx.setNavigationBarTitle({ |
| | | title: res.data.title |
| | |
| | | <view> |
| | | <!-- <navBar title="{{ navTitle }}"></navBar> --> |
| | | <!-- 名片 --> |
| | | <idCard users="{{ info.users }}" wx:if="{{ info.users && info.users.id }}" /> |
| | | <view class="main_content"> |
| | | <view class="main_title">{{ info.title }}</view> |
| | | <view class="datetime">发布时间:{{ info.publishDt }}</view> |
| | |
| | | this.setData({ |
| | | bottomLift: app.bottomLift |
| | | }) |
| | | this.getDetail(options.id) |
| | | this.getDetail(options.id, options.userId || '') |
| | | actionDo({ |
| | | actionType: 'view', |
| | | id: options.id |
| | |
| | | }) |
| | | }) |
| | | }, |
| | | getDetail(id) { |
| | | getWholecaseInfo({id}).then(res => { |
| | | getDetail(id, userId) { |
| | | getWholecaseInfo({id, salesId: userId || null}).then(res => { |
| | | this.setData({ info: res.data }) |
| | | wx.setNavigationBarTitle({ |
| | | title: res.data.title |
| | |
| | | { |
| | | "usingComponents": { |
| | | "van-popup": "@vant/weapp/popup/index", |
| | | "idCard": "../../components/idCard/index", |
| | | "mp-html": "mp-html" |
| | | }, |
| | | "navigationBarTitleText": "" |
| | |
| | | <view class="container"> |
| | | <!-- 名片 --> |
| | | <idCard users="{{ info.users }}" wx:if="{{ info.users && info.users.id }}" /> |
| | | <view class="main_title">{{ info.title }}</view> |
| | | <view class="time">发布时间:{{ info.publishDt }}</view> |
| | | <view class="fullview_wrap"> |
| | |
| | | this.setData({ |
| | | bottomLift: app.bottomLift |
| | | }) |
| | | this.getDetail(options.id) |
| | | this.getDetail(options.id, options.userId || '') |
| | | actionDo({ |
| | | actionType: 'view', |
| | | id: options.id |
| | |
| | | this.setData({info}) |
| | | }) |
| | | }, |
| | | getDetail(id) { |
| | | getRealcaseInfo({id}).then(res => { |
| | | getDetail(id, userId) { |
| | | getRealcaseInfo({id, salesId: userId || null}).then(res => { |
| | | this.setData({ info: res.data }) |
| | | wx.setNavigationBarTitle({ |
| | | title: res.data.title |
| | |
| | | { |
| | | "usingComponents": { |
| | | "van-popup": "@vant/weapp/popup/index" |
| | | "van-popup": "@vant/weapp/popup/index", |
| | | "idCard": "../../components/idCard/index" |
| | | }, |
| | | "navigationBarTitleText": "" |
| | | } |
| | |
| | | <view class="container"> |
| | | <!-- 名片 --> |
| | | <idCard users="{{ info.users }}" wx:if="{{ info.users && info.users.id }}" /> |
| | | <view class="main_title">{{ info.title }}</view> |
| | | <view class="time">发布时间:{{ info.publishDt }}</view> |
| | | <image class="info_item" wx:for="{{ info.contentImgList }}" src="{{ item }}" mode="widthFix"></image> |
| | |
| | | |
| | | .line { |
| | | display: flex; |
| | | align-items: center; |
| | | font-size: 30rpx; |
| | | margin-bottom: 42rpx; |
| | | .icon { |
| | |
| | | margin-left: 24rpx; |
| | | margin-right: 44rpx; |
| | | } |
| | | .val{ |
| | | flex: 1; |
| | | } |
| | | } |
| | | } |
| | | .footer{ |
| | |
| | | <view class="card"> |
| | | <image src="../../static/images/mingpian_bg_nianxian.png" class="bg"></image> |
| | | <view>从业年限</view> |
| | | <view class="num">{{ info.jobDate || '-' }}</view> |
| | | <view class="num">{{ info.jobDate || '1' }}</view> |
| | | </view> |
| | | <view class="card"> |
| | | <image src="../../static/images/mingpian_bg_kehu.png" class="bg"></image> |
| | |
| | | } |
| | | .guide .line { |
| | | display: flex; |
| | | align-items: center; |
| | | font-size: 30rpx; |
| | | margin-bottom: 42rpx; |
| | | } |
| | |
| | | margin-left: 24rpx; |
| | | margin-right: 44rpx; |
| | | } |
| | | .guide .line .val { |
| | | flex: 1; |
| | | } |
| | | .footer { |
| | | display: flex; |
| | | align-items: center; |
| | |
| | | }, |
| | | { |
| | | "name": "", |
| | | "pathName": "pages/kefu/index", |
| | | "pathName": "pages/store/staff", |
| | | "query": "", |
| | | "launchMode": "default", |
| | | "scene": null |
| | |
| | | |
| | | |
| | | // export const baseUrl = 'https://jiaxuan.zbom.com/jx/wechat/' //正式服务器 |
| | | export const baseUrl = 'http://192.168.0.135:10027' // 本地 |
| | | // export const baseUrl = 'https://dmtest.ahapp.net/web_interface' //测试服务器 |
| | | |
| | | // export const baseUrl = 'http://192.168.0.135:10027' // 本地 |
| | | export const baseUrl = 'https://dmtest.ahapp.net/web_interface' //测试服务器 |
| | | |
| | | // export const imageUrl = 'https://osswebcdn.zbom.com/jiaxuan/images/' |
| | | |