cloud-web-corejs 1.0.54-dev.811 → 1.0.54-dev.813

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.811",
4
+ "version": "1.0.54-dev.813",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "dev:micro": "vue-cli-service serve --port 17527",
@@ -802,6 +802,7 @@ $xformH5PageBg: #f1f5fb;
802
802
  底栏「更多」下拉的触发器是裸 <i class="h5-more-icon">、不在 el-button 里,不受影响。 */
803
803
  .xform-h5 {
804
804
  .pop-box .el-button > i,
805
+ .pop-tipsBox .el-button > i,
805
806
  .pop-screen-box .el-button > i,
806
807
  .h5-detail-wrap .h5-fixed-bottom-btns .el-button > i,
807
808
  .el-dialog.h5view-dialog > .el-dialog__footer .el-button > i {
@@ -1111,7 +1112,10 @@ $xformH5PageBg: #f1f5fb;
1111
1112
  .checkbox-all_list {
1112
1113
  flex: 1;
1113
1114
  min-height: 0;
1114
- overflow: auto;
1115
+ /* 只放开纵向。写成 overflow:auto 时横向也可滚,卡片里一旦有超长内容
1116
+ (用户资料的「地址」字段存的是一整条图片 URL)就会拖出一条横向滚动条。 */
1117
+ overflow-y: auto;
1118
+ overflow-x: hidden;
1115
1119
  padding: 0 12px;
1116
1120
 
1117
1121
  .order-item {
@@ -1265,6 +1269,15 @@ $xformH5PageBg: #f1f5fb;
1265
1269
  border-radius: 5px;
1266
1270
  }
1267
1271
 
1272
+ /* 卡片里放的是用户资料原值,可能出现超长且无空格的串(「地址」字段实际存的
1273
+ 是一整条图片 URL)。默认不允许在非空白处断行,这种串会把卡片整体撑宽、
1274
+ 连带拖出横向滚动条,所以这里统一允许任意位置断行。 */
1275
+ .t1,
1276
+ .t2 {
1277
+ word-break: break-all;
1278
+ overflow-wrap: anywhere;
1279
+ }
1280
+
1268
1281
  .t1 {
1269
1282
  margin-bottom: 6px;
1270
1283
 
@@ -1286,8 +1299,11 @@ $xformH5PageBg: #f1f5fb;
1286
1299
 
1287
1300
  p {
1288
1301
  min-width: 50%;
1302
+ /* 没有 max-width 时,inline-block 会被里面的长串顶到超出卡片宽度 */
1303
+ max-width: 100%;
1289
1304
  margin-bottom: 4px;
1290
1305
  display: inline-block;
1306
+ vertical-align: top;
1291
1307
  }
1292
1308
  }
1293
1309
 
@@ -1581,16 +1597,30 @@ $xformH5PageBg: #f1f5fb;
1581
1597
  margin-bottom: 24px;
1582
1598
  }
1583
1599
 
1584
- .txt {
1585
- max-height: 100px;
1600
+ /* max-height + overflow:auto 是给「自定义确认文案」这类可能很长的内容留的
1601
+ (提醒内容、脚本里配的提示都走这里)。但确认框里多数只有一行短句,
1602
+ 真机 WebView 又是经典滚动条(不像桌面那样会自动淡出),于是「您确定要
1603
+ 中断流程吗?」这种一行字旁边也挂着一条灰色滚动条。
1604
+ 保留可滚动(长文案照样能滑),只把滚动条本身藏掉 —— 移动端本来就该是
1605
+ 无痕滚动。 */
1606
+ .txt,
1607
+ .txt2 {
1586
1608
  overflow: auto;
1587
1609
  word-break: break-word;
1610
+ scrollbar-width: none; // Firefox
1611
+ -ms-overflow-style: none; // 旧 Edge/IE
1612
+
1613
+ &::-webkit-scrollbar {
1614
+ display: none;
1615
+ }
1616
+ }
1617
+
1618
+ .txt {
1619
+ max-height: 100px;
1588
1620
  }
1589
1621
 
1590
1622
  .txt2 {
1591
1623
  max-height: 200px;
1592
- overflow: auto;
1593
- word-break: break-word;
1594
1624
  }
1595
1625
 
1596
1626
  .form-box {