Commit ca53ffd4 authored by wangxuelai's avatar wangxuelai

Merge remote-tracking branch 'origin/develop' into wxl-user-optimize

parents e1eed70e 811a67ae
...@@ -487,23 +487,29 @@ Page({ ...@@ -487,23 +487,29 @@ Page({
//解锁打卡 复制 发布 //解锁打卡 复制 发布
const mockId = e.currentTarget.dataset.id; const mockId = e.currentTarget.dataset.id;
const mockStatus = e.currentTarget.dataset.status; const mockStatus = e.currentTarget.dataset.status;
if ( // if (
mySystem.system && // mySystem.system &&
mySystem.system.toLowerCase().indexOf("ios") != -1 && // mySystem.system.toLowerCase().indexOf("ios") != -1 &&
!needIosWarn // !needIosWarn
) { // ) {
// if (mockStatus == 2) {
// itemList = ['复制', text, "删除"];
// } else {
// itemList = ["发布", text, "删除"];
// }
// } else {
// if (mockStatus == 2) {
// itemList = ['复制', text, "删除", "取消"];
// } else {
// itemList = ["发布", text, "删除", "取消"];
// }
// }
if (mockStatus == 2) { if (mockStatus == 2) {
itemList = ['复制', text, "删除"]; itemList = ['复制', text, "删除"];
} else { } else {
itemList = ["发布", text, "删除"]; itemList = ["发布", text, "删除"];
} }
} else {
if (mockStatus == 2) {
itemList = ['复制', text, "删除", "取消"];
} else {
itemList = ["发布", text, "删除", "取消"];
}
}
that.getUnlockSubjectList(mockId); that.getUnlockSubjectList(mockId);
wx.showActionSheet({ wx.showActionSheet({
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<view class="mask" bindtap="bindModalContact"></view> <view class="mask" bindtap="bindModalContact"></view>
<view class="modal-content"> <view class="modal-content">
<view class="opt-box"> <view class="opt-box">
<button class="opt-item" open-type="contact" show-message-card="true" send-message-title="请求添加微信" send-message-path="/src/pages/themeindex/landpage?id=1" send-message-img="{{imageRoot}}service/works.png?{{imageVersion}}"> <button class="opt-item" open-type="contact" show-message-card="true" send-message-title="请求添加微信" send-message-path="/src/pages/themead/index" send-message-img="{{imageRoot}}service/clock.png?{{imageVersion}}">
<image class="icon-opt" src="{{imageRoot}}2c/themeindex/icon_wx.png?{{imageVersion}}"></image> <image class="icon-opt" src="{{imageRoot}}2c/themeindex/icon_wx.png?{{imageVersion}}"></image>
<view class="item-title">添加微信</view> <view class="item-title">添加微信</view>
</button> </button>
......
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
<view class="mask" bindtap="bindModalContact"></view> <view class="mask" bindtap="bindModalContact"></view>
<view class="modal-content"> <view class="modal-content">
<view class="opt-box"> <view class="opt-box">
<button class="opt-item" open-type="contact" show-message-card="true" send-message-title="请求添加微信" send-message-path="/src/pages/themeindex/landpage?id=1" send-message-img="{{imageRoot}}service/clock?{{imageVersion}}" wx:if="{{themeSelect.land_content.img}}"> <button class="opt-item" open-type="contact" show-message-card="true" send-message-title="请求添加微信" send-message-path="/src/pages/themeindex/landpage?t={{tid}}&type=2" send-message-img="{{imageRoot}}service/clock.png?{{imageVersion}}" wx:if="{{themeSelect.land_content.img}}">
<image class="icon-opt" src="{{imageRoot}}2c/themeindex/icon_wx.png?{{imageVersion}}"></image> <image class="icon-opt" src="{{imageRoot}}2c/themeindex/icon_wx.png?{{imageVersion}}"></image>
<view class="item-title">添加微信</view> <view class="item-title">添加微信</view>
</button> </button>
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
<view class="mask" bindtap="bindModalContact"></view> <view class="mask" bindtap="bindModalContact"></view>
<view class="modal-content"> <view class="modal-content">
<view class="opt-box"> <view class="opt-box">
<button class="opt-item" open-type="contact" show-message-card="true" send-message-title="请求添加微信" send-message-path="/src/pages/sharemoretheme/index" send-message-img="{{imageRoot}}service/clock?{{imageVersion}}" wx:if="{{moreTheme.land_content.img}}"> <button class="opt-item" open-type="contact" show-message-card="true" send-message-title="请求添加微信" send-message-path="/src/pages/sharemoretheme/index?t={{tid}}&type=3" send-message-img="{{imageRoot}}service/clock.png?{{imageVersion}}" wx:if="{{moreTheme.land_content.img}}">
<image class="icon-opt" src="{{imageRoot}}2c/themeindex/icon_wx.png?{{imageVersion}}"></image> <image class="icon-opt" src="{{imageRoot}}2c/themeindex/icon_wx.png?{{imageVersion}}"></image>
<view class="item-title">添加微信</view> <view class="item-title">添加微信</view>
</button> </button>
......
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
<view class="mask" bindtap="bindModalContact"></view> <view class="mask" bindtap="bindModalContact"></view>
<view class="modal-content"> <view class="modal-content">
<view class="opt-box"> <view class="opt-box">
<button class="opt-item" open-type="contact" show-message-card="true" send-message-title="请求添加微信" send-message-path="/src/pages/themeindex/landpage?id=1" send-message-img="{{imageRoot}}service/clock?{{imageVersion}}" wx:if="{{themeSelect.land_content.img}}"> <button class="opt-item" open-type="contact" show-message-card="true" send-message-title="请求添加微信" send-message-path="/src/pages/themeindex/landpage?t={{tid}}&type=1" send-message-img="{{imageRoot}}service/clock.png?{{imageVersion}}" wx:if="{{themeSelect.land_content.img}}">
<image class="icon-opt" src="{{imageRoot}}2c/themeindex/icon_wx.png?{{imageVersion}}"></image> <image class="icon-opt" src="{{imageRoot}}2c/themeindex/icon_wx.png?{{imageVersion}}"></image>
<view class="item-title">添加微信</view> <view class="item-title">添加微信</view>
</button> </button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment