This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
hly
/
universal-wechat-uniapp-241007
generated from
hly/uniapp-shop-templates
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fix: 将环境配置更改为生产环境并添加长按菜单功能
修改config.js中的环境变量从'local'到'prod'以适应生产环境 在qrCode.vue的image组件中添加show-menu-by-longpress属性以支持长按菜单
master
主管理员
5 days ago
parent
dd307db990
commit
bf020c5527
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
config.js
+1
-0
pages_order/gourmet/qrCode.vue
+ 1
- 1
config.js
View File
@ -7,7 +7,7 @@ import uvUI from '@/uni_modules/uv-ui-tools'
Vue
.
use
(
uvUI
)
;
// 当前环境
const
type
=
'
local
'
const
type
=
'
prod
'
// 环境配置
+ 1
- 0
pages_order/gourmet/qrCode.vue
View File
@ -18,6 +18,7 @@
mode
=
"widthFix"
@
load
=
"imageLoaded"
@
error
=
"imageError"
show
-
menu
-
by
-
longpress
>
<
/
image
>
<
text
class
=
"qrcode-tip"
v-if
="!loading && qrCodeUrl"
>
扫描二维码查看店铺详情
<
/
text
>
<
text
class
=
"save-tip"
v-if
="!loading && qrCodeUrl"
>
长按图片可保存到相册
<
/
text
>
Write
Preview
Loading…
Cancel
Save