mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 00:49:49 +08:00
# 2022-05-06
### 1.4.4开源社区版: 无 ### 0.3.8 专业版: 【新增】增加腾讯位置服务插件-微信小程序地图选点插件,替换以前的引用js调用腾讯地图选位置插件。 【新增】增加web-view组件页面,首页按钮使用http地址可进行跳转。 【升级】后端及接口更新多个组件到最新版本,asp.net core升级到6.04版本。 【升级】前端uView框架升级到2.0.31版本。
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
//接口请求地址,如果需要不部署接口端的情况下测试uni-app,可以直接替换为官方测试接口:https://api.demo.coreshop.cn
|
||||
export const apiBaseUrl = 'https://api.demo.coreshop.cn';
|
||||
export const apiBaseUrl = 'https://api.nsts.mvccms.cn';
|
||||
//项目静态资源请求地址,如果使用官方的静态文件地址可以直接替换为:https://files.cdn.coreshop.cn
|
||||
export const apiFilesUrl = 'https://files.cdn.coreshop.cn';
|
||||
|
||||
|
||||
@@ -47,6 +47,9 @@
|
||||
// #ifdef H5
|
||||
window.location.href = val
|
||||
// #endif
|
||||
// #ifdef H5 || APP-PLUS || APP-PLUS-NVUE || MP
|
||||
this.$u.route('/pages/webview/webview', { src: val });
|
||||
// #endif
|
||||
} else {
|
||||
// #ifdef H5 || APP-PLUS || APP-PLUS-NVUE || MP
|
||||
if (val == '/pages/index/default/default' || val == '/pages/category/index/index' || val == '/pages/index/cart/cart' || val == '/pages/index/member/member') {
|
||||
|
||||
@@ -215,7 +215,13 @@
|
||||
"navigationBarTitleText": "打赏"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "pages/webview/webview",
|
||||
"style": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTitleText": "网页详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/template",
|
||||
"style": {
|
||||
|
||||
32
CoreCms.Net.Uni-App/CoreShop/pages/webview/webview.vue
Normal file
32
CoreCms.Net.Uni-App/CoreShop/pages/webview/webview.vue
Normal file
@@ -0,0 +1,32 @@
|
||||
<template>
|
||||
<view>
|
||||
<u-navbar :title="title" safeAreaInsetTop fixed placeholder @leftClick="goNavigateBack"></u-navbar>
|
||||
<web-view :webview-styles="webviewStyles" :src="src"></web-view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title: this.$store.state.config.shopName,
|
||||
src: ''
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
this.src = e.src;
|
||||
if (!e.src) {
|
||||
this.$refs.uToast.show({ message: '网址获取失败', type: 'error', isTab: true, url: '/pages/index/default/default' });
|
||||
}
|
||||
if (e.title) {
|
||||
this.title = e.title;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
</style>
|
||||
@@ -1,3 +1,11 @@
|
||||
## 2.0.31(2022-04-19)
|
||||
# uView2.0重磅发布,利剑出鞘,一统江湖
|
||||
|
||||
1. 修复`upload`在`vue`页面上传成功后没有成功标志的问题
|
||||
2. 解决演示项目中微信小程序模拟上传图片一直出于上传中问题
|
||||
3. 修复`u-code-input`组件在`nvue`页面编译到`app`平台上光标异常问题(`app`去除此功能)
|
||||
4. 修复`actionSheet`组件标题关闭按钮点击事件名称错误的问题
|
||||
5. 其他修复
|
||||
## 2.0.30(2022-04-04)
|
||||
# uView2.0重磅发布,利剑出鞘,一统江湖
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<text class="u-action-sheet__header__title u-line-1">{{title}}</text>
|
||||
<view
|
||||
class="u-action-sheet__header__icon-wrap"
|
||||
@tap.stop="close"
|
||||
@tap.stop="cancel"
|
||||
>
|
||||
<u-icon
|
||||
name="close"
|
||||
|
||||
@@ -23,7 +23,9 @@
|
||||
v-if="mode === 'line'"
|
||||
:style="[lineStyle]"
|
||||
></view>
|
||||
<view v-if="codeArray.length === index" :style="{backgroundColor: color}" class="u-code-input__item__cursor"></view>
|
||||
<!-- #ifndef APP-PLUS -->
|
||||
<view v-if="isFocus && codeArray.length === index" :style="{backgroundColor: color}" class="u-code-input__item__cursor"></view>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
<input
|
||||
:disabled="disabledKeyboard"
|
||||
@@ -36,6 +38,8 @@
|
||||
:style="{
|
||||
height: $u.addUnit(size)
|
||||
}"
|
||||
@focus="isFocus = true"
|
||||
@blur="isFocus = false"
|
||||
/>
|
||||
</view>
|
||||
</template>
|
||||
@@ -70,7 +74,8 @@
|
||||
mixins: [uni.$u.mpMixin, uni.$u.mixin, props],
|
||||
data() {
|
||||
return {
|
||||
inputValue: ''
|
||||
inputValue: '',
|
||||
isFocus: this.focus
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@@ -203,6 +208,7 @@
|
||||
width: 40px;
|
||||
background-color: $u-content-color;
|
||||
}
|
||||
/* #ifndef APP-PLUS */
|
||||
&__cursor {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
@@ -212,6 +218,8 @@
|
||||
height: $u-code-input-cursor-height;
|
||||
animation: $u-code-input-cursor-animation-duration u-cursor-flicker infinite;
|
||||
}
|
||||
/* #endif */
|
||||
|
||||
}
|
||||
|
||||
&__input {
|
||||
@@ -226,6 +234,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* #ifndef APP-PLUS */
|
||||
@keyframes u-cursor-flicker {
|
||||
0% {
|
||||
opacity: 0;
|
||||
@@ -237,4 +246,6 @@
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
/* #endif */
|
||||
|
||||
</style>
|
||||
|
||||
@@ -72,13 +72,11 @@
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<!-- #ifndef APP-NVUE || MP-WEIXIN || H5 || APP-VUE || MP-QQ -->
|
||||
<script
|
||||
src="./scrollWxs.wxs"
|
||||
module="wxs"
|
||||
lang="wxs"
|
||||
></script>
|
||||
<!-- #endif -->
|
||||
|
||||
<script>
|
||||
/**
|
||||
|
||||
@@ -374,6 +374,7 @@
|
||||
$u-upload-deletable-zIndex:3 !default;
|
||||
$u-upload-success-bottom:0 !default;
|
||||
$u-upload-success-right:0 !default;
|
||||
$u-upload-success-border-style:solid !default;
|
||||
$u-upload-success-border-top-color:transparent !default;
|
||||
$u-upload-success-border-left-color:transparent !default;
|
||||
$u-upload-success-border-bottom-color: $u-success !default;
|
||||
@@ -479,6 +480,7 @@
|
||||
// 由于weex(nvue)为阿里巴巴的KPI(部门业绩考核)的laji产物,不支持css绘制三角形
|
||||
// 所以在nvue下使用图片,非nvue下使用css实现
|
||||
/* #ifndef APP-NVUE */
|
||||
border-style: $u-upload-success-border-style;
|
||||
border-top-color: $u-upload-success-border-top-color;
|
||||
border-left-color: $u-upload-success-border-left-color;
|
||||
border-bottom-color: $u-upload-success-border-bottom-color;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// 此版本发布于2022-04-04
|
||||
const version = '2.0.30'
|
||||
// 此版本发布于2022-04-19
|
||||
const version = '2.0.31'
|
||||
|
||||
// 开发环境才提示,生产环境不会提示
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
|
||||
@@ -2,20 +2,15 @@
|
||||
"id": "uview-ui",
|
||||
"name": "uview-ui",
|
||||
"displayName": "uView2.0重磅发布,利剑出鞘,一统江湖",
|
||||
"version": "2.0.30",
|
||||
"version": "2.0.31",
|
||||
"description": "uView UI已完美兼容nvue,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
|
||||
"keywords": [
|
||||
"uview",
|
||||
"uview",
|
||||
"ui",
|
||||
"ui",
|
||||
"uni-app",
|
||||
"uni-app",
|
||||
"ui"
|
||||
"uni-app"
|
||||
],
|
||||
"repository": "https://github.com/umicro/uView2.0",
|
||||
"engines": {
|
||||
"HBuilderX": "^3.1.0"
|
||||
"engines": {
|
||||
},
|
||||
"dcloudext": {
|
||||
"category": [
|
||||
|
||||
Reference in New Issue
Block a user