|
@@ -246,8 +246,13 @@ export default {
|
|
|
this.graceAddressPickerShow = true;
|
|
|
},
|
|
|
pickerConfirm : function(e){
|
|
|
- console.info(e);
|
|
|
- this.fetch.area_name = e.names[0] + ' ' + e.names[1] + ' ' + e.names[2];
|
|
|
+ if (e.names[0] == e.names[1]) {
|
|
|
+ this.fetch.area_name = e.names[1] + ' ' + e.names[2];
|
|
|
+ } else {
|
|
|
+ this.fetch.area_name = e.names[0] + ' ' + e.names[1] + ' ' + e.names[2];
|
|
|
+ }
|
|
|
+ this.fetch.area_name += ' ';
|
|
|
+
|
|
|
this.fetch.area_id = e.codes[0] + ',' + e.codes[1] + ',' + e.codes[2];
|
|
|
this.closePicker();
|
|
|
},
|
|
@@ -500,4 +505,21 @@ export default {
|
|
|
/* 图片形式 */
|
|
|
.demo-img{width:580rpx; height:850rpx;}
|
|
|
.grace-dialog-buttons{width:700rpx; line-height:88rpx; height:88rpx; display:block; overflow:hidden; text-align:center; font-size:26rpx; color:#999999;}
|
|
|
+
|
|
|
+
|
|
|
+.grace-capsule-icon {
|
|
|
+ white-space: nowrap;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+}
|
|
|
+
|
|
|
+.grace-capsule-text {
|
|
|
+ white-space: nowrap;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ word-break: break-all;
|
|
|
+ display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/
|
|
|
+ -webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
|
|
|
+ -webkit-line-clamp: 1; /** 显示的行数 **/
|
|
|
+}
|
|
|
</style>
|