静态代码完成,等待对接接口

master
Lee 2022-10-14 15:46:03 +08:00
parent e285b50f8e
commit a0fac56a01
18 changed files with 32 additions and 28 deletions

View File

@ -6,7 +6,9 @@
<view class="title font26">{{item.title}}</view>
</view>
<!-- 发布按钮 -->
<view class="release-btn background-blue color-ff radius100 flex" @tap="goRelease"><image src="/static/icon-release.png" mode="widthFix"></image></view>
<view class="release-btn background-blue color-ff radius100 flex" @tap="goRelease">
<image src="/static/icon-release.png" mode="widthFix"></image>
</view>
</view>
</template>
<script>
@ -16,8 +18,8 @@
props:{
//
current:{
type:String,
default:'0'
type:Number,
default:0
},
},
data() {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1464,7 +1464,7 @@ function initData(vueOptions, context) {
try {
data = data.call(context); // 支持 Vue.prototype 上挂的数据
} catch (e) {
if (Object({"NODE_ENV":"development","VUE_APP_NAME":"老农极鲜土货","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
if (Object({"VUE_APP_NAME":"老农极鲜土货","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
}
}
@ -8556,7 +8556,7 @@ function type(obj) {
function flushCallbacks$1(vm) {
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
if (Object({"NODE_ENV":"development","VUE_APP_NAME":"老农极鲜土货","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
if (Object({"VUE_APP_NAME":"老农极鲜土货","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
var mpInstance = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
@ -8577,14 +8577,14 @@ function nextTick$1(vm, cb) {
//1.nextTick 之前 已 setData 且 setData 还未回调完成
//2.nextTick 之前存在 render watcher
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
if(Object({"NODE_ENV":"development","VUE_APP_NAME":"老农极鲜土货","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
if(Object({"VUE_APP_NAME":"老农极鲜土货","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
var mpInstance = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
']:nextVueTick');
}
return nextTick(cb, vm)
}else{
if(Object({"NODE_ENV":"development","VUE_APP_NAME":"老农极鲜土货","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
if(Object({"VUE_APP_NAME":"老农极鲜土货","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
var mpInstance$1 = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
']:nextMPTick');
@ -8670,7 +8670,7 @@ var patch = function(oldVnode, vnode) {
});
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
if (Object.keys(diffData).length) {
if (Object({"NODE_ENV":"development","VUE_APP_NAME":"老农极鲜土货","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
if (Object({"VUE_APP_NAME":"老农极鲜土货","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
']差量更新',
JSON.stringify(diffData));

View File

@ -126,6 +126,8 @@ __webpack_require__.r(__webpack_exports__);
var _vuex = __webpack_require__(/*! vuex */ 13); //
//
//
@ -137,12 +139,12 @@ var _vuex = __webpack_require__(/*! vuex */ 13); //
//
//
//
//
//
//引入mapState
var _default = { name: 'tabbar', props: { // 当前选中项
current: { type: String, default: '0' } }, data: function data() {return { footBarList: [] //底部列表
};},
mounted: function mounted() {
// 获取当前页面路径
current: { type: Number, default: 0 } }, data: function data() {return { footBarList: [] //底部列表
};}, mounted: function mounted() {// 获取当前页面路径
this.$toolAll.tools.obtainPagePath();
// 获取底部信息
this.getTabbarList();

View File

@ -200,14 +200,14 @@ __webpack_require__.r(__webpack_exports__);
},
methods: {
// 获取定位
getLocation: function getLocation() {
getLocation: function getLocation() {var _this = this;
uni.getLocation({
type: 'wgs84',
geocode: true, // 设置该参数为true可直接获取经纬度及城市信息
success: function success(res) {
console.log('位置信息', res);
// 查询小区列表
this.getEstateList();
_this.getEstateList();
},
fail: function fail(err) {
uni.showToast({