| | |
| | | <!-- 发单方 --> |
| | | <view class="index-c" v-if="typeViewId === 0"> |
| | | <view :style="{ width: '100%', height: statusbarHeight + 'px' }"></view> |
| | | <view class="index-c-title" :style="{ height: navHeight + 'px' }" @click="selectAddress"> |
| | | <view class="index-c-title" :style="{ height: navHeight + 'px' }" @click="selectAddress(-1)"> |
| | | <text class="index-c-title-logo">近快</text> |
| | | <image class="dingwei" src="/static/icon/home_ic_location@2x.png" mode="widthFix"></image> |
| | | <text>西湖国际广场</text> |
| | | <text>{{location.address || address || '获取地址失败'}}</text> |
| | | <image class="qu" src="/static/icon/home_ar_next@2x.png" mode="widthFix"></image> |
| | | </view> |
| | | |
| | |
| | | <view></view> |
| | | <text>{{item}}</text> |
| | | </view> |
| | | <view class="phone-item" v-for="(item,index) in serverPhone" :key="item" @click="contactPhoneDo(item)"> |
| | | <view></view> |
| | | <text>{{item}}</text> |
| | | </view> |
| | | <!-- <view class="phone-botton" @click="contactPhone()" >关闭</view> --> |
| | | </view> |
| | | </u-popup> |
| | |
| | | export default { |
| | | components: { sunuiMverify }, |
| | | computed: { |
| | | ...mapState(['navHeight', 'statusbarHeight','userInfo','token','openid', 'latitude', 'longitude']), |
| | | ...mapState(['navHeight', 'statusbarHeight','userInfo','token','openid', 'latitude', 'longitude','address']), |
| | | totalPrice() { |
| | | return this.form.estimatedAccount / 100 |
| | | } |
| | |
| | | isLogin: false, |
| | | typeId: 0, |
| | | qqmapsdk: null, |
| | | location:{ |
| | | latitude:null, |
| | | longitude:null, |
| | | address:null, |
| | | }, |
| | | type: [ |
| | | { name: '用工', id: 0 }, |
| | | { name: '运货', id: 1 }, |
| | |
| | | this.form.wayInfoDTOList[0].lat = res.latitude |
| | | this.form.wayInfoDTOList[0].lgt = res.longitude |
| | | this.form.wayInfoDTOList[0].location = res.address |
| | | }else if (type == -1) { |
| | | console.log(res) |
| | | this.location.latitude = res.latitude |
| | | this.location.longitude = res.longitude |
| | | this.location.address =res.name || res.address |
| | | } |
| | | } |
| | | }); |
| | |
| | | font-size: 32rpx; |
| | | color: #ffffff; |
| | | margin-right: 12rpx; |
| | | max-width: 280rpx; |
| | | white-space: nowrap; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | } |
| | | .qu { |
| | | width: 22rpx; |