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
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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" />
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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: '订阅消息'}}"/>
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'}}"/>
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) {
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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: '屏幕旋转'}}"/>
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: '双向绑定'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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: '音视频合成'}}"/>
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'}}"/>
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: '录音/音频'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
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'}}"/>
Loading
Oops, something went wrong.