Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/nutui-taro-demo/src/pages/index/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const Index = () => {
)}
<View className="index-components-sublist">
{nav.packages.map((com) =>
com.show && com.taro && (harmony() ? com.dd : true) && (!search || new RegExp(search, 'ig').test(com.name.toLowerCase())) ? (
com.show && com.taro && (!search || new RegExp(search, 'ig').test(com.name.toLowerCase())) ? (
<View
key={com.name}
className="index-components-sublist-item"
Expand Down
7 changes: 0 additions & 7 deletions scripts/build-taro.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -428,13 +428,6 @@ async function buildCSS(themeName = '') {
join(`${dist}/cjs`, cssPath, `${themeDir}/css.js`),
cssContent.join('\n'),
)

// copy harmonycss
if (file.indexOf('countup') === -1) {
const harmonyCss = join(__dirname, '../', file.replace('scss', 'harmony.css'))
await copy(harmonyCss, join(`${dist}/cjs`, cssPath, 'style/style.harmony.css'))
await copy(harmonyCss, join(`${dist}/es`, cssPath, 'style/style.harmony.css'))
}
}
}

Expand Down
6 changes: 3 additions & 3 deletions src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -455,16 +455,16 @@
"enName": "dentry",
"packages": [
{
"version": "2.0.0",
"version": "3.0.0",
"name": "Address",
"type": "component",
"cName": "地址",
"desc": "地址组件",
"sort": 3,
"show": true,
"taro": true,
"v15": 2,
"author": "yangxiaolu",
"v15": 1,
"author": "hanyuxinting",
"dd": false
},
{
Expand Down
2 changes: 2 additions & 0 deletions src/locales/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ export interface BaseLang {
selectRegion: string
deliveryTo: string
chooseAnotherAddress: string
hotCity: string
selectProvince: string
}
signature: {
reSign: string
Expand Down
2 changes: 2 additions & 0 deletions src/locales/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ const enUS: BaseLang = {
selectRegion: 'Choose Address',
deliveryTo: 'Delivery To',
chooseAnotherAddress: 'Choose Another Address',
hotCity: 'Hot City',
selectProvince: 'Choose Province or City',
},
signature: {
reSign: 'Re Sign',
Expand Down
2 changes: 2 additions & 0 deletions src/locales/id-ID.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ const idID: BaseLang = {
selectRegion: 'Pilih Daerah',
deliveryTo: 'Kirim Ke',
chooseAnotherAddress: 'Pilih alamat lain',
hotCity: 'Kota-kota populer',
selectProvince: 'Pilih provinsi/wilayah',
},
signature: {
reSign: 'Masuk Kembali',
Expand Down
2 changes: 2 additions & 0 deletions src/locales/tr-TR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ const trTR: BaseLang = {
selectRegion: 'Lütfen bölgenizi seçin',
deliveryTo: 'Teslimat yeri',
chooseAnotherAddress: 'Başka bir adres seçin',
hotCity: 'Popüler şehirler',
selectProvince: 'İl/bölge seçin',
},
signature: {
reSign: 'Yeniden imzala',
Expand Down
2 changes: 2 additions & 0 deletions src/locales/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ const zhCN: BaseLang = {
selectRegion: '请选择地址',
deliveryTo: '配送至',
chooseAnotherAddress: '选择其他地址',
hotCity: '热门城市',
selectProvince: '选择省份/地区',
},
signature: {
reSign: '重签',
Expand Down
2 changes: 2 additions & 0 deletions src/locales/zh-TW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ const zhCN: BaseLang = {
selectRegion: '請選擇地址',
deliveryTo: '配送至',
chooseAnotherAddress: '選擇其他地址',
hotCity: '熱門城市',
selectProvince: '選擇省份/地區',
},
signature: {
reSign: '重簽',
Expand Down
2 changes: 2 additions & 0 deletions src/locales/zh-UG.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ const zhUG: BaseLang = {
selectRegion: 'ئادىرىسنى تاللاڭ',
deliveryTo: 'قەيەرگە',
chooseAnotherAddress: 'باشقىنى تاللاش',
hotCity: 'ئاۋات شەھەرلەر',
selectProvince: 'ئۆلكە / شەھەرنى تاللاڭ',
},
signature: {
reSign: 'قايتا',
Expand Down

Large diffs are not rendered by default.

Loading
Loading