医生3.1
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
// commpents/mynavbar/index.js
|
||||
import { API } from '../../../utils/network/api'
|
||||
const api = new API()
|
||||
Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
@@ -15,7 +17,7 @@ Component({
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
static_host: api.getStaticHost()
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<view class="container">
|
||||
<view class="tui-navigatorbar">
|
||||
<image wx:if="{{ navbarData.showCapsule==1 }}" class="tui-navigatorbar-back" bindtap="_navback" src="/TUIKit/static/assets/ic_back_black.svg" />
|
||||
<image wx:if="{{ navbarData.showCapsule==1 }}" class="tui-navigatorbar-back" bindtap="_navback" src="{{static_host}}/applet/doctor/static/images/yishi/back.png" />
|
||||
<view class="conversation-title">{{ navbarData.title }}</view>
|
||||
</view>
|
||||
<view class="box">
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { API } from '../../../utils/network/api'
|
||||
const app = getApp()
|
||||
const api = new API()
|
||||
Component({
|
||||
|
||||
Reference in New Issue
Block a user