diff --git a/manifest.json b/manifest.json
index 9a23eabe..f0b2c3b1 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
"name" : "太湖云医",
"appid" : "__UNI__1B1584A",
"description" : "太湖云医",
- "versionName" : "1.0.15",
- "versionCode" : 1015,
+ "versionName" : "1.0.16",
+ "versionCode" : 1016,
"transformPx" : false,
"sassImplementationName" : "node-sass",
/* 5+App特有相关 */
diff --git a/pages.json b/pages.json
index 5693af8c..5aa7ef13 100644
--- a/pages.json
+++ b/pages.json
@@ -469,6 +469,18 @@
}
}
},
+ {
+ "path": "pages/wumen/medurl",
+ "style": {
+ "navigationBarTitleText": "详细介绍",
+ "enablePullDownRefresh": false,
+ "app-plus": {
+ "bounce": "none",
+ "titleNView": false,
+ "popGesture": "none"
+ }
+ }
+ },
{
"path": "pages/wumen/recordDetail",
"style": {
diff --git a/pages/wumen/medicaldesDetail.vue b/pages/wumen/medicaldesDetail.vue
index 503afdf5..97f3f870 100644
--- a/pages/wumen/medicaldesDetail.vue
+++ b/pages/wumen/medicaldesDetail.vue
@@ -24,11 +24,14 @@
-
+
+ 详细介绍>>
+
@@ -73,6 +76,11 @@ export default {
}
});
},
+ openDetailUrl() {
+ uni.navigateTo({
+ url: '/pages/wumen/medurl?url=' + encodeURIComponent(this.prescriptDetail.url)
+ })
+ },
// 方剂详情
getDetail() {
$http.request({
@@ -146,6 +154,18 @@ export default {
display: flex;
}
+ .detail-link-wrap {
+ padding: 10rpx 20rpx;
+ padding-bottom: 20rpx;
+
+ .detail-link {
+ font-size: 14px;
+ font-weight: bold;
+ color: #007aff;
+ text-decoration: none;
+ }
+ }
+
/deep/ .uni-section-header__decoration.line {
background-color: #18bc37;
}
diff --git a/pages/wumen/medurl.vue b/pages/wumen/medurl.vue
index 3a539588..5a2170b0 100644
--- a/pages/wumen/medurl.vue
+++ b/pages/wumen/medurl.vue
@@ -20,7 +20,25 @@
};
},
onLoad(e) {
- this.id = uni.getStorageSync('prescriptUrl')
+ this.id = e.url ? decodeURIComponent(e.url) : uni.getStorageSync('prescriptUrl')
+ // #ifdef APP-PLUS
+ const pages = getCurrentPages()
+ const page = pages[pages.length - 1];
+ const currentWebview = page.$getAppWebview()
+ currentWebview.setStyle({
+ titleNView: {
+ buttons: [{
+ float: 'right',
+ type: 'close',
+ onclick: function() {
+ uni.navigateBack({
+ delta: 1
+ });
+ }
+ }]
+ }
+ })
+ // #endif
},
computed: {
diff --git a/uni_modules/uni-section/changelog.md b/uni_modules/uni-section/changelog.md
new file mode 100644
index 00000000..738f2b32
--- /dev/null
+++ b/uni_modules/uni-section/changelog.md
@@ -0,0 +1,2 @@
+## 0.0.1(2022-07-22)
+- 初始化
diff --git a/uni_modules/uni-section/components/uni-section/uni-section.vue b/uni_modules/uni-section/components/uni-section/uni-section.vue
new file mode 100644
index 00000000..9a52e0b8
--- /dev/null
+++ b/uni_modules/uni-section/components/uni-section/uni-section.vue
@@ -0,0 +1,167 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-section/package.json b/uni_modules/uni-section/package.json
new file mode 100644
index 00000000..0a31fb55
--- /dev/null
+++ b/uni_modules/uni-section/package.json
@@ -0,0 +1,87 @@
+{
+ "id": "uni-section",
+ "displayName": "uni-section 标题栏",
+ "version": "0.0.1",
+ "description": "标题栏组件",
+ "keywords": [
+ "uni-ui",
+ "uniui",
+ "标题栏"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": [
+ "uni-scss"
+ ],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uni-section/readme.md b/uni_modules/uni-section/readme.md
new file mode 100644
index 00000000..d47faab7
--- /dev/null
+++ b/uni_modules/uni-section/readme.md
@@ -0,0 +1,8 @@
+## Section 标题栏
+> **组件名:uni-section**
+> 代码块: `uSection`
+
+uni-section 组件主要用于文章、列表详情等标题展示
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-section)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839