Original: www.jianshu.com/p/6900dab08…

1. The long number on the iOS terminal is automatically identified as a phone and the color becomes blue

h5:

<p>{{data.mobilePhone}}</p>Copy the code

Effect:

System Default Effect

Solution: add 👇 to the head of index.html:

<meta name="format-detection" content="telephone=no" />Copy the code

Effect picture after treatment:

Effect picture after treatment

2. Ion-radio set selected/unavailable style

Set a single box to select a style :(Use background color only as an example) CSS:

.item-radio input:checked + .radio-content .item-content {
  background: #5cbaf0;
}Copy the code

Set styles that are not available in a single box :(Just use background color as an example) CSS:

.item-radio input:disabled + .radio-content .item-content {
  background: #5cbaf0;
}Copy the code

Add: ion – radio API

This article will continue to update, I hope Jane friends pool their wisdom and enrich this article together;