master
denghaohaoya 2026-03-28 18:57:17 +08:00
parent ead30c3479
commit 2a90fe91bc
3 changed files with 43 additions and 164 deletions

View File

@ -48,7 +48,7 @@
},
"quickapp" : {},
"mp-weixin" : {
"appid" : "wx29a83645aa2b4ebd",
"appid" : "wx025fc2befe501fda",
"setting" : {
"urlCheck" : false,
"es6" : false,

View File

@ -30,53 +30,25 @@
}
},
{
"path": "pages/translation/translation",
"style": {
"navigationBarTitleText": "录入清单"
}
}
"path": "pages/translation/translation",
"style": { "navigationBarTitleText": "录入清单" }
},
{ "path": "pages/addProduct/addProduct", "style": { "navigationBarTitleText": "" } },
{ "path": "pages/batchDeleteProduct/batchDeleteProduct", "style": { "navigationBarTitleText": "" } },
{ "path": "pages/edit/edit", "style": { "navigationBarTitleText": "" } },
{ "path": "pages/addBrand/addBrand", "style": { "navigationBarTitleText": "" } },
{ "path": "pages/BrandSelector/BrandSelector", "style": { "navigationBarTitleText": "选择品牌" } },
{ "path": "pages/user/user", "style": { "navigationBarTitleText": "" } },
{ "path": "pages/settings/settings", "style": { "navigationBarTitleText": "" } },
{ "path": "pages/asset/asset", "style": { "navigationBarTitleText": "" } },
{ "path": "pages/enter/enter", "style": { "navigationBarTitleText": "" } },
{ "path": "pages/storeSelect/storeSelect", "style": { "navigationBarTitleText": "选择门店" } },
{ "path": "pages/import/import", "style": { "navigationBarTitleText": "" } },
{ "path": "pages/userStores/userStores", "style": { "navigationBarTitleText": "" } },
{ "path": "pages/category/category", "style": { "navigationBarTitleText": "" } },
{ "path": "pages/back/back", "style": { "navigationBarTitleText": "" } }
],
"subPackages": [
{
"root": "pages/mine",
"pages": [
{"path": "avatar/index",
"style": {
"navigationBarTitleText": "修改头像"
}
},
{"path": "info/index",
"style": {
"navigationBarTitleText": "个人信息"
}
},
{"path": "info/edit",
"style": {
"navigationBarTitleText": "编辑资料"
}
},
{"path": "pwd/index",
"style": {
"navigationBarTitleText": "修改密码"
}
},
{"path": "setting/index",
"style": {
"navigationBarTitleText": "应用设置"
}
},
{"path": "help/index",
"style": {
"navigationBarTitleText": "常见问题"
}
},
{"path": "about/index",
"style": {
"navigationBarTitleText": "关于我们"
}
}
]
},
{
"root": "pages/common",
"pages": [
@ -92,99 +64,6 @@
}
}
]
},
{
"root": "pages/product",
"pages": [
{"path": "../addProduct/addProduct",
"style": {
"navigationBarTitleText": ""
}
},
{
"path": "../batchDeleteProduct/batchDeleteProduct",
"style": {
"navigationBarTitleText": ""
}
},
{
"path": "../edit/edit",
"style": {
"navigationBarTitleText": ""
}
}
]
},
{
"root": "pages/brand",
"pages": [
{
"path": "../addBrand/addBrand",
"style": {
"navigationBarTitleText": ""
}
},
{
"path": "../BrandSelector/BrandSelector",
"style": {
"navigationBarTitleText": "选择品牌"
}
}
]
},
{
"root": "pages/other",
"pages": [
{"path": "../user/user",
"style": {
"navigationBarTitleText": ""
}
},
{"path": "../settings/settings",
"style": {
"navigationBarTitleText": ""
}
},
{"path": "../asset/asset",
"style": {
"navigationBarTitleText": ""
}
},
{"path": "../enter/enter",
"style": {
"navigationBarTitleText": ""
}
},
{"path": "../storeSelect/storeSelect",
"style": {
"navigationBarTitleText": "选择门店"
}
},
{"path": "../import/import",
"style": {
"navigationBarTitleText": ""
}
},
{
"path": "../userStores/userStores",
"style": {
"navigationBarTitleText": ""
}
},
{
"path": "../category/category",
"style": {
"navigationBarTitleText": ""
}
},
{
"path": "../back/back",
"style": {
"navigationBarTitleText": ""
}
}
]
}
],
"tabBar": {
@ -215,4 +94,4 @@
"navigationBarTitleText": "RuoYi",
"navigationBarBackgroundColor": "#FFFFFF"
}
}
}

View File

@ -221,32 +221,32 @@
<view class="save-button-container">
<button class="save-button" @tap="handleSave"></button>
</view>
</view>
<!-- 微信小程序全屏扫码覆盖层 -->
<!-- #ifdef MP-WEIXIN -->
<view v-if="showScanner" class="scanner-overlay">
<camera
class="scanner-camera"
mode="scanCode"
device-position="back"
flash="off"
@scancode="onOverlayScanResult"
>
<cover-view class="scanner-mask">
<cover-view class="scanner-box">
<cover-view class="box-corner tl"></cover-view>
<cover-view class="box-corner tr"></cover-view>
<cover-view class="box-corner bl"></cover-view>
<cover-view class="box-corner br"></cover-view>
<!-- 微信小程序全屏扫码覆盖层 -->
<!-- #ifdef MP-WEIXIN -->
<view v-if="showScanner" class="scanner-overlay">
<camera
class="scanner-camera"
mode="scanCode"
device-position="back"
flash="off"
@scancode="onOverlayScanResult"
>
<cover-view class="scanner-mask">
<cover-view class="scanner-box">
<cover-view class="box-corner tl"></cover-view>
<cover-view class="box-corner tr"></cover-view>
<cover-view class="box-corner bl"></cover-view>
<cover-view class="box-corner br"></cover-view>
</cover-view>
<cover-view class="scanner-actions">
<cover-view class="scanner-btn" @tap="closeScanner"></cover-view>
</cover-view>
</cover-view>
<cover-view class="scanner-actions">
<cover-view class="scanner-btn" @tap="closeScanner"></cover-view>
</cover-view>
</cover-view>
</camera>
</camera>
</view>
<!-- #endif -->
</view>
<!-- #endif -->
</template>
<script>