chore: initialize frontend repo with teaching terminology updates
Add the current frontend codebase with a baseline .gitignore and update piano-specific UI terms to teaching-oriented terms for the current product context. Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// camera.js
|
||||
Page({
|
||||
takePhoto() {
|
||||
const ctx = wx.createCameraContext()
|
||||
ctx.takePhoto({
|
||||
quality: 'high',
|
||||
success: (res) => {
|
||||
this.setData({
|
||||
src: res.tempImagePath
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
error(e) {
|
||||
console.log(e.detail)
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user