123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- <template name="address">
- <view class="address-template clearfix">
- <!-- 地址信息 -->
- <view class="address-section">
- <view class="address-title">收货人信息</view>
- <view class="address-content clearfix">
- <view class="address-icon">
- <text class="iconfont icon-tubiaoshangchuanmoban"></text>
- </view>
- <view class="address-cen">
- <view class="top">
- <view class="name">{{orderInfo.receiverName !== undefined ? orderInfo.receiverName : ''}}</view>
- <view class="mobile">86-{{orderInfo.receiverPhone !== undefined ? orderInfo.receiverPhone : ''}}</view>
- </view>
- <view class="address">
-
- <view class="address-text">
- 收货地址:
- {{orderInfo.receiverProvince !== undefined ? orderInfo.receiverProvince : ''}}
- {{orderInfo.receiverCity !== undefined ? orderInfo.receiverCity : ''}}
- {{orderInfo.receiverRegion !== undefined ? orderInfo.receiverRegion : ''}}
- {{orderInfo.receiverDetailAddress !== undefined ? orderInfo.receiverDetailAddress : ''}}
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="tui-bg-img"></view>
- </view>
- </template>
- <script>
- export default{
- name:"address",
- props:{
- orderInfo:{
- type:Object
- }
- },
- data() {
- return{
- initData:''
- }
- },
- created(){
- this.initData = this.orderInfo;
- },
- computed: {
- },
- methods:{
-
- }
- }
- </script>
- <style lang="scss">
- .address-template{
- width: 100%;
- height: auto;
- background: #FFFFFF;
- border-top: 1px solid #F8F8F8;
- position: relative;
- .tui-bg-img {
- position: absolute;
- width: 100%;
- height: 8rpx;
- left: 0;
- bottom: 0;
- background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAL0AAAAECAMAAADszM6/AAAAOVBMVEUAAAAVqfH/fp//vWH/vWEVqfH/fp8VqfH/fp//vWEVqfH/fp8VqfH/fp//vWH/vWEVqfH/fp//vWHpE7b6AAAAEHRSTlMA6urqqlVVFRUVq6upqVZUDT4vVAAAAEZJREFUKM/t0CcOACAQRFF6r3v/w6IQJGwyDsPT882IQzQE0E3chToByjG5LwMgLZN3TQATmdypCciBya0cgOT3/h//9PgF49kd+6lTSIIAAAAASUVORK5CYII=") repeat;
- }
- }
- .address-section {
- width: 100%;
- height: auto;
- float: left;
- position: relative;
- .address-title{
- font-size: $font-size-28;
- color: $text-color;
- line-height: 60rpx;
- width: 100%;
- padding: 0 20rpx;
- font-weight: bold;
- }
- .address-content {
- width: 100%;
- height: 174rpx;
- box-sizing: border-box;
- padding:20rpx;
- background: #fff;
- }
- .address-icon{
- width: 70rpx;
- height: 70rpx;
- background: linear-gradient(90deg,rgba(122,165,250,1) 0%,rgba(87,110,250,1) 100%);
- border-radius: 50%;
- float: left;
- line-height: 70rpx;
- margin-top: 20rpx;
- text-align: center;
- .icon-tubiaoshangchuanmoban {
- flex-shrink: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #FFFFFF;
- font-size: 44rpx;
- }
- }
- .address-cen {
- width: 610rpx;
- height: auto;
- position: relative;
- float: left;
- padding-left: 20rpx;
- .top{
- height: 42rpx;
- line-height: 42rpx;
- text-align: left;
- font-size: $font-size-26;
- color: $text-color;
- padding-bottom: 8rpx;
- display: flex;
- float: left;
- margin-bottom: 10rpx;
- .name{
- margin-right: 48rpx;
- }
- .mobile{
- margin-right: 40rpx;
- }
- }
- .address {
- width: 100%;
- height: auto;
- float: left;
- .address-text{
- width: 610rpx;
- float: left;
- line-height: 40rpx;
- font-size: $font-size-26;
- color: $text-color;
- text-align: left;
- -o-text-overflow: ellipsis;
- text-overflow: ellipsis;
- display: -webkit-box;
- word-break: break-all;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- }
- }
- }
- .icon-xiayibu {
- font-size: 32rpx;
- color: $text-color;
- margin-right: 30rpx;
- }
- .a-bg {
- position: absolute;
- left: 0;
- bottom: 0;
- display: block;
- width: 100%;
- height: 5rpx;
- }
- }
- </style>
|