Merge branch '2.x' into dev

This commit is contained in:
chenjiahan
2020-12-01 10:12:54 +08:00
48 changed files with 259 additions and 178 deletions
+3 -9
View File
@@ -26,15 +26,15 @@
</demo-block>
<demo-block :title="t('customStyle')">
<van-divider :style="{ borderColor: BLUE, color: BLUE, padding: '0 16px' }">
<van-divider
:style="{ borderColor: '#1989fa', color: '#1989fa', padding: '0 16px' }"
>
{{ t('text') }}
</van-divider>
</demo-block>
</template>
<script>
import { BLUE } from '../../utils/constant';
export default {
i18n: {
'zh-CN': {
@@ -52,12 +52,6 @@ export default {
customStyle: 'Custom Style',
},
},
data() {
return {
BLUE,
};
},
};
</script>