File tree Expand file tree Collapse file tree
templates/uni-app-x-hbuilderx Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,8 +58,6 @@ pnpm dev:ios:simulator
5858- 安装依赖后会自动执行 ` weapp-tw patch `
5959- 模板默认覆盖 ` pages ` 、` components ` 等常见目录
6060- 如果你新增了 ` uts ` / ` uvue ` 目录结构,记得同步调整 ` tailwind ` 提取范围
61- - ` uni-app x ` 下不要使用 ` gap ` 、` gap-x-* ` 、` gap-y-* `
62- - ` uni-app x ` 下也不要使用 ` space-x-* ` 、` space-y-* ` ,请直接改用子项显式 ` mt-* ` / ` ml-* `
6361
6462## 相关文档
6563
Original file line number Diff line number Diff line change 1414 </text>
1515 </view>
1616</template>
17- <script setup lang="ts ">
17+ <script setup lang="uts ">
1818 const flag = true
1919 const extra = 'text-[93.54rpx] bg-[#d2e252]'
2020 const toggled = true
2121 const condition = true
22- </script>
22+ </script>
Original file line number Diff line number Diff line change 1- <script setup>
2- function copy(data : string) {
3- uni.setClipboardData({
4- data,
5- })
6- }
1+ <script setup lang="uts">
2+
3+
74</script>
85
96<template>
107 <view class="px-4">
118 <image src="/static/logo-text-colorful.png" class="w-[300px] h-[48.3px]"></image>
129 <view
13- @click="copy('https://tw.icebreaker.top/')" >
10+ >
1411 <text class="text-2xl underline text-center">
1512 tw.icebreaker.top
1613 </text>
2017 <text class="text-xs text-gray-600/75">你可以在上方的官网上,找到大量的提效解决方案</text>
2118 </view>
2219 </view>
23- </template>
20+ </template>
Original file line number Diff line number Diff line change 11{
2- "name" : " aaa" ,
3- "appid" : " " ,
4- "description" : " " ,
5- "versionName" : " 1.0.0" ,
6- "versionCode" : " 100" ,
7- "uni-app-x" : {
8- "styleIsolationVersion" : " 2"
9- },
10- /* 快应用特有相关 */
11- "quickapp" : {},
12- /* 小程序特有相关 */
13- "mp-weixin" : {
14- "appid" : " " ,
15- "setting" : {
16- "urlCheck" : false
17- },
18- "usingComponents" : true
19- },
20- "mp-alipay" : {
21- "usingComponents" : true
22- },
23- "mp-baidu" : {
24- "usingComponents" : true
25- },
26- "mp-toutiao" : {
27- "usingComponents" : true
28- },
29- "uniStatistics" : {
30- "enable" : false
31- },
32- "vueVersion" : " 3" ,
33- "app" : {
34- "distribute" : {
35- "icons" : {
36- "android" : {
37- "hdpi" : " " ,
38- "xhdpi" : " " ,
39- "xxhdpi" : " " ,
40- "xxxhdpi" : " "
41- }
42- }
43- }
44- }
45- }
2+ "name" : " aaa" ,
3+ "appid" : " __UNI__F1BA2B3" ,
4+ "description" : " " ,
5+ "versionName" : " 1.0.0" ,
6+ "versionCode" : " 100" ,
7+ "uni-app-x" : {},
8+ /* 快应用特有相关 */
9+ "quickapp" : {},
10+ /* 小程序特有相关 */
11+ "mp-weixin" : {
12+ "appid" : " wxb3d842a4a7e3440d" ,
13+ "setting" : {
14+ "urlCheck" : false
15+ },
16+ "usingComponents" : true
17+ },
18+ "mp-alipay" : {
19+ "usingComponents" : true
20+ },
21+ "mp-baidu" : {
22+ "usingComponents" : true
23+ },
24+ "mp-toutiao" : {
25+ "usingComponents" : true
26+ },
27+ "uniStatistics" : {
28+ "enable" : false
29+ },
30+ "vueVersion" : " 3" ,
31+ "app" : {
32+ "distribute" : {
33+ "icons" : {
34+ "android" : {
35+ "hdpi" : " " ,
36+ "xhdpi" : " " ,
37+ "xxhdpi" : " " ,
38+ "xxxhdpi" : " "
39+ }
40+ }
41+ }
42+ },
43+ "app-android" : {
44+ "distribute" : {
45+ "modules" : {},
46+ "icons" : {
47+ "hdpi" : " " ,
48+ "xhdpi" : " " ,
49+ "xxhdpi" : " " ,
50+ "xxxhdpi" : " "
51+ },
52+ "splashScreens" : {
53+ "default" : {}
54+ }
55+ }
56+ },
57+ "app-ios" : {
58+ "distribute" : {
59+ "modules" : {},
60+ "icons" : {},
61+ "splashScreens" : {}
62+ }
63+ },
64+ "web" : {
65+ "router" : {
66+ "mode" : " "
67+ }
68+ }
69+ }
You can’t perform that action at this time.
0 commit comments