build(projects): 增加代码规范

This commit is contained in:
2023-11-03 18:17:27 +08:00
parent 9a0b0505e9
commit 5e64ea27de
38 changed files with 14545 additions and 11926 deletions

View File

@@ -15,24 +15,22 @@
</template>
<script lang="ts" setup>
import { ref } from "vue";
import Taro from "@tarojs/taro";
import "./index.scss";
import { ref } from 'vue'
import Taro from '@tarojs/taro'
import './index.scss'
const info = ref<any>({});
const info = ref<any>({})
Taro.useLoad(() => {
info.value = Taro.getStorageSync("gameItem");
});
info.value = Taro.getStorageSync('gameItem')
})
const list = ref([
"https://files.wanzhuanyongcheng.com/file/img/yaotouzi/banner/qietu.png",
]);
const list = ref(['https://files.wanzhuanyongcheng.com/file/img/yaotouzi/banner/qietu.png'])
const startGame = () => {
console.log(info.value);
console.log(info.value)
Taro.navigateTo({
url: info.value.url,
});
};
})
}
</script>