提交 d7d57b21 编写于 作者: 雪洛's avatar 雪洛

feat: 调整示例适配微信小程序

上级 1f7fe16d
...@@ -78,6 +78,13 @@ ...@@ -78,6 +78,13 @@
.uni-list-cell-db, .uni-list-cell-db,
.uni-list-cell-right { .uni-list-cell-right {
flex: 1; flex: 1;
}
.uni-list-cell-db-text {
width: 100%;
/* #ifdef WEB || MP */
word-break: break-all;
/* #endif */
} }
.uni-label { .uni-label {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<view class="uni-label" style="width:180px;">{{item.label}}</view> <view class="uni-label" style="width:180px;">{{item.label}}</view>
</view> </view>
<view class="uni-list-cell-db"> <view class="uni-list-cell-db">
<text style="width: 100%;">{{ item.value == '' ? '未获取' : item.value }}</text> <text class="uni-list-cell-db-text">{{ item.value == '' ? '未获取' : item.value }}</text>
</view> </view>
</view> </view>
</view> </view>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
}}</view> }}</view>
</view> </view>
<view class="uni-list-cell-db"> <view class="uni-list-cell-db">
<text style="width: 100%">{{ <text class="uni-list-cell-db-text">{{
item.value == "" ? "未获取" : item.value item.value == "" ? "未获取" : item.value
}}</text> }}</text>
</view> </view>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
}}</view> }}</view>
</view> </view>
<view class="uni-list-cell-db"> <view class="uni-list-cell-db">
<text style="width: 100%;">{{ item.value == '' ? '未获取' : item.value }}</text> <text class="uni-list-cell-db-text">{{ item.value == '' ? '未获取' : item.value }}</text>
</view> </view>
</view> </view>
</view> </view>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<view class="uni-label" style="width: 180px">{{ item.label }}</view> <view class="uni-label" style="width: 180px">{{ item.label }}</view>
</view> </view>
<view class="uni-list-cell-db"> <view class="uni-list-cell-db">
<text style="width: 100%;">{{ item.value == '' ? '未获取' : item.value }}</text> <text class="uni-list-cell-db-text">{{ item.value == '' ? '未获取' : item.value }}</text>
</view> </view>
</view> </view>
</view> </view>
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex-direction: row; flex-direction: row;
width: 100%;
height: 30px; height: 30px;
} }
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</uni-collapse-item> </uni-collapse-item>
</uni-collapse> </uni-collapse>
<view v-if="!hasLeftWin" ref="pop" @click="hidePop()" class="popup"> <view v-if="!hasLeftWin" ref="pop" @click="hidePop()" class="popup">
<view style="width: 90%; background-color: white" @click="stopClickPop"> <view style="width: 90%; background-color: white" @click.stop="stopClickPop">
<api-set-tabbar></api-set-tabbar> <api-set-tabbar></api-set-tabbar>
</view> </view>
</view> </view>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册