Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix 修复公共模板引入路径和wx:key的错误 #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'chooseAddress'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'chooseInvoiceTitle'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'customMessage'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'getUserInfo'}}"/>
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/api/jump/jump.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" />
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/api/login/login.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'Login'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'requestPayment'}}"/>
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/api/setting/setting.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'open/get/Setting'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml"/>
<import src="../../../common/foot.wxml"/>
<import src="/common/head.wxml"/>
<import src="/common/foot.wxml"/>

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'share-button'}}"/>
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/api/share/share.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml"/>
<import src="../../../common/foot.wxml"/>
<import src="/common/head.wxml"/>
<import src="/common/foot.wxml"/>

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'onShareAppMessage'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml"/>
<import src="../../../common/foot.wxml"/>
<import src="/common/head.wxml"/>
<import src="/common/foot.wxml"/>

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'startSoterAuthentication'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: '订阅消息'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'addPhoneContact'}}"/>
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/device/bluetooth/bluetooth.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<wxs module="utils">
module.exports.max = function(n1, n2) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'onUserCaptureScreen'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'get/set/ClipboardData'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'getBatteryInfo'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'getNetworkType'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'getSystemInfo'}}"/>
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/device/ibeacon/ibeacon.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'iBeacon'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'makePhoneCall'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'onAccelerometerChange'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'onCompassChange'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'onNetworkStatusChange'}}"/>
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/device/scan-code/scan-code.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'scanCode'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'get/set/ScreenBrightness'}}"/>
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/device/vibrate/vibrate.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'vibrate/Long/Short'}}"/>
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/device/wifi/wifi.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'Wi-Fi'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />
<wxs src="./resizable.wxs" module="resizable" />
<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: '屏幕旋转'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: '双向绑定'}}"/>
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/framework/wxs/wxs.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml"/>
<import src="../../../common/foot.wxml"/>
<import src="/common/head.wxml"/>
<import src="/common/foot.wxml"/>

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'WXS'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'chooseLocation'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'getLocation'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'openLocation'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'backgroundAudio'}}"/>
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/media/file/file.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'saveFile'}}"/>
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/media/image/image.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'choose/previewImage'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'loadFontFace'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: '音视频合成'}}"/>
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/media/video/video.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'chooseVideo'}}"/>
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/media/voice/voice.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: '录音/音频'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'downloadFile'}}"/>
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/network/mdns/mdns.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'mDNS'}}"/>
Expand Down
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/network/request/request.wxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml"/>
<import src="../../../common/foot.wxml"/>
<import src="/common/head.wxml"/>
<import src="/common/foot.wxml"/>

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'request'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml"/>
<import src="../../../common/foot.wxml"/>
<import src="/common/head.wxml"/>
<import src="/common/foot.wxml"/>

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'startSoterAuthentication'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'uploadFile'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'WebSocket'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'scanCode'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml"/>
<import src="../../../common/foot.wxml"/>
<import src="/common/head.wxml"/>
<import src="/common/foot.wxml"/>

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'sendMessage'}}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<import src="../../../common/head.wxml" />
<import src="../../../common/foot.wxml" />
<import src="/common/head.wxml" />
<import src="/common/foot.wxml" />

<view class="container page" data-weui-theme="{{theme}}">
<template is="head" data="{{title: 'action-sheet'}}"/>
Expand Down
Loading